From richmondmathewson at gmail.com Sat Oct 1 02:14:07 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Oct 2016 09:14:07 +0300 Subject: 9.0??? In-Reply-To: References: Message-ID: Why do I get a funny feeling that those numbers (6,7,8,9 . . .) get closer and closer together. Is this supposed to give the impression of a logarhythmic curve of features and development? Why does it make me ask a few questions I'm not going to write here because I don't want to be categorised as a sour-puss? Richmond. On 30.09.2016 18:53, Mike Kerner wrote: > Whoa. They're working on LC 9 (rubs hands together while quietly > snickering to self) > From richmondmathewson at gmail.com Sat Oct 1 02:21:45 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Oct 2016 09:21:45 +0300 Subject: Can we move the use-list to a Google Chat In-Reply-To: References: Message-ID: <5961c4b8-d880-17f6-a38f-1522421bf160@gmail.com> "I was raised with a computer, with facebook for my friends and google as my study guide." That, presumably, makes you aged between 16 and 21 . . . Not all of us feel 100% comfortable with Google's octopus-like grip on various things. Nor, for that matter, do we see Facebook as the B-all-and-end-all (although I use it extensively for communicating with the children I teach). The use-list may be "retro", but that is not necessarily a bad thing: it also is really useful when I need to read it on my Macintoshes that run systems 8.1 and 9.2 using Netscape 2. "massive,unindexed, scattered, blob" Well: as Google lover, all you really need to do is go to Google Advanced Search and type "Livecode" in the first line, and whatever you're looking for in the second line, and press the Return/Enter key, and "magically" all the refs in both the Use-List and the Forums will appear. Richmond. On 30.09.2016 22:53, William Jamieson wrote: > I was raised with a computer, with facebook for my friends and google as my > study guide. I don't really understand the use-list's format and have only > attempted to read it maybe 5 times in the 2 years I have been on it. > > Forums are great but still remind me of my childhood and are generally used > for specific issues. I would really like a Slack thread that can be > indexed, but to ask people to move away from email might be a little too > technological for most. > > As a person who wants to be involved with the community, and seeing that > the answers to a lot of problems and issues are contained in this massive, > unindexed, scattered, blob, of words that spans thousands of emails in my > inbox, I would like to make a plea to use any alternative that works. > > I understand that the use-list is for the OG's but let me ask you, at what > cost is it acceptable? Even for the OG's, let me ask you, how many > solutions pointers to the problems you have had do you think are contained > within the history of the use-list? Can you pull them up quickly in an > organized fashion? > > > William D Jamieson > Amplifiid Education > Co-Founder > (408) 692-5356 > www.amplifiideducation.com > williamdjamieson 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 charles at techstrategies.com.au Sat Oct 1 03:36:38 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sat, 1 Oct 2016 17:36:38 +1000 Subject: TSNet and proxies In-Reply-To: <485297aa-e30b-0678-4077-b3d2eba6852f@hyperactivesw.com> References: <485297aa-e30b-0678-4077-b3d2eba6852f@hyperactivesw.com> Message-ID: <70937914-b15c-4a66-3ba0-e4d3e8cd47f4@techstrategies.com.au> Hi Jacque, If you are not using standard libUrl commands then you will need to call tsNetSetProxy if the connection needs to go through a proxy server. Regards, Charles On 1/10/2016 12:45 PM, J. Landman Gay wrote: > Does TSNet automatically handle connections that go through a proxy > server? Or is there something our app needs to do to make that work? > From hh at hyperhh.de Sat Oct 1 06:06:28 2016 From: hh at hyperhh.de (hh) Date: Sat, 1 Oct 2016 12:06:28 +0200 Subject: 9.0??? Message-ID: Richmond M. wrote: > Why do I get a funny feeling that those numbers (6,7,8,9 ...) > get closer and closer together. The relative growth of the version numbers is strictly decreasing, for example from 5 to 6 there was an increase of 20%, from 8 to 9 there will be an increase of 12.5% only. So, in order to keep the LC version number growth per month at least at a _constant_ rate, they have to increase the version numbers faster and faster. Hard job ;-) From dave at applicationinsight.com Sat Oct 1 06:24:28 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 1 Oct 2016 11:24:28 +0100 Subject: 9.0??? Message-ID: <41FDC99F-C61C-4425-954C-2EA5D5B6B254@applicationinsight.com> Hermann I think that is the wittiest reply on this uselist for ages! Very nicely played :) > The relative growth of the version numbers is strictly decreasing, > for example from 5 to 6 there was an increase of 20%, from 8 to 9 > there will be an increase of 12.5% only. So, in order to keep the > LC version number growth per month at least at a _constant_ rate, > they have to increase the version numbers faster and faster. > Hard job ;-) > > From lyn.teyla at gmail.com Sat Oct 1 07:00:20 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Sat, 1 Oct 2016 13:00:20 +0200 Subject: TSNet and proxies In-Reply-To: <70937914-b15c-4a66-3ba0-e4d3e8cd47f4@techstrategies.com.au> References: <485297aa-e30b-0678-4077-b3d2eba6852f@hyperactivesw.com> <70937914-b15c-4a66-3ba0-e4d3e8cd47f4@techstrategies.com.au> Message-ID: <252F6D7E-DF4E-4E92-844D-995440204AFA@gmail.com> Charles Warwick wrote: > If you are not using standard libUrl commands then you will need to call tsNetSetProxy if the connection needs to go through a proxy server. When calling tsNet commands directly, how does one obtain and pass tsNetSetProxy the _exact_ same set of proxy settings that tsNet would have automatically gotten had a libUrl command been used? Checking the httpProxy property doesn?t cover all scenarios, since it won?t provide details relating to proxy login credentials, SOCKS, WPAD, etc. that (presumably) might otherwise have been automatically detected and passed on to tsNet had a libUrl command been issued. Lyn From richmondmathewson at gmail.com Sat Oct 1 08:48:30 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Oct 2016 15:48:30 +0300 Subject: 9.0??? In-Reply-To: <41FDC99F-C61C-4425-954C-2EA5D5B6B254@applicationinsight.com> References: <41FDC99F-C61C-4425-954C-2EA5D5B6B254@applicationinsight.com> Message-ID: The main question that worries me is what happens when the curve of the graph approaches a vertical line :P Richmond. On 1.10.2016 13:24, Dave Kilroy wrote: > Hermann I think that is the wittiest reply on this uselist for ages! > > Very nicely played :) > > > >> The relative growth of the version numbers is strictly decreasing, >> for example from 5 to 6 there was an increase of 20%, from 8 to 9 >> there will be an increase of 12.5% only. So, in order to keep the >> LC version number growth per month at least at a _constant_ rate, >> they have to increase the version numbers faster and faster. >> Hard job ;-) >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lyn.teyla at gmail.com Sat Oct 1 08:55:26 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Sat, 1 Oct 2016 14:55:26 +0200 Subject: 9.0??? In-Reply-To: References: <41FDC99F-C61C-4425-954C-2EA5D5B6B254@applicationinsight.com> Message-ID: Richmond wrote: > The main question that worries me is what happens when the > curve of the graph approaches a vertical line :P The team has foreseen this issue, hence the Infinite LiveCode campaign. Lyn From dave at applicationinsight.com Sat Oct 1 09:06:59 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 1 Oct 2016 14:06:59 +0100 Subject: 9.0??? Message-ID: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> ?and beyond? > The team has foreseen this issue, hence the Infinite LiveCode campaign. From richmondmathewson at gmail.com Sat Oct 1 12:21:24 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Oct 2016 19:21:24 +0300 Subject: 9.0??? In-Reply-To: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> Message-ID: <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> By "...and beyond" I take it you mean that the curve will turn back on itself . . . Richmond. On 1.10.2016 16:06, Dave Kilroy wrote: > ?and beyond? > >> The team has foreseen this issue, hence the Infinite LiveCode campaign. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bhumphrey2 at earthlink.net Sat Oct 1 12:22:23 2016 From: bhumphrey2 at earthlink.net (Bruce Humphrey) Date: Sat, 1 Oct 2016 12:22:23 -0400 Subject: use-livecode Digest, Vol 157, Issue 1 In-Reply-To: References: Message-ID: <4804D385-E5F1-4138-BF2E-AC50E68144C9@earthlink.net> Mark, Looked up Gmane and it appears to be back in business in some form. Check Wikipedia. Says it came back online early September. Bruce Sent from my iPhone > Sorry, Gmane's been gone for a while now. > > Had a better UI than Nabble, IMO, but it got to be too much work to > maintain. The obituary is posted . > > -- > Mark Wieder > ahsoftware at gmail.com > > From jacque at hyperactivesw.com Sat Oct 1 13:47:13 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Oct 2016 12:47:13 -0500 Subject: 9.0??? In-Reply-To: <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> Message-ID: <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Cf: Buzz Lightyear in Toy Story, "To infinity and beyond!" Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 1, 2016 11:23:37 AM Richmond wrote: > By "...and beyond" I take it you mean that the curve will turn back on > itself . . . > > Richmond. > > On 1.10.2016 16:06, Dave Kilroy wrote: >> ?and beyond? >> >>> The team has foreseen this issue, hence the Infinite LiveCode campaign. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sat Oct 1 13:52:38 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 01 Oct 2016 10:52:38 -0700 Subject: 9.0??? In-Reply-To: <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> It will be a bell curve. Things will slow down around LC20. Peter On Oct 1, 2016, at 10:47 AM, J. Landman Gay wrote: > Cf: Buzz Lightyear in Toy Story, "To infinity and beyond!" > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On October 1, 2016 11:23:37 AM Richmond wrote: > >> By "...and beyond" I take it you mean that the curve will turn back on >> itself . . . >> >> Richmond. >> >> On 1.10.2016 16:06, Dave Kilroy wrote: >>> ?and beyond? >>> >>>> The team has foreseen this issue, hence the Infinite LiveCode campaign. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 1 13:58:11 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 1 Oct 2016 20:58:11 +0300 Subject: 9.0??? In-Reply-To: <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> Message-ID: Ding-Dong, the wicked witch is dead? Richmond. On 1.10.2016 20:52, Peter Bogdanoff wrote: > It will be a bell curve. Things will slow down around LC20. > > Peter > > On Oct 1, 2016, at 10:47 AM, J. Landman Gay wrote: > >> Cf: Buzz Lightyear in Toy Story, "To infinity and beyond!" >> >> >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On October 1, 2016 11:23:37 AM Richmond wrote: >> >>> By "...and beyond" I take it you mean that the curve will turn back on >>> itself . . . >>> >>> Richmond. >>> >>> On 1.10.2016 16:06, Dave Kilroy wrote: >>>> ?and beyond? >>>> >>>>> The team has foreseen this issue, hence the Infinite LiveCode campaign. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 1 15:00:18 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 1 Oct 2016 15:00:18 -0400 Subject: 9.0??? In-Reply-To: References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> Message-ID: <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> By LC20 I?ll expect that creating a new app will go something like this: ?computer, create new app for tracking my B & B rentals.? ?what input modes will you want?? ?verbal, database, keyboard? ?integrate with AirBNB?? ?yes" ?name of app?? ?MyGuests? ?Done. You may begin using the MyGuests app now.? ? Peter Peter M. Brigham pmbrig at gmail.com > On Oct 1, 2016, at 1:58 PM, Richmond wrote: > > Ding-Dong, the wicked witch is dead? > > Richmond. > > On 1.10.2016 20:52, Peter Bogdanoff wrote: >> It will be a bell curve. Things will slow down around LC20. >> >> Peter >> >> On Oct 1, 2016, at 10:47 AM, J. Landman Gay wrote: >> >>> Cf: Buzz Lightyear in Toy Story, "To infinity and beyond!" >>> >>> >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On October 1, 2016 11:23:37 AM Richmond wrote: >>> >>>> By "...and beyond" I take it you mean that the curve will turn back on >>>> itself . . . >>>> >>>> Richmond. >>>> >>>> On 1.10.2016 16:06, Dave Kilroy wrote: >>>>> ?and beyond? >>>>> >>>>>> The team has foreseen this issue, hence the Infinite LiveCode campaign. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Oct 1 16:11:38 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 16:11:38 -0400 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] Message-ID: Hi All, Finally, many months after searching for Macintosh Stacks from book: The Analytical Engine - 2nd Edition, Lagi Pittas found the floppy disk and posted disk's content on LiveCode forums: http://forums.livecode.com/viewtopic.php?f=5&t=26101 When I opened the compressed zip folder, I noticed that all Macintosh files are damaged because the Resource Fork split from their Data Fork. The only way to avoid this damage is compressing the folder inside a Macintosh, using any of these compression utilities: Stuffit, Compact Pro or Zip It. Fortunately, Stuffit Expander could open and decompress the file named !SEA (Data Fork only). This decompressed !SEA file produced a folder that contains all the stacks. All of them as good as when they where created 14 years ago. :-D I have uploaded this file AEMacintoshStacks.zip (2 mb) to my Dropbox account but looks like a free Dropbox account does not allows anymore to share files with anyone that have file's link... or maybe simply I don't know how to set "public access for everyone with a download link". If anyone in this mail list want this file: AEMacintoshStacks.zip (2 mb), please write me to send it directly to your email or maybe someone could post this file on another free file download service. The compressed zip folder includes 4 files: 1) A png image with a screencapture of the Macintosh desktop, showing AE Stacks folder contents and stack AE Home. Other 3 files are the complete stack's folder compressed 2) as stuffit (.sit), 3) as compact pro (.cpt) and 4) as zip it (.zip for Macintosh) A Mac User that needs these files, could use at least one of these 3 files and decompress the stack's folder in a Mac. Have a nice weekend! Alejandro From capellan2000 at gmail.com Sat Oct 1 16:20:06 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 16:20:06 -0400 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] In-Reply-To: References: Message-ID: Correction: This sentence: > All of them as good as when they where > created 14 years ago. :-D Should have been: > All of them as good as when they where > created 23 years ago. :-D Al On Sat, Oct 1, 2016 at 4:11 PM, Alejandro Tejada wrote: > Hi All, > > Finally, many months after searching for Macintosh Stacks from book: > The Analytical Engine - 2nd Edition, Lagi Pittas found the floppy disk > and posted disk's content on LiveCode forums: > http://forums.livecode.com/viewtopic.php?f=5&t=26101 > > When I opened the compressed zip folder, I noticed that all Macintosh > files are damaged because the Resource Fork split from their Data > Fork. > > The only way to avoid this damage is compressing the folder inside a > Macintosh, using any of these compression utilities: Stuffit, Compact > Pro or Zip It. > > Fortunately, Stuffit Expander could open and decompress the file named > !SEA (Data Fork only). This decompressed !SEA file produced a folder > that contains all the stacks. All of them as good as when they where > created 14 years ago. :-D > > I have uploaded this file AEMacintoshStacks.zip (2 mb) to my Dropbox > account but looks like a free Dropbox account does not allows anymore > to share files with anyone that have file's link... or maybe simply I > don't know how to set "public access for everyone with a download > link". > > If anyone in this mail list want this file: AEMacintoshStacks.zip (2 > mb), please write me to send it directly to your email or maybe > someone could post this file on another free file download service. > > The compressed zip folder includes 4 files: > > 1) A png image with a screencapture of the Macintosh desktop, showing > AE Stacks folder contents and stack AE Home. > > Other 3 files are the complete stack's folder compressed > 2) as stuffit (.sit), > 3) as compact pro (.cpt) and > 4) as zip it (.zip for Macintosh) > > A Mac User that needs these files, could use at least one of these 3 > files and decompress the stack's folder in a Mac. > > Have a nice weekend! > > Alejandro From roger.e.eller at sealedair.com Sat Oct 1 16:40:55 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 1 Oct 2016 16:40:55 -0400 Subject: 9.0??? In-Reply-To: <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> Message-ID: On Sat, Oct 1, 2016 at 3:00 PM, Peter M. Brigham wrote: > By LC20 I?ll expect that creating a new app will go something like this: > > ?computer, create new app for tracking my B & B rentals.? > ?what input modes will you want?? > ?verbal, database, keyboard? > ?integrate with AirBNB?? > ?yes" > ?name of app?? > ?MyGuests? > ?Done. You may begin using the MyGuests app now.? > > ? Peter > > Peter M. Brigham > pmbrig at gmail.com > Here's how it will really go... ?computer, create new app for tracking my B & B rentals.? ?what input modes will you want?? ?verbal, database, keyboard? ?Creating herbal Santa face beat chord.? (Christmas music begins to play while an herbal fragrance is sprayed into your face) ~Roger From capellan2000 at gmail.com Sat Oct 1 17:07:05 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 14:07:05 -0700 (PDT) Subject: 9.0??? In-Reply-To: <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> Message-ID: <1475356025347-4709103.post@n4.nabble.com> Hi Peter, pmbrig wrote > By LC20 I?ll expect that creating a new app > will go something like this: > > ?computer, create new app for tracking my B & B rentals.? > ?what input modes will you want?? > ?verbal, database, keyboard? > ?integrate with AirBNB?? > ?yes" > ?name of app?? > ?MyGuests? > ?Done. You may begin using the MyGuests app now.? Hopefully, this will be a feature of Livecode 10 :-D Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/9-0-tp4709057p4709103.html Sent from the Revolution - User mailing list archive at Nabble.com. From benr_mc at cogapp.com Sat Oct 1 17:12:14 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Sat, 1 Oct 2016 22:12:14 +0100 Subject: Redpark serial cables In-Reply-To: References: Message-ID: <98f4ea8b-209f-6f3d-2712-e49406f09049@cogapp.com> To answer my own question: yes, this is possible using mergAccessory. On 08/09/2016 10:23, Ben Rubinstein wrote: > Has anyone used LiveCode on iOS with any of the Redpark serial cables, e.g. > http://redpark.com/ttl-serial-cable-c2-ttl/ ? > > TIA, > > Ben From stephenREVOLUTION2 at barncard.com Sat Oct 1 18:47:40 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 1 Oct 2016 15:47:40 -0700 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] In-Reply-To: References: Message-ID: Alejandro, you could assemble a list of email addresses and use this: https://mixstream.wetransfer.com free to 2 gigs, stays up for a couple of weeks, no signup, no hassle. put me on the list if you do this. thanks On Sat, Oct 1, 2016 at 1:11 PM, Alejandro Tejada wrote: > I have uploaded this file AEMacintoshStacks.zip (2 mb) to my Dropbox > account but looks like a free Dropbox account does not allows anymore > to share files with anyone that have file's link... or maybe simply I > don't know how to set "public access for everyone with a download > link". > > If anyone in this mail list want this file: AEMacintoshStacks.zip (2 > mb), please write me to send it directly to your email or maybe > someone could post this file on another free file download service. > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From ahsoftware at sonic.net Sat Oct 1 19:13:01 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Oct 2016 16:13:01 -0700 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] In-Reply-To: References: Message-ID: <9d0591a4-740a-8dc7-ba55-50b004cc9735@sonic.net> On 10/01/2016 01:11 PM, Alejandro Tejada wrote: > I have uploaded this file AEMacintoshStacks.zip (2 mb) to my Dropbox > account but looks like a free Dropbox account does not allows anymore > to share files with anyone that have file's link... or maybe simply I > don't know how to set "public access for everyone with a download > link". Log onto the Dropbox website Find the file you want to share On the right you'll see a box named "Share" Click the box Click "Create link" Click "Copy link" Now you can share the link with anyone. -- Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Sat Oct 1 20:57:47 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 20:57:47 -0400 Subject: Distortion resizing group of vector graphics Message-ID: Hi All, Download the compressed stack "ResizeLivecodeGraphicsv01.livecode" from this forum thread: http://forums.livecode.com/viewtopic.php?f=10&t=28042 Some years ago, I made this live resizing script for my stack PenTool http://www.capellan2000.000space.com/?i=1 and now, I am trying to use this script for more general purposes, like resizing all controls of an Interface... but after repeated use, the script just distorts the size and position of all controls. In the sample stack, these controls are vector graphics, but could be fields, images, buttons, etc... Could you share some ideas about how we could make this script mathematically more robust to resize all controls without distorting their size and position after repeated use? Thanks in advance! Alejandro From scott at tactilemedia.com Sat Oct 1 21:39:02 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 1 Oct 2016 18:39:02 -0700 Subject: Distortion resizing group of vector graphics In-Reply-To: References: Message-ID: <2EA9B1F7-AFFF-4F00-8462-63EE140C2090@tactilemedia.com> The only method I've found to accomplish this is to store all original rects before doing any scaling, and base all size computations on the stored dimensions until the next resize event. It requires a little effort, but it works. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Oct 1, 2016, at 5:57 PM, Alejandro Tejada wrote: > > Hi All, > > Download the compressed stack "ResizeLivecodeGraphicsv01.livecode" > from this forum thread: > http://forums.livecode.com/viewtopic.php?f=10&t=28042 > > Some years ago, I made this live resizing script for my stack > PenTool http://www.capellan2000.000space.com/?i=1 > and now, I am trying to use this script for more general purposes, > like resizing all controls of an Interface... but after repeated > use, the script just distorts the size and position of all controls. > In the sample stack, these controls are vector graphics, but > could be fields, images, buttons, etc... > > Could you share some ideas about how we could make this script > mathematically more robust to resize all controls without distorting > their size and position after repeated use? > > Thanks in advance! > > Alejandro > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Oct 1 21:41:24 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 21:41:24 -0400 Subject: [OT] Fixing Data and Resource Fork of Macintosh files Message-ID: Hi All, This question is for LiveCode MacOSX developers: Have you fixed a Macintosh file with a broken Data Fork and Resource Fork? According to this webpage, there is a Mac OSX command line utility named ?FixUpResourceForks? that could fix a broken Macintosh file: http://macstuff.beachdogs.org/blog/?p=11 Just for curiosity, Could you test this command line utility ?FixUpResourceForks? with files of the zipped file "the_analytical_engine.zip" (881k) that you could download from this forum thread: http://forums.livecode.com/viewtopic.php?f=5&t=26101 Many, many thanks in advance! Alejandro From williamdjamieson at gmail.com Sat Oct 1 22:04:46 2016 From: williamdjamieson at gmail.com (William Jamieson) Date: Sun, 2 Oct 2016 11:04:46 +0900 Subject: tsNET and Proxies Message-ID: Charles, Why doesn't tsNet work on Android? I had built this whole stack based on tsNET, tested it on Android (Very Extensively on many LC versions and many devices) and found out that it doesn't work. Works well on every other platform though. We had to convert the whole system back to libURL. Is tsNET not designed to work on Android? Today's Topics: 1. Re: TSNet and proxies (Charles Warwick) ---------------------------------------------------------------------- Message: 1 Date: Sat, 1 Oct 2016 17:36:38 +1000 From: Charles Warwick To: use-livecode at lists.runrev.com Subject: Re: TSNet and proxies Message-ID: <70937914-b15c-4a66-3ba0-e4d3e8cd47f4 at techstrategies.com.au> Content-Type: text/plain; charset=windows-1252; format=flowed Hi Jacque, If you are not using standard libUrl commands then you will need to call tsNetSetProxy if the connection needs to go through a proxy server. Regards, Charles On 1/10/2016 12:45 PM, J. Landman Gay wrote: > Does TSNet automatically handle connections that go through a proxy > server? Or is there something our app needs to do to make that work? > From ahsoftware at sonic.net Sat Oct 1 22:12:23 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Oct 2016 19:12:23 -0700 Subject: use-livecode Digest, Vol 157, Issue 1 In-Reply-To: <4804D385-E5F1-4138-BF2E-AC50E68144C9@earthlink.net> References: <4804D385-E5F1-4138-BF2E-AC50E68144C9@earthlink.net> Message-ID: <252692a3-6cfd-e13d-f2e4-203627a0c226@sonic.net> On 10/01/2016 09:22 AM, Bruce Humphrey wrote: > Mark, > > Looked up Gmane and it appears to be back in business in some form. Check Wikipedia. Says it came back online early September. > > Bruce ...and that's what happens when you rely on Wikipedia as an authoritative source of truth. At any rate, it's in progress. http://gmane.org/gmane.comp.ide.revolution.user -- Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Sat Oct 1 22:37:23 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 22:37:23 -0400 Subject: use-livecode Digest, Vol 157, Issue 1 Message-ID: I looked for Sam Sepiol in Wikipedia and... found nothing :o Mark Wieder wrote: > ...and that's what happens when you rely > on Wikipedia as an authoritative source > of truth. At any rate, it's in progress. > http://gmane.org/gmane.comp.ide.revolution.user On 10/01/2016 09:22 AM, Bruce Humphrey wrote: > Mark, > Looked up Gmane and it appears to be back in business in some form. Check Wikipedia. Says it came back online early September. > Bruce From capellan2000 at gmail.com Sat Oct 1 22:43:52 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 1 Oct 2016 22:43:52 -0400 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] Message-ID: Thanks a lot Mark for detailed instructions! :D Here is Dropbox public download link. Tell me if it works for everyone. https://www.dropbox.com/s/935gzrqwgxwn6qb/AEMacintoshStacks.zip?dl=0 From prothero at earthednet.org Sun Oct 2 00:17:21 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 1 Oct 2016 21:17:21 -0700 Subject: [OT] Fixing Data and Resource Fork of Macintosh files In-Reply-To: References: Message-ID: <0F9327C4-1D84-46E3-B350-A88220581FB2@earthednet.org> I didn't think Mac had resource and data forks after it went to Intel processors. Bill William Prothero http://es.earthednet.org > On Oct 1, 2016, at 6:41 PM, Alejandro Tejada wrote: > > Hi All, > > This question is for LiveCode MacOSX developers: > > Have you fixed a Macintosh file with a > broken Data Fork and Resource Fork? > > According to this webpage, there is a Mac OSX > command line utility named ?FixUpResourceForks? > that could fix a broken Macintosh file: > http://macstuff.beachdogs.org/blog/?p=11 > > Just for curiosity, Could you test this command line utility > ?FixUpResourceForks? with files of the zipped file > "the_analytical_engine.zip" (881k) that you could > download from this forum thread: > http://forums.livecode.com/viewtopic.php?f=5&t=26101 > > Many, many thanks in advance! > > Alejandro > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Oct 2 00:35:51 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Oct 2016 00:35:51 -0400 Subject: Distortion resizing group of vector graphics Message-ID: Hi Scott, On Sat Oct 1 2016, Scott Rossi wrote: > The only method I've found to accomplish this > is to store all original rects before doing any > scaling and base all size computations on the > stored dimensions until the next resize event. > It requires a little effort, but it works. I understand that your advice is correct but the script in the stack should (at least in theory) be exactly equivalent to store all rects and set controls position and size after resize is done. In practice, the script that I posted fails under some circunstances and I want to know which these circunstances are. Maybe, just maybe, there is a workaround to detect and correct these failures before setting the new size and position of all controls in card. Al On Sat, Oct 1, 2016 at 8:57 PM, Alejandro Tejada wrote: > Hi All, > > Download the compressed stack "ResizeLivecodeGraphicsv01.livecode" > from this forum thread: > http://forums.livecode.com/viewtopic.php?f=10&t=28042 > > Some years ago, I made this live resizing script for my stack > PenTool http://www.capellan2000.000space.com/?i=1 > and now, I am trying to use this script for more general purposes, > like resizing all controls of an Interface... but after repeated > use, the script just distorts the size and position of all controls. > In the sample stack, these controls are vector graphics, but > could be fields, images, buttons, etc... > > Could you share some ideas about how we could make this script > mathematically more robust to resize all controls without distorting > their size and position after repeated use? > > Thanks in advance! > > Alejandro From capellan2000 at gmail.com Sun Oct 2 00:47:06 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Oct 2016 00:47:06 -0400 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] Message-ID: Hi Stephen, On Sat, Oct 1, 2016 Stephen Barncard wrote: > you could assemble a list of email addresses > and use this: https://mixstream.wetransfer.com > free to 2 gigs, stays up for a couple of weeks, > no signup, no hassle.put me on the list if you do this. Really Nice! Very fast and professional service. I send the file using this service too. Thanks a lot for posting this link. Al From charles at techstrategies.com.au Sun Oct 2 05:43:55 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 2 Oct 2016 19:43:55 +1000 Subject: tsNET and Proxies In-Reply-To: References: Message-ID: <193425e1-83cb-c1eb-32ea-e3142940c1ac@techstrategies.com.au> Hi William, tsNet should work on Android devices. Can you provide any more information about the issue you are seeing exactly? Regards, Charles On 2/10/2016 12:04 PM, William Jamieson wrote: > Charles, > > Why doesn't tsNet work on Android? I had built this whole stack based on > tsNET, tested it on Android (Very Extensively on many LC versions and many > devices) and found out that it doesn't work. Works well on every other > platform though. We had to convert the whole system back to libURL. Is > tsNET not designed to work on Android? > > > > Today's Topics: > > 1. Re: TSNet and proxies (Charles Warwick) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 1 Oct 2016 17:36:38 +1000 > From: Charles Warwick > To: use-livecode at lists.runrev.com > Subject: Re: TSNet and proxies > Message-ID: > <70937914-b15c-4a66-3ba0-e4d3e8cd47f4 at techstrategies.com.au> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Hi Jacque, > > If you are not using standard libUrl commands then you will need to call > tsNetSetProxy if the connection needs to go through a proxy server. > > Regards, > > Charles > > > On 1/10/2016 12:45 PM, J. Landman Gay wrote: >> Does TSNet automatically handle connections that go through a proxy >> server? Or is there something our app needs to do to make that work? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sun Oct 2 09:56:41 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 2 Oct 2016 06:56:41 -0700 Subject: [OT] Fixing Data and Resource Fork of Macintosh files In-Reply-To: <0F9327C4-1D84-46E3-B350-A88220581FB2@earthednet.org> References: <0F9327C4-1D84-46E3-B350-A88220581FB2@earthednet.org> Message-ID: It's a 15 year old HC stack. On Saturday, October 1, 2016, Earthednet-wp wrote: > I didn't think Mac had resource and data forks after it went to Intel > processors. > > Bill > > William Prothero > http://es.earthednet.org > > > On Oct 1, 2016, at 6:41 PM, Alejandro Tejada > wrote: > > > > Hi All, > > > > This question is for LiveCode MacOSX developers: > > > > Have you fixed a Macintosh file with a > > broken Data Fork and Resource Fork? > > > > According to this webpage, there is a Mac OSX > > command line -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org From jacque at hyperactivesw.com Sun Oct 2 11:55:57 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Oct 2016 10:55:57 -0500 Subject: tsNET and Proxies In-Reply-To: References: Message-ID: <157861be2c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> TSNet works for me on Android. There are two places you need to specify the internet features in standalone settings though. Be sure internet is selected in the Inclusions panel, and also select the Internet checkbox in the Android permissions list. That last one is easy to miss, but if you don't give the app permission to use the internet, no connections will be allowed. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 1, 2016 9:06:43 PM William Jamieson wrote: > Charles, > > Why doesn't tsNet work on Android? I had built this whole stack based on > tsNET, tested it on Android (Very Extensively on many LC versions and many > devices) and found out that it doesn't work. Works well on every other > platform though. We had to convert the whole system back to libURL. Is > tsNET not designed to work on Android? > > > > Today's Topics: > > 1. Re: TSNet and proxies (Charles Warwick) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 1 Oct 2016 17:36:38 +1000 > From: Charles Warwick > To: use-livecode at lists.runrev.com > Subject: Re: TSNet and proxies > Message-ID: > <70937914-b15c-4a66-3ba0-e4d3e8cd47f4 at techstrategies.com.au> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Hi Jacque, > > If you are not using standard libUrl commands then you will need to call > tsNetSetProxy if the connection needs to go through a proxy server. > > Regards, > > Charles > > > On 1/10/2016 12:45 PM, J. Landman Gay wrote: >> Does TSNet automatically handle connections that go through a proxy >> server? Or is there something our app needs to do to make that work? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Oct 2 12:12:37 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 02 Oct 2016 18:12:37 +0200 Subject: Error in mouseUp in SVG widgets Message-ID: <6AFDBF97-DBF7-446D-807A-E3393D5CFD38@me.com> I think I have come across an error in the SVG icon widget. If the mouse is released outside of the widget, the mouseUp handler is trigged even if the user has moved the pointer outside of the rect of the widget. The mouseLeave handler is correctly triggered before the mouseUp handler fires away. Has anyone else come across this. Using LC 8.1.1 (rc1) on MacOS Sierra 10.12.1 (beta). Regards Tore From ahsoftware at sonic.net Sun Oct 2 13:00:26 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 2 Oct 2016 10:00:26 -0700 Subject: tsNET and Proxies In-Reply-To: <157861be2c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <157861be2c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 10/02/2016 08:55 AM, J. Landman Gay wrote: > TSNet works for me on Android. There are two places you need to specify > the internet features in standalone settings though. Be sure internet is > selected in the Inclusions panel, and also select the Internet checkbox > in the Android permissions list. That last one is easy to miss, but if > you don't give the app permission to use the internet, no connections > will be allowed. That seems like buggy behavior to me. Selecting internet as an inclusion should *automatically* select internet permissions for all platforms. Is there really a use case for selecting inclusion of the internet library but not allowing its use? -- Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Sun Oct 2 13:48:28 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Oct 2016 13:48:28 -0400 Subject: [OT] Fixing Data and Resource Fork of Macintosh files In-Reply-To: References: Message-ID: If you could test this command line MacOSX utility please try first with this folder (that contains two files) and post back the result as a compressed file. https://www.dropbox.com/s/5c4c5ahbuttzx4x/AE_SEA.zip?dl=0 Many, many thanks in advance! Alejandro On Sat, Oct 1, 2016 at 9:41 PM, Alejandro Tejada wrote: > Hi All, > > This question is for LiveCode MacOSX developers: > > Have you fixed a Macintosh file with a > broken Data Fork and Resource Fork? > > According to this webpage, there is a Mac OSX > command line utility named ?FixUpResourceForks? > that could fix a broken Macintosh file: > http://macstuff.beachdogs.org/blog/?p=11 > > Just for curiosity, Could you test this command line utility > ?FixUpResourceForks? with files of the zipped file > "the_analytical_engine.zip" (881k) that you could > download from this forum thread: > http://forums.livecode.com/viewtopic.php?f=5&t=26101 > > Many, many thanks in advance! > > Alejandro From capellan2000 at gmail.com Sun Oct 2 14:19:22 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Oct 2016 14:19:22 -0400 Subject: [OT] Fixing Data and Resource Fork of Macintosh files In-Reply-To: References: Message-ID: Stephen Barncard wrote: > It's a 15 year old HC stack. Actually it's 23 years! :D On Sun, Oct 2, 2016 at 1:48 PM, Alejandro Tejada wrote: > If you could test this command line MacOSX utility > please try first with this folder (that contains two files) > and post back the result as a compressed file. > > https://www.dropbox.com/s/5c4c5ahbuttzx4x/AE_SEA.zip?dl=0 > > Many, many thanks in advance! > > Alejandro > > On Sat, Oct 1, 2016 at 9:41 PM, Alejandro Tejada wrote: >> Hi All, >> >> This question is for LiveCode MacOSX developers: >> >> Have you fixed a Macintosh file with a >> broken Data Fork and Resource Fork? >> >> According to this webpage, there is a Mac OSX >> command line utility named ?FixUpResourceForks? >> that could fix a broken Macintosh file: >> http://macstuff.beachdogs.org/blog/?p=11 >> >> Just for curiosity, Could you test this command line utility >> ?FixUpResourceForks? with files of the zipped file >> "the_analytical_engine.zip" (881k) that you could >> download from this forum thread: >> http://forums.livecode.com/viewtopic.php?f=5&t=26101 >> >> Many, many thanks in advance! >> >> Alejandro From jacque at hyperactivesw.com Sun Oct 2 14:47:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 2 Oct 2016 13:47:46 -0500 Subject: tsNET and Proxies In-Reply-To: References: <157861be2c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <11c941b8-a7b5-f68c-16d1-d6a1457e80ce@hyperactivesw.com> On 10/2/16 12:00 PM, Mark Wieder wrote: > > That seems like buggy behavior to me. > > Selecting internet as an inclusion should *automatically* select > internet permissions for all platforms. Is there really a use case for > selecting inclusion of the internet library but not allowing its use? It is conceivable that you might want to include an extension without actually using it (I've seen this on some stacks where the developer wants it there so they won't forget in future builds, or maybe because they don't know which extensions need to be included.) I admit that's stretching things. It doesn't bother me much, especially since there are so many other permissions that don't have extension equivalents so you have to go through them anyway. That's not to say I'm against changes, but I don't think of it as a bug. The two types of settings control different things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at hyperhh.de Sun Oct 2 14:55:19 2016 From: hh at hyperhh.de (hh) Date: Sun, 2 Oct 2016 20:55:19 +0200 Subject: Error in mouseUp in SVG widgets Message-ID: <782C4B2F-A16B-4BF2-8B0E-49A4C7F8368A@hyperhh.de> Tore N. wrote: > I think I have come across an error in the SVG icon widget. If the mouse > is released outside of the widget, the mouseUp handler is trigged even if > the user has moved the pointer outside of the rect of the widget. > The mouseLeave handler is correctly triggered before the mouseUp handler > fires away. Has anyone else come across this. Using LC 8.1.1 (rc1) on MacOS > Sierra 10.12.1 (beta). Tore, this is probably not a bug but a current 'behaviour' of most widgets, see the LiveCode Builder subforum: http://forums.livecode.com/viewtopic.php?f=93&t=24369 http://forums.livecode.com/viewtopic.php?f=93&t=27776 Hermann From tore.nilsen at me.com Sun Oct 2 15:20:15 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 02 Oct 2016 21:20:15 +0200 Subject: Error in mouseUp in SVG widgets In-Reply-To: <782C4B2F-A16B-4BF2-8B0E-49A4C7F8368A@hyperhh.de> References: <782C4B2F-A16B-4BF2-8B0E-49A4C7F8368A@hyperhh.de> Message-ID: <83AB60F4-FC8A-4535-A9E3-671A1C39A75D@me.com> You are right. I tend to use the svgIcon widget as a replacement for buttons with icons, as I like to use color/icon switch as a highlight effect, and I find that it is easier to produce persistent design with the widget. I just have to check if the mouseLoc is within the rect of the widget to make it work, so it is not very complicated to get around. Tore > 2. okt. 2016 kl. 20.55 skrev hh : > > Tore N. wrote: >> I think I have come across an error in the SVG icon widget. If the mouse >> is released outside of the widget, the mouseUp handler is trigged even if >> the user has moved the pointer outside of the rect of the widget. >> The mouseLeave handler is correctly triggered before the mouseUp handler >> fires away. Has anyone else come across this. Using LC 8.1.1 (rc1) on MacOS >> Sierra 10.12.1 (beta). > > Tore, this is probably not a bug but a current 'behaviour' of most widgets, > see the LiveCode Builder subforum: > > http://forums.livecode.com/viewtopic.php?f=93&t=24369 > http://forums.livecode.com/viewtopic.php?f=93&t=27776 > > Hermann > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Oct 2 17:06:39 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 2 Oct 2016 17:06:39 -0400 Subject: 9.0??? In-Reply-To: <1475356025347-4709103.post@n4.nabble.com> References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> <1475356025347-4709103.post@n4.nabble.com> Message-ID: Perhaps you should have a look at what's coming in 9 before you laugh at it. The last three major versions brought major changes. 9 is kinda important. On Sat, Oct 1, 2016 at 5:07 PM, Alejandro Tejada wrote: > Hi Peter, > > > pmbrig wrote > > By LC20 I?ll expect that creating a new app > > will go something like this: > > > > ?computer, create new app for tracking my B & B rentals.? > > ?what input modes will you want?? > > ?verbal, database, keyboard? > > ?integrate with AirBNB?? > > ?yes" > > ?name of app?? > > ?MyGuests? > > ?Done. You may begin using the MyGuests app now.? > > Hopefully, this will be a feature of Livecode 10 :-D > > Alejandro > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/9-0-tp4709057p4709103.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hh at hyperhh.de Sun Oct 2 18:35:59 2016 From: hh at hyperhh.de (hh) Date: Mon, 3 Oct 2016 00:35:59 +0200 Subject: 9.0??? Message-ID: Mike K. wrote: > Perhaps you should have a look at what's coming in 9 before you laugh at it. > The last three major versions brought major changes. 9 is kinda important. Hi Mike, as far as I can see nobody really laughed at the possible contents of 9. The matter of 'jokes' was the speed of version numbering, big difference. For example I stay as long as possible with 0 as first version number. The next step to 1 is a relative increase of infty percent! What a feeling!!! Compared to that the 100% jump from 1 to 2 is a rather ordinary version number growth. We all are looking forward to 9 (or 'only' 8.5). It's content that matters! Hermann From monte at appisle.net Sun Oct 2 18:55:16 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 3 Oct 2016 09:55:16 +1100 Subject: tsNET and Proxies In-Reply-To: References: <157861be2c8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > On 3 Oct 2016, at 4:00 AM, Mark Wieder wrote: > > Selecting internet as an inclusion should *automatically* select internet permissions for all platforms. Is there really a use case for selecting inclusion of the internet library but not allowing its use? Yes I think we should have some mechanism for inclusions to have manifest/plist/entitlements dependencies. Actually we already do for entitlements (mergHK uses it). Cheers Monte From capellan2000 at gmail.com Sun Oct 2 18:59:55 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Oct 2016 18:59:55 -0400 Subject: 9.0??? Message-ID: Hi Mike I am not laughing at LC 9. I am laughing because Artificial Inteligence very soon will become the latest and greatest addiction for every Current Operating System. Google, Microsoft and Apple are working 24/7 (with multiple laboratories around the world) to bring AI first to their own platform: AI Practical & Ready for everyday use. Probably, Microsoft wins this race because they have millions of devoted testers within their gaming platform: XBOX https://news.microsoft.com/2016/09/29/microsoft-expands-artificial-intelligence-ai-efforts-with-creation-of-new-microsoft-ai-and-research-group/#sm.0001j2xz9oxblerjzjj2gqpl2a9i1 At first, Artificial Inteligence integration within applications would be a not too common feature like text reading or voice control. My educated guess is that in their first iteration, AI will start unobtrusive as a helper for common and repetitive tasks. The big question is: Which of these three AI API will implement first LiveCode? Apple? Microsoft? or Google? Or a Third Party? How many years will pass before these companies agree to create an interoperable standard among their implementations? Time will tell. Let's hope and wait. Al Mike Kenner wrote: > Perhaps you should have a look at what's coming in 9 > before you laugh at it. The last three major versions > brought major changes. 9 is kinda important. From MikeKerner at roadrunner.com Sun Oct 2 20:24:23 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 2 Oct 2016 20:24:23 -0400 Subject: 9.0??? In-Reply-To: References: Message-ID: well, then, my apologies for the mocking reply. On Sun, Oct 2, 2016 at 6:35 PM, hh wrote: > Mike K. wrote: > > Perhaps you should have a look at what's coming in 9 before you laugh at > it. > > The last three major versions brought major changes. 9 is kinda > important. > > Hi Mike, > > as far as I can see nobody really laughed at the possible contents of 9. > The matter of 'jokes' was the speed of version numbering, big difference. > > For example I stay as long as possible with 0 as first version number. > The next step to 1 is a relative increase of infty percent! > What a feeling!!! > Compared to that the 100% jump from 1 to 2 is a rather ordinary version > number growth. > > We all are looking forward to 9 (or 'only' 8.5). It's content that matters! > > Hermann > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 irog at mac.com Sun Oct 2 23:12:54 2016 From: irog at mac.com (Roger Guay) Date: Sun, 02 Oct 2016 20:12:54 -0700 Subject: Artificial Evolution In-Reply-To: References: Message-ID: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> Is anyone out there doing anything like this in LiveCode? For those who don?t know what Artificial Evolution is check this out: https://en.wikipedia.org/wiki/Evolved_antenna Thanks and cheers, Roger From brahma at hindu.org Sun Oct 2 23:46:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 3 Oct 2016 03:46:57 +0000 Subject: OT: Apple's Rules; Can we download an HTML 5 app? Message-ID: <407ACA04-EDBF-4A13-8801-1560AC5E20A1@hindu.org> Scenario: build a stack it includes some "views" which are livecode stacks with nothing but a browser widget on one card with the global app tool bar(s) top and bottom that match the app. save as standalone, deploy to phone, gets approved by Apple. Can you later download a complete HTML5 package js/html/css + assets that can run in the livecode stack later? without breaking their rules? From ahsoftware at sonic.net Sun Oct 2 23:48:10 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 2 Oct 2016 20:48:10 -0700 Subject: Artificial Evolution In-Reply-To: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> References: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> Message-ID: On 10/02/2016 08:12 PM, Roger Guay wrote: > Is anyone out there doing anything like this in LiveCode? For those who don?t know what Artificial Evolution is check this out: > > https://en.wikipedia.org/wiki/Evolved_antenna Ha! Looks like a paper clip that got mangled in a washing machine. Yeah, I did some genetic algorithm work back in the early 90s in HyperCard. I doubt I still have any of that around. -- Mark Wieder ahsoftware at gmail.com From irog at mac.com Mon Oct 3 01:33:10 2016 From: irog at mac.com (Roger Guay) Date: Sun, 02 Oct 2016 22:33:10 -0700 Subject: Artificial Evolution In-Reply-To: References: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> Message-ID: <7495F18E-D359-4CE6-AC20-E1AE74C51678@mac.com> I am so out of it, I didn?t even know this was a thing in the days of Hypercard. I am very impressed that you were doing that!! If you find anything or think of anything that would help me get started, I would appreciate it. But of course, no pressure. Thanks, Roger > On Oct 2, 2016, at 8:48 PM, Mark Wieder wrote: > > Yeah, I did some genetic algorithm work back in the early 90s in HyperCard. I doubt I still have any of that around. From peter.brett at livecode.com Mon Oct 3 06:24:06 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 3 Oct 2016 11:24:06 +0100 Subject: [ANN] This Week in LiveCode 53 Message-ID: <5eb95468-69b8-3aff-41b2-5b8b2d093345@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #53 here: https://goo.gl/LM3ye4 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From smudge.andy at googlemail.com Mon Oct 3 06:23:20 2016 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 3 Oct 2016 03:23:20 -0700 (PDT) Subject: 9.0??? In-Reply-To: References: Message-ID: <1475490200322-4709137.post@n4.nabble.com> Ok, I've obviously missed something here.. (no that unusual: -) Where is this mystical reference to V 9??? ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/9-0-tp4709057p4709137.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Mon Oct 3 06:31:21 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 3 Oct 2016 11:31:21 +0100 Subject: 9.0??? In-Reply-To: <1475490200322-4709137.post@n4.nabble.com> References: <1475490200322-4709137.post@n4.nabble.com> Message-ID: <37f93b91-ca20-dad8-81cc-030808392a69@livecode.com> On 03/10/2016 11:23, AndyP wrote: > Ok, I've obviously missed something here.. (no that unusual: -) > Where is this mystical reference to V 9??? https://github.com/livecode/livecode/pull/4533 Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From smudge.andy at googlemail.com Mon Oct 3 06:37:23 2016 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 3 Oct 2016 03:37:23 -0700 (PDT) Subject: 9.0??? In-Reply-To: <37f93b91-ca20-dad8-81cc-030808392a69@livecode.com> References: <1475490200322-4709137.post@n4.nabble.com> <37f93b91-ca20-dad8-81cc-030808392a69@livecode.com> Message-ID: <1475491043403-4709139.post@n4.nabble.com> Thanks Peter. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/9-0-tp4709057p4709139.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Mon Oct 3 08:33:09 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 3 Oct 2016 08:33:09 -0400 Subject: OCR Message-ID: Anyone thinking OCR for LC? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From roger.e.eller at sealedair.com Mon Oct 3 08:41:01 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Oct 2016 08:41:01 -0400 Subject: OCR In-Reply-To: References: Message-ID: I have needed it for an android app before. I looked into shelling a tesserract command. That could be a nice widget since it is OS. https://github.com/tesseract-ocr/tesseract/wiki https://github.com/tesseract-ocr/tesseract ~Roger On Oct 3, 2016 8:34 AM, "Mike Kerner" wrote: > Anyone thinking OCR for LC? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Oct 3 08:44:06 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 3 Oct 2016 06:44:06 -0600 Subject: OCR In-Reply-To: References: Message-ID: Might look here too: https://cloud.google.com/vision/ and here https://developers.google.com/vision/text-overview On Mon, Oct 3, 2016 at 6:41 AM, Roger Eller wrote: > I have needed it for an android app before. I looked into shelling a > tesserract command. That could be a nice widget since it is OS. > > https://github.com/tesseract-ocr/tesseract/wiki > > https://github.com/tesseract-ocr/tesseract > > ~Roger > > On Oct 3, 2016 8:34 AM, "Mike Kerner" wrote: > > > Anyone thinking OCR for LC? > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Oct 3 08:55:19 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 3 Oct 2016 08:55:19 -0400 Subject: OCR In-Reply-To: References: Message-ID: Have either of you tried these, and if so, have you tested response time? On Mon, Oct 3, 2016 at 8:44 AM, Mike Bonner wrote: > Might look here too: https://cloud.google.com/vision/ and here > https://developers.google.com/vision/text-overview > > On Mon, Oct 3, 2016 at 6:41 AM, Roger Eller > wrote: > > > I have needed it for an android app before. I looked into shelling a > > tesserract command. That could be a nice widget since it is OS. > > > > https://github.com/tesseract-ocr/tesseract/wiki > > > > https://github.com/tesseract-ocr/tesseract > > > > ~Roger > > > > On Oct 3, 2016 8:34 AM, "Mike Kerner" wrote: > > > > > Anyone thinking OCR for LC? > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Mon Oct 3 09:11:34 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 3 Oct 2016 07:11:34 -0600 Subject: OCR In-Reply-To: References: Message-ID: I haven't. I've used an extension in the past that I believe was driven by google ocr (in chrome) and it worked well. The nice thing is the google platform is a rest api, with google computing power behind it. Not sure how easy it would be to integrate into livecode but hey.. Its rest. The biggest limitation ( in my eyes) would be connection speed to move image data around. On Mon, Oct 3, 2016 at 6:55 AM, Mike Kerner wrote: > Have either of you tried these, and if so, have you tested response time? > > On Mon, Oct 3, 2016 at 8:44 AM, Mike Bonner wrote: > > > Might look here too: https://cloud.google.com/vision/ and here > > https://developers.google.com/vision/text-overview > > > > On Mon, Oct 3, 2016 at 6:41 AM, Roger Eller > > > wrote: > > > > > I have needed it for an android app before. I looked into shelling a > > > tesserract command. That could be a nice widget since it is OS. > > > > > > https://github.com/tesseract-ocr/tesseract/wiki > > > > > > https://github.com/tesseract-ocr/tesseract > > > > > > ~Roger > > > > > > On Oct 3, 2016 8:34 AM, "Mike Kerner" > wrote: > > > > > > > Anyone thinking OCR for LC? > > > > > > > > -- > > > > On the first day, God created the heavens and the Earth > > > > On the second day, God created the oceans. > > > > On the third day, God put the animals on hold for a few hours, > > > > and did a little diving. > > > > And God said, "This is good." > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Oct 3 09:40:35 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 3 Oct 2016 09:40:35 -0400 Subject: OCR In-Reply-To: References: Message-ID: After you sent it, I uploaded a sample of what the camera would see. I was disappointed in the results, so I'm worried that that solution is going to be a problem. We would have to grab the image, upload it, see if the OCR passes a sanity test, and if it doesn't, take and upload another image, etc. It's an interesting idea, though, if the image isn't so challenging. On Mon, Oct 3, 2016 at 9:11 AM, Mike Bonner wrote: > I haven't. I've used an extension in the past that I believe was driven by > google ocr (in chrome) and it worked well. The nice thing is the google > platform is a rest api, with google computing power behind it. Not sure > how easy it would be to integrate into livecode but hey.. Its rest. The > biggest limitation ( in my eyes) would be connection speed to move image > data around. > > On Mon, Oct 3, 2016 at 6:55 AM, Mike Kerner > wrote: > > > Have either of you tried these, and if so, have you tested response time? > > > > On Mon, Oct 3, 2016 at 8:44 AM, Mike Bonner wrote: > > > > > Might look here too: https://cloud.google.com/vision/ and here > > > https://developers.google.com/vision/text-overview > > > > > > On Mon, Oct 3, 2016 at 6:41 AM, Roger Eller < > roger.e.eller at sealedair.com > > > > > > wrote: > > > > > > > I have needed it for an android app before. I looked into shelling a > > > > tesserract command. That could be a nice widget since it is OS. > > > > > > > > https://github.com/tesseract-ocr/tesseract/wiki > > > > > > > > https://github.com/tesseract-ocr/tesseract > > > > > > > > ~Roger > > > > > > > > On Oct 3, 2016 8:34 AM, "Mike Kerner" > > wrote: > > > > > > > > > Anyone thinking OCR for LC? > > > > > > > > > > -- > > > > > On the first day, God created the heavens and the Earth > > > > > On the second day, God created the oceans. > > > > > On the third day, God put the animals on hold for a few hours, > > > > > and did a little diving. > > > > > And God said, "This is good." > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 roger.e.eller at sealedair.com Mon Oct 3 09:54:24 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Oct 2016 09:54:24 -0400 Subject: OCR In-Reply-To: References: Message-ID: Speaking of using the camera for OCR, the Google Translate app is pretty amazing at real-time OCR+translation. https://play.google.com/store/apps/details?id=com.google.android.apps.translate&hl=en ~Roger On Mon, Oct 3, 2016 at 9:40 AM, Mike Kerner wrote: > After you sent it, I uploaded a sample of what the camera would see. I was > disappointed in the results, so I'm worried that that solution is going to > be a problem. We would have to grab the image, upload it, see if the OCR > passes a sanity test, and if it doesn't, take and upload another image, > etc. It's an interesting idea, though, if the image isn't so challenging. > > On Mon, Oct 3, 2016 at 9:11 AM, Mike Bonner wrote: > > > I haven't. I've used an extension in the past that I believe was driven > by > > google ocr (in chrome) and it worked well. The nice thing is the google > > platform is a rest api, with google computing power behind it. Not sure > > how easy it would be to integrate into livecode but hey.. Its rest. The > > biggest limitation ( in my eyes) would be connection speed to move image > > data around. > > > > On Mon, Oct 3, 2016 at 6:55 AM, Mike Kerner > > wrote: > > > > > Have either of you tried these, and if so, have you tested response > time? > > > > > > On Mon, Oct 3, 2016 at 8:44 AM, Mike Bonner > wrote: > > > > > > > Might look here too: https://cloud.google.com/vision/ and here > > > > https://developers.google.com/vision/text-overview > > > > > > > > On Mon, Oct 3, 2016 at 6:41 AM, Roger Eller < > > roger.e.eller at sealedair.com > > > > > > > > wrote: > > > > > > > > > I have needed it for an android app before. I looked into > shelling a > > > > > tesserract command. That could be a nice widget since it is OS. > > > > > > > > > > https://github.com/tesseract-ocr/tesseract/wiki > > > > > > > > > > https://github.com/tesseract-ocr/tesseract > > > > > > > > > > ~Roger > > > > > > > > > > On Oct 3, 2016 8:34 AM, "Mike Kerner" > > > wrote: > > > > > > > > > > > Anyone thinking OCR for LC? > > > > > > > > > > > > -- > > > > > > On the first day, God created the heavens and the Earth > > > > > > On the second day, God created the oceans. > > > > > > On the third day, God put the animals on hold for a few hours, > > > > > > and did a little diving. > > > > > > And God said, "This is good." > > > > > > _______________________________________________ > > > > > > use-livecode mailing list > > > > > > use-livecode at lists.runrev.com > > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > > subscription preferences: > > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode 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." > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Oct 3 10:10:34 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 03 Oct 2016 10:10:34 -0400 Subject: Speech to Text... Message-ID: <57F266DA.10307@researchware.com> The current OCR thread on this list, prompted me to ask a questions I've been meaning to post for some time: Has anyone out there tried using CMU Sphinx (http://cmusphinx.sourceforge.net/) with live code to perform *any* sort of speech to text work, whether that is feeding a prerecorded file through pocketsphinx or processing audio in real time? I am interested in Sphinx because it is open source and cross-platform vs trying to hook into Apple Dictate on OSX and Windows Speech Recognition on Windows and yet something else for other platforms. However, if someone knows of some OTHER free cross-platform speech recognition system, I'd be interested in hearing about it. Google is cross-platform, being hosted, but is commercial for any volume over x minutes per month (I think 60). I'd be very interested in hearing about any work any one may be doing in this area on or off list. From roger.e.eller at sealedair.com Mon Oct 3 10:30:17 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 3 Oct 2016 10:30:17 -0400 Subject: Speech to Text... In-Reply-To: <57F266DA.10307@researchware.com> References: <57F266DA.10307@researchware.com> Message-ID: In my experience on Android at least, a LiveCode field or a native field will invoke the popup keyboard. So touching the microphone icon on the keyboard converts speech to text into the focussed field. It just works. Other platforms... I haven't tried. ~Roger On Mon, Oct 3, 2016 at 10:10 AM, Paul Dupuis wrote: > The current OCR thread on this list, prompted me to ask a questions I've > been meaning to post for some time: > > Has anyone out there tried using CMU Sphinx > (http://cmusphinx.sourceforge.net/) with live code to perform *any* sort > of speech to text work, whether that is feeding a prerecorded file > through pocketsphinx or processing audio in real time? > > I am interested in Sphinx because it is open source and cross-platform > vs trying to hook into Apple Dictate on OSX and Windows Speech > Recognition on Windows and yet something else for other platforms. > However, if someone knows of some OTHER free cross-platform speech > recognition system, I'd be interested in hearing about it. Google is > cross-platform, being hosted, but is commercial for any volume over x > minutes per month (I think 60). > > I'd be very interested in hearing about any work any one may be doing in > this area on or off list. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Oct 3 11:06:24 2016 From: paul at researchware.com (Paul Dupuis) Date: Mon, 03 Oct 2016 11:06:24 -0400 Subject: Speech to Text... In-Reply-To: References: <57F266DA.10307@researchware.com> Message-ID: <57F273F0.3050200@researchware.com> On 10/3/2016 10:30 AM, Roger Eller wrote: > In my experience on Android at least, a LiveCode field or a native field > will invoke the popup keyboard. So touching the microphone icon on the > keyboard converts speech to text into the focussed field. It just works. > > Other platforms... I haven't tried. > I am considering trying to use Sphinx on prerecorded media files, so ideally I'm looking for a way to feed a file to a tool and get a transcript (undoubtedly with errors due to speaker difference, noise, etc.) back out of the tool. However, so far, the learning curve (for me) on just getting Sphinx built for Windows or OSX is daunting. And all the Googling I have done has been unable to locate a pre-compiled distribution of Sphinx for the platforms I am most interested in (OSX and Win). From MikeKerner at roadrunner.com Mon Oct 3 11:09:26 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 3 Oct 2016 11:09:26 -0400 Subject: Speech to Text... In-Reply-To: References: <57F266DA.10307@researchware.com> Message-ID: I don't remember what sort of arrangement we did with Monte, but we had him write speech<-->text hooking to dragon, last year. I'm embarrassed to say that the app that I wanted it for isn't far enough along that I can even try it out for real, yet. On Mon, Oct 3, 2016 at 10:30 AM, Roger Eller wrote: > In my experience on Android at least, a LiveCode field or a native field > will invoke the popup keyboard. So touching the microphone icon on the > keyboard converts speech to text into the focussed field. It just works. > > Other platforms... I haven't tried. > > ~Roger > > > On Mon, Oct 3, 2016 at 10:10 AM, Paul Dupuis > wrote: > > > The current OCR thread on this list, prompted me to ask a questions I've > > been meaning to post for some time: > > > > Has anyone out there tried using CMU Sphinx > > (http://cmusphinx.sourceforge.net/) with live code to perform *any* sort > > of speech to text work, whether that is feeding a prerecorded file > > through pocketsphinx or processing audio in real time? > > > > I am interested in Sphinx because it is open source and cross-platform > > vs trying to hook into Apple Dictate on OSX and Windows Speech > > Recognition on Windows and yet something else for other platforms. > > However, if someone knows of some OTHER free cross-platform speech > > recognition system, I'd be interested in hearing about it. Google is > > cross-platform, being hosted, but is commercial for any volume over x > > minutes per month (I think 60). > > > > I'd be very interested in hearing about any work any one may be doing in > > this area on or off list. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dave at applicationinsight.com Mon Oct 3 12:42:27 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 3 Oct 2016 17:42:27 +0100 Subject: iTunesConnect & Bitcode Auto-Recompilation Message-ID: Hi Has anyone enabled this with a LiveCode app yet on iTunesConnect? In the Bitcode Auto-Recompilation section it states: "Occasionally, we may automatically recompile apps that include bitcode to improve hardware support or to optimize our software." Anyone know if this could effect a LiveCode-made app and are we OK to let it recompile our apps? Dave From waprothero at gmail.com Mon Oct 3 13:17:10 2016 From: waprothero at gmail.com (William Prothero) Date: Mon, 3 Oct 2016 10:17:10 -0700 Subject: Wondering about iOS background tasks Message-ID: Folks: My currently finished app needs to run continuously, as it must play a series of audio files. I found that, in iOS, audio will play when the app goes to the background, but the app is only completing the current audio file and the next one isn?t loaded, because the app isn?t really running. I solved this by setting mobileLockIdleTimer. This keeps the app in the front and it is what I want. Problem solved. But, in the CreateIT course, one of the lessons is to build a clock. Given my understanding of how iOS apps behave when in the background, I don?t see how an alarm could be initiated if the app goes to the background. I read on this list that Apple doesn?t allow apps to run in the background, but every app that puts out some kind of an alarm or notification must be running in some way. Does anybody have any info that would enlighten me on this subject? Best, Bill William A. Prothero http://es.earthednet.org/ From stephenREVOLUTION2 at barncard.com Mon Oct 3 13:35:00 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 3 Oct 2016 10:35:00 -0700 Subject: Speech to Text... In-Reply-To: References: <57F266DA.10307@researchware.com> Message-ID: My own opinion is that the speech to text field is still in flux but the gold standard is Dragon. Apple's tech got better with Siri, but she still screwed up a lot. Dragon 6's new tech with a LOT of AI can do a very high rate of accuracy with very little or NO training, and it seems to transcribe recorded speech very well, too. I will find out today if it is apple scriptable. Dragon 6 is the first version that I didn't give up on the first use. Methinks there are more than a few applications like OCR and Speech where it isn't worth the ROI to re-invent the market leader in some feature just for workflow convenience.. if Dragon leased, their code, that would be another thing, but I am pretty sure they are not and it was obvious from the first use is that it is very superior to anything I've ever used. And it's a bit of a dance to help it get it's hooks into the user's system. I could see from the quality of the app that they spent a lot of time developing this version. Beautiful work on Mac. Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Oct 3, 2016 at 8:09 AM, Mike Kerner wrote: > I don't remember what sort of arrangement we did with Monte, but we had him > write speech<-->text hooking to dragon, last year. I'm embarrassed to say > that the app that I wanted it for isn't far enough along that I can even > try it out for real, yet. > > On Mon, Oct 3, 2016 at 10:30 AM, Roger Eller > wrote: > > > In my experience on Android at least, a LiveCode field or a native field > > will invoke the popup keyboard. So touching the microphone icon on the > > keyboard converts speech to text into the focussed field. It just works. > > > > Other platforms... I haven't tried. > > > > ~Roger > > > > > > On Mon, Oct 3, 2016 at 10:10 AM, Paul Dupuis > > wrote: > > > > > The current OCR thread on this list, prompted me to ask a questions > I've > > > been meaning to post for some time: > > > > > > Has anyone out there tried using CMU Sphinx > > > (http://cmusphinx.sourceforge.net/) with live code to perform *any* > sort > > > of speech to text work, whether that is feeding a prerecorded file > > > through pocketsphinx or processing audio in real time? > > > > > > I am interested in Sphinx because it is open source and cross-platform > > > vs trying to hook into Apple Dictate on OSX and Windows Speech > > > Recognition on Windows and yet something else for other platforms. > > > However, if someone knows of some OTHER free cross-platform speech > > > recognition system, I'd be interested in hearing about it. Google is > > > cross-platform, being hosted, but is commercial for any volume over x > > > minutes per month (I think 60). > > > > > > I'd be very interested in hearing about any work any one may be doing > in > > > this area on or off list. > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 capellan2000 at gmail.com Mon Oct 3 14:20:50 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 3 Oct 2016 14:20:50 -0400 Subject: [ANN] This Week in LiveCode 53 Message-ID: Hi Peter, Could you make a change in the newsletter? Could you change this: "Alejandro Tejada has dug up some 23-year-old HyperCard stacks" For this? "Lagi Pittas, Andrew Ferguson and Alejandro Tejada has dug up some 23-year-old HyperCard stacks Thanks in advance! Alejandro From MikeKerner at roadrunner.com Mon Oct 3 15:17:55 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 3 Oct 2016 15:17:55 -0400 Subject: Speech to Text... In-Reply-To: References: <57F266DA.10307@researchware.com> Message-ID: it is very good, going both directions. I just need to actually attach it to this app...someday... On Mon, Oct 3, 2016 at 1:35 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > My own opinion is that the speech to text field is still in flux but the > gold standard is Dragon. > > Apple's tech got better with Siri, but she still screwed up a lot. > > Dragon 6's new tech with a LOT of AI can do a very high rate of accuracy > with very little or NO training, and it seems to transcribe recorded speech > very well, too. I will find out today if it is apple scriptable. > > Dragon 6 is the first version that I didn't give up on the first use. > > Methinks there are more than a few applications like OCR and Speech where > it isn't worth the ROI to re-invent the market leader in some feature just > for workflow convenience.. > > if Dragon leased, their code, that would be another thing, but I am pretty > sure they are not and it was obvious from the first use is that it is very > superior to anything I've ever used. And it's a bit of a dance to help it > get it's hooks into the user's system. I could see from the quality of the > app that they spent a lot of time developing this version. Beautiful work > on Mac. > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Mon, Oct 3, 2016 at 8:09 AM, Mike Kerner > wrote: > > > I don't remember what sort of arrangement we did with Monte, but we had > him > > write speech<-->text hooking to dragon, last year. I'm embarrassed to > say > > that the app that I wanted it for isn't far enough along that I can even > > try it out for real, yet. > > > > On Mon, Oct 3, 2016 at 10:30 AM, Roger Eller < > roger.e.eller at sealedair.com> > > wrote: > > > > > In my experience on Android at least, a LiveCode field or a native > field > > > will invoke the popup keyboard. So touching the microphone icon on the > > > keyboard converts speech to text into the focussed field. It just > works. > > > > > > Other platforms... I haven't tried. > > > > > > ~Roger > > > > > > > > > On Mon, Oct 3, 2016 at 10:10 AM, Paul Dupuis > > > wrote: > > > > > > > The current OCR thread on this list, prompted me to ask a questions > > I've > > > > been meaning to post for some time: > > > > > > > > Has anyone out there tried using CMU Sphinx > > > > (http://cmusphinx.sourceforge.net/) with live code to perform *any* > > sort > > > > of speech to text work, whether that is feeding a prerecorded file > > > > through pocketsphinx or processing audio in real time? > > > > > > > > I am interested in Sphinx because it is open source and > cross-platform > > > > vs trying to hook into Apple Dictate on OSX and Windows Speech > > > > Recognition on Windows and yet something else for other platforms. > > > > However, if someone knows of some OTHER free cross-platform speech > > > > recognition system, I'd be interested in hearing about it. Google is > > > > cross-platform, being hosted, but is commercial for any volume over x > > > > minutes per month (I think 60). > > > > > > > > I'd be very interested in hearing about any work any one may be doing > > in > > > > this area on or off list. > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 monte at appisle.net Mon Oct 3 16:41:19 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 4 Oct 2016 07:41:19 +1100 Subject: iTunesConnect & Bitcode Auto-Recompilation In-Reply-To: References: Message-ID: <88D9BF19-A65B-416B-A20F-0EA16FF4A700@appisle.net> We do not have bitcode enabled for LiveCode builds. Cheers Monte Sent from my iPhone > On 4 Oct. 2016, at 3:42 am, Dave Kilroy wrote: > > Hi > > Has anyone enabled this with a LiveCode app yet on iTunesConnect? In the Bitcode Auto-Recompilation section it states: > > "Occasionally, we may automatically recompile apps that include bitcode to improve hardware support or to optimize our software." > > Anyone know if this could effect a LiveCode-made app and are we OK to let it recompile our apps? > > Dave > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hlowe at me.com Tue Oct 4 02:03:14 2016 From: hlowe at me.com (hlowe) Date: Mon, 3 Oct 2016 23:03:14 -0700 (PDT) Subject: Wondering about iOS background tasks In-Reply-To: References: Message-ID: <1475560994627-4709157.post@n4.nabble.com> Bill, iOS supports local notifications (as supposed to remote notifications) that work even if the app that created them is no longer running. See: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/WhatAreRemoteNotif.html Basically the app creates a local (device) time-based notification and registers it with iOS using the LC command 'CreateNewMobileNotification'. When the local notification date and time arrives iOS will send the notification back to the app that created it. If the app is not running iOS will issue a notification alert to the user, providing the option to automatically launch the app. In LC the app receives a 'localNotificationReceived' message that includes information about the notification. The app handles this message (and its associated data) to process the notification alert. Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Wondering-about-iOS-background-tasks-tp4709152p4709157.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at sorcery-ltd.co.uk Tue Oct 4 04:13:59 2016 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Tue, 04 Oct 2016 09:13:59 +0100 Subject: Wondering about iOS background tasks In-Reply-To: References: Message-ID: <1475568839.4086539.745144017.2AEE26E5@webmail.messagingengine.com> On Mon, Oct 3, 2016, at 06:17 PM, William Prothero wrote: > Folks: > My currently finished app needs to run continuously, as it must play a > series of audio files. I found that, in iOS, audio will play when the app > goes to the background, but the app is only completing the current audio > file and the next one isn?t loaded, because the app isn?t really running. > I solved this by setting mobileLockIdleTimer. This keeps the app in the > front and it is what I want. Problem solved. Just FYI, mobileLockIdleTimer will prevent the device locking and turning off the screen, which is a real battery killer. A mobile device can play audio with the screen off for many, many hours. Of course if you actually need the screen on, no problem. On iOS, assuming you have the audio background mode set (in the info.plist), the device doesn't suspend your app while it's still playing audio. It may be the case that the way LiveCode works with audio APIs, or the way you're using them, means you stop playing between tracks for too long, so the system assumes the audio is finished. Might be worth further investigation. -- Mark Wilcox mark at sorcery-ltd.co.uk From peter.brett at livecode.com Tue Oct 4 05:46:01 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 4 Oct 2016 10:46:01 +0100 Subject: [ANN] This Week in LiveCode 53 In-Reply-To: References: Message-ID: <03f4e917-cf88-d334-eb66-f72d9025c4bd@livecode.com> On 03/10/2016 19:20, Alejandro Tejada wrote: > Hi Peter, > > Could you make a change in the newsletter? > > Could you change this: > "Alejandro Tejada has dug up some > 23-year-old HyperCard stacks" > > For this? > "Lagi Pittas, Andrew Ferguson and > Alejandro Tejada has dug up some > 23-year-old HyperCard stacks > > Thanks in advance! Done! But next time, you can just make the changes yourself! https://github.com/livecode/this-week-in-livecode Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From dave at applicationinsight.com Tue Oct 4 06:01:57 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 4 Oct 2016 11:01:57 +0100 Subject: iTunesConnect & Bitcode Auto-Recompilation In-Reply-To: References: Message-ID: <0696705C-3206-4C76-8449-0A8232DD6609@applicationinsight.com> Thanks Monte - I?ll keep away from it as well then? > We do not have bitcode enabled for LiveCode builds. > > Cheers > > Monte > > Sent from my iPhone > > >> On 3 Oct 2016, at 17:42, Dave Kilroy wrote: >> >> Hi >> >> Has anyone enabled this with a LiveCode app yet on iTunesConnect? In the Bitcode Auto-Recompilation section it states: >> >> "Occasionally, we may automatically recompile apps that include bitcode to improve hardware support or to optimize our software." >> >> Anyone know if this could effect a LiveCode-made app and are we OK to let it recompile our apps? >> >> Dave >> > From richmondmathewson at gmail.com Tue Oct 4 07:41:36 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 4 Oct 2016 14:41:36 +0300 Subject: Elanor Buchanan's stacks Message-ID: Jolly interesting, but not what I expected to be listed when I cracked open the Start Center of 8.1.1 on Xubuntu 64-bit 16.04. Bug 18535 Sorry; late to the party: been ill for quite some time. Love, Richmond. From roger.e.eller at sealedair.com Tue Oct 4 08:27:39 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 4 Oct 2016 08:27:39 -0400 Subject: [ANN] This Week in LiveCode 53 In-Reply-To: <03f4e917-cf88-d334-eb66-f72d9025c4bd@livecode.com> References: <03f4e917-cf88-d334-eb66-f72d9025c4bd@livecode.com> Message-ID: It is nice to see more emphasis on open-source, encouraging the masses to be a part, but when it comes to a blog/newsletter, I believe the author should be in control of the content. /2 cents (USD) ~Roger On Oct 4, 2016 5:46 AM, "Peter TB Brett" wrote: > On 03/10/2016 19:20, Alejandro Tejada wrote: > >> Hi Peter, >> >> Could you make a change in the newsletter? >> >> Could you change this: >> "Alejandro Tejada has dug up some >> 23-year-old HyperCard stacks" >> >> For this? >> "Lagi Pittas, Andrew Ferguson and >> Alejandro Tejada has dug up some >> 23-year-old HyperCard stacks >> >> Thanks in advance! >> > > Done! But next time, you can just make the changes yourself! > > https://github.com/livecode/this-week-in-livecode > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Tue Oct 4 08:32:01 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 4 Oct 2016 08:32:01 -0400 Subject: [ANN] This Week in LiveCode 53 In-Reply-To: References: <03f4e917-cf88-d334-eb66-f72d9025c4bd@livecode.com> Message-ID: +1 On Tue, Oct 4, 2016 at 8:27 AM, Roger Eller wrote: > It is nice to see more emphasis on open-source, encouraging the masses to > be a part, but when it comes to a blog/newsletter, I believe the author > should be in control of the content. /2 cents (USD) > > ~Roger > > On Oct 4, 2016 5:46 AM, "Peter TB Brett" wrote: > > > On 03/10/2016 19:20, Alejandro Tejada wrote: > > > >> Hi Peter, > >> > >> Could you make a change in the newsletter? > >> > >> Could you change this: > >> "Alejandro Tejada has dug up some > >> 23-year-old HyperCard stacks" > >> > >> For this? > >> "Lagi Pittas, Andrew Ferguson and > >> Alejandro Tejada has dug up some > >> 23-year-old HyperCard stacks > >> > >> Thanks in advance! > >> > > > > Done! But next time, you can just make the changes yourself! > > > > https://github.com/livecode/this-week-in-livecode > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Technical Project Manager > > > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Tue Oct 4 10:43:37 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 4 Oct 2016 09:43:37 -0500 Subject: [ANN] This Week in LiveCode 53 In-Reply-To: References: <03f4e917-cf88-d334-eb66-f72d9025c4bd@livecode.com> Message-ID: On Tuesday, October 4, 2016, Roger Eller wrote: > It is nice to see more emphasis on open-source, encouraging the masses to > be a part, but when it comes to a blog/newsletter, I believe the author > should be in control of the content. /2 cents (USD) > Isn't the author still in control? You have to submit a pull request and Peter has to accept it. If he doesn't accept it the change isn't made. -- Trevor DeVore From prothero at earthednet.org Tue Oct 4 10:48:10 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 4 Oct 2016 07:48:10 -0700 Subject: Wondering about iOS background tasks In-Reply-To: <1475568839.4086539.745144017.2AEE26E5@webmail.messagingengine.com> References: <1475568839.4086539.745144017.2AEE26E5@webmail.messagingengine.com> Message-ID: <35849779-CEED-40FC-A400-2074D548EAD8@earthednet.org> Thanks, Henry! I guess that saves the security risk of having apps run in the background and potentially causing security problems. It makes sense. Thanks again, Bill William Prothero http://es.earthednet.org > On Oct 4, 2016, at 1:13 AM, Mark Wilcox wrote: > >> On Mon, Oct 3, 2016, at 06:17 PM, William Prothero wrote: >> Folks: >> My currently finished app needs to run continuously, as it must play a >> series of audio files. I found that, in iOS, audio will play when the app >> goes to the background, but the app is only completing the current audio >> file and the next one isn?t loaded, because the app isn?t really running. >> I solved this by setting mobileLockIdleTimer. This keeps the app in the >> front and it is what I want. Problem solved. > > Just FYI, mobileLockIdleTimer will prevent the device locking and > turning off the screen, which is a real battery killer. A mobile device > can play audio with the screen off for many, many hours. Of course if > you actually need the screen on, no problem. > > On iOS, assuming you have the audio background mode set (in the > info.plist), the device doesn't suspend your app while it's still > playing audio. It may be the case that the way LiveCode works with audio > APIs, or the way you're using them, means you stop playing between > tracks for too long, so the system assumes the audio is finished. Might > be worth further investigation. > > -- > Mark Wilcox > mark at sorcery-ltd.co.uk > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Tue Oct 4 13:06:05 2016 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 4 Oct 2016 19:06:05 +0200 Subject: Reset the foreground color Message-ID: Hello, I've a field where i change color of some chars by script. If i want to "reset" the color of all my text this code doesn't work : set the foregroundcolor of fld "myText" to black I really need to do a repeat on all chars ??? Thanks From klaus at major-k.de Tue Oct 4 13:15:42 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 4 Oct 2016 19:15:42 +0200 Subject: Reset the foreground color In-Reply-To: References: Message-ID: <003982BC-A184-4E6D-BF7E-A7EE032AE189@major-k.de> Bonsoir Ludovic, > Am 04.10.2016 um 19:06 schrieb Ludovic THEBAULT : > > Hello, > > I've a field where i change color of some chars by script. > If i want to "reset" the color of all my text this code doesn't work : > set the foregroundcolor of fld "myText" to black > I really need to do a repeat on all chars ??? yep, but this will do the trick: ... set the foregroundcolor of char 1 to -1 of fld "myText" to black ... > Thanks Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ludovic.thebault at laposte.net Tue Oct 4 13:25:23 2016 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Tue, 4 Oct 2016 19:25:23 +0200 Subject: Reset the foreground color In-Reply-To: <003982BC-A184-4E6D-BF7E-A7EE032AE189@major-k.de> References: <003982BC-A184-4E6D-BF7E-A7EE032AE189@major-k.de> Message-ID: <8EDAFF13-960C-42B2-8E54-D2D5C82F2E56@laposte.net> Le 4 oct. 2016 ? 19:15, Klaus major-k a ?crit : > Bonsoir Ludovic, > >> Am 04.10.2016 um 19:06 schrieb Ludovic THEBAULT : >> >> Hello, >> >> I've a field where i change color of some chars by script. >> If i want to "reset" the color of all my text this code doesn't work : >> set the foregroundcolor of fld "myText" to black >> I really need to do a repeat on all chars ??? > > yep, but this will do the trick: > ... > set the foregroundcolor of char 1 to -1 of fld "myText" to black > ... Better ! Thanks ! From bobsneidar at iotecdigital.com Tue Oct 4 15:10:54 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Oct 2016 19:10:54 +0000 Subject: very often "Scripts externally modified" popup In-Reply-To: <7133D058-5D13-4F12-BC5F-10E52880DDD0@m-r-d.de> References: <2F6BC28C-3B54-499D-BBCE-3972CD0D904E@m-r-d.de> <7133D058-5D13-4F12-BC5F-10E52880DDD0@m-r-d.de> Message-ID: This sounds like what I was running into where a handler didn't work until I copied the text of the script into a text only editor, then copied it back into the script. I know there was a difference because after pasting I had to recompile. If the scripts are identical you will not get the dirty flag. Bob S > On Sep 12, 2016, at 08:11 , Matthias Rebbe wrote: > > Hi again, > > i found out, what was causing the problem. > > I?ve pasted an utf encoded script into the script editor. With that script i can reproduce the behaviour. > If i paste the same script iso or mac roman encoded into the script editor the problem is solved. > > Is this a known behaviour or should i file a bug? > > Matthias > > > >> If you have a reliable recipe then please open a report. >> >> Thanks >> >> Monte >> >> Sent from my iPhone >> >>> On 12 Sep 2016, at 8:04 PM, Matthias Rebbe > wrote: >>> >>> This is driving me crazy. So is anyone else noticing this and i should submit it as a bug or is there something on my side what i can change >>> to ged rid of that popup. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 4 15:16:01 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Oct 2016 19:16:01 +0000 Subject: Recursive Script Message-ID: Hi all. Some time back someone had the need to enumerate every datagrid on a card even if the datagrids were themselves grouped with other objects. I cannot now find that thread, or any stack treating the issue in my downloads folder. It would involve recursion because the groupnames is a property of a card and not another group. If groups had the groupname properties it would be easy. As it is I then have to enumerate all groups and do recursive calls passing the current group as the next group to enumerate. If none of that makes sense just think, "42". My trouble is I am having a difficult time formulating the recursive function, and I cannot find recursion anywhere in the Livecode Lessons. I need an example of a recursive function. Bob S From bobsneidar at iotecdigital.com Tue Oct 4 15:16:56 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Oct 2016 19:16:56 +0000 Subject: use "" as an array key In-Reply-To: References: Message-ID: <49F55AE4-802A-4A8C-99E3-89C49E2A4E1B@iotecdigital.com> noticed that too. Doesn't seem to hurt anything. Bob S > On Sep 22, 2016, at 10:58 , Matt Maier wrote: > > I find myself in want of a YAML library again. Mark posted some functions > on the forum that I'm debugging > http://forums.livecode.com/viewtopic.php?f=7&t=21434 > > Something I discovered while debugging is that "" is being accepted as an > array key. > > It seems like it shouldn't be possible to use the absence of a string as an > array key. Is it supposed to work that way? I'm using 8.0.1 on Windows. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 4 15:18:50 2016 From: livfoss at mac.com (Graham Samuel) Date: Tue, 04 Oct 2016 20:18:50 +0100 Subject: Issues with 'Open Recent File' on LC 8.1.1rc1 Message-ID: <06869672-D7B2-4462-A332-F068BEC51B19@mac.com> My list of recent files should include a stack I?m working on which I keep in DropBox (as is usual, there?s a local copy of this file on my Mac). But the name of this file tends to disappear from the ?Recent Files? list, whereas stuff that dates back many previous versions of LC is still there, including strangely something that was in DropBox several versions ago. This may be a bug, but I have not yet got a recipe. Is anyone else experiencing this? I can?t see anything relevant in the bug database. Graham From bobsneidar at iotecdigital.com Tue Oct 4 15:21:35 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Oct 2016 19:21:35 +0000 Subject: use "" as an array key In-Reply-To: <3e56596f-0fc3-3d5f-ecea-a73c9cbd98b2@livecode.com> References: <36bdcd00-31a0-c655-84e8-ae48fb09ee2e@livecode.com> <3e56596f-0fc3-3d5f-ecea-a73c9cbd98b2@livecode.com> Message-ID: <11431632-B8C0-4ECA-BA79-D316950F6748@iotecdigital.com> sqlYoga handles sql NULL by converting them to the string "NULL". When writing back to the table it handles that too. the difference in where clauses is that you cannot use equal (=) as an operator. You have to use "is". Also I think in an insert or update statement in the set clause you have to use the NULL constant and not enclose in single quotes 'NULL' which would be the string. Bob S On Sep 24, 2016, at 24:35 , Peter TB Brett > wrote: On 24/09/2016 04:26, Kay C Lan wrote: On Fri, Sep 23, 2016 at 2:27 AM, Peter TB Brett > wrote: "" isn't "the absence of a string", it's a string that's 0 characters long. Being able to use it as an array key is important for being able to represent real-world data in an array. It's an important point that "", a 0 character string is not the same as NULL because we as humans often 'see them' as the same. Very confusingly, "null" in LiveCode Script is _not_ the same as "NULL" in SQL. In LiveCode, "null" is shorthand for "numtochar(0)". LiveCode Script doesn't really have the concept of "no value at all" that is modelled by SQL's "NULL". Most of the syntax fakes it by using the empty string, but unfortunately that doesn't work everywhere. LiveCode Builder has "nothing", which is a proper "no value". Peter -- Dr Peter Brett > LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From paul at researchware.com Tue Oct 4 15:41:09 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 04 Oct 2016 15:41:09 -0400 Subject: Recursive Script In-Reply-To: References: Message-ID: <57F405D5.6050705@researchware.com> Here is an example: function listDatagrids pObject local dataGridList repeat with i=1 to the number of groups of pObject if grp i of pObject is a datagrid then -- fix this line put whatever data on the datagrid & return after dataGridList -- fix this line else put listDataGrids(long ID of grp i of pObject) into childList if childList is not empty then put childList & return after dataGridList end if end repeat return dataGridList end listDataGrids there are 2 lines you need to fix - one is how to tell a grp is a datagrid. I recall a property or API you can check, but didn't have the datagrid PDF handy. The other is whatever info (short name, long ID, etc. you want for each datagrid Call it with the long id of the card. As in: put listDatagrids(long id of cd x of stack y) into myListOfDatagrids On 10/4/2016 3:16 PM, Bob Sneidar wrote: > Hi all. > > Some time back someone had the need to enumerate every datagrid on a card even if the datagrids were themselves grouped with other objects. I cannot now find that thread, or any stack treating the issue in my downloads folder. It would involve recursion because the groupnames is a property of a card and not another group. If groups had the groupname properties it would be easy. > > As it is I then have to enumerate all groups and do recursive calls passing the current group as the next group to enumerate. If none of that makes sense just think, "42". > > My trouble is I am having a difficult time formulating the recursive function, and I cannot find recursion anywhere in the Livecode Lessons. I need an example of a recursive function. > > 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 dochawk at gmail.com Tue Oct 4 16:08:12 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Oct 2016 13:08:12 -0700 Subject: using Sierra Message-ID: The shared iCloud drive was compelling enough for me to convert to Sierra without waiting months. It does a *far* better drive at syncing than Wuala used to or than SpiderOak does, and without churning cpu and battery on my laptops. (pretty much 100% cpu whenever on, and still doesn't finish updates). Anyway, I'm noting that scrolling from the magic trackpad seems quirky in LC 7. At times, it scrolls insanely fast, and at times it doesn't seem to refocus properly--eg, in the panes of the application browser. Are other people seeing the same? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Tue Oct 4 17:18:52 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Oct 2016 21:18:52 +0000 Subject: Supercard 4.8 public beta In-Reply-To: References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: Agreed. I probably paid for the original Supercard and about 4 upgrades over the years and never produced anything with it, but the ability to continue working in a hypercard-like environment and wanting it to not go the way of Hypercard was enough to keep me on the gravy train. Bob S On Sep 22, 2016, at 12:27 , stephen barncard > wrote: I was a hypercard ACE but my three purchases of Supercard over the years never got used. I found the whole system baffling, an annoying workflow. I always went back to HC. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dochawk at gmail.com Tue Oct 4 17:44:01 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 4 Oct 2016 14:44:01 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: On Tue, Oct 4, 2016 at 2:18 PM, Bob Sneidar wrote: > Agreed. I probably paid for the original Supercard and about 4 upgrades > over the years and never produced anything with it, but the ability to > continue working in a hypercard-like environment and wanting it to not go > the way of Hypercard was enough to keep me on the gravy train. > If I'd kept using it another year, I'd probably be wealthy now--I had no clue that the DOS version was actually going to ship in another year, and dropped my project. *sigh* I last used 1.5 . . . but a couple of years ago, I *was* able to import the stacks to the trial version of the then-current version (4.5?). I had to drag out an old MacClassic, restore from a stack of backup disks (an adventure in itself, finding a copy of the backup program), write to floppy, convince a FreeBSD machine to read that, and then either burn a cd or use a usb to get it onto a modern mac . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From irog at mac.com Tue Oct 4 20:04:00 2016 From: irog at mac.com (Roger Guay) Date: Tue, 04 Oct 2016 17:04:00 -0700 Subject: using Sierra In-Reply-To: References: Message-ID: Yes! And, It still is wonky in LC8 as well. Roger > On Oct 4, 2016, at 1:08 PM, Dr. Hawkins wrote: > > Anyway, I'm noting that scrolling from the magic trackpad seems quirky in > LC 7. > > At times, it scrolls insanely fast, and at times it doesn't seem to refocus > properly--eg, in the panes of the application browser. > > Are other people seeing the same? From prothero at earthednet.org Tue Oct 4 21:03:37 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 4 Oct 2016 18:03:37 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: I waited a year for the DOS version. It never came. Then I went to Director. Bill William Prothero http://es.earthednet.org > On Oct 4, 2016, at 2:44 PM, Dr. Hawkins wrote: > > On Tue, Oct 4, 2016 at 2:18 PM, Bob Sneidar > wrote: > >> Agreed. I probably paid for the original Supercard and about 4 upgrades >> over the years and never produced anything with it, but the ability to >> continue working in a hypercard-like environment and wanting it to not go >> the way of Hypercard was enough to keep me on the gravy train. >> > > If I'd kept using it another year, I'd probably be wealthy now--I had no > clue that the DOS version was actually going to ship in another year, and > dropped my project. > > *sigh* > > I last used 1.5 . . . but a couple of years ago, I *was* able to import the > stacks to the trial version of the then-current version (4.5?). I had to > drag out an old MacClassic, restore from a stack of backup disks (an > adventure in itself, finding a copy of the backup program), write to > floppy, convince a FreeBSD machine to read that, and then either burn a cd > or use a usb to get it onto a modern mac . . . > > > -- > 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 paul at livecode.org Tue Oct 4 21:05:58 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 4 Oct 2016 18:05:58 -0700 Subject: MacWorld UK Message-ID: <9C03297B-DF52-4308-858D-1DD85FF8DB3F@livecode.org> How can a major UK Mac magazine ignore LiveCode in an article titled "Complete guide to coding and programming on a Mac: Best programming languages for Mac coders | How to get started as an app developer?. Link: http://www.macworld.co.uk/how-to/mac/complete-guide-coding-programming-apps-mac-3645777/ I?ve left a comment on their page, may help with a few more comments. Paul From richmondmathewson at gmail.com Wed Oct 5 07:19:19 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 5 Oct 2016 14:19:19 +0300 Subject: MacWorld UK In-Reply-To: <9C03297B-DF52-4308-858D-1DD85FF8DB3F@livecode.org> References: <9C03297B-DF52-4308-858D-1DD85FF8DB3F@livecode.org> Message-ID: Well the first thing you have to remember is that in Britain everything computerwise is behind the times. Every year when I go over to visit my parents and so on I am amazed at how retro all the computer magazines look. This, of course, is without mentioning the UK government's obsessive need to regulate everything to such an extent that it chokes a lot of initiative. What boggles my mind is how Yes-men like the BBC go on about how fantastic the upcoming broadband internet service is when it is about 25% of the speed of the cheapest internet service here in Bulgaria (the one I use). Please also remember that in Britain the level of ignorance of any operating system beyond Windows is far worse than in most other countries . . . Just to cover myself, I should point out that those statements refer to non-computer specialists. At the "University" of Abertay, where I got my second Master's degree, my thesis supervisor asked me if I could explain to her what an emulator was (I was learning Visual Basic at home on a Macintosh running system 10.2 running Windows ME inside Virtual PC:a whole groovy game in its own right), as she (supervising me on a programming thesis to produce a proof-of-concept prototype of a cross-platform voice-activated RAD for teachers) did not know what one was. She also asked me how a Macintosh could work without Windows: she held a PhD is computer systems. About half of the teenagers I teach English to here in Bulgaria have either a computer running dual-boot Win/Lin (which they have set upo themselves), or several machines running a variety of systems: they are just "fooling around" by themselves; but they are well aware of both the variety of OSes and programming environments. Now, as Bulgaria is, after all, a small somewhere at the bottom of the European sack, this should give you a fair idea of what sort of things to expect from kids in other European countries. Presumably one of the reasons for Brexit is so that Britain can blame its on incredible mediocrity (computerwise, at least) on something other than the English tendency to rubbish success and praise second-rate stuff; while the E.U. is already outstripping them by leaps and bounds. Richmond. On 5.10.2016 04:05, Paul Hibbert wrote: > How can a major UK Mac magazine ignore LiveCode in an article titled "Complete guide to coding and programming on a Mac: Best programming languages for Mac coders | How to get started as an app developer?. > > Link: http://www.macworld.co.uk/how-to/mac/complete-guide-coding-programming-apps-mac-3645777/ > > I?ve left a comment on their page, may help with a few more comments. > > 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 richmondmathewson at gmail.com Wed Oct 5 10:39:29 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 5 Oct 2016 17:39:29 +0300 Subject: 9.0??? In-Reply-To: References: Message-ID: <9bca35a1-3da9-67be-8d13-f08ccab473fc@gmail.com> Well: whaddayaknow? https://github.com/livecode/livecode/milestones Here's another way of looking at the phenomenon I have previously pointed out: http://forums.livecode.com/viewtopic.php?f=5&t=28061#p147023 I wonder whether anybody has yet pointed out to whoever cooks up the version numbers at the Livecode Mothership that "9" is currently unfashionable, as demonstrated by Microsoft. Richmond. On 1.10.2016 09:14, Richmond wrote: > Why do I get a funny feeling that those numbers (6,7,8,9 . . .) get > closer and closer together. > From DVGlasgow at gmail.com Wed Oct 5 13:03:00 2016 From: DVGlasgow at gmail.com (David V Glasgow) Date: Wed, 5 Oct 2016 18:03:00 +0100 Subject: Supercard 4.8 public beta In-Reply-To: References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> Message-ID: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> I PAID in advance for the Windows version, and then switched to mTropolis. IIRC it trumpeted that it did not rely on a metaphor. Boy was I glad to get back to stacks & cards David G > On 5 Oct 2016, at 2:03 am, Earthednet-wp wrote: > > I waited a year for the DOS version. It never came. Then > I went to Director. > Bill From ambassador at fourthworld.com Wed Oct 5 13:22:20 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 5 Oct 2016 10:22:20 -0700 Subject: Supercard 4.8 public beta In-Reply-To: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> Message-ID: David V Glasgow wrote: > I PAID in advance for the Windows version, and then switched to > mTropolis. IIRC it trumpeted that it did not rely on a metaphor. > > Boy was I glad to get back to stacks & cards For me it's not even the "card metaphor" - we could call it a "form" like VB does or a "page" like Toolbook and I'd be just as happy. I rarely use more than one card in a window anyway. For me the big benefit is a fully featured scripting language, and unlike so many others ours has GUI elements as an inherent part of the language. With this the code we write can reflect the user experience, making the process from ideation of the UX to implementation of the UI a breeze. I used to think about building mTropolis or iShell in LiveCode, doable were it not for one thing: I don't believe it's worth the time. No matter how simple a development UI might _seem_, no point-and-click system can deliver the flexibility and expressiveness of scripted code. Like Bill Appleton told me shortly after he left his point-and-click authoring tool CourseBuilder behind to make SuperCard, there's a limit on the complexity of systems that can be expressed clearly in any point-and-click UI, and ultimately code becomes the more readable option for any but the most trivial of programs. After all, how many point-and-click tools used their point-and-click tool to build their IDE? :) Today most of the point-and-click are gone, even the industry-leading Authorware, while scripting language have taken over much of the world to dominate applications development. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Wed Oct 5 13:48:38 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 5 Oct 2016 20:48:38 +0300 Subject: Supercard 4.8 public beta In-Reply-To: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> References: <5439ae6b-6247-dc96-8c96-4724364478d7@gmail.com> <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> Message-ID: <0a235b3b-3650-89e3-e329-a9bcca444112@gmail.com> I wonder how any development suite and/or language could claim it did not rely on a metaphor unless it consisted of programming in nothing but ones and zeros? Richmond. On 5.10.2016 20:03, David V Glasgow wrote: > I PAID in advance for the Windows version, and then switched to mTropolis. IIRC it trumpeted that it did not rely on a metaphor. > > Boy was I glad to get back to stacks & cards > > David G > >> On 5 Oct 2016, at 2:03 am, Earthednet-wp wrote: >> >> I waited a year for the DOS version. It never came. Then >> I went to Director. >> Bill > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Oct 5 15:28:35 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 5 Oct 2016 15:28:35 -0400 Subject: Limitation on length of Menu Items in a Combo Box? Message-ID: I have pasted a long list into combo box (2106 lines), and it truncates the list to about 10 lines. If I reduce the list to 2095 lines, the list does not truncate. Any more, and it will truncate. ~Roger From paul at researchware.com Wed Oct 5 17:56:14 2016 From: paul at researchware.com (Paul Dupuis) Date: Wed, 05 Oct 2016 17:56:14 -0400 Subject: OSX Opening an App with a document Message-ID: <57F576FE.8020103@researchware.com> Okay list gurus: What is the best practice method for determine whether a Standalone app under OSX was opened with a document (by drag and drop or double-click)? I have an appleevent handler that get any doc dropped on the app while it is running. I was also checking this after startup (and by startup I mean the initial message set of startup, preopenstack, openstack, etc, etc. opencard). I needed to change the startup sequence a bit and now the code I was using is essentially on opencard. Hwoever, checking the pendingMessages shows the standalone has not yet received the appleevent message yet. This is SOO much simpler under Windows where the global $1 has any file that was launched at startup - AT startup! Does anyone have any good on-startup code to determine if an OSX app was launched with a doc? From roger.e.eller at sealedair.com Wed Oct 5 23:04:17 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 5 Oct 2016 23:04:17 -0400 Subject: Limitation on length of Menu Items in a Combo Box? In-Reply-To: References: Message-ID: Is this a size in bytes limitation, or a number of lines limitation? ~Roger On Oct 5, 2016 3:28 PM, "Roger Eller" wrote: > I have pasted a long list into combo box (2106 lines), and it truncates > the list to about 10 lines. If I reduce the list to 2095 lines, the list > does not truncate. Any more, and it will truncate. > > ~Roger > > From dvglasgow at gmail.com Thu Oct 6 05:25:51 2016 From: dvglasgow at gmail.com (David V Glasgow) Date: Thu, 6 Oct 2016 10:25:51 +0100 Subject: Supercard 4.8 public beta In-Reply-To: References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> Message-ID: Richard, I take issue that the specific metaphor doesn?t matter. Stacks and cards are great metaphors for that period of time when a potential programmer is trying to build a mental model of what exactly it is they are trying to do on screen, and relating that to the available tools and vocabulary. mTropolis was fun, but I often just couldn?t remember how to do stuff, because I had no mental model that I could apply to the on screen abstractions. Despite a background in ?proper' languages, that kept tripping me up. Of course, you are right. The magic sauce and sheer power is the script, but the metaphor there is English (at least to start with). Most other languages are precisely that, other languages. LiveCode (the script) approximates how the English speaking world make things happen in their day to day lives. There was a recent post asking why Livecode ?Hello World? didn't look more English than any of the others. I didn?t have time to respond, but it is relevant here. The importance of the linguistic metaphor is obscured by ?Hello World?. ?Sort lines of tbiglist ascending by third word of each? is better, but also reveals the gotcha in the English metaphor. Should it be ?Sort the lines?? ?the third word?? Does it matter? That snag arises because Hypertext languages adopt the English metaphor so well, the user can just take it too far. Your ?problem' Richard is that whereas I still delight in little piles of cards, I think you have transcended metaphor: Do not try to bend the card. That's impossible. Instead only try to realise the truth ;-) David G > On 5 Oct 2016, at 6:22 pm, Richard Gaskin wrote: > > David V Glasgow wrote: > > > I PAID in advance for the Windows version, and then switched to > > mTropolis. IIRC it trumpeted that it did not rely on a metaphor. > > > > Boy was I glad to get back to stacks & cards > > For me it's not even the "card metaphor" - we could call it a "form" like VB does or a "page" like Toolbook and I'd be just as happy. I rarely use more than one card in a window anyway. > > For me the big benefit is a fully featured scripting language, and unlike so many others ours has GUI elements as an inherent part of the language. With this the code we write can reflect the user experience, making the process from ideation of the UX to implementation of the UI a breeze. > > I used to think about building mTropolis or iShell in LiveCode, doable were it not for one thing: I don't believe it's worth the time. > > No matter how simple a development UI might _seem_, no point-and-click system can deliver the flexibility and expressiveness of scripted code. > > Like Bill Appleton told me shortly after he left his point-and-click authoring tool CourseBuilder behind to make SuperCard, there's a limit on the complexity of systems that can be expressed clearly in any point-and-click UI, and ultimately code becomes the more readable option for any but the most trivial of programs. > > After all, how many point-and-click tools used their point-and-click tool to build their IDE? :) > > Today most of the point-and-click are gone, even the industry-leading Authorware, while scripting language have taken over much of the world to dominate applications development. > > -- > 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 tekne at gruppoparentesi.it Thu Oct 6 05:58:28 2016 From: tekne at gruppoparentesi.it (tekne) Date: Thu, 06 Oct 2016 11:58:28 +0200 Subject: iOS 10 and native scroller In-Reply-To: References: <0489F223-F6BF-4DA9-A6DD-4033546109A9@laposte.net> <892d040a-80d4-3a1b-8d36-3a2bf36cd6ea@livecode.com> Message-ID: HI Peter I see the bug is already fixed with target release 8.1.2-rc-1 When do you think we can have this release? The mobile picker doesn't work correctly with iOS10 and to solve we need to use Xcode 8 which is not supported in LC6 or LC7 anymore. So I can?t upload fixed apps in the App Store. regards riccardo Da: use-livecode on behalf of John Dixon Risposta: How to use LiveCode Data: mercoled? 28 settembre 2016 12:15 A: How to use LiveCode Oggetto: Re: iOS 10 and native scroller This bug has been around now for a long time... It really is a 'showstopper' for apps... it will be welcomed when it is fixed ________________________________ From: use-livecode on behalf of Peter TB Brett Sent: 28 September 2016 11:08 To: How to use LiveCode Subject: Re: iOS 10 and native scroller On 28/09/2016 06:59, Ludovic THEBAULT wrote: > to have a native scroller on field list i've made this : > > put my long field in a group > set the size of the group and lock it > > it worked perfectly until iOS 10. Now I see my text beyond group boundaries. I believe you are describing bug 17779 [1], which we are currently testing a fix for. Peter [1] http://quality.livecode.com/show_bug.cgi?id=17779 -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode [https://avatars3.githubusercontent.com/u/47528?v=3&s=400] GitHub - peter-b/lcb-mode: LiveCode Builder major mode for ... github.com lcb-mode - LiveCode Builder major mode for Emacs _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Runtime Revolution - use-livecode Mailing List lists.runrev.com This mailing list is intended for discussion relating to using LiveCode. To see the collection of prior postings to the list, visit the use-livecode Archives _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From henk at ludisstudio.com Thu Oct 6 06:06:52 2016 From: henk at ludisstudio.com (Henk van der Velden) Date: Thu, 6 Oct 2016 12:06:52 +0200 Subject: simulate mouse click in browser widget Message-ID: <195CF1CC-A461-43A6-9F57-DA012416556F@ludisstudio.com> Hi all, is it possible to simulate a mouse click along the lines of click at globalLoc() in the browser widget? Kind regards, Henk From dave at applicationinsight.com Thu Oct 6 06:14:05 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 6 Oct 2016 11:14:05 +0100 Subject: Ask dialogs in iOS10 with apps built with LC 6.7.11 Message-ID: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> I?m getting what seems to be a bug but would like to check it out with you guys first? If I use LC 6.7.11 (and Xcode 7.3.1) to build an app that contains an ?Ask question? and/or ?Ask password? dialog box - on iOS 9.3.5 they work fine - but on iOS 10 the ?Ask? dialogs get converted to ?Answer? dialogs i.e. there is nowhere for the user to write anything and there is only the title and a ?Cancel? and ?OK? button. Can any of you confirm this? Or even better, share a workaround? Kind regards Dave From peter.brett at livecode.com Thu Oct 6 06:16:48 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 6 Oct 2016 11:16:48 +0100 Subject: Ask dialogs in iOS10 with apps built with LC 6.7.11 In-Reply-To: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> References: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> Message-ID: <7ed4ffeb-7aab-daf8-1b94-80ceded77b6c@livecode.com> On 06/10/2016 11:14, Dave Kilroy wrote: > I?m getting what seems to be a bug but would like to check it out > with you guys first? > > If I use LC 6.7.11 (and Xcode 7.3.1) to build an app that contains an > ?Ask question? and/or ?Ask password? dialog box - on iOS 9.3.5 they > work fine - but on iOS 10 the ?Ask? dialogs get converted to ?Answer? > dialogs i.e. there is nowhere for the user to write anything and > there is only the title and a ?Cancel? and ?OK? button. > > Can any of you confirm this? Or even better, share a workaround? I believe that this may be due to an LiveCode engine bug, affecting 6.7, 7.0, 7.1 and 8.0, that is fixed in LC 8.1.0. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From peter.brett at livecode.com Thu Oct 6 06:19:13 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 6 Oct 2016 11:19:13 +0100 Subject: iOS 10 and native scroller In-Reply-To: References: <0489F223-F6BF-4DA9-A6DD-4033546109A9@laposte.net> <892d040a-80d4-3a1b-8d36-3a2bf36cd6ea@livecode.com> Message-ID: <0793c099-46d0-ac72-e1f4-b5e4b7fa3178@livecode.com> On 06/10/2016 10:58, tekne wrote: > I see the bug is already fixed with target release 8.1.2-rc-1 > When do you think we can have this release? > > The mobile picker doesn't work correctly with iOS10 and to solve we need to > use Xcode 8 which is not supported in LC6 or LC7 anymore. > So I can?t upload fixed apps in the App Store. We'll release 8.1.2-rc-1 as soon as possible after getting 8.1.1 final out. At the moment we're working on a number of regressions in 8.1.1. Peter P.S. Access to staging builds, under NDA, is available as an additional service to Business Edition customers. -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From dave at applicationinsight.com Thu Oct 6 06:23:02 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 6 Oct 2016 11:23:02 +0100 Subject: Ask dialogs in iOS10 with apps built with LC 6.7.11 In-Reply-To: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> References: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> Message-ID: <214FD610-07BA-41DF-B396-4EA7D97EAB49@applicationinsight.com> Thanks Peter for the lightning fast response! OK I thought it must be general thing (and yet another reason to move to LC 8.1) Actually (nearly) all my work is in LC 8.1.1 now - this particular app I?m using 6.7.11 on is a legacy one for a client that I?m modernising bit by bit - and am now recommending a ?great leap forward? to 8.1.1? Kind regards Dave On 06/10/2016 11:10, Peter TB Brett wrote: > I believe that this may be due to an LiveCode engine bug, affecting 6.7, > 7.0, 7.1 and 8.0, that is fixed in LC 8.1.0. > > >> On 6 Oct 2016, at 11:14, Dave Kilroy wrote: >> >> I?m getting what seems to be a bug but would like to check it out with you guys first? >> >> If I use LC 6.7.11 (and Xcode 7.3.1) to build an app that contains an ?Ask question? and/or ?Ask password? dialog box - on iOS 9.3.5 they work fine - but on iOS 10 the ?Ask? dialogs get converted to ?Answer? dialogs i.e. there is nowhere for the user to write anything and there is only the title and a ?Cancel? and ?OK? button. >> >> Can any of you confirm this? Or even better, share a workaround? >> >> Kind regards >> >> Dave > From peter.brett at livecode.com Thu Oct 6 06:27:17 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 6 Oct 2016 11:27:17 +0100 Subject: Ask dialogs in iOS10 with apps built with LC 6.7.11 In-Reply-To: <214FD610-07BA-41DF-B396-4EA7D97EAB49@applicationinsight.com> References: <71012C3D-5167-40E6-AA50-8123907E8C06@applicationinsight.com> <214FD610-07BA-41DF-B396-4EA7D97EAB49@applicationinsight.com> Message-ID: On 06/10/2016 11:23, Dave Kilroy wrote: > Thanks Peter for the lightning fast response! > > OK I thought it must be general thing (and yet another reason to move > to LC 8.1) > > Actually (nearly) all my work is in LC 8.1.1 now - this particular > app I?m using 6.7.11 on is a legacy one for a client that I?m > modernising bit by bit - and am now recommending a ?great leap > forward? to 8.1.1? Glad to help. Don't forget to let us know about any pain points you run into when upgrading -- we can hopefully improve our documentation to help with that... Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From DixonJA at hotmail.co.uk Thu Oct 6 07:09:34 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Thu, 6 Oct 2016 11:09:34 +0000 Subject: iOS 10 and native scroller In-Reply-To: <0793c099-46d0-ac72-e1f4-b5e4b7fa3178@livecode.com> References: <0489F223-F6BF-4DA9-A6DD-4033546109A9@laposte.net> <892d040a-80d4-3a1b-8d36-3a2bf36cd6ea@livecode.com> , <0793c099-46d0-ac72-e1f4-b5e4b7fa3178@livecode.com> Message-ID: Does the fix to the native scroller include having the scrolling items remain within the declared content rect, rather than scrolling all over the screen ?... Does using accelerated rendering now play nicely when scrolling groups ?... it all used to work well, but has been flawed for quite a while now... The ability to scroll in a phone app is more than a little important... any time-scale on 'as soon as possible' for 8.1.2-rc1 ? ________________________________ From: use-livecode on behalf of Peter TB Brett Sent: 06 October 2016 11:19 To: How to use LiveCode Subject: Re: iOS 10 and native scroller On 06/10/2016 10:58, tekne wrote: > I see the bug is already fixed with target release 8.1.2-rc-1 > When do you think we can have this release? > > The mobile picker doesn't work correctly with iOS10 and to solve we need to > use Xcode 8 which is not supported in LC6 or LC7 anymore. > So I can?t upload fixed apps in the App Store. We'll release 8.1.2-rc-1 as soon as possible after getting 8.1.1 final out. At the moment we're working on a number of regressions in 8.1.1. Peter P.S. Access to staging builds, under NDA, is available as an additional service to Business Edition customers. -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode [https://avatars3.githubusercontent.com/u/47528?v=3&s=400] peter-b/lcb-mode github.com lcb-mode - LiveCode Builder major mode for Emacs _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Runtime Revolution - use-livecode Mailing List lists.runrev.com This mailing list is intended for discussion relating to using LiveCode. To see the collection of prior postings to the list, visit the use-livecode Archives From peter.brett at livecode.com Thu Oct 6 07:11:32 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Thu, 6 Oct 2016 12:11:32 +0100 Subject: iOS 10 and native scroller In-Reply-To: References: <0489F223-F6BF-4DA9-A6DD-4033546109A9@laposte.net> <892d040a-80d4-3a1b-8d36-3a2bf36cd6ea@livecode.com> <0793c099-46d0-ac72-e1f4-b5e4b7fa3178@livecode.com> Message-ID: <29412eb6-bffa-937c-2e6a-11d92096c2ef@livecode.com> On 06/10/2016 12:09, John Dixon wrote: > Does the fix to the native scroller include having the scrolling > items remain within the declared content rect, rather tha Yes. > The ability to scroll in a phone app is more than a little > important... any time-scale on 'as soon as possible' for 8.1.2-rc1 ? At the moment I do not expect 8.1.2-rc-1 to be released before 19th October. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From paul at researchware.com Thu Oct 6 07:40:08 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 06 Oct 2016 07:40:08 -0400 Subject: OSX Opening an App with a document In-Reply-To: <57F576FE.8020103@researchware.com> References: <57F576FE.8020103@researchware.com> Message-ID: <57F63818.7020505@researchware.com> Does anyone have any good code for this? On 10/5/2016 5:56 PM, Paul Dupuis wrote: > Okay list gurus: > > What is the best practice method for determine whether a Standalone app > under OSX was opened with a document (by drag and drop or double-click)? > > I have an appleevent handler that get any doc dropped on the app while > it is running. I was also checking this after startup (and by startup I > mean the initial message set of startup, preopenstack, openstack, etc, > etc. opencard). I needed to change the startup sequence a bit and now > the code I was using is essentially on opencard. Hwoever, checking the > pendingMessages shows the standalone has not yet received the appleevent > message yet. > > This is SOO much simpler under Windows where the global $1 has any file > that was launched at startup - AT startup! > > Does anyone have any good on-startup code to determine if an OSX app was > launched with a doc? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 6 08:42:49 2016 From: dunbarx at aol.com (dunbarx) Date: Thu, 6 Oct 2016 05:42:49 -0700 (PDT) Subject: Limitation on length of Menu Items in a Combo Box? In-Reply-To: References: Message-ID: <1475757769264-4709200.post@n4.nabble.com> Hi. It seems there is a character limit. I made a gadget to fill a combo box (btn 1): on mouseUp repeat with y = 1 to 30000 put y into line y of temp end repeat put temp into btn 1 answer the length of btn 1 && the number of lines of btn 1 end mouseUp The button filled to a length of 37821 and stopped, with 7786 lines. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limitation-on-length-of-Menu-Items-in-a-Combo-Box-tp4709186p4709200.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Thu Oct 6 11:18:31 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 6 Oct 2016 08:18:31 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> Message-ID: On Thu, Oct 6, 2016 at 2:25 AM, David V Glasgow wrote: > Do not try to bend the card. Nor spindle fold, or mutilate . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From curt at sonasoftware.com Thu Oct 6 12:45:57 2016 From: curt at sonasoftware.com (Curtis Ford) Date: Thu, 06 Oct 2016 12:45:57 -0400 Subject: Windows 10: "phantom video window" icons appearing each time a card is visited? Message-ID: <57F67FC5.1090603@sonasoftware.com> A client is reporting that whenever he moves to a new card in the LiveCode standalone, an additional videoWindow icon appears in his taskbar. "one video windows opens (and remains open) for each page I open. In other words, when I open the ebook, only the page I'm looking at is open. But as I scroll through one, two, three pages, etc., a phantom video window (with nothing in it) opens for each page I've clicked through. It doesn't interfere with the ebook itself, but it's noticeable in the area at the bottom of the screen. And if you minimize the ebook and then hover your cursor over it to reopen it, you see all the video windows lined up next to the actual ebook." I can't reproduce the problem here, in development or in standalone. I've posted his screenshot at http://imgur.com/a/BVoCL I'm using 8.1; we're both on Windows 10. Another tester on Windows 7 doesn't see the problem. Any ideas? Curt -- Sent from Postbox From jacque at hyperactivesw.com Thu Oct 6 13:44:29 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Oct 2016 12:44:29 -0500 Subject: OSX Opening an App with a document In-Reply-To: <57F63818.7020505@researchware.com> References: <57F576FE.8020103@researchware.com> <57F63818.7020505@researchware.com> Message-ID: <1579b18b048.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You can create your own system globals by prepending "$" to the variable name. If you do that in the appleEvent handler then later whenever you need it, you can access the global. Unless things have changed since I last used it, appleEvent is sent immediately during startup . Or you could use a script local the same way. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 6, 2016 6:41:26 AM Paul Dupuis wrote: > Does anyone have any good code for this? > > On 10/5/2016 5:56 PM, Paul Dupuis wrote: >> Okay list gurus: >> >> What is the best practice method for determine whether a Standalone app >> under OSX was opened with a document (by drag and drop or double-click)? >> >> I have an appleevent handler that get any doc dropped on the app while >> it is running. I was also checking this after startup (and by startup I >> mean the initial message set of startup, preopenstack, openstack, etc, >> etc. opencard). I needed to change the startup sequence a bit and now >> the code I was using is essentially on opencard. Hwoever, checking the >> pendingMessages shows the standalone has not yet received the appleevent >> message yet. >> >> This is SOO much simpler under Windows where the global $1 has any file >> that was launched at startup - AT startup! >> >> Does anyone have any good on-startup code to determine if an OSX app was >> launched with a doc? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Thu Oct 6 13:58:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 6 Oct 2016 17:58:16 +0000 Subject: OT: Type on Background - Contrast Ratios Message-ID: For the RGB wizards? what is the algorithm to determine the luminance ratio between two colors? See w3C recommendations posted in today's Adobe's XD newsletter (useful feed) below. I'm thinking the total value of all three will serve. The WC3 sets minimum standards for contrast ratios, which represent how different a color is from another color (commonly written as 1:1 or 21:1, the higher the difference between the two numbers in the ratio, the greater the difference in relative luminance between the colors). The W3C recommends the following contrast ratios for body text and image text: * Small text should have a contrast ratio of at least 4.5:1 against its background. A ratio of 7:1 is preferred. * Large text (at 14 pt bold/18 pt regular and up) should have a contrast ratio of at least 3:1 against its background. From colinholgate at gmail.com Thu Oct 6 14:13:43 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 6 Oct 2016 11:13:43 -0700 Subject: OT: Type on Background - Contrast Ratios In-Reply-To: References: Message-ID: <7FB1AD52-0799-4AD2-887C-714C5A44D513@gmail.com> This page does that: http://leaverou.github.io/contrast-ratio/ Here?s their Javascript that does the job: http://leaverou.github.io/contrast-ratio/contrast-ratio.js > On Oct 6, 2016, at 10:58 AM, Sannyasin Brahmanathaswami wrote: > > For the RGB wizards? what is the algorithm to determine the luminance ratio between two colors? > > See w3C recommendations posted in today's Adobe's XD newsletter (useful feed) below. > > I'm thinking the total value of all three will serve. > > > The WC3 sets minimum standards for contrast ratios, which represent how different a color is from another color (commonly written as 1:1 or 21:1, the higher the difference between the two numbers in the ratio, the greater the difference in relative luminance between the colors). The W3C recommends the following contrast ratios for body text and image text: > > * Small text should have a contrast ratio of at least 4.5:1 against its background. A ratio of 7:1 is preferred. > * Large text (at 14 pt bold/18 pt regular and up) should have a contrast ratio of at least 3:1 against its background. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 6 15:21:13 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 6 Oct 2016 14:21:13 -0500 Subject: OT: Type on Background - Contrast Ratios In-Reply-To: References: Message-ID: Does this work well enough?: function luminanceRatio c1,c2 -- pass two RGB triplets put calcLuminance(c1) into tL1 put calcLuminance(c2) into tL2 return max(tL1,tL2) / min(tL1,tL2) end luminanceRatio function calcLuminance pRGB -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B put item 1 of pRGB * 0.2126 into tR put item 2 of pRGB * 0.7152 into tG put item 3 of pRGB * 0.0722 into tB return sum(tR,tG,tB) # if sum(tR,tG,tB) > 125 then return "black" # else return "white" end calcLuminance On 10/6/16 12:58 PM, Sannyasin Brahmanathaswami wrote: > For the RGB wizards? what is the algorithm to determine the luminance ratio between two colors? > > See w3C recommendations posted in today's Adobe's XD newsletter (useful feed) below. > > I'm thinking the total value of all three will serve. > > > The WC3 sets minimum standards for contrast ratios, which represent how different a color is from another color (commonly written as 1:1 or 21:1, the higher the difference between the two numbers in the ratio, the greater the difference in relative luminance between the colors). The W3C recommends the following contrast ratios for body text and image text: > > * Small text should have a contrast ratio of at least 4.5:1 against its background. A ratio of 7:1 is preferred. > * Large text (at 14 pt bold/18 pt regular and up) should have a contrast ratio of at least 3:1 against its background. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Thu Oct 6 16:23:37 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 6 Oct 2016 20:23:37 +0000 Subject: OT: Type on Background - Contrast Ratios In-Reply-To: References: Message-ID: <7C46F6B0-3E94-4A01-94C2-CA652B7C3F43@hindu.org> Awesome! thanks? will add immediately to my UX design toolbox? Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com On 10/6/16, 9:21 AM, "use-livecode on behalf of J. Landman Gay" wrote: Does this work well enough?: function luminanceRatio c1,c2 -- pass two RGB triplets put calcLuminance(c1) into tL1 put calcLuminance(c2) into tL2 return max(tL1,tL2) / min(tL1,tL2) end luminanceRatio function calcLuminance pRGB -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B put item 1 of pRGB * 0.2126 into tR put item 2 of pRGB * 0.7152 into tG put item 3 of pRGB * 0.0722 into tB return sum(tR,tG,tB) # if sum(tR,tG,tB) > 125 then return "black" # else return "white" end calcLuminance From hh at hyperhh.de Thu Oct 6 17:34:22 2016 From: hh at hyperhh.de (hh) Date: Thu, 6 Oct 2016 23:34:22 +0200 Subject: OT: Type on Background - Contrast Ratios Message-ID: <68D96F52-CD32-47F6-AE23-C9FA00B1FD2C@hyperhh.de> > Jacqueline L.G. wrote: > Does this work well enough?: > > function luminanceRatio c1,c2 -- pass two RGB triplets > put calcLuminance(c1) into tL1 > put calcLuminance(c2) into tL2 > return max(tL1,tL2) / min(tL1,tL2) > end luminanceRatio > > function calcLuminance pRGB > -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B > put item 1 of pRGB * 0.2126 into tR > put item 2 of pRGB * 0.7152 into tG > put item 3 of pRGB * 0.0722 into tB > return sum(tR,tG,tB) > # if sum(tR,tG,tB) > 125 then return "black" > # else return "white" > end calcLuminance In case black is also an option as color then the following ratio, known as contrast ratio, avoids dividing by zero: function contrastRatio c1,c2 -- pass two RGB triplets put calcLuminance(c1) into tL1 put calcLuminance(c2) into tL2 return (0.05 + max(tL1,tL2)) / (0.05 + min(tL1,tL2)) end contrastRatio From paul at researchware.com Thu Oct 6 18:35:23 2016 From: paul at researchware.com (Paul Dupuis) Date: Thu, 06 Oct 2016 18:35:23 -0400 Subject: BUG: OSX Opening an App with a document In-Reply-To: <57F576FE.8020103@researchware.com> References: <57F576FE.8020103@researchware.com> Message-ID: <57F6D1AB.4030702@researchware.com> In both LC 6.7.11 and LC 8.1.0 the appleEvent message for when the standalone is launched with a document is NOT send under AFTER openCard EVEN if prior message handles include a WAIT ... WITH MESSAGES. I think this is a BUG? Does anyone else agree? For example, here is the startup messages of an OSX Standalone that is started with a Document being dropped on it (or one of its's documents being double-clicked). Each of these is a handler, such as "on startup", that just output the milliseconds and the name of the message to a field. 1475789014901 startup 1475789014902 preOpenStack 1475789014902 preOpenBackground 1475789014902 preOpenCard 1475789015030 openStack 1475789015043 openBackground 1475789015051 openCard 1475789015060 appleEvent: (document) You can see the appleEvent fires off AFTER the openCard. The next set is from a modified version of this test stack where the 'on openCard' handler includes a wait 500 milliseconds with messages - figuring an entire 1/2 second should be enough for the appleEvent message to fire before the openCard handler continues, but this is not the case. It appears no matter how many wait with messages or how long you wait, the appleEvent message generated by starting the Standalone with a document only fires when openCard is finished. 1475789340757 startup 1475789340757 preOpenStack 1475789340757 preOpenBackground 1475789340796 preOpenCard 1475789340837 openStack 1475789340845 openBackground 1475789340944 openCard - start -- 500 millisecond wait with messages here 1475789341466 openCard - end 1475789341472 appleEvent: (document) Again, this seems like a bug to me. Anyone else? From terry.judd at unimelb.edu.au Thu Oct 6 18:53:42 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 6 Oct 2016 22:53:42 +0000 Subject: BUG: OSX Opening an App with a document Message-ID: <996C85C5-6CA2-480A-9FB2-D7EE74B00749@unimelb.edu.au> Seems like it could fire earlier but I guess it ensures consistency when double-clicking/dropping a document irrespective of whether the app is open or not. Although, if you?re using custom urls on iOS ? which are sort of analogous ? then mobileGetLaunchURL() is available at preopenstack. Terry... On 7/10/2016 9:35 am, "use-livecode on behalf of Paul Dupuis" wrote: In both LC 6.7.11 and LC 8.1.0 the appleEvent message for when the standalone is launched with a document is NOT send under AFTER openCard EVEN if prior message handles include a WAIT ... WITH MESSAGES. I think this is a BUG? Does anyone else agree? For example, here is the startup messages of an OSX Standalone that is started with a Document being dropped on it (or one of its's documents being double-clicked). Each of these is a handler, such as "on startup", that just output the milliseconds and the name of the message to a field. 1475789014901 startup 1475789014902 preOpenStack 1475789014902 preOpenBackground 1475789014902 preOpenCard 1475789015030 openStack 1475789015043 openBackground 1475789015051 openCard 1475789015060 appleEvent: (document) You can see the appleEvent fires off AFTER the openCard. The next set is from a modified version of this test stack where the 'on openCard' handler includes a wait 500 milliseconds with messages - figuring an entire 1/2 second should be enough for the appleEvent message to fire before the openCard handler continues, but this is not the case. It appears no matter how many wait with messages or how long you wait, the appleEvent message generated by starting the Standalone with a document only fires when openCard is finished. 1475789340757 startup 1475789340757 preOpenStack 1475789340757 preOpenBackground 1475789340796 preOpenCard 1475789340837 openStack 1475789340845 openBackground 1475789340944 openCard - start -- 500 millisecond wait with messages here 1475789341466 openCard - end 1475789341472 appleEvent: (document) Again, this seems like a bug to me. Anyone else? _______________________________________________ use-livecode mailing list use-livecode at 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 Thu Oct 6 20:58:42 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 6 Oct 2016 20:58:42 -0400 Subject: OT: Type on Background - Contrast Ratios In-Reply-To: <68D96F52-CD32-47F6-AE23-C9FA00B1FD2C@hyperhh.de> References: <68D96F52-CD32-47F6-AE23-C9FA00B1FD2C@hyperhh.de> Message-ID: <03B01D13-D0A1-47D4-963A-4FEEB6F8AC94@gmail.com> But isn?t there something more fundamentally wrong with this measure, with the criteria outlined by Sannyasin: > * Small text should have a contrast ratio of at least 4.5:1 against its background. A ratio of 7:1 is preferred. > * Large text (at 14 pt bold/18 pt regular and up) should have a contrast ratio of at least 3:1 against its background. If you?re comparing something with black, it?s very easy to get a high luminance ratio but text will still be unreadable. Try setting a field?s forecolor to 5,5,5 and the backcolor to 45,45,45. The luminance ratio is 8.27, but you can?t read the text at all. ? Peter Peter M. Brigham pmbrig at gmail.com > On Oct 6, 2016, at 5:34 PM, hh wrote: > >> Jacqueline L.G. wrote: >> Does this work well enough?: >> >> function luminanceRatio c1,c2 -- pass two RGB triplets >> put calcLuminance(c1) into tL1 >> put calcLuminance(c2) into tL2 >> return max(tL1,tL2) / min(tL1,tL2) >> end luminanceRatio >> >> function calcLuminance pRGB >> -- wikipedia: Y = 0.2126 R + 0.7152 G + 0.0722 B >> put item 1 of pRGB * 0.2126 into tR >> put item 2 of pRGB * 0.7152 into tG >> put item 3 of pRGB * 0.0722 into tB >> return sum(tR,tG,tB) >> # if sum(tR,tG,tB) > 125 then return "black" >> # else return "white" >> end calcLuminance > > In case black is also an option as color then the following > ratio, known as contrast ratio, avoids dividing by zero: > > function contrastRatio c1,c2 -- pass two RGB triplets > put calcLuminance(c1) into tL1 > put calcLuminance(c2) into tL2 > return (0.05 + max(tL1,tL2)) / (0.05 + min(tL1,tL2)) > end contrastRatio > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 6 21:22:31 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 6 Oct 2016 21:22:31 -0400 Subject: Analytical Engine - An Introduction to Computer Science [FOUND] Message-ID: I asked Mr. Stuart Hirshfield if he have plans to update his book and he answered: Stuart Hirshfield wrote: > Thanks again for your interest in our beloved project. > For a number of reasons we have no plans for > releasing updated materials. First and foremost, > I am on the road to retirement. > Second, there are now other texts (and other > software packages) that have built upon our > original ideas, some of which are very well done. > Check out the following links: https://www.amazon.com/Balanced-Introduction-Computer-Science-3rd/dp/0132166755/ref=sr_1_4?s=books&ie=UTF8&qid=1475802977&sr=1-4 https://www.amazon.com/Computer-Science-Illuminated-Paperback-International/dp/B014E1NIWM/ref=sr_1_2?s=books&ie=UTF8&qid=1475777708&sr=1-2&keywords=computer+science+illuminated+6th+edition https://en.wikipedia.org/wiki/Little_man_computer http://www.cburch.com/logisim/ http://ais.informatik.uni-freiburg.de/tursi/downloads.html From hh at hyperhh.de Thu Oct 6 22:06:37 2016 From: hh at hyperhh.de (hh) Date: Fri, 7 Oct 2016 04:06:37 +0200 Subject: OT: Type on Background - Contrast Ratios Message-ID: <878E82C8-2C5C-4CCE-B65F-B45F4ECE11B7@hyperhh.de> Peter M.B. wrote: > But isn?t there something more fundamentally wrong with this measure, > with the criteria outlined by Sannyasin: >> * Small text should have a contrast ratio of at least 4.5:1 against > its background. A ratio of 7:1 is preferred. >> * Large text (at 14 pt bold/18 pt regular and up) should have a > contrast ratio of at least 3:1 against its background. > If you?re comparing something with black, it?s very easy to get a high > luminance ratio but text will still be unreadable. Try setting a field?s > forecolor to 5,5,5 and the backcolor to 45,45,45. The luminance ratio > is 8.27, but you can?t read the text at all. You are convincing with your example, of course. As the script-link given by Colin shows, the matter is very complicated (and complicated to code). I'm not at all an expert with luminance, do such things by trial and error. Jacques probably tried by intention to give a simple method and forgot to exclude the divide-by-zero part. That's why I cited the contrast "formula". From lists at mangomultimedia.com Thu Oct 6 23:08:06 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 6 Oct 2016 22:08:06 -0500 Subject: OSX Opening an App with a document In-Reply-To: <1579b18b048.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <57F576FE.8020103@researchware.com> <57F63818.7020505@researchware.com> <1579b18b048.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On Thu, Oct 6, 2016 at 12:44 PM, J. Landman Gay wrote: > You can create your own system globals by prepending "$" to the variable > name. If you do that in the appleEvent handler then later whenever you need > it, you can access the global. Unless things have changed since I last used > it, appleEvent is sent immediately during startup . > > Or you could use a script local the same way. > This is similar to how I handle it in the GLX App Framework. The framework sets a flag when the app has finished loading. If the appleEvent is received before that flag is set then I store the files passed to the appleevent in a "command line files" property (accessed by glxapp_getProp("command line files")). Otherwise the framework sends the glxapp_openFiles message from the appleevent with the files as a parameter. In the glxapp_openApplication message the developer can check if glxapp_getProp("command line files") has a non-empty value. If it does then the developer can process the files passed on the command line. glxapp_openApplication is sent after all resources for the application have loaded and the app is ready to display something to the user. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From jacque at hyperactivesw.com Fri Oct 7 00:39:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Oct 2016 23:39:24 -0500 Subject: OT: Type on Background - Contrast Ratios In-Reply-To: <878E82C8-2C5C-4CCE-B65F-B45F4ECE11B7@hyperhh.de> References: <878E82C8-2C5C-4CCE-B65F-B45F4ECE11B7@hyperhh.de> Message-ID: <1579d704478.2816.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Actually I did hit the divide by zero error, which is why I added the min/max test. But your solution was better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 6, 2016 9:08:42 PM hh wrote: > Peter M.B. wrote: > >> But isn?t there something more fundamentally wrong with this measure, >> with the criteria outlined by Sannyasin: >>> * Small text should have a contrast ratio of at least 4.5:1 against >> its background. A ratio of 7:1 is preferred. >>> * Large text (at 14 pt bold/18 pt regular and up) should have a >> contrast ratio of at least 3:1 against its background. >> If you?re comparing something with black, it?s very easy to get a high >> luminance ratio but text will still be unreadable. Try setting a field?s >> forecolor to 5,5,5 and the backcolor to 45,45,45. The luminance ratio >> is 8.27, but you can?t read the text at all. > > You are convincing with your example, of course. > > As the script-link given by Colin shows, the matter is very complicated > (and complicated to code). I'm not at all an expert with luminance, do > such things by trial and error. > > Jacques probably tried by intention to give a simple method and forgot to > exclude the divide-by-zero part. That's why I cited the contrast "formula". > _______________________________________________ > use-livecode mailing list > use-livecode at 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 7 03:56:01 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 07 Oct 2016 08:56:01 +0100 Subject: Understanding 'the defaultStack' Message-ID: <0E31B3F9-2E85-4C68-ACBF-DB17A8132C96@mac.com> I?m having a bit of difficulty understanding what the LC Dictionary says about ?the defaultStack?. I had assumed that when a script executes go stack ?myStack? then the defaultStack would be set to ?myStack? in all circumstances. This seems not to be the case. Jacque Gay recently told me: > If a stack isn't toplevel and another stack with a lower mode is already open, I don't think it will become the defaultstack so you'd have to set that by script. The Dictionary says: > The defaultStack property is particularly useful in stacks opened in a mode other than an editable window (such as stacks that are being used as dialog boxes, palettes, ormenus). LiveCode's message box and editing palettes set the defaultStack property to the value returned by the topStack function before performing a stack action. I am not sure what this means, but it doesn?t seem to me to to say explicitly what Jacque told me. Does the Dictionary need updating, or is it just my brain (slim chance)? Graham From toolbook at kestner.de Fri Oct 7 11:10:54 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 7 Oct 2016 17:10:54 +0200 Subject: Could not create movie reference Message-ID: <006301d220ad$00847f00$018d7d00$@kestner.de> Hello, I have a user on OS X 10.11.5, where my LC 6 program can't play anymore any video. The program was installed on the same machine with the same user and run fine for a while and from now to then, when launching a video my program throws the error "Could not create movie reference" Since it is a program which runs at a lot of other users since years without any problem, I don't want to search for the problem in my code. It must happened something very strange on that particular machine. The user swears, that he has nothing changed on that machine from the one day to the other. My question is, has anybody ever come over this message on a Mac, which was not related to a coding issue? Could it be a corruption of Quicktime? On a Mac? Thanks for any ideas, what I could check with the customer Tiemo From paul at researchware.com Fri Oct 7 11:30:37 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 07 Oct 2016 11:30:37 -0400 Subject: Could not create movie reference In-Reply-To: <006301d220ad$00847f00$018d7d00$@kestner.de> References: <006301d220ad$00847f00$018d7d00$@kestner.de> Message-ID: <57F7BF9D.1060800@researchware.com> I've seen this error due to non-ASCII characters in the file path or name The pre-LC7 Answer file/Ask file commands can not handle non-ASCII characters the OS can support in filenames or paths. There may be other reasons - very large media files for example. On 10/7/2016 11:10 AM, Tiemo Hollmann TB wrote: > Hello, > > > > I have a user on OS X 10.11.5, where my LC 6 program can't play anymore any > video. > > The program was installed on the same machine with the same user and run > fine for a while and from now to then, when launching a video my program > throws the error "Could not create movie reference" > > Since it is a program which runs at a lot of other users since years without > any problem, I don't want to search for the problem in my code. It must > happened something very strange on that particular machine. The user swears, > that he has nothing changed on that machine from the one day to the other. > > > > My question is, has anybody ever come over this message on a Mac, which was > not related to a coding issue? Could it be a corruption of Quicktime? On a > Mac? > > > > Thanks for any ideas, what I could check with the customer > > > > 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 hh at hyperhh.de Fri Oct 7 11:47:43 2016 From: hh at hyperhh.de (hh) Date: Fri, 7 Oct 2016 17:47:43 +0200 Subject: OT: Type on Background - Contrast Ratios Message-ID: Below are two functions on base of the ones mentioned in the W3C's Accessibility Recommendations. They work fine here for me. To test these, I made a stack for the Raspi collection in the forum. This stack contains also a _simple_ algorithm for _trying_ to get a textColor on base of the current textColor (the current backColor is fixed) such that a contrast ratio of at least 7 is reached. Works for giving an "advice" in most cases I tried. The algorithm may easily be improved (for example by giving the change of color channels different weights, adaptive, on base of input). -- usage example on mouseUp lock screen; lock messages put the backColor of fld "Text" into bC put the backColor of fld "Text" into fC put relativeLuminance(bC) into bL put relativeLuminance(fC) into fL put contrastRatio(bL,fL) into contrastBF put "Contrast Ratio: " & round(contrastBF,2) into fld "contrastRatio" unlock screen; unlock messages end mouseUp -- param RGB is of the form "r,g,b" where each -- item r,g,b is an integer in range 0-255 function relativeLuminance RGB put 0 into tLuminance put "0.2126,0.7152,0.0722" into tWeights repeat with i=1 to 3 put item i of RGB into ci put ci/255 into cc if cc <= 0.03928 then put cc/12.92 into ri else put ((cc+0.055)/1.055)^2.4 into ri end if add (item i of tWeights*ri) to tLuminance end repeat return tLuminance end relativeLuminance -- computes ratio of lighter against darker r.L. function contrastRatio lu1,lu2 if lu1 > lu2 then -- lu2 is darker return (lu1 + 0.05) / (lu2 + 0.05) else return (lu2 + 0.05) / (lu1 + 0.05) end contrastRatio From hh at hyperhh.de Fri Oct 7 11:51:58 2016 From: hh at hyperhh.de (hh) Date: Fri, 7 Oct 2016 17:51:58 +0200 Subject: OT: Type on Background - Contrast Ratios Message-ID: <185CF8A0-0F9F-4458-A239-8FAB9E9C8640@hyperhh.de> Typo, sorry: In the usage example read put the foreColor of fld "Text" into fC instead of put the backColor of fld "Text" into fC From mkoob at rogers.com Fri Oct 7 11:49:21 2016 From: mkoob at rogers.com (Martin Koob) Date: Fri, 7 Oct 2016 08:49:21 -0700 (PDT) Subject: LiveCode interface to SCORM /LIT In-Reply-To: <0A885DC9-205F-4280-9F09-239F25A3CCC4@earthednet.org> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> <1474553942942-4708773.post@n4.nabble.com> <0A885DC9-205F-4280-9F09-239F25A3CCC4@earthednet.org> Message-ID: <1475855361658-4709222.post@n4.nabble.com> Hi Bill Thanks for all the information about LTI etc. I am open to whatever it the best option for compatibility. I had only read about Tin-Can xAPI. I am developing an app for higher education and some potential customers said it had to be based on SCORM to integrate with their LMS. When I looked at how SCORM worked I realized it would not work at all with the type of application I am developing. Further searches lead to me finding Tin-Can and I realized that was the way for me to go. Bottom line is I want to be able to integrate with the LMS's used by colleges and universities so If LTI is the best way to do that I will jump on the bandwagon. I just noticed a post about a meeting on Oct 6th to discuss this: *LiveCode to Education Industry API- Community project* http://forums.livecode.com/viewtopic.php?f=107&t=28034&p=147152#p147152 I noticed it too late to attend but I want to learn more about what happened there. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4709222.html Sent from the Revolution - User mailing list archive at Nabble.com. From ahsoftware at sonic.net Sat Oct 8 01:50:59 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Oct 2016 22:50:59 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <0E31B3F9-2E85-4C68-ACBF-DB17A8132C96@mac.com> References: <0E31B3F9-2E85-4C68-ACBF-DB17A8132C96@mac.com> Message-ID: On 10/07/2016 12:56 AM, Graham Samuel wrote: > I?m having a bit of difficulty understanding what the LC Dictionary says about ?the defaultStack?. I had assumed that when a script executes > > go stack ?myStack? > > then the defaultStack would be set to ?myStack? in all circumstances. This seems not to be the case. Jacque Gay recently told me: > >> If a stack isn't toplevel and another stack with a lower mode is already open, I don't think it will become the defaultstack so you'd have to set that by script. > > The Dictionary says: > >> The defaultStack property is particularly useful in stacks opened in a mode other than an editable window (such as stacks that are being used as dialog boxes, palettes, ormenus). LiveCode's message box and editing palettes set the defaultStack property to the value returned by the topStack function before performing a stack action. > > I am not sure what this means, but it doesn?t seem to me to to say explicitly what Jacque told me. Does the Dictionary need updating, or is it just my brain (slim chance)? FWIW I think Jacque's explanation is the better of the two. I think maybe LiveCode should ship her with every new build of the dictionary. -- Mark Wieder ahsoftware at gmail.com From revolution at derbrill.de Sat Oct 8 04:39:52 2016 From: revolution at derbrill.de (Malte Brill) Date: Sat, 8 Oct 2016 10:39:52 +0200 Subject: Could not create movie reference In-Reply-To: References: Message-ID: <37CA6028-22CD-4EE2-8113-F7C1369436A3@derbrill.de> Hi Tiemo, is the file system set to be case sensitive and the filename of the (a) movie in a different spelling (upper / lower case) then your player object refers to? Cheers, Malte From m.schonewille at economy-x-talk.com Sat Oct 8 10:44:51 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Oct 2016 16:44:51 +0200 Subject: LiveCode meeting Message-ID: <2aef2e41-dabf-6d20-259c-d1bf24cc3230@economy-x-talk.com> Beste dames en heren, Op zondag 16 oktober organiseren we een LiveCode meeting ergens in Nederland (Tilburg of Utrecht). Het is een beetje kortdag, maar deze datum maakt het voor een buitenlandse deelnemer mogelijk om aanwezig te zijn. Ik hoop dat jullie op deze dag aanwezig kunnen zijn. Het wordt een informele bijeenkomst van enkele uren. Tot de mogelijke onderwerpen behoren: LiveCode 8, widgets, Valentina, SuperCard 4.8, Arduino, de nieuwe HyperDuino, en HyperStudio. Daarnaast nodigen we je graag uit om iets over je eigen project(en) te vertellen of vragen te stellen aan collega-LiveCoders. Voorts verloten we een licentie van HyperStudio en een exemplaar van het boek Programming LiveCode for the Real Beginner. Er bestaat ook nog een plan om de volgende meeting in februari of maart in Antwerpen te houden. Hierover zal tijdens de eerstvolgende meeting overleg plaatsvinden. Wil je meebeslissen, zorg dan dat je erbij bent. Ik zal binnen enkele dagen nog een e-mailtje sturen aan eenieder die op mijn lijstje staat. Ik hoop later in de week met meer nieuws te komen. Dear ladies and gentlemen, Sunday 16th October I will organise a meeting somewhere in the Netherlands (Tilburg or Utrecht. I know it is on short notice, but by oganising it on this date, we make it possible for a foreign participant to be present at the meeting. I hope you will be able to attent the meeting on this day. The meeting will be informal and take several hours. Possible subjects are: LiveCode 8, widgets, SuperCard 4.8, Arduino, de new HyperDuino, and HyperStudio. You are also invited to tell something about your own project(s) or to ask your fellow-LiveCoders a number of questions. Additionally we raffle off a licence of HyperStudio and a copy of the book Programming LiveCode for the Real Beginner. Moreover there is a plan to organise a meeting in february or march in Antwerp (Belgium). We will talk about this at the first next meeting. Make sure you're there, if you would like to be involved in any decisions. I'll send an e-mail to everyone on my list within a few days. Hopefully I'll be able to provide more news later this week. -- Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com From dochawk at gmail.com Sat Oct 8 11:37:12 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 8 Oct 2016 08:37:12 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: References: <0E31B3F9-2E85-4C68-ACBF-DB17A8132C96@mac.com> Message-ID: On Fri, Oct 7, 2016 at 10:50 PM, Mark Wieder wrote: > FWIW I think Jacque's explanation is the better of the two. > I think maybe LiveCode should ship her with every new build of > the dictionary. > on revBuildDictionary clone Jacque set the mainStack of it to stack revDictionary end revBuildDictionary :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From colinholgate at gmail.com Sat Oct 8 12:08:11 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 8 Oct 2016 09:08:11 -0700 Subject: LiveCode meeting In-Reply-To: <2aef2e41-dabf-6d20-259c-d1bf24cc3230@economy-x-talk.com> References: <2aef2e41-dabf-6d20-259c-d1bf24cc3230@economy-x-talk.com> Message-ID: When you say this, do you mean you will have a web stream, or are you thinking that foreign participants would fly to Utrecht that day? > On Oct 8, 2016, at 7:44 AM, Mark Schonewille wrote: > > Sunday 16th October I will organise a meeting somewhere in the Netherlands (Tilburg or Utrecht. I know it is on short notice, but by oganising it on this date, we make it possible for a foreign participant to be present at the meeting. I hope you will be able to attent the meeting on this day. From m.schonewille at economy-x-talk.com Sat Oct 8 12:28:36 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Oct 2016 18:28:36 +0200 Subject: LiveCode meeting In-Reply-To: References: <2aef2e41-dabf-6d20-259c-d1bf24cc3230@economy-x-talk.com> Message-ID: <4A4E4399-683F-4766-9EBA-2F2D3DA9ACD0@economy-x-talk.com> At least one person will travel to the Netherlands. If you want to be there too, you're welcome. Let me know if you need help finding a hotel. I have no plans for a web stream, but you never know. -- 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 8 okt. 2016 om 18:08 heeft Colin Holgate het volgende geschreven: > When you say this, do you mean you will have a web stream, or are you thinking that foreign participants would fly to Utrecht that day? > > >> On Oct 8, 2016, at 7:44 AM, Mark Schonewille wrote: >> >> Sunday 16th October I will organise a meeting somewhere in the Netherlands (Tilburg or Utrecht. I know it is on short notice, but by oganising it on this date, we make it possible for a foreign participant to be present at the meeting. I hope you will be able to attent the meeting on this day. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Sat Oct 8 12:46:51 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 8 Oct 2016 09:46:51 -0700 Subject: LiveCode meeting In-Reply-To: <4A4E4399-683F-4766-9EBA-2F2D3DA9ACD0@economy-x-talk.com> References: <2aef2e41-dabf-6d20-259c-d1bf24cc3230@economy-x-talk.com> <4A4E4399-683F-4766-9EBA-2F2D3DA9ACD0@economy-x-talk.com> Message-ID: In Phoenix at the moment, it would be an extravagant trip! Hope it goes well. > On Oct 8, 2016, at 9:28 AM, Mark Schonewille wrote: > > At least one person will travel to the Netherlands. If you want to be there too, you're welcome. Let me know if you need help finding a hotel. > > I have no plans for a web stream, but you never know. > > -- > 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 8 okt. 2016 om 18:08 heeft Colin Holgate het volgende geschreven: > >> When you say this, do you mean you will have a web stream, or are you thinking that foreign participants would fly to Utrecht that day? >> >> >>> On Oct 8, 2016, at 7:44 AM, Mark Schonewille wrote: >>> >>> Sunday 16th October I will organise a meeting somewhere in the Netherlands (Tilburg or Utrecht. I know it is on short notice, but by oganising it on this date, we make it possible for a foreign participant to be present at the meeting. I hope you will be able to attent the meeting on this day. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 8 15:31:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 8 Oct 2016 14:31:38 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: References: <0E31B3F9-2E85-4C68-ACBF-DB17A8132C96@mac.com> Message-ID: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> On 10/8/16 10:37 AM, Dr. Hawkins wrote: > On Fri, Oct 7, 2016 at 10:50 PM, Mark Wieder wrote: > >> FWIW I think Jacque's explanation is the better of the two. >> I think maybe LiveCode should ship her with every new build of >> the dictionary. >> > > > on revBuildDictionary > > clone Jacque > > set the mainStack of it to stack revDictionary > > end revBuildDictionary > > :) > Well, I'm flattered guys, but unfortunately every time I clone myself the variants lose track of each other and efficiency fragments. Git might be better. ;) But I'm not the right choice anyway because I don't know some of this myself -- I have seen cases where the defaultstack doesn't follow the rule, or uses some criteria I don't understand, where "go" doesn't set the defaultstack automatically. I haven't yet pinned down a recipe. Usually I just set it by script and move on. I think that was the case with Graham's stack too. Some quirky rule is interfering, or else it's a bug. If so, it's been there a long time. It would be great if someone could look at the source code and give us a list of how the engine determines the defaultstack. Then I could write it down, wait until everyone else forgets about it, and then post it like I know everything... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Oct 8 16:22:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 8 Oct 2016 13:22:46 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> Message-ID: <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> J. Landman Gay wrote: > I have seen cases where the defaultstack doesn't follow the rule, > or uses some criteria I don't understand, where "go" doesn't set > the defaultstack automatically. I haven't yet pinned down a recipe. > Usually I just set it by script and move on. The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. Beyond that I believe the only exceptions are normal scoping rules, such as a script in a palette stack referring to a button will try to resolve that reference in itself unless some other stack is specified. But even then, calling "the defaultStack", regardless of where it's called from, should reflect that one rule unless you've explicitly sat it to something else. If there are indeed exceptions it would be handy to find them and fix them. Having a single rule for the defaultStack makes it very useful, and Raney'a definition seems logical. If there are exceptions we might want to think long and hard about keeping them, as they may well be just regressions that crept in somewhere over the years. I can't think of a case offhand where anything other than the one rule would be 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 appisle.net Sat Oct 8 16:51:09 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 07:51:09 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> Message-ID: > On 9 Oct 2016, at 7:22 AM, Richard Gaskin wrote: > > The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. ^ that?s pretty close but there are some other things that come into play. It?s a bit of a slippeyr fish. The defaultStack is set when executing a script to the stack the script is in until it is changed by that script. After the script runs it will be reset to the previous value unless the previous defaultStack happened to be deleted. Some events cause the defaultStack to be set to the topStack. The default stack is reset in the main engine loop to the stack Richard described. Cheers Monte From jacque at hyperactivesw.com Sat Oct 8 16:54:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 8 Oct 2016 15:54:18 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> Message-ID: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> On 10/8/16 3:22 PM, Richard Gaskin wrote: > The rule Dr. Raney gave me is that the defaultStack is the topmost > visible stack of the lowest mode. I thought visibility might impact it (I believe that's the case with Graham's stack) so I did some quick tests and even though there was a visible mode-1 topstack, going to the invisible one did change the defaultstack. Thus, my curiosity. I.e.: Stack One visible topstack mode 1 command: go stack stackTwo stackTwo visibility false mode 1 command: put the defaultstack -> stackTwo So...? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Sat Oct 8 17:08:39 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 8 Oct 2016 17:08:39 -0400 Subject: Understanding 'the defaultStack' In-Reply-To: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: <895F761F-8000-49CA-B387-0CC8E2340193@gmail.com> I have a stack that in one place and one place only when the script calls for ?ask ? with ? as sheet? sheets the ask dialog and then it promptly loses focus. If I try to type a replacement for the default text or hit to affirm the default text, nothing happens ? the dialog has lost focus as one can see by the hilite color for the text and the lack of blue background for the ?OK? button. I have to click in the text field, then do what I want with the dialog. Have not tracked this down. At this point I can?t recall which ?ask?? command this occurs in so I can post that section of script, but it only happens in that one place. I don?t know if this is related to the defaultstack issue. ? Peter Peter M. Brigham pmbrig at gmail.com > On Oct 8, 2016, at 4:54 PM, J. Landman Gay wrote: > > On 10/8/16 3:22 PM, Richard Gaskin wrote: >> The rule Dr. Raney gave me is that the defaultStack is the topmost >> visible stack of the lowest mode. > > I thought visibility might impact it (I believe that's the case with Graham's stack) so I did some quick tests and even though there was a visible mode-1 topstack, going to the invisible one did change the defaultstack. Thus, my curiosity. > > I.e.: > > Stack One > visible > topstack > mode 1 > > > command: go stack stackTwo > > stackTwo > visibility false > mode 1 > > command: put the defaultstack > -> stackTwo > > > So...? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Oct 8 17:12:58 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 8 Oct 2016 14:12:58 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> References: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > On 10/8/16 3:22 PM, Richard Gaskin wrote: >> The rule Dr. Raney gave me is that the defaultStack is the topmost >> visible stack of the lowest mode. > > I thought visibility might impact it (I believe that's the case with > Graham's stack) so I did some quick tests and even though there was a > visible mode-1 topstack, going to the invisible one did change the > defaultstack. Thus, my curiosity. > > I.e.: > > Stack One > visible > topstack > mode 1 > > > command: go stack stackTwo > > stackTwo > visibility false > mode 1 > > command: put the defaultstack > -> stackTwo > > > So...? Personally I'd consider that a bug. Even if visibility was never part of a formal definition, so much of the learnability of xTalk rests on being able to predict outcomes based on what we see. The layering of a window visibly changes if a window above it becomes hidden, all the way down to how the OS renders the drag region. To me it seems logical that an invisible window should be expected to require special handling if another window of the same mode is visible. I can't think of a case where the behavior you've documented would be either anticipatable or 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 livfoss at mac.com Sat Oct 8 18:09:57 2016 From: livfoss at mac.com (Graham Samuel) Date: Sat, 08 Oct 2016 23:09:57 +0100 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> Message-ID: <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> Monte, thanks for that, but even your expert intervention this doesn't quite say what the rules actually are. I think the Dictionary should be revised to give a complete account. Cheers Graham Sent from my iPad > On 8 Oct 2016, at 21:51, Monte Goulding wrote: > > >> On 9 Oct 2016, at 7:22 AM, Richard Gaskin wrote: >> >> The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. > > ^ that?s pretty close but there are some other things that come into play. It?s a bit of a slippeyr fish. > > The defaultStack is set when executing a script to the stack the script is in until it is changed by that script. After the script runs it will be reset to the previous value unless the previous defaultStack happened to be deleted. > > Some events cause the defaultStack to be set to the topStack. The default stack is reset in the main engine loop to the stack Richard described. > > Cheers > > Monte > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sat Oct 8 19:09:18 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 10:09:18 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> Message-ID: <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> > On 9 Oct 2016, at 9:09 AM, Graham Samuel wrote: > > Monte, thanks for that, but even your expert intervention this doesn't quite say what the rules actually are. I think the Dictionary should be revised to give a complete account. Expert intervention might be overestimating things a bit. Yes it would probably be good if someone improved the docs if it?s causing confusion. For what it?s worth I personally never depend on the defaultStack being anything unless I explicitly set it and I usually only do that when I want to create objects on a stack from some script that isn?t on it. Cheers Monte From revolution at jaedworks.com Sat Oct 8 19:15:54 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 8 Oct 2016 16:15:54 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: At 3:54 PM -0500 10/8/2016, J. Landman Gay wrote: >I thought visibility might impact it (I believe that's the case with >Graham's stack) so I did some quick tests and even though there was >a visible mode-1 topstack, going to the invisible one did change the >defaultstack. Thus, my curiosity. I quote: "The topStack is the frontmost stack with the lowest mode." The mode runs from 0 to 13 (unless someone's added some modes lately), and invisible isn't one of the modes-a toplevel visible stack has the same mode as a toplevel invisible one. (I don't claim this makes actual sense, mind you....) -- jeanne a. e. devoto livecode at jaedworks.com From monte at appisle.net Sat Oct 8 19:19:52 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 10:19:52 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: <6741E843-6059-4B12-8E3F-5CD694C65FEB@appisle.net> > On 9 Oct 2016, at 10:15 AM, Jeanne A. E. DeVoto wrote: > > (I don't claim this makes actual sense, mind you....) What about this: go invisible stack do some stuff depending on the defaultstack being changed to the stack show stack From monte at appisle.net Sat Oct 8 19:26:11 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 10:26:11 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> Message-ID: <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Hi Folks I just had a look into the source and here?s the but in the go command causing confusion: if (t_stack->getmode() == WM_TOP_LEVEL || t_stack->getmode() == WM_TOP_LEVEL_LOCKED) MCdefaultstackptr = t_stack; What this means is that unless the mode of the stack is topLevel (1) or topLevel + cantModify (2) the defaultStack is not changed by the go command. Cheers Monte From jacque at hyperactivesw.com Sat Oct 8 19:30:34 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Oct 2016 18:30:34 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: <157a6a24190.2816.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's what I saw too in my experiment, but I was issuing commands from the message box. When Graham did a "go stack invisibleStack" the defaultstack didn't change to it. >From what Monte said, I'm guessing that Graham's running script was in the original stack and maybe the engine hadn't done its swap yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 8, 2016 6:17:48 PM "Jeanne A. E. DeVoto" wrote: > At 3:54 PM -0500 10/8/2016, J. Landman Gay wrote: >>I thought visibility might impact it (I believe that's the case with >>Graham's stack) so I did some quick tests and even though there was >>a visible mode-1 topstack, going to the invisible one did change the >>defaultstack. Thus, my curiosity. > > > I quote: "The topStack is the frontmost stack with the lowest mode." > > The mode runs from 0 to 13 (unless someone's added some modes > lately), and invisible isn't one of the modes-a toplevel visible > stack has the same mode as a toplevel invisible one. > > (I don't claim this makes actual sense, mind you....) > -- > jeanne a. e. devoto > livecode at jaedworks.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sat Oct 8 19:45:49 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 10:45:49 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Message-ID: I suspect the fact that go sets the defaultStack (if it is topLevel) and neither clone stack or create stack do regardless of mode also needs to be documented somewhere. I wonder if go altering the defaultStack should be added to the bug db as an anomaly report? It?s certainly a non-obvious side effect of the command. > On 9 Oct 2016, at 10:26 AM, Monte Goulding wrote: > > Hi Folks > > I just had a look into the source and here?s the but in the go command causing confusion: > > if (t_stack->getmode() == WM_TOP_LEVEL || t_stack->getmode() == WM_TOP_LEVEL_LOCKED) > MCdefaultstackptr = t_stack; > > What this means is that unless the mode of the stack is topLevel (1) or topLevel + cantModify (2) the defaultStack is not changed by the go command. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at jaedworks.com Sat Oct 8 19:51:37 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 8 Oct 2016 16:51:37 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Message-ID: At 10:26 AM +1100 10/9/2016, Monte Goulding wrote: >I just had a look into the source and here's the but in the go >command causing confusion: > > if (t_stack->getmode() == WM_TOP_LEVEL || t_stack->getmode() == >WM_TOP_LEVEL_LOCKED) > MCdefaultstackptr = t_stack; > >What this means is that unless the mode of the stack is topLevel (1) >or topLevel + cantModify (2) the defaultStack is not changed by the >go command. OK, thar seems like a bug to me. If the only stacks open are palettes, for example, then go should make the target stack the topStack (and hence the defaultStack, since no stacks of lower mode are open). (In practice, I usually adopt the strategy of setting the defaultStack explicitly or else targeting everything to the specific stack I want. I think of the defaultStack as being pretty fragile.) From monte at appisle.net Sat Oct 8 20:04:45 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 11:04:45 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Message-ID: <92431B47-3780-4A8A-B46C-D5D9BD24EFE5@appisle.net> > On 9 Oct 2016, at 10:51 AM, Jeanne A. E. DeVoto wrote: > > OK, thar seems like a bug to me. If the only stacks open are palettes, for example, then go should make the target stack the topStack (and hence the defaultStack, since no stacks of lower mode are open). I can?t help thinking that go touching the defaultStack at all is bug or rather a bad idea in the first place that probably can?t be changed now. Just because you opened a stack does not necessarily mean you want to target the rest of your script to the stack you opened. > > (In practice, I usually adopt the strategy of setting the defaultStack explicitly or else targeting everything to the specific stack I want. I think of the defaultStack as being pretty fragile.) Yes that?s what I do to as the script is much clearer if you explicitly set the defaultStack anyway. Cheers Monte From monte at appisle.net Sat Oct 8 20:23:55 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 11:23:55 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Message-ID: <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> > On 9 Oct 2016, at 10:51 AM, Jeanne A. E. DeVoto wrote: > > OK, thar seems like a bug to me. If the only stacks open are palettes, for example, then go should make the target stack the topStack (and hence the defaultStack, since no stacks of lower mode are open). Thinking on this some more I don?t think you can do what you are suggesting here. Go currently sets the defaultStack to the target stack if it is topLevel. If it set the defaultStack to the topStack it would depend on the current state of the environment whether the defaultStack is the stack being opened by go after the command while at the moment it just depends on the mode of the stack being opened. Indeed let?s say you have stack A that opens stack B and stack B that opens stack C in its preOpenCard handler. At the moment: stack A - is defaultStack in its own script go stack B stack B preOpenStack - stack B now defaultStack in its own script go stack C stack C preOpenStack - stack C no defaultStack in its own script stack B preOpenStack continues but stack C is now the defaultStack back to stack A script and now stack B is the defaultStack But if you change it to set to the topStack then when you go back to the stack A script then stack C will be the defaultStack. Cheers Monte From jacque at hyperactivesw.com Sun Oct 9 01:19:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Oct 2016 00:19:14 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: <92431B47-3780-4A8A-B46C-D5D9BD24EFE5@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <92431B47-3780-4A8A-B46C-D5D9BD24EFE5@appisle.net> Message-ID: <157a7e17468.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On October 8, 2016 7:06:15 PM Monte Goulding wrote: > I can?t help thinking that go touching the defaultStack at all is bug or > rather a bad idea in the first place that probably can?t be changed now. > Just because you opened a stack does not necessarily mean you want to > target the rest of your script to the stack you opened. Actually that's been the whole xtalk metaphor forever and you're right that changing it would break a lot of stacks. When you go to a stack, it becomes "this stack", and you are on "this card" and you expect your script to act on the controls there. It dates back to HC where there was only a single stack open at any time and no confusion was possible. With the introduction of multiple windows, the behavior stayed the same and if you want to address objects in the original stack, you need to use long object references or set the defaultstack yourself. I'm okay with how it works now, but I want to know what the exceptions are. I think I'm starting to get the idea. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Oct 9 01:21:43 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Oct 2016 00:21:43 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> Message-ID: <157a7e3be58.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It's only non-obvious if you haven't been doing it for 30 years. :-) Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 8, 2016 6:48:08 PM Monte Goulding wrote: > I suspect the fact that go sets the defaultStack (if it is topLevel) and > neither clone stack or create stack do regardless of mode also needs to be > documented somewhere. I wonder if go altering the defaultStack should be > added to the bug db as an anomaly report? It?s certainly a non-obvious side > effect of the command. > >> On 9 Oct 2016, at 10:26 AM, Monte Goulding wrote: >> >> Hi Folks >> >> I just had a look into the source and here?s the but in the go command >> causing confusion: >> >> if (t_stack->getmode() == WM_TOP_LEVEL || t_stack->getmode() == >> WM_TOP_LEVEL_LOCKED) >> MCdefaultstackptr = t_stack; >> >> What this means is that unless the mode of the stack is topLevel (1) or >> topLevel + cantModify (2) the defaultStack is not changed by the go command. >> >> Cheers >> >> Monte >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Sun Oct 9 02:23:25 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 08 Oct 2016 23:23:25 -0700 Subject: CantDelete Message-ID: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> Is there any particular reason a field, button, graphic, etc. cannot have a ?cantDelete? property?just as stacks/cards/groups currently do have? A group can have this property set, but individual controls in that group cannot. If selectGrouped is on I can accidentally delete a control. There are objects for which I do not want this to happen. Is this a reasonable feature request? Peter Bogdanoff From monte at appisle.net Sun Oct 9 02:23:42 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 17:23:42 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <157a7e3be58.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <157a7e3be58.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <2E4F0EF0-DE82-4684-8129-DF9241D12BE0@appisle.net> > On 9 Oct 2016, at 4:21 PM, J. Landman Gay wrote: > > It's only non-obvious if you haven't been doing it for 30 years. :-) That?s not selling it to me ;-) Cheers Monte From monte at appisle.net Sun Oct 9 02:25:29 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 17:25:29 +1100 Subject: CantDelete In-Reply-To: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> References: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> Message-ID: <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> > On 9 Oct 2016, at 5:23 PM, Peter Bogdanoff wrote: > > Is there any particular reason a field, button, graphic, etc. cannot have a ?cantDelete? property?just as stacks/cards/groups currently do have? > > A group can have this property set, but individual controls in that group cannot. If selectGrouped is on I can accidentally delete a control. There are objects for which I do not want this to happen. > > Is this a reasonable feature request? Is it reasonable to set the selectGroupedControls of the group in question to false? Cheers Monte From bogdanoff at me.com Sun Oct 9 02:33:32 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 08 Oct 2016 23:33:32 -0700 Subject: CantDelete In-Reply-To: <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> References: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> Message-ID: <403D3743-79A0-4A78-A28C-5D713AE9AE81@me.com> Yes, I didn?t know about selectGroupedControls. Thank you! That definitely does the trick for groups. Card objects are still ?unprotected?? On Oct 8, 2016, at 11:25 PM, Monte Goulding wrote: > >> On 9 Oct 2016, at 5:23 PM, Peter Bogdanoff wrote: >> >> Is there any particular reason a field, button, graphic, etc. cannot have a ?cantDelete? property?just as stacks/cards/groups currently do have? >> >> A group can have this property set, but individual controls in that group cannot. If selectGrouped is on I can accidentally delete a control. There are objects for which I do not want this to happen. >> >> Is this a reasonable feature request? > > Is it reasonable to set the selectGroupedControls of the group in question to false? > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Sun Oct 9 02:36:03 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 17:36:03 +1100 Subject: CantDelete In-Reply-To: <403D3743-79A0-4A78-A28C-5D713AE9AE81@me.com> References: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> <403D3743-79A0-4A78-A28C-5D713AE9AE81@me.com> Message-ID: > On 9 Oct 2016, at 5:33 PM, Peter Bogdanoff wrote: > > Card objects are still ?unprotected?? yes, although have you thought about setting the cantModify of the stack or the cantSelect of the objects? From bogdanoff at me.com Sun Oct 9 02:46:16 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 08 Oct 2016 23:46:16 -0700 Subject: CantDelete In-Reply-To: References: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> <403D3743-79A0-4A78-A28C-5D713AE9AE81@me.com> Message-ID: Another bingo! The cantSelect does do it. However, that seems to have to be set by a script. I understand that you then can?t select it with the pointer tool to show the Property Inspector for it, so not having a checkbox to set that property makes some sense. But it would be nice to have that checkbox in the PI when you select the object another way. On Oct 8, 2016, at 11:36 PM, Monte Goulding wrote: > >> On 9 Oct 2016, at 5:33 PM, Peter Bogdanoff wrote: >> >> Card objects are still ?unprotected?? > > yes, although have you thought about setting the cantModify of the stack or the cantSelect of the objects? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Sun Oct 9 03:54:55 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 9 Oct 2016 17:54:55 +1000 Subject: tsneterr ??? In-Reply-To: <85667D79-274C-4286-97AA-9C3859AA108B@major-k.de> References: <935A4CE8-F874-4038-B0FD-96D8977DFAAF@major-k.de> <8ECDD063-F340-4EA1-8967-D5E30BECE806@major-k.de> <6d59b0f5-1be7-04f3-08f6-2ae34a02e4c1@techstrategies.com.au> <30B9862E-4AEB-4B07-8E14-8BDD29C2FB40@major-k.de> <85667D79-274C-4286-97AA-9C3859AA108B@major-k.de> Message-ID: Hi Klaus, Sorry for the delay in replying to this e-mail. Which platform are you building the standalone for that it doesn't work on? (or have you got it working now) Best Regards, Charles On 30/09/2016 9:36 PM, Klaus major-k wrote: >> Yes, sure, as I wrote, I have been using this stack including its >> scripts for >> several years now (with libURL and without problems) and the problem came up with LC 8.1. > just made another test and it works fine in the IDE!? From revolution at jaedworks.com Sun Oct 9 06:10:44 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 9 Oct 2016 03:10:44 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> Message-ID: At 11:23 AM +1100 10/9/2016, Monte Goulding wrote: >stack A - is defaultStack in its own script >go stack B > stack B preOpenStack - stack B now defaultStack in its own script > go stack C > stack C preOpenStack - stack C no defaultStack in its own script > stack B preOpenStack continues but stack C is now the defaultStack >back to stack A script and now stack B is the defaultStack > >But if you change it to set to the topStack then when you go back to >the stack A script then stack C will be the defaultStack. Hmm. I actually would have expected stack C to still be the defaultStack on returning to stack A. defaultStack is a global property, theoretically. >Thinking on this some more I don't think you can do what you are >suggesting here. Go currently sets the defaultStack to the target >stack if it is topLevel. If it set the defaultStack to the topStack >it would depend on the current state of the environment whether the >defaultStack is the stack being opened by go after the command while >at the moment it just depends on the mode of the stack being opened. Not sure how that makes it impossible to set it to the topStack...? (Although I agree with Jacque that there's code out there that relies on the current behavior, possibly without the writer even really being aware of it.) From monte at appisle.net Sun Oct 9 06:30:41 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 9 Oct 2016 21:30:41 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> Message-ID: <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> > On 9 Oct 2016, at 9:10 PM, Jeanne A. E. DeVoto wrote: > > At 11:23 AM +1100 10/9/2016, Monte Goulding wrote: >> stack A - is defaultStack in its own script >> go stack B >> stack B preOpenStack - stack B now defaultStack in its own script >> go stack C >> stack C preOpenStack - stack C no defaultStack in its own script >> stack B preOpenStack continues but stack C is now the defaultStack >> back to stack A script and now stack B is the defaultStack >> >> But if you change it to set to the topStack then when you go back to the stack A script then stack C will be the defaultStack. > > Hmm. I actually would have expected stack C to still be the defaultStack on returning to stack A. defaultStack is a global property, theoretically. What if stack C is only opened sometimes or stack A doesn?t even know about it. Considering this seriously impacts the function of the remaining stack A script I suspect if you think on it some more you want to be more sure about what will mess with it and how it will mess with it than you are suggesting. Anyway, it?s one of those things that would be near on impossible to change if anyone wanted to so there?s no huge point going down that path. BTW I think defaultStack shouldn?t really be considered a global property. It behaves much more like a local property most of the time. The only times it behaves like a global property are when application level messages are sent to the defaultStack (suspend, resume, shutdown etc) but as there?s no real guarantee which stack that happens to be at the time the event comes it means most of those events messages end up being handled by libraries to make sure we get them. Those messages probably would have been better sent directly to the application mainstack (or home in the IDE) but that ship has sailed too. Cheers Monte From paul at researchware.com Sun Oct 9 08:40:59 2016 From: paul at researchware.com (Paul Dupuis) Date: Sun, 09 Oct 2016 08:40:59 -0400 Subject: Understanding 'the defaultStack' In-Reply-To: <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> Message-ID: <57FA3ADB.8030609@researchware.com> There is an even worse issue that has cropped up regarding "the defaultstack" in a multi-window application If you have a script executing and present a open file/save file dialog (which are now non-modal windows under OSX and Windows), the user can click on other application windows, which cause the clicked-on window to be "topLevel" and hence the new defaultStack and then click backc to the open file "dialog" (which are not real dialogs any more) and respond. Your paused script continues executing, but now the defaultStack has changed. As a precaution against users of the app doing (resonable) things like this, I now explicitly set the defaultStack after any ask or answer file dialog. I also use code such as on handler put the defaultStack into tPreserveDefaultStack set the defaultStack to ... my code... set the defaultStack to tPreserveDefaultStack end handler So that if the hander is called from another stack it does not exit with the defaultstack changed. From klaus at major-k.de Sun Oct 9 10:00:30 2016 From: klaus at major-k.de (Klaus major-k) Date: Sun, 9 Oct 2016 16:00:30 +0200 Subject: tsneterr ??? In-Reply-To: References: <935A4CE8-F874-4038-B0FD-96D8977DFAAF@major-k.de> <8ECDD063-F340-4EA1-8967-D5E30BECE806@major-k.de> <6d59b0f5-1be7-04f3-08f6-2ae34a02e4c1@techstrategies.com.au> <30B9862E-4AEB-4B07-8E14-8BDD29C2FB40@major-k.de> <85667D79-274C-4286-97AA-9C3859AA108B@major-k.de> Message-ID: <026414DD-9A98-43D2-9B66-E555E85E4B35@major-k.de> Hi Charles, > Am 09.10.2016 um 09:54 schrieb Charles Warwick : > > Hi Klaus, > > Sorry for the delay in replying to this e-mail. > Which platform are you building the standalone for that it doesn't work on? (or have you got it working now) that is on a Mac, but after a couple of days, the problem went away completely without any intervention from my side!? I had a lot of trouble with my ON-REV account in the last months so I suspect this was some kind of hiccup of my servers!? 8-) Thank you very much! > Best Regards, > > Charles > > On 30/09/2016 9:36 PM, Klaus major-k wrote: >>> Yes, sure, as I wrote, I have been using this stack including its scripts for >>> several years now (with libURL and without problems) and the problem came up with LC 8.1. >> just made another test and it works fine in the IDE!? That was really too funky: IDE and standalone side by side, in the standalone I got the error but not in the IDE with the SAME stack! But hey, that's why we all love software development so much! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From revolution at jaedworks.com Sun Oct 9 16:25:50 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 9 Oct 2016 13:25:50 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <57FA3ADB.8030609@researchware.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> Message-ID: At 8:40 AM -0400 10/9/2016, Paul Dupuis wrote: >Your paused script continues executing, but now the defaultStack has >changed. > >As a precaution against users of the app doing (resonable) things like >this, I now explicitly set the defaultStack after any ask or answer file >dialog. I also use code such as > >on handler >put the defaultStack into tPreserveDefaultStack >set the defaultStack to >... my code... >set the defaultStack to tPreserveDefaultStack >end handler > >So that if the hander is called from another stack it does not exit with >the defaultstack changed. At this point, I'm starting to wonder whether the defaultStack should be redesigned/re-specced to make it more predictable. I don't think it's feasible to actually make major changes in the way the defaultStack works, but possibly a new property could be designed that acts in such a way that workarounds like this aren't normally needed. Setting and re-setting the defaultStack to make sure it's right is almost as annoying as specifying the stack every time you refer to an object (which I sometimes do anyway, for fear of the defaultStack changing from under me). If it were being designed from scratch, what would the ideal behavior be for a targetStack property? Should it remain unchanged while a script is running (unless set explicitly)? From jacque at hyperactivesw.com Sun Oct 9 16:39:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 9 Oct 2016 15:39:37 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> Message-ID: <350262c8-c96d-8946-c6b6-ef6640db05ef@hyperactivesw.com> On 10/9/16 3:25 PM, Jeanne A. E. DeVoto wrote: > I don't think it's feasible to actually make major changes in the way > the defaultStack works, but possibly a new property could be designed > that acts in such a way that workarounds like this aren't normally > needed. Setting and re-setting the defaultStack to make sure it's right > is almost as annoying as specifying the stack every time you refer to an > object (which I sometimes do anyway, for fear of the defaultStack > changing from under me). > > If it were being designed from scratch, what would the ideal behavior be > for a targetStack property? Should it remain unchanged while a script is > running (unless set explicitly)? What about a "lock defaultstack" command? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at researchware.com Sun Oct 9 16:42:58 2016 From: paul at researchware.com (Paul Dupuis) Date: Sun, 09 Oct 2016 16:42:58 -0400 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> Message-ID: <57FAABD2.7040901@researchware.com> On 10/9/2016 4:25 PM, Jeanne A. E. DeVoto wrote: > If it were being designed from scratch, what would the ideal behavior > be for a targetStack property? Should it remain unchanged while a > script is running (unless set explicitly)? Some long time ago, someone on this list suggested a control block such as "using " ... "end using" Where any object references in the block would always be evaluated relative to the object referred to in the start of the using block. So: using card 3 of stack "X" put the label of btn "A" into myVar ... end using Would look for button "A" on card 3 of stack "X" using stack "X" would be essentially the same as set the defaultStack to "X" but you could also do things like using grp id 1005 of card 3 of stack "X" repeat with i=1 to the number of fields -- would refer only to the field in group ID 1005 of card 3 of stack "X" end repeat end using nested using block would presumably be possible I always though this enhancement would be a great addition to LiveCode. I would suggest this as a compliment to the defaultStack. From dave at applicationinsight.com Sun Oct 9 16:52:58 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 9 Oct 2016 21:52:58 +0100 Subject: Understanding 'the defaultStack' Message-ID: +1 on a ?using ? end using? block - it would be so useful! On 10/9/2016 9:35 PM, Paul Dupuis wrote: > Some long time ago, someone on this list suggested a control block such > as "using " ... "end using" > > Where any object references in the block would always be evaluated > relative to the object referred to in the start of the using block. > So: > > using card 3 of stack "X" > put the label of btn "A" into myVar > ... > end using > > Would look for button "A" on card 3 of stack "X" > > using stack "X" would be essentially the same as set the defaultStack to "X" > > but you could also do things like > > using grp id 1005 of card 3 of stack "X" > repeat with i=1 to the number of fields > -- would refer only to the field in group ID 1005 of card 3 of > stack "X" > end repeat > end using > > nested using block would presumably be possible > > I always though this enhancement would be a great addition to LiveCode. > I would suggest this as a compliment to the defaultStack. From sundown at pacifier.com Sun Oct 9 21:12:29 2016 From: sundown at pacifier.com (JB) Date: Sun, 9 Oct 2016 18:12:29 -0700 Subject: Pointers Message-ID: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Livecode has imported foundation which gives users the ability to access those libraries and it was written you can use pointers. Pointers are used in both C & objective-C. You write them a little different but the basic concept is the same. A pointer points to a location in memory. A variable is an object which the pointer points to. If variable X holds the integer 34 & is located in the memory stack at 4217 the pointer will simply hold that address which points you to 4217 in memory so you can access and change the contents of the memory at 4217 which is the object named X and it is a variable of the type int or another type. To efficiently write code using pointers you need a good understanding of them. Here is a link to one of the best tutorials I have seen on pointers; http://pw1.netcom.com/~tjensen/ptr/pointers.htm This is written for beginners but it is so good even many advanced programmers with a good knowledge of pointers will benefit greatly from reading it. JB From chipsm at themartinz.com Sun Oct 9 23:09:39 2016 From: chipsm at themartinz.com (** Clarence P Martin **) Date: Sun, 9 Oct 2016 20:09:39 -0700 Subject: [ ANN ] Release 8.1.1 RC-1 In-Reply-To: <133801d21692$8f0017f0$ad0047d0$@themartinz.com> References: <1474663923706-4708856.post@n4.nabble.com> <1474665573238-4708858.post@n4.nabble.com> <1474739992082-4708893.post@n4.nabble.com> <133801d21692$8f0017f0$ad0047d0$@themartinz.com> Message-ID: <02a301d222a3$be546020$3afd2060$@themartinz.com> I take this back. I rechecked and things do work. Sorry for raising a False Flag. Sincerely, Clarence Martin Email: chipsm at themartinz.com Cell: 626 6965561 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of ** Clarence P Martin ** Sent: Saturday, September 24, 2016 11:36 AM To: 'How to use LiveCode' Subject: RE: [ ANN ] Release 8.1.1 RC-1 I have downloaded the new RC for LiveCode, just to see if the Executable Applications Settings work. They work better but there are still problems in removing stacks and sub-stacks. I did post a bug for this recently and I will repost another bug report. It is going to be somewhat complicated because there are a few areas that need to be documented with examples. The bug report that I posted in the past was 18466 (FYI). Sincerely, Clarence Martin Email: chipsm at themartinz.com Cell: 626 6965561 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of hlowe Sent: Saturday, September 24, 2016 11:00 AM To: use-revolution at lists.runrev.com Subject: Re: [ ANN ] Release 8.1.1 RC-1 Panos, I have resolved the issue and can now launch apps into the iOS 10.0 simulator using LC 8.1.1-RC1. The problem was that after updating to Xcode 8.0 there were no simulators, other than AppleTV, installed in the Devices & Simulators list (Xcode>Window>Devices). Adding an iPad Retina simulator solved the problem. I don't recall having to add simulators after updating to a new version of Xcode but there you go! Should I reports as a bug that LC crashed when trying to launch an app in the simulator because there was no appropriate iOS simulator installed? BTW, I see that bug # 17779 is still active. Any idea when this might be resolved? Thanks, Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-1-1-RC-1-tp4708 851p4708893.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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Mon Oct 10 03:43:57 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 10 Oct 2016 08:43:57 +0100 Subject: CantDelete In-Reply-To: References: <80E483CE-7A80-4813-B188-DE3CEF646911@me.com> <82864A09-80C8-4381-B225-3253D22DB65E@appisle.net> <403D3743-79A0-4A78-A28C-5D713AE9AE81@me.com> Message-ID: <710d7ccd-e113-ea28-229c-89f457529180@livecode.com> On 09/10/2016 07:46, Peter Bogdanoff wrote: > Another bingo! The cantSelect does do it. > > However, that seems to have to be set by a script. I understand that > you then can?t select it with the pointer tool to show the Property > Inspector for it, so not having a checkbox to set that property makes > some sense. But it would be nice to have that checkbox in the PI when > you select the object another way. The little "lock" icon at the right hand side of the Project Browser row for each control can be clicked to toggle the "cantSelect" of the control. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From charles at techstrategies.com.au Mon Oct 10 06:28:03 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 10 Oct 2016 20:28:03 +1000 Subject: tsneterr ??? In-Reply-To: <026414DD-9A98-43D2-9B66-E555E85E4B35@major-k.de> References: <935A4CE8-F874-4038-B0FD-96D8977DFAAF@major-k.de> <8ECDD063-F340-4EA1-8967-D5E30BECE806@major-k.de> <6d59b0f5-1be7-04f3-08f6-2ae34a02e4c1@techstrategies.com.au> <30B9862E-4AEB-4B07-8E14-8BDD29C2FB40@major-k.de> <85667D79-274C-4286-97AA-9C3859AA108B@major-k.de> <026414DD-9A98-43D2-9B66-E555E85E4B35@major-k.de> Message-ID: <96e1ce25-145e-8ecc-4a67-4d040c0c9996@techstrategies.com.au> Hi Klaus, On 10/10/2016 12:00 AM, Klaus major-k wrote: >> Which platform are you building the standalone for that it doesn't work on? (or have you got it working now) > that is on a Mac, but after a couple of days, the problem went away completely without any intervention from my side!? > I had a lot of trouble with my ON-REV account in the last months so I suspect this was some kind of hiccup of my servers!? 8-) > > Thank you very much! Glad to hear it is working now. :-) >> Yes, sure, as I wrote, I have been using this stack including its >> scripts for >>>> several years now (with libURL and without problems) and the problem came up with LC 8.1. >>> just made another test and it works fine in the IDE!? > That was really too funky: IDE and standalone side by side, in the standalone I got the error but not in the IDE with the SAME stack! > But hey, that's why we all love software development so much! :-D That is definitely very odd. Let me know if you see anything like this again in the future - but hopefully you never will! Cheers, Charles > > 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 peter.brett at livecode.com Mon Oct 10 09:07:51 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 10 Oct 2016 14:07:51 +0100 Subject: [ANN] This Week in LiveCode 54 Message-ID: <6ff456d2-ce75-b5d3-0d9e-9e0cc8d5b9d3@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #54 here: https://goo.gl/nsflBc This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From MikeKerner at roadrunner.com Mon Oct 10 10:36:12 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Oct 2016 10:36:12 -0400 Subject: Pointers In-Reply-To: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Message-ID: You can use something similar to pointers going one direction by using "value", and the other way by using "do". Those are not full-on pointers, but it does give you some indirection. While sometimes it would be nice to have regular pointer syntax (but in a LC syntax way), at least you can get close. Speaking of syntax, I sort-of like 4D's way of dealing with pointers. a-> is dereferencing a and ->a is left as an exercise for the reader. However, the more verbose/english-ish LC way would probably be to use value and come up with a new keyword for referencing, I suppose, unless we were going to use "a pointer to" and "what ____ points to", giving us put a pointer to x into y put what y points to into z #but, again, i think the current put value(y) into z works. On Sun, Oct 9, 2016 at 9:12 PM, JB wrote: > Livecode has imported foundation which gives users > the ability to access those libraries and it was written > you can use pointers. Pointers are used in both C & > objective-C. You write them a little different but the > basic concept is the same. A pointer points to a > location in memory. A variable is an object which the > pointer points to. If variable X holds the integer 34 & > is located in the memory stack at 4217 the pointer will > simply hold that address which points you to 4217 in > memory so you can access and change the contents > of the memory at 4217 which is the object named X > and it is a variable of the type int or another type. > > To efficiently write code using pointers you need a > good understanding of them. Here is a link to one > of the best tutorials I have seen on pointers; > > http://pw1.netcom.com/~tjensen/ptr/pointers.htm > > This is written for beginners but it is so good even > many advanced programmers with a good knowledge > of pointers will benefit greatly from reading it. > > JB > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Mon Oct 10 11:33:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Oct 2016 08:33:55 -0700 Subject: [ ANN ] Release 8.1.1 RC-1 In-Reply-To: <02a301d222a3$be546020$3afd2060$@themartinz.com> References: <02a301d222a3$be546020$3afd2060$@themartinz.com> Message-ID: <168a0332-022f-b3d8-d4c4-d63954ec6444@fourthworld.com> Clarence P Martin wrote: >> I have downloaded the new RC for LiveCode, just to see if the >> Executable Applications Settings work. They work better but there >> are still problems in removing stacks and sub-stacks. ... > I take this back. I rechecked and things do work. > Sorry for raising a False Flag. No worries; thanks for the update. This is a good example of why I prefer to do most of my daily work with the most recent release. The team's been making good progress on reported issues, and more often than not when I use the latest build I find things I'd reported against earlier versions now addressed. And in those cases where an older issue remains present, being able to confirm that an issue hasn't been addressed through changes to related subsystems is sometimes also useful to note in that report. A tool like LC is complex stuff, in many ways far more like an OS than any consumer app. And like every OS, or really any non-trivial software, there will be bugs. Working with the latest release offers us the clearest expression of the most recent state of the code base, greatly empowering both community members and core dev team members to identify and prioritize remaining 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 ambassador at fourthworld.com Mon Oct 10 11:37:02 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Oct 2016 08:37:02 -0700 Subject: IDE context menu API? Message-ID: <73388244-fd21-ebd0-cb5b-13d55a499193@fourthworld.com> Is there an API which lets us extend or modify the items presented when right-clicking objects with the pointer tool in the IDE? -- 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 Mon Oct 10 11:51:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Oct 2016 08:51:44 -0700 Subject: Bug report against lcStackBrowser Message-ID: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Since this involves a third-party add-on for LiveCode, Peter Haworth's lcStackBrowser, I could report this bug privately to the author. But I feel this is important for the community as a whole to be aware of so I'm taking the liberty of submitting this bug report here on this public list: Bug description: The name "lcStackBrowser" is too modest. Recipe: Install it, explore it, poke around. Expected result: It would provide a means of browsing objects in LC. Observed result: it goes WAY beyond that. Sure, it also provide some very nice conveniences for browsing objects, but the true scope of the tool is so much deeper and feature-complete that it's almost like having an alternate IDE, one that delivers vast functionality and asks far less of your screen real estate in return. Clarence ran a demo of it at our local LC user group meeting last week, and lcStackBrowser is pretty awesome. There's a lot in it, all lovingly crafted in such detail as to be an uncommonly admirable plugin. Fine bit of work there, Peter. Just that the name is misleading. :) It's far more than advertised. Definitely worth checking out: http://www.lcsql.com/lcstackbrowser.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Mon Oct 10 11:56:17 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 10 Oct 2016 10:56:17 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: References: Message-ID: On Sun, Oct 9, 2016 at 3:52 PM, Dave Kilroy wrote: > > On 10/9/2016 9:35 PM, Paul Dupuis wrote: > > Some long time ago, someone on this list suggested a control block such > > as "using " ... "end using" > > > > Where any object references in the block would always be evaluated > > relative to the object referred to in the start of the using block. > > So: > > > > using card 3 of stack "X" > > put the label of btn "A" into myVar > > ... > > end using > I like the idea of a block like this. Really I want all code in my UI stacks to ALWAYS use the stack they are attached to as the default stack in cases where a stack isn't provided in the object reference. I too have seen "can't find object" errors occur in code that executes in my UI after displaying a modal dialog to the user. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From stephenREVOLUTION2 at barncard.com Mon Oct 10 13:50:51 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Oct 2016 10:50:51 -0700 Subject: Bug report against lcStackBrowser In-Reply-To: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> References: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Message-ID: On Mon, Oct 10, 2016 at 8:51 AM, Richard Gaskin wrote: > Fine bit of work there, Peter. Just that the name is misleading. :) It's > far more than advertised. only the screenshots are too small ! Stephen Barncard - Sebastopol Ca. USA - mixstream.org From pete at lcsql.com Mon Oct 10 13:52:26 2016 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Oct 2016 17:52:26 +0000 Subject: Bug report against lcStackBrowser In-Reply-To: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> References: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Message-ID: You had me worried for a minute there Richard! You're right, it goes far beyond browsing stacks, although when I first wrote it, that's what it was, just a replacement for the Application Browser. But then it grew to incorporate Tools palette and Property Inspector equivalents, plus several other features that aren't in the standard IDE like saving stack versions and undoing object deletions. I just never changed the name, mainly because I have close to zero marketing skills, including coming up with clever product names :) Anyway, thanks a lot for plug, much appreciated. On Mon, Oct 10, 2016 at 8:52 AM Richard Gaskin wrote: > Since this involves a third-party add-on for LiveCode, Peter Haworth's > lcStackBrowser, I could report this bug privately to the author. But I > feel this is important for the community as a whole to be aware of so > I'm taking the liberty of submitting this bug report here on this public > list: > > Bug description: The name "lcStackBrowser" is too modest. > > Recipe: Install it, explore it, poke around. > > Expected result: It would provide a means of browsing objects in LC. > > Observed result: it goes WAY beyond that. Sure, it also provide some > very nice conveniences for browsing objects, but the true scope of the > tool is so much deeper and feature-complete that it's almost like having > an alternate IDE, one that delivers vast functionality and asks far less > of your screen real estate in return. > > Clarence ran a demo of it at our local LC user group meeting last week, > and lcStackBrowser is pretty awesome. There's a lot in it, all lovingly > crafted in such detail as to be an uncommonly admirable plugin. > > Fine bit of work there, Peter. Just that the name is misleading. :) > It's far more than advertised. > > Definitely worth checking out: > http://www.lcsql.com/lcstackbrowser.html > > -- > 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 Mon Oct 10 13:53:43 2016 From: pete at lcsql.com (Peter Haworth) Date: Mon, 10 Oct 2016 17:53:43 +0000 Subject: Bug report against lcStackBrowser In-Reply-To: References: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Message-ID: Yes, you're right. They lost some size and resolution when I moved the website to a new host a while back. I plan on putting some new ones up there soon, and some new videos. On Mon, Oct 10, 2016 at 10:52 AM Peter Haworth wrote: > You had me worried for a minute there Richard! > > You're right, it goes far beyond browsing stacks, although when I first > wrote it, that's what it was, just a replacement for the Application > Browser. But then it grew to incorporate Tools palette and Property > Inspector equivalents, plus several other features that aren't in the > standard IDE like saving stack versions and undoing object deletions. I > just never changed the name, mainly because I have close to zero marketing > skills, including coming up with clever product names :) > > Anyway, thanks a lot for plug, much appreciated. > > On Mon, Oct 10, 2016 at 8:52 AM Richard Gaskin > wrote: > > Since this involves a third-party add-on for LiveCode, Peter Haworth's > lcStackBrowser, I could report this bug privately to the author. But I > feel this is important for the community as a whole to be aware of so > I'm taking the liberty of submitting this bug report here on this public > list: > > Bug description: The name "lcStackBrowser" is too modest. > > Recipe: Install it, explore it, poke around. > > Expected result: It would provide a means of browsing objects in LC. > > Observed result: it goes WAY beyond that. Sure, it also provide some > very nice conveniences for browsing objects, but the true scope of the > tool is so much deeper and feature-complete that it's almost like having > an alternate IDE, one that delivers vast functionality and asks far less > of your screen real estate in return. > > Clarence ran a demo of it at our local LC user group meeting last week, > and lcStackBrowser is pretty awesome. There's a lot in it, all lovingly > crafted in such detail as to be an uncommonly admirable plugin. > > Fine bit of work there, Peter. Just that the name is misleading. :) > It's far more than advertised. > > Definitely worth checking out: > http://www.lcsql.com/lcstackbrowser.html > > -- > 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 stephenREVOLUTION2 at barncard.com Mon Oct 10 13:53:58 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Oct 2016 10:53:58 -0700 Subject: Bug report against lcStackBrowser In-Reply-To: References: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Message-ID: On Mon, Oct 10, 2016 at 10:50 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > only the screenshots are too small ! > that didn't come out right. lcStackbrowser is incredible.... I'm getting it..... only the screenshots are too small.... Stephen Barncard - Sebastopol Ca. USA - mixstream.org From MikeKerner at roadrunner.com Mon Oct 10 14:26:11 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Oct 2016 14:26:11 -0400 Subject: errordialog caveat? Message-ID: I have a project that I brought forward from 6.x that I compile for ios. As part of that, I have a library stack in the message path that has a script for errorDialog. If I check the stacksinUse, I can see the library stack is in the message path. If I manually call errorDialog I can cause it to fire. However, if I have an error, my handler never fires, and instead the LC error dialog comes up. Ideas welcome. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Oct 10 14:27:42 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Oct 2016 14:27:42 -0400 Subject: errordialog caveat? In-Reply-To: References: Message-ID: oh, yeah, and if I move the errorDialog handler to the stack script (from the library), it seems to work. On Mon, Oct 10, 2016 at 2:26 PM, Mike Kerner wrote: > I have a project that I brought forward from 6.x that I compile for ios. > As part of that, I have a library stack in the message path that has a > script for errorDialog. If I check the stacksinUse, I can see the library > stack is in the message path. If I manually call errorDialog I can cause > it to fire. However, if I have an error, my handler never fires, and > instead the LC error dialog comes up. Ideas welcome. > > -- > 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 ahsoftware at sonic.net Mon Oct 10 15:09:56 2016 From: ahsoftware at sonic.net (mwieder) Date: Mon, 10 Oct 2016 12:09:56 -0700 (PDT) Subject: errordialog caveat? In-Reply-To: References: Message-ID: <1476126596072-4709280.post@n4.nabble.com> Are you locking errormessages in the same script? ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/errordialog-caveat-tp4709278p4709280.html Sent from the Revolution - User mailing list archive at Nabble.com. From me at jerrydaniels.com Mon Oct 10 15:16:59 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Mon, 10 Oct 2016 14:16:59 -0500 Subject: Bug report against lcStackBrowser In-Reply-To: References: <26b94897-b480-d585-560e-9e6ac842ca7a@fourthworld.com> Message-ID: Tap screenshots to enlarge, I believe. Best, Jerry On Oct 10, 2016, 12:51 PM -0500, stephen barncard , wrote: > On Mon, Oct 10, 2016 at 8:51 AM, Richard Gaskin wrote: > > > Fine bit of work there, Peter. Just that the name is misleading. :) It's > > far more than advertised. > > > only the screenshots are too small ! > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.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 ahsoftware at sonic.net Mon Oct 10 15:23:55 2016 From: ahsoftware at sonic.net (mwieder) Date: Mon, 10 Oct 2016 12:23:55 -0700 (PDT) Subject: IDE context menu API? In-Reply-To: <73388244-fd21-ebd0-cb5b-13d55a499193@fourthworld.com> References: <73388244-fd21-ebd0-cb5b-13d55a499193@fourthworld.com> Message-ID: <1476127435080-4709282.post@n4.nabble.com> There isn't one that I know of, but you could try overriding revIDEPopupContextualMenu, which is in the revidelibrary stack in the backscripts. It normally dispatches the target list to revMenubarPopupContextualMenu in the revMenuBar stack, and that stack has a very proscribed list of elements, depending on context. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/IDE-context-menu-API-tp4709271p4709282.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Tue Oct 11 02:28:23 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 11 Oct 2016 08:28:23 +0200 Subject: AW: Could not create movie reference In-Reply-To: <37CA6028-22CD-4EE2-8113-F7C1369436A3@derbrill.de> References: <37CA6028-22CD-4EE2-8113-F7C1369436A3@derbrill.de> Message-ID: <003701d22388$ab9fb2a0$02df17e0$@kestner.de> Thank you Paul and Malte, Since this happened from one day to the other in an existing installation, it was not related to and path or filename assignment. I just got a feedback from the customer, that they updated to Sierra and now everything works again with my program. So obviously something was broken in the OS, whatever it was. Thank you for your ideas Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Malte Brill Gesendet: Samstag, 8. Oktober 2016 10:40 An: use-livecode at lists.runrev.com Betreff: Re: Could not create movie reference Hi Tiemo, is the file system set to be case sensitive and the filename of the (a) movie in a different spelling (upper / lower case) then your player object refers to? Cheers, 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 revolution at jaedworks.com Tue Oct 11 03:13:24 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Tue, 11 Oct 2016 00:13:24 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <57FAABD2.7040901@researchware.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> <57FAABD2.7040901@researchware.com> Message-ID: At 4:42 PM -0400 10/9/2016, Paul Dupuis wrote: >Some long time ago, someone on this list suggested a control block such >as "using " ... "end using" > >Where any object references in the block would always be evaluated >relative to the object referred to in the start of the using block. >So: > >using card 3 of stack "X" > put the label of btn "A" into myVar > ... >end using > >Would look for button "A" on card 3 of stack "X" How should this work for subroutines? Should the "using" scope also propagate to any handlers called from within the block? on mouseUp using stack "My Stack" answer field 1 of card 2 -- of stack "My Stack" doSomethingElse end using end mouseUp -- maybe in another object's script: on doSomethingElse answer field 2 of card 2 -- of My Stack? Or the current defaultStack? end doSomethingElse I'm inclined to think that anything that's called from within a "using" block should use that scope in turn. From mark at livecode.com Tue Oct 11 03:47:03 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Oct 2016 09:47:03 +0200 Subject: Understanding 'the defaultStack' In-Reply-To: <157a7e17468.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <92431B47-3780-4A8A-B46C-D5D9BD24EFE5@appisle.net> <157a7e17468.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <0b90b861f5c33ba19e131a39f62b1b2b@livecode.com> On 2016-10-09 07:19, J. Landman Gay wrote: > On October 8, 2016 7:06:15 PM Monte Goulding wrote: > >> I can?t help thinking that go touching the defaultStack at all is bug >> or rather a bad idea in the first place that probably can?t be changed >> now. Just because you opened a stack does not necessarily mean you >> want to target the rest of your script to the stack you opened. Rather than a bug or an anomaly it *could* be considered part of the semantics of the 'go' command (whether it *should* or not, is another matter ;))... Which has different behavior from 'toplevel', 'modeless' etc. commands. If you do: toplevel stack "Foo" Then the defaultStack *does not change*. If you do: go stack "Foo" Then the defaultStack *does change*. > Actually that's been the whole xtalk metaphor forever and you're right > that changing it would break a lot of stacks. When you go to a stack, > it becomes "this stack", and you are on "this card" and you expect > your script to act on the controls there. It dates back to HC where > there was only a single stack open at any time and no confusion was > possible. With the introduction of multiple windows, the behavior > stayed the same and if you want to address objects in the original > stack, you need to use long object references or set the defaultstack > yourself. I suspect that the behavior of the defaultStack could be refined to be more 'predictable' without breaking too much - as you say, I doubt the semantics of 'go' could be changed. However, all that means is that we need to make sure there is a way to open secondary stacks without the defaultStack changing semantics. I *think* the current 'subwindow' commands (mentioned above) are probably it - but there is still potential for refinement. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Oct 11 05:01:46 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Oct 2016 11:01:46 +0200 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> Message-ID: <15264e59c507ba61bdec131294471685@livecode.com> On 2016-10-09 22:25, Jeanne A. E. DeVoto wrote: > At this point, I'm starting to wonder whether the defaultStack should > be redesigned/re-specced to make it more predictable. > > I don't think it's feasible to actually make major changes in the way > the defaultStack works, but possibly a new property could be designed > that acts in such a way that workarounds like this aren't normally > needed. Setting and re-setting the defaultStack to make sure it's > right is almost as annoying as specifying the stack every time you > refer to an object (which I sometimes do anyway, for fear of the > defaultStack changing from under me). > > If it were being designed from scratch, what would the ideal behavior > be for a targetStack property? Should it remain unchanged while a > script is running (unless set explicitly)? I don't think its even possible to add a new property which works 'better' (by some metric) as the defaultStack is what is used to 'fill in' missing stack references in chunk expressions - thus its defaultStack, or something else, but not both (otherwise there's no way for the engine to know whether you want to use the new fangled targetStack for that purpose, or the old fashioned defaultStack for that purpose - in any one case). I wonder if there are just some cases in the current behavior which need some review and refinement - in particular, the scope of the changes to the defaultStack. One thing to consider is what the locality of a change should be. In particular: 1) If the defaultStack is changed in a handler, should it remain that way for all subsequent commands (which don't explicitly change the defaultStack) and should the change recurse into called functions and commands? 2) If the defaultStack is changed in a handler called from another handler, should the change propagate back up to the caller? I think (1) is definitely wanted. If you have changed the defaultStack in a handler, then it makes sense that anything executed within that handler, and any handlers invoked within it should use that context. I think (2) is definitely not wanted. If the locality of a change to the defaultStack propagates back to callers, then the callers loose control and knowledge of what they are actually acting on. If changes propagate down, and not up then all we need to do is mark commands which explicitly change the defaultStack as doing so. e.g. 1) go stack tStack - open stack tStack and set the defaultStack to it 2) set the defaultStack to tStack - set the defaultStack to tStack 3) send tMessage to tObject - execute tMessage in the context of tObject, setting the defaultStack to the stack of tObject for the duration of the handler 4) call tMessage to tObject - execute tMessage of tObject, leaving the defaultStack untouched With that in mind then the proposed 'using' clause would basically just be a local push / pop of the defaultStack: using stack "foo" ... end using Would be equivalent to: put the defaultStack into tOldDS set the defaultStack to "foo" ... set the defaultStack to tOldDS Anyway, the above is just a suggestion (on the whole) - I'm not sure the above to rules (i.e. defaultStack changes propagate into callees, not back into callers) necessarily model the current usage that well or not. However, they are (at least) relatively easy to write down and understand (?). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Oct 11 05:08:44 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Oct 2016 11:08:44 +0200 Subject: Understanding 'the defaultStack' In-Reply-To: <15264e59c507ba61bdec131294471685@livecode.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <88942949-7E3C-4E6F-B7B9-64958BD8C76F@mac.com> <5E4E1BF7-595E-46C8-81AD-EAB70D2BFBB3@appisle.net> <3E3DF429-196E-4FFD-AD5D-353FC437FB4C@appisle.net> <88741BBB-A741-4C6B-8236-2970183FDCC0@appisle.net> <54B3CD9E-C16B-4038-A23A-D4AF7F224136@appisle.net> <57FA3ADB.8030609@researchware.com> <15264e59c507ba61bdec131294471685@livecode.com> Message-ID: <4b3f763158e1b18e803b05e7486d022f@livecode.com> On 2016-10-11 11:01, Mark Waddingham wrote: > 2) If the defaultStack is changed in a handler called from another > handler, should the change propagate back up to the caller? > > I think (2) is definitely not wanted. If the locality of a change to > the defaultStack propagates back to callers, then the callers loose > control and knowledge of what they are actually acting on. Note that this is *not* the current behavior. Changing the defaultStack in a callee will propagate the change back up to the caller. i.e. on mouseUp set the defaultStack to "Foo" changeDefaultStackInCallee answer the defaultStack -- will be "Bar" end mouseUp on changeDefaultStackInCallee set the defaultStack to "Bar" end changeDefaultStackInCallee Here you'll get 'Bar' in the answer dialog. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Tue Oct 11 08:43:04 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 08:43:04 -0400 Subject: errordialog caveat? In-Reply-To: <1476126596072-4709280.post@n4.nabble.com> References: <1476126596072-4709280.post@n4.nabble.com> Message-ID: nope On Mon, Oct 10, 2016 at 3:09 PM, mwieder wrote: > Are you locking errormessages in the same script? > > > > ----- > -- > Mark Wieder > ahsoftware at gmail.com > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/errordialog-caveat-tp4709278p4709280.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dave at applicationinsight.com Tue Oct 11 09:38:43 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 11 Oct 2016 14:38:43 +0100 Subject: errordialog caveat? Message-ID: <6263B951-64C8-41A9-B679-8C872C179DD0@applicationinsight.com> I?m guessing the library stack a separate stack - what happens if you make it a sub-stack? Further questions - can you check defaultstack, defaultfolder, stacksinuse just before calling your custom error dialog? From dave at applicationinsight.com Tue Oct 11 09:46:13 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 11 Oct 2016 14:46:13 +0100 Subject: errordialog caveat? In-Reply-To: <6263B951-64C8-41A9-B679-8C872C179DD0@applicationinsight.com> References: <6263B951-64C8-41A9-B679-8C872C179DD0@applicationinsight.com> Message-ID: <4B643477-F776-4847-BBD7-ED7F9E2144D7@applicationinsight.com> A further thought - LC8 ?speaks? UniCode while LC6 doesn?t - is there anything in your library stack name, or the path to the library, or inside the handler) that might be affected? > On 11 Oct 2016, at 14:38, Dave Kilroy wrote: > > I?m guessing the library stack a separate stack - what happens if you make it a sub-stack? > > Further questions - can you check defaultstack, defaultfolder, stacksinuse just before calling your custom error dialog? > From MikeKerner at roadrunner.com Tue Oct 11 10:19:35 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 10:19:35 -0400 Subject: errordialog caveat? In-Reply-To: <4B643477-F776-4847-BBD7-ED7F9E2144D7@applicationinsight.com> References: <6263B951-64C8-41A9-B679-8C872C179DD0@applicationinsight.com> <4B643477-F776-4847-BBD7-ED7F9E2144D7@applicationinsight.com> Message-ID: Let's see - it is a substack, and what effect would defaultStack and defaultFolder have, perhaps? The library stack appears in stacksInUse. Also, when I call it manually, it works. When it gets triggered by LC on ios, it does not. Whether this is because of how it gets triggered, I do not know (in 8.1.0 there is a bug that causes the datagrid library inclusion to be the opposite of what you select in the inclusions pane, and after ten hours of pulling my hair out, I discovered, late, yesterday, that this error is triggering as an indirect result of the dg library not being included in the standalone). On Tue, Oct 11, 2016 at 9:46 AM, Dave Kilroy wrote: > A further thought - LC8 ?speaks? UniCode while LC6 doesn?t - is there > anything in your library stack name, or the path to the library, or inside > the handler) that might be affected? > > > > On 11 Oct 2016, at 14:38, Dave Kilroy > wrote: > > > > I?m guessing the library stack a separate stack - what happens if you > make it a sub-stack? > > > > Further questions - can you check defaultstack, defaultfolder, > stacksinuse just before calling your custom error dialog? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 11 10:46:06 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 10:46:06 -0400 Subject: hide with visual effect Message-ID: I am trying to give the user the illusion that a dialog is sliding into view and out of view. The dialog is a rectangle graphic background, with controls. Showing it is easy - show x with visual effect scroll up very fast. When I want to hide it though, hide x with visual effect scroll down very fast instead shows the underlying card moving, not the group that represents the dialog. I could write a loop to physically move the dialog, but that doesn't seem ideal. -- 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 11 10:50:10 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 10:50:10 -0400 Subject: hide with visual effect In-Reply-To: References: Message-ID: wait - got it - to slide the graphic over the card show x with visual effect scroll up very fast #push up works, too to move it off screen hide x with visual effect reveal down very fast On Tue, Oct 11, 2016 at 10:46 AM, Mike Kerner wrote: > I am trying to give the user the illusion that a dialog is sliding into > view and out of view. The dialog is a rectangle graphic background, with > controls. Showing it is easy - show x with visual effect scroll up very > fast. When I want to hide it though, hide x with visual effect scroll down > very fast instead shows the underlying card moving, not the group that > represents the dialog. I could write a loop to physically move the dialog, > but that doesn't seem ideal. > > -- > 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 panos.merakos at livecode.com Tue Oct 11 12:00:41 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 11 Oct 2016 17:00:41 +0100 Subject: [ ANN ] Release 8.1.1 RC-2 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 8.1.1 RC 2. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ Xcode 8 and iOS 10 support -------------------------- This release adds support for deploying iOS 10 standalones using Xcode 8. iOS 8.2 standalone deployment using Xcode 6.2 has been removed. mergMicrophone for MacOS ------------------------ The mergMicrophone external can now be used in the MacOS IDE and in MacOS standalones. LiveCode 8.1.1 RC 2 also contains 41 bug fixes and stability improvements. The full release notes are available from: http://downloads.livecode.com/livecode/8_1_1/LiveCodeNotes-8_1_1_rc_2.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From ahsoftware at sonic.net Tue Oct 11 12:50:32 2016 From: ahsoftware at sonic.net (mwieder) Date: Tue, 11 Oct 2016 09:50:32 -0700 (PDT) Subject: errordialog caveat? In-Reply-To: References: <6263B951-64C8-41A9-B679-8C872C179DD0@applicationinsight.com> <4B643477-F776-4847-BBD7-ED7F9E2144D7@applicationinsight.com> Message-ID: <1476204632329-4709295.post@n4.nabble.com> Mike- Another thing to check - if you've got glx2 in the system, make sure you've got the latest build. I found a legacy errorDialog handler in there that shouldn't have been lurking in the background, and I squashed it out of existence in the latest build. Other than that, check the documentation on lockErrorDialogs and its interaction with errorDialog. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/errordialog-caveat-tp4709278p4709295.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Oct 11 13:25:05 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Oct 2016 20:25:05 +0300 Subject: hide with visual effect In-Reply-To: References: Message-ID: Possibly: http://forums.livecode.com/viewtopic.php?f=7&t=28102 Richmond. On 11.10.2016 17:46, Mike Kerner wrote: > I am trying to give the user the illusion that a dialog is sliding into > view and out of view. The dialog is a rectangle graphic background, with > controls. Showing it is easy - show x with visual effect scroll up very > fast. When I want to hide it though, hide x with visual effect scroll down > very fast instead shows the underlying card moving, not the group that > represents the dialog. I could write a loop to physically move the dialog, > but that doesn't seem ideal. > From richmondmathewson at gmail.com Tue Oct 11 14:15:23 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Oct 2016 21:15:23 +0300 Subject: Ugly time? Message-ID: <38e26192-f066-8908-4f99-0e24110c8f3e@gmail.com> "It seems there's never a keypress event" on Android. That's going to be a real %^&*$# for Livecode developers on Android. Richmond. From devin_asay at byu.edu Tue Oct 11 14:19:10 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Oct 2016 18:19:10 +0000 Subject: hide with visual effect In-Reply-To: References: Message-ID: > On Oct 11, 2016, at 8:46 AM, Mike Kerner wrote: > > I am trying to give the user the illusion that a dialog is sliding into > view and out of view. The dialog is a rectangle graphic background, with > controls. Showing it is easy - show x with visual effect scroll up very > fast. When I want to hide it though, hide x with visual effect scroll down > very fast instead shows the underlying card moving, not the group that > represents the dialog. I could write a loop to physically move the dialog, Here?s the recommended way (according to the dictionary): lock screen for visual effect in rect the rect of group ?foo? show group ?foo? unlock screen with visual effect scroll down # or whatever I?ve used this technique lots. Works great. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From ambassador at fourthworld.com Tue Oct 11 14:29:21 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Oct 2016 11:29:21 -0700 Subject: Ugly time? In-Reply-To: <38e26192-f066-8908-4f99-0e24110c8f3e@gmail.com> References: <38e26192-f066-8908-4f99-0e24110c8f3e@gmail.com> Message-ID: <866d03bf-0aae-7188-424f-3cf2c3e7dcf7@fourthworld.com> Richmond wrote: > "It seems there's never a keypress event" on Android. > > That's going to be a real %^&*$# for Livecode developers on Android. There is not normally a key press without a key, and not normally a keyboard without an insertion point in a field. When using an OS-native field on mobile, LC for both iOS and Android will generate an inputReturnKey message, which seems to work reliably for me across multiple Android devices. What problem have you encountered in your 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 Tue Oct 11 14:33:38 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Oct 2016 21:33:38 +0300 Subject: Ugly time? In-Reply-To: <866d03bf-0aae-7188-424f-3cf2c3e7dcf7@fourthworld.com> References: <38e26192-f066-8908-4f99-0e24110c8f3e@gmail.com> <866d03bf-0aae-7188-424f-3cf2c3e7dcf7@fourthworld.com> Message-ID: I haven't encountered any problems as I am not working on stuff for Android (YET), however I can across this statement whle checking something else. Richmond. On 11.10.2016 21:29, Richard Gaskin wrote: > Richmond wrote: > > > "It seems there's never a keypress event" on Android. > > > > That's going to be a real %^&*$# for Livecode developers on Android. > > There is not normally a key press without a key, and not normally a > keyboard without an insertion point in a field. > > When using an OS-native field on mobile, LC for both iOS and Android > will generate an inputReturnKey message, which seems to work reliably > for me across multiple Android devices. > > What problem have you encountered in your work? > From ambassador at fourthworld.com Tue Oct 11 14:49:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Oct 2016 11:49:23 -0700 Subject: Ugly time? In-Reply-To: References: Message-ID: <69974554-e593-7e59-b5bb-994518d2523f@fourthworld.com> Richmond wrote: > On 11.10.2016 21:29, Richard Gaskin wrote: >> Richmond wrote: >> > "It seems there's never a keypress event" on Android. >> > That's going to be a real %^&*$# for Livecode developers >> > on Android. ... >> When using an OS-native field on mobile, LC for both iOS and Android >> will generate an inputReturnKey message, which seems to work >> reliably for me across multiple Android devices. >> >> What problem have you encountered in your work? >> > I haven't encountered any problems as I am not working on stuff for > Android (YET), > however I can across this statement whle checking something else. Often useful to check something out when you read it on the Internet. :) I've seen way too many cases where people turn away from a particular version of LiveCode, or even from LiveCode altogether, because of something they read from someone who heard from someone who thinks they might have seen someone else have a problem. -- 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 11 14:49:21 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 14:49:21 -0400 Subject: [ ANN ] Release 8.1.1 RC-2 In-Reply-To: References: Message-ID: wow - the latest version weighs in at 997 mb. That's like 7000 floppies. Good thing I still have my Jukebox 5. On Tue, Oct 11, 2016 at 12:00 PM, panagiotis merakos < panos.merakos at livecode.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.1.1 RC 2. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > Xcode 8 and iOS 10 support > -------------------------- > This release adds support for deploying iOS 10 standalones using Xcode 8. > iOS 8.2 standalone deployment using Xcode 6.2 has been removed. > > mergMicrophone for MacOS > ------------------------ > The mergMicrophone external can now be used in the MacOS IDE and in MacOS > standalones. > > LiveCode 8.1.1 RC 2 also contains 41 bug fixes and stability improvements. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_1_1/LiveCodeNotes-8_1_1_rc_2.pdf > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > Have fun! > The LiveCode Team > > > > -- > Panagiotis Merakos > LiveCode Software Developer > > Everyone Can Create Apps > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 richmondmathewson at gmail.com Tue Oct 11 15:04:55 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Oct 2016 22:04:55 +0300 Subject: Ugly time? In-Reply-To: <69974554-e593-7e59-b5bb-994518d2523f@fourthworld.com> References: <69974554-e593-7e59-b5bb-994518d2523f@fourthworld.com> Message-ID: <2273506c-e53c-4b54-4303-e8319cb62d60@gmail.com> Sorry: Richard, you'll have to work harder than that to make me stop using Livecode . . . Richmond. On 11.10.2016 21:49, Richard Gaskin wrote: > Richmond wrote: > > > On 11.10.2016 21:29, Richard Gaskin wrote: > >> Richmond wrote: > >> > "It seems there's never a keypress event" on Android. > >> > That's going to be a real %^&*$# for Livecode developers > >> > on Android. > ... > >> When using an OS-native field on mobile, LC for both iOS and Android > >> will generate an inputReturnKey message, which seems to work > >> reliably for me across multiple Android devices. > >> > >> What problem have you encountered in your work? > >> > > I haven't encountered any problems as I am not working on stuff for > > Android (YET), > > however I can across this statement whle checking something else. > > Often useful to check something out when you read it on the Internet. :) > > I've seen way too many cases where people turn away from a particular > version of LiveCode, or even from LiveCode altogether, because of > something they read from someone who heard from someone who thinks > they might have seen someone else have a problem. > From bobsneidar at iotecdigital.com Tue Oct 11 15:14:04 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Oct 2016 19:14:04 +0000 Subject: lcmail.livecode saved in a newer version??? Message-ID: I cannot open lcmcil.livecode. It says it was produced in a newer version of livecide. What is newer than 8.1.1?? Bob S From scott at tactilemedia.com Tue Oct 11 15:16:32 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 11 Oct 2016 12:16:32 -0700 Subject: hide with visual effect In-Reply-To: References: Message-ID: I believe you already found your answer/s, but in addition to other suggestions posted, keep in mind the effectRate property, which allows much finer timing control (as opposed to slow, fast, very fast, etc). I find that the default rate of 2000 is a bit slow by today?s standards, so cutting that down to 1000 or or sometimes 750, depending on the effect, can result in a much snappier feeling and responsive app. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Oct 11, 2016, at 11:19 AM, Devin Asay wrote: > > >> On Oct 11, 2016, at 8:46 AM, Mike Kerner wrote: >> >> I am trying to give the user the illusion that a dialog is sliding into >> view and out of view. The dialog is a rectangle graphic background, with >> controls. Showing it is easy - show x with visual effect scroll up very >> fast. When I want to hide it though, hide x with visual effect scroll down >> very fast instead shows the underlying card moving, not the group that >> represents the dialog. I could write a loop to physically move the dialog, From rdimola at evergreeninfo.net Tue Oct 11 15:50:07 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Oct 2016 15:50:07 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: Message-ID: <005801d223f8$ab94c140$02be43c0$@net> I just got an Apple rejection with this question. --------------------- We began the review of your app but aren't able to continue because we need additional information about your app. - What features in your app use Background Audio? ------------------------ I used to just delete the "exit on suspend" key using the plist hack. I thought that ticking the "Background Audio box" would do the same. Is there another key that is in the plist causing Apple to ask this question? Thanks for any help on this. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From colinholgate at gmail.com Tue Oct 11 16:01:11 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 11 Oct 2016 13:01:11 -0700 Subject: iOS Background Audio rejection. In-Reply-To: <005801d223f8$ab94c140$02be43c0$@net> References: <005801d223f8$ab94c140$02be43c0$@net> Message-ID: Are you saying that you did check the ?Background Audio? box? That would be the reason Apple are asking. Why was it you checked that box? > On Oct 11, 2016, at 12:50 PM, Ralph DiMola wrote: > > I just got an Apple rejection with this question. > > --------------------- > We began the review of your app but aren't able to continue because we need additional information about your app. > > - What features in your app use Background Audio? > ------------------------ > > I used to just delete the "exit on suspend" key using the plist hack. I thought that ticking the "Background Audio box" would do the same. Is there another key that is in the plist causing Apple to ask this question? > > Thanks for any help on this. > > Ralph DiMola From jacque at hyperactivesw.com Tue Oct 11 16:19:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Oct 2016 15:19:07 -0500 Subject: [ ANN ] Release 8.1.1 RC-2 In-Reply-To: References: Message-ID: <56ec4549-008e-2b2c-33dc-db054483c75d@hyperactivesw.com> On 10/11/16 1:49 PM, Mike Kerner wrote: > wow - the latest version weighs in at 997 mb. That's like 7000 floppies. > Good thing I still have my Jukebox 5. That's an improvement. LC 8.1 was 1.12 gigs on my Mac. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Oct 11 16:26:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Oct 2016 15:26:18 -0500 Subject: hide with visual effect In-Reply-To: References: Message-ID: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Do you know if "very fast" is no longer "as fast as the machine will go"? That used to be the case. On 10/11/16 2:16 PM, Scott Rossi wrote: > I believe you already found your answer/s, but in addition to other suggestions posted, keep in mind the effectRate property, which allows much finer timing control (as opposed to slow, fast, very fast, etc). I find that the default rate of 2000 is a bit slow by today?s standards, so cutting that down to 1000 or or sometimes 750, depending on the effect, can result in a much snappier feeling and responsive app. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > >> On Oct 11, 2016, at 11:19 AM, Devin Asay wrote: >> >> >>> On Oct 11, 2016, at 8:46 AM, Mike Kerner wrote: >>> >>> I am trying to give the user the illusion that a dialog is sliding into >>> view and out of view. The dialog is a rectangle graphic background, with >>> controls. Showing it is easy - show x with visual effect scroll up very >>> fast. When I want to hide it though, hide x with visual effect scroll down >>> very fast instead shows the underlying card moving, not the group that >>> represents the dialog. I could write a loop to physically move the dialog, > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Tue Oct 11 16:43:21 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 16:43:21 -0400 Subject: hide with visual effect In-Reply-To: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> References: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Message-ID: Wow, I learned something new. Yes, the effectRate affects "very fast", too On Tue, Oct 11, 2016 at 4:26 PM, J. Landman Gay wrote: > Do you know if "very fast" is no longer "as fast as the machine will go"? > That used to be the case. > > > On 10/11/16 2:16 PM, Scott Rossi wrote: > >> I believe you already found your answer/s, but in addition to other >> suggestions posted, keep in mind the effectRate property, which allows much >> finer timing control (as opposed to slow, fast, very fast, etc). I find >> that the default rate of 2000 is a bit slow by today?s standards, so >> cutting that down to 1000 or or sometimes 750, depending on the effect, can >> result in a much snappier feeling and responsive app. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> On Oct 11, 2016, at 11:19 AM, Devin Asay wrote: >>> >>> >>> On Oct 11, 2016, at 8:46 AM, Mike Kerner >>>> wrote: >>>> >>>> I am trying to give the user the illusion that a dialog is sliding into >>>> view and out of view. The dialog is a rectangle graphic background, >>>> with >>>> controls. Showing it is easy - show x with visual effect scroll up very >>>> fast. When I want to hide it though, hide x with visual effect scroll >>>> down >>>> very fast instead shows the underlying card moving, not the group that >>>> represents the dialog. I could write a loop to physically move the >>>> dialog, >>>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > -- 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 Tue Oct 11 16:49:46 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Oct 2016 16:49:46 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> Message-ID: <005f01d22401$00d015d0$02704170$@net> Yes, I checked it because you can't edit the plist files anymore. I wanted to delete the "exit on suspend" key. The startup of the app take some time(3-6 seconds). When the user returns to the app I want it instantly in the same state as when the user left. I know I could save the state but just loading the stack and the engine initializing takes too long. I've been using the plist hack for years now without any rejections. I wonder if ticking the background audio box does more than delete then "exit on suspend" key? Thanks 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 Colin Holgate Sent: Tuesday, October 11, 2016 4:01 PM To: How to use LiveCode Subject: Re: iOS Background Audio rejection. Are you saying that you did check the ?Background Audio? box? That would be the reason Apple are asking. Why was it you checked that box? > On Oct 11, 2016, at 12:50 PM, Ralph DiMola wrote: > > I just got an Apple rejection with this question. > > --------------------- > We began the review of your app but aren't able to continue because we need additional information about your app. > > - What features in your app use Background Audio? > ------------------------ > > I used to just delete the "exit on suspend" key using the plist hack. I thought that ticking the "Background Audio box" would do the same. Is there another key that is in the plist causing Apple to ask this question? > > Thanks for any help on this. > > Ralph DiMola _______________________________________________ use-livecode mailing list use-livecode at 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 11 16:50:03 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 16:50:03 -0400 Subject: hide with visual effect In-Reply-To: References: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Message-ID: Devin, I should have mentioned this, but I made my dialog translucent, so the scroll down effect won't look right since it causes the underlying card to slide into view, when what I'm trying to get is the effect of the overlay sliding out of the way. If I was "pushing" the card out of view with the dialog, yes. On Tue, Oct 11, 2016 at 4:43 PM, Mike Kerner wrote: > Wow, I learned something new. Yes, the effectRate affects "very fast", too > > On Tue, Oct 11, 2016 at 4:26 PM, J. Landman Gay > wrote: > >> Do you know if "very fast" is no longer "as fast as the machine will go"? >> That used to be the case. >> >> >> On 10/11/16 2:16 PM, Scott Rossi wrote: >> >>> I believe you already found your answer/s, but in addition to other >>> suggestions posted, keep in mind the effectRate property, which allows much >>> finer timing control (as opposed to slow, fast, very fast, etc). I find >>> that the default rate of 2000 is a bit slow by today?s standards, so >>> cutting that down to 1000 or or sometimes 750, depending on the effect, can >>> result in a much snappier feeling and responsive app. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> On Oct 11, 2016, at 11:19 AM, Devin Asay wrote: >>>> >>>> >>>> On Oct 11, 2016, at 8:46 AM, Mike Kerner >>>>> wrote: >>>>> >>>>> I am trying to give the user the illusion that a dialog is sliding into >>>>> view and out of view. The dialog is a rectangle graphic background, >>>>> with >>>>> controls. Showing it is easy - show x with visual effect scroll up >>>>> very >>>>> fast. When I want to hide it though, hide x with visual effect scroll >>>>> down >>>>> very fast instead shows the underlying card moving, not the group that >>>>> represents the dialog. I could write a loop to physically move the >>>>> dialog, >>>>> >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > > > -- > 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 devin_asay at byu.edu Tue Oct 11 16:52:11 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Oct 2016 20:52:11 +0000 Subject: hide with visual effect In-Reply-To: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> References: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Message-ID: > On Oct 11, 2016, at 2:26 PM, J. Landman Gay wrote: > > Do you know if "very fast" is no longer "as fast as the machine will go"? That used to be the case. It?s not that any more. It is all relative to the effectRate property. Here?s what the dictionary says: "By default, the effectRate property is set to 2000 (2 seconds)." "You can specify five speeds with the visual effect command: very fast, fast, normal, slow, or very slow. The effectRate property specifies how long a very slow visual effect takes." So all of the speed settings seem to be relative to the effectRate. I tried setting the effectRate to 10000. And indeed at ?very slow? speed it took 10 seconds. At ?very fast? speed it takes about 2.5 seconds. So it?s all relative. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Tue Oct 11 16:56:56 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Oct 2016 20:56:56 +0000 Subject: hide with visual effect In-Reply-To: References: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Message-ID: <362B7FCD-F175-4679-B0DA-94E458C16508@byu.edu> > On Oct 11, 2016, at 2:50 PM, Mike Kerner wrote: > > Devin, I should have mentioned this, but I made my dialog translucent, so > the scroll down effect won't look right since it causes the underlying card > to slide into view, when what I'm trying to get is the effect of the > overlay sliding out of the way. If I was "pushing" the card out of view > with the dialog, yes. Oh, yeah, I see the problem. I had a similar problem once, and like you say, the graphic effect wasn?t quite right because the underlying stuff showed through the thing I was ?sliding? onto and off of the card. What I ended up having to do was to take a snapshot image of the translucent group, then do the transition effect using the image. Even though the content of the image was some controls that were translucent, the resultant image snapshot image was opaque, so it worked the way I wanted. Hope I?m reading right what you?re trying to do. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From waprothero at gmail.com Tue Oct 11 16:57:50 2016 From: waprothero at gmail.com (William Prothero) Date: Tue, 11 Oct 2016 13:57:50 -0700 Subject: LiveCode interface to SCORM /LIT In-Reply-To: <1475855361658-4709222.post@n4.nabble.com> References: <165D8BD3-E3B2-44C2-953E-BA9717FB38D2@earthednet.org> <1474390158829-4708680.post@n4.nabble.com> <1474390334596-4708681.post@n4.nabble.com> <1474553942942-4708773.post@n4.nabble.com> <0A885DC9-205F-4280-9F09-239F25A3CCC4@earthednet.org> <1475855361658-4709222.post@n4.nabble.com> Message-ID: <5038BCC8-0F93-4169-90B0-F569BCFD4811@gmail.com> Martin: It would be great if you joined the team. There hasn?t been much/any action since the Google hangouts meetup. The direction seemed to be to begin with an LTI interface to Moodle, just to get things rolling. That was based on the idea that LTI serviced the 3 most widely used LMS?s: Moodle, Blackboard, and Canvas. After some experience with that, the team could branch out. Each LMS appears to have its own idiosyncrasies, so there would have to be allowance for the differences. The basic functionality would be: 1. user authentication and login, which would connect the app to the LMS 2. reporting of student actions 3. reporting of activity grade, if the app does the grading. The main organizer of the group was William Jamieson and his last email to the group seemed to indicate that his project is pretty different in scope from what was described above, so he had a much lower stake in the outcome. I asked him for more information about his project so we could find common ground, but haven?t heard anything yet. For educators, this could be a really exciting project and an entryway for an entirely new livecode audience. My personal contribution can?t be on the implementation of the protocols though. It would be a major effort and out of my field. However, the strategies and interfaces to the teacher/programmer and testing would be something I could contribute to. One caveat is that my experience is based on what I know about the use of LMS?s by higher education. I retired before LMS?s got so popular and only SCORM existed at the time. Also there are other platforms that serve learning materials oriented toward K-12. For example, I was fairly impressed with some of the capabilities of Google?s education platform. It has great resources for Chromebooks and I haven?t explored whether there is any possible interface for external apps. My son is an elementary teacher and the low cost of Chromebooks makes that platform very attractive for elementary school teaching. I include this only to make my relative ignorance of other realms of education clear. I know little about training for commercial and military customers. I do know that SCORM was developed for a fairly simple learning model and is a requirement for many of the military?s learning software purchases. Also, the education market is very different from when Hypercard was first introduced, so the enthusiastic adoption of Hypercard by college teachers who wanted to distribute learning materials to their students, may not be as easy to rebuild. From my perspective as a retired college prof who has done a lot of educational technology (but not interfaced to LMS), the higher ed market is a ripe one. Livecode, with its power and ease of creating educational materials, could find a receptive audience for content creators with a bit of technical courage. But, what is needed, IMHO, is a suite of development tools targeted at that audience. It could be a major entry point for teachers and content developers and if it was easy to use, provide a new audience of livecode users. It would have to have sample stacks that did the basic operations, like log in to an LMS, report some subset of student actions, and report a grade for an activity. LTI was developed to provide a richer suite of information about student learning, rather than simply sending a grade. Educators found SCORM to be too limiting. Here?s some of my perspective on online learning: When beginning as new technology implementers, they seem to start out following a textbook model, with presenting a bunch of content that students read, then they give a quiz. After they do this (since students aren?t all that impressed), they try to spiff up the reading part with better graphics, perhaps animations, and then they give a quiz. Then (again, learning and engagement doesn?t seem to improve) they try to spiff up the quiz by having the student click on various parts of a graphic, or do something more than answer a multiple choice question. I think these approaches can be a valuable element to help students get some basic knowledge and to test themselves on whether they have learned the material (I believe that learning needs to go much deeper). However, they don?t begin to use the rich capabilities of the technology. Livecode is in an excellent position to support simulations and more sophisticated learning products. Some of the most effective apps are simulations where students enter parameters, observe the results, and report their findings and conclusions. Writing is an important element of that. Here is a link to a publication of mine where I implemented scientific exploration, science paper writing, and peer review in a large oceanography class: http://es.earthednet.org/downloads/pubs/PROTHERO.pdf I feel that the writing process is essential. It is where students digest and organize their ideas. Peer review provides further learning by having students analyze and criticize others? work. It is very effective, but needs to be implemented carefully or it won?t work or can be gamed by students. The paper in the link above describes how this is done. Another great learning strategy is the use of games. Here?s a link to a great game demonstrating the ?Tragedy of the Commons? effect for fisheries: http://es.earthednet.org/fg-tutorials?q=node/14 Unfortunately, some copyright issues began to take a lot of my time, so I abandoned my support of the game. That?s a lot more than discussed at the meeting, but I hope you found it interesting. Best, Bill > On Oct 7, 2016, at 8:49 AM, Martin Koob wrote: > > Hi Bill > > Thanks for all the information about LTI etc. I am open to whatever it the > best option for compatibility. I had only read about Tin-Can xAPI. I am > developing an app for higher education and some potential customers said it > had to be based on SCORM to integrate with their LMS. When I looked at how > SCORM worked I realized it would not work at all with the type of > application I am developing. Further searches lead to me finding Tin-Can > and I realized that was the way for me to go. > > Bottom line is I want to be able to integrate with the LMS's used by > colleges and universities so If LTI is the best way to do that I will jump > on the bandwagon. > > I just noticed a post about a meeting on Oct 6th to discuss this: > > *LiveCode to Education Industry API- Community project* > > http://forums.livecode.com/viewtopic.php?f=107&t=28034&p=147152#p147152 > > I noticed it too late to attend but I want to learn more about what happened > there. > > Martin Koob > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-interface-to-SCORM-LIT-tp4708670p4709222.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Oct 11 16:57:33 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 11 Oct 2016 16:57:33 -0400 Subject: hide with visual effect Message-ID: Hi Mike, This old stack provides an useful visual reference for every visual effect: https://dl.dropboxusercontent.com/u/3834621/demoMC27_no_sounds.livecode Alejandro From iowahengst at mac.com Tue Oct 11 17:04:19 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 11 Oct 2016 16:04:19 -0500 Subject: iOS Background Audio rejection. In-Reply-To: <005f01d22401$00d015d0$02704170$@net> References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> Message-ID: I'm still using the same hack on LC8.1 that I used in 7.x. And, it seems to work fine with the updates I've sent to apple after iOS 10. I've not checked the background audio you mentioned. be well, randy www.classroomFocusedSoftware.com > On Oct 11, 2016, at 3:49 PM, Ralph DiMola wrote: > > Yes, I checked it because you can't edit the plist files anymore. I wanted to delete the "exit on suspend" key. The startup of the app take some time(3-6 seconds). When the user returns to the app I want it instantly in the same state as when the user left. I know I could save the state but just loading the stack and the engine initializing takes too long. I've been using the plist hack for years now without any rejections. I wonder if ticking the background audio box does more than delete then "exit on suspend" key? > > Thanks > > 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 Colin Holgate > Sent: Tuesday, October 11, 2016 4:01 PM > To: How to use LiveCode > Subject: Re: iOS Background Audio rejection. > > Are you saying that you did check the ?Background Audio? box? That would be the reason Apple are asking. Why was it you checked that box? > > >> On Oct 11, 2016, at 12:50 PM, Ralph DiMola wrote: >> >> I just got an Apple rejection with this question. >> >> --------------------- >> We began the review of your app but aren't able to continue because we need additional information about your app. >> >> - What features in your app use Background Audio? >> ------------------------ >> >> I used to just delete the "exit on suspend" key using the plist hack. I thought that ticking the "Background Audio box" would do the same. Is there another key that is in the plist causing Apple to ask this question? >> >> Thanks for any help on this. >> >> Ralph DiMola > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 11 17:19:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 11 Oct 2016 16:19:07 -0500 Subject: hide with visual effect In-Reply-To: References: <99db2f0c-78cc-ef4e-b6af-25a40dda8943@hyperactivesw.com> Message-ID: On 10/11/16 3:52 PM, Devin Asay wrote: > >> On Oct 11, 2016, at 2:26 PM, J. Landman Gay >> wrote: >> >> Do you know if "very fast" is no longer "as fast as the machine >> will go"? That used to be the case. > > It?s not that any more. It is all relative to the effectRate > property. Thanks, that's good to know. I've been operating on old assumptions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Oct 11 17:52:16 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Oct 2016 17:52:16 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> Message-ID: <006c01d22409$bbaba6a0$3302f3e0$@net> Randy, Thanks! I'll just make those folders read/write and make the edits. I did not realize that the "background audio" option sets UIBackgroundModes key to "audio". Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Randy Hengst Sent: Tuesday, October 11, 2016 5:04 PM To: How to use LiveCode Subject: Re: iOS Background Audio rejection. I'm still using the same hack on LC8.1 that I used in 7.x. And, it seems to work fine with the updates I've sent to apple after iOS 10. I've not checked the background audio you mentioned. be well, randy www.classroomFocusedSoftware.com > On Oct 11, 2016, at 3:49 PM, Ralph DiMola wrote: > > Yes, I checked it because you can't edit the plist files anymore. I wanted to delete the "exit on suspend" key. The startup of the app take some time(3-6 seconds). When the user returns to the app I want it instantly in the same state as when the user left. I know I could save the state but just loading the stack and the engine initializing takes too long. I've been using the plist hack for years now without any rejections. I wonder if ticking the background audio box does more than delete then "exit on suspend" key? > > Thanks > > 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 Colin Holgate > Sent: Tuesday, October 11, 2016 4:01 PM > To: How to use LiveCode > Subject: Re: iOS Background Audio rejection. > > Are you saying that you did check the ?Background Audio? box? That would be the reason Apple are asking. Why was it you checked that box? > > >> On Oct 11, 2016, at 12:50 PM, Ralph DiMola wrote: >> >> I just got an Apple rejection with this question. >> >> --------------------- >> We began the review of your app but aren't able to continue because we need additional information about your app. >> >> - What features in your app use Background Audio? >> ------------------------ >> >> I used to just delete the "exit on suspend" key using the plist hack. I thought that ticking the "Background Audio box" would do the same. Is there another key that is in the plist causing Apple to ask this question? >> >> Thanks for any help on this. >> >> Ralph DiMola > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Tue Oct 11 19:24:19 2016 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 12 Oct 2016 00:24:19 +0100 Subject: OT - a Reading Recommendation Message-ID: This is off-topic, but I stumbled across this paper that I only vaguely remembered from a while ago ... and thought about the recent discussion about whether/when raw sockets were needed, versus using RESTFUL http. It's interesting reading, more "in general" than for this specific context. Feel free to stop reading after the prologue - about the first half of the paper - when he starts to get specific :-) -- Alex. From ambassador at fourthworld.com Tue Oct 11 19:44:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 11 Oct 2016 16:44:57 -0700 Subject: OT - a Reading Recommendation In-Reply-To: References: Message-ID: Alex Tweedly wrote: > This is off-topic, but I stumbled across this paper that I only > vaguely remembered from a while ago ... and thought about the > recent discussion about whether/when raw sockets were needed, > versus using RESTFUL http. > > It's interesting reading, more "in general" than for this specific > context. Feel free to stop reading after the prologue - about the > first half of the paper - when he starts to get specific :-) Sounds very worth reading - URL? -- 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 alex at tweedly.net Tue Oct 11 19:46:45 2016 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 12 Oct 2016 00:46:45 +0100 Subject: OT - a Reading Recommendation In-Reply-To: References: Message-ID: Oops - https://tools.ietf.org/html/rfc3117 On the Design of Application Protocols Marshall Rose -- Alex On 12/10/2016 00:44, Richard Gaskin wrote: > Alex Tweedly wrote: > > > This is off-topic, but I stumbled across this paper that I only > > vaguely remembered from a while ago ... and thought about the > > recent discussion about whether/when raw sockets were needed, > > versus using RESTFUL http. > > > > It's interesting reading, more "in general" than for this specific > > context. Feel free to stop reading after the prologue - about the > > first half of the paper - when he starts to get specific :-) > > Sounds very worth reading - URL? > From MikeKerner at roadrunner.com Tue Oct 11 21:26:46 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 11 Oct 2016 21:26:46 -0400 Subject: modal on mobile Message-ID: now that we can use return for value and return for error, there are all sorts of other nifty things that we can do, but on mobile, if we don't have a way to generate a modal, then we're stuck with callbacks, so has anyone come up with a different way to generate/simulate a modal on mobile (aside from using a callback). -- 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 Tue Oct 11 21:48:39 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Oct 2016 01:48:39 +0000 Subject: migrating an app to iOS10 Message-ID: I?ve just opened an app I developed a couple of months ago on an iPhone running iOS10 for the first time and have noticed a couple of problems straight up. 1. The interface has shifted down the height of the status bar, moving my icon bar partially off the bottom of the screen 2. A key ask dialog no longer includes a text entry box. I?m currently downloading 8.1.1 rc-2 to see if that helps things but wonder if there are any other things I need to do as well ? like updating my OS from 10.10 to 10.11 and Xcode from 7.2 to 7.3 (I?d like to avoid both for now if possible). I don?t need to worry about getting the app through the Apple store as I?m using an enterprise developer license. Any advice very welcome. Terry... From terry.judd at unimelb.edu.au Tue Oct 11 21:56:41 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Oct 2016 01:56:41 +0000 Subject: migrating an app to iOS10 In-Reply-To: References: Message-ID: Looks like 8.1.1 on its own fixes at least those two issues, so so far so good. Terry... From: Terry Judd Date: Wednesday, 12 October 2016 12:48 pm To: How to use LiveCode Subject: migrating an app to iOS10 I?ve just opened an app I developed a couple of months ago on an iPhone running iOS10 for the first time and have noticed a couple of problems straight up. 1. The interface has shifted down the height of the status bar, moving my icon bar partially off the bottom of the screen 2. A key ask dialog no longer includes a text entry box. I?m currently downloading 8.1.1 rc-2 to see if that helps things but wonder if there are any other things I need to do as well ? like updating my OS from 10.10 to 10.11 and Xcode from 7.2 to 7.3 (I?d like to avoid both for now if possible). I don?t need to worry about getting the app through the Apple store as I?m using an enterprise developer license. Any advice very welcome. Terry... From terry.judd at unimelb.edu.au Tue Oct 11 22:27:11 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Oct 2016 02:27:11 +0000 Subject: beepsound on iOS Message-ID: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au> I?m trying to play a simple beep on iOS by setting the beepsound (to either ?system? or ?vibrate?) and calling beep, but I?m getting nothing. If I place the code in a try/catch statement then the returned error is ?535,4,1?. Any ideas on what might be going wrong here? Terry... From ahsoftware at sonic.net Tue Oct 11 22:47:18 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 11 Oct 2016 19:47:18 -0700 Subject: lcmail.livecode saved in a newer version??? In-Reply-To: References: Message-ID: <3c63d984-a7ab-ed40-dfff-919cee751748@sonic.net> On 10/11/2016 12:14 PM, Bob Sneidar wrote: > I cannot open lcmcil.livecode. It says it was produced in a newer version of livecide. What is newer than 8.1.1?? Heh. livecide -- Mark Wieder ahsoftware at gmail.com From terry.judd at unimelb.edu.au Tue Oct 11 23:24:28 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Oct 2016 03:24:28 +0000 Subject: beepsound on iOS In-Reply-To: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au> References: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au> Message-ID: <45D35D54-3F1E-4619-837A-C7D983E1015A@unimelb.edu.au> Not quite answering my own question but there might be an interaction with mergeAV involved (I?m trying to provide a bit of audio/tactile feedback after a QR code is recognised) as the beep seems to sort of work (vibrates but doesn?t beep) on a previous card before mergeAV is initialized. Terry... From: Terry Judd Date: Wednesday, 12 October 2016 1:27 pm To: How to use LiveCode Subject: beepsound on iOS I?m trying to play a simple beep on iOS by setting the beepsound (to either ?system? or ?vibrate?) and calling beep, but I?m getting nothing. If I place the code in a try/catch statement then the returned error is ?535,4,1?. Any ideas on what might be going wrong here? Terry... From DixonJA at hotmail.co.uk Wed Oct 12 03:00:42 2016 From: DixonJA at hotmail.co.uk (John Dixon) Date: Wed, 12 Oct 2016 07:00:42 +0000 Subject: beepsound on iOS In-Reply-To: <45D35D54-3F1E-4619-837A-C7D983E1015A@unimelb.edu.au> References: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au>, <45D35D54-3F1E-4619-837A-C7D983E1015A@unimelb.edu.au> Message-ID: Are you supplying a sound file for the beepsound to play ?... as in... set the beepSound to specialFolderPath("engine") & "/shortbeep.aiff" ________________________________ From: use-livecode on behalf of Terry Judd Sent: 12 October 2016 04:24 To: How to use LiveCode Subject: Re: beepsound on iOS Not quite answering my own question but there might be an interaction with mergeAV involved (I'm trying to provide a bit of audio/tactile feedback after a QR code is recognised) as the beep seems to sort of work (vibrates but doesn't beep) on a previous card before mergeAV is initialized. Terry... From: Terry Judd Date: Wednesday, 12 October 2016 1:27 pm To: How to use LiveCode Subject: beepsound on iOS I'm trying to play a simple beep on iOS by setting the beepsound (to either "system" or "vibrate") and calling beep, but I'm getting nothing. If I place the code in a try/catch statement then the returned error is '535,4,1'. Any ideas on what might be going wrong here? 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 Runtime Revolution - use-livecode Mailing List lists.runrev.com This mailing list is intended for discussion relating to using LiveCode. To see the collection of prior postings to the list, visit the use-livecode Archives From MikeKerner at roadrunner.com Wed Oct 12 06:22:19 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 12 Oct 2016 06:22:19 -0400 Subject: beepsound on iOS In-Reply-To: References: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au> <45D35D54-3F1E-4619-837A-C7D983E1015A@unimelb.edu.au> Message-ID: 1. You have to include your own beep sounds with your app. Use "Copy Files" in the standalone application settings 2. In your code, use "set the beepsound to" and the path to the file 3. mergAVAudioSessionSetCategory "playback","false","true"*#monte defaults the speaker to off when barcode is on* When you're done beeping, mergAVAudioSessionSetCategory "playback" *#revert to defaults* On Wed, Oct 12, 2016 at 3:00 AM, John Dixon wrote: > Are you supplying a sound file for the beepsound to play ?... as in... > > set the beepSound to specialFolderPath("engine") & "/shortbeep.aiff" > > > > ________________________________ > From: use-livecode on behalf of > Terry Judd > Sent: 12 October 2016 04:24 > To: How to use LiveCode > Subject: Re: beepsound on iOS > > Not quite answering my own question but there might be an interaction with > mergeAV involved (I'm trying to provide a bit of audio/tactile feedback > after a QR code is recognised) as the beep seems to sort of work (vibrates > but doesn't beep) on a previous card before mergeAV is initialized. > > Terry... > > From: Terry Judd > Date: Wednesday, 12 October 2016 1:27 pm > To: How to use LiveCode > Subject: beepsound on iOS > > I'm trying to play a simple beep on iOS by setting the beepsound (to > either "system" or "vibrate") and calling beep, but I'm getting nothing. If > I place the code in a try/catch statement then the returned error is > '535,4,1'. Any ideas on what might be going wrong here? > > 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 > Runtime Revolution - use-livecode Mailing List mailman/listinfo/use-livecode> > lists.runrev.com > This mailing list is intended for discussion relating to using LiveCode. > To see the collection of prior postings to the list, visit the use-livecode > Archives > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Oct 12 06:29:23 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 12 Oct 2016 10:29:23 +0000 Subject: beepsound on iOS In-Reply-To: References: <921C3866-13D0-46D0-AB8C-A3CCDC950BB1@unimelb.edu.au> <45D35D54-3F1E-4619-837A-C7D983E1015A@unimelb.edu.au> Message-ID: <0E6830A1-1018-4E0A-B69F-0CDC36B130F6@unimelb.edu.au> Thanks Mike, I?ll give all that a go. Terry... On 12/10/2016 9:22 pm, "use-livecode on behalf of Mike Kerner" wrote: 1. You have to include your own beep sounds with your app. Use "Copy Files" in the standalone application settings 2. In your code, use "set the beepsound to" and the path to the file 3. mergAVAudioSessionSetCategory "playback","false","true"*#monte defaults the speaker to off when barcode is on* When you're done beeping, mergAVAudioSessionSetCategory "playback" *#revert to defaults* On Wed, Oct 12, 2016 at 3:00 AM, John Dixon wrote: > Are you supplying a sound file for the beepsound to play ?... as in... > > set the beepSound to specialFolderPath("engine") & "/shortbeep.aiff" > > > > ________________________________ > From: use-livecode on behalf of > Terry Judd > Sent: 12 October 2016 04:24 > To: How to use LiveCode > Subject: Re: beepsound on iOS > > Not quite answering my own question but there might be an interaction with > mergeAV involved (I'm trying to provide a bit of audio/tactile feedback > after a QR code is recognised) as the beep seems to sort of work (vibrates > but doesn't beep) on a previous card before mergeAV is initialized. > > Terry... > > From: Terry Judd > Date: Wednesday, 12 October 2016 1:27 pm > To: How to use LiveCode > Subject: beepsound on iOS > > I'm trying to play a simple beep on iOS by setting the beepsound (to > either "system" or "vibrate") and calling beep, but I'm getting nothing. If > I place the code in a try/catch statement then the returned error is > '535,4,1'. Any ideas on what might be going wrong here? > > 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 > Runtime Revolution - use-livecode Mailing List mailman/listinfo/use-livecode> > lists.runrev.com > This mailing list is intended for discussion relating to using LiveCode. > To see the collection of prior postings to the list, visit the use-livecode > Archives > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tfabacher at gmail.com Wed Oct 12 08:00:41 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Wed, 12 Oct 2016 08:00:41 -0400 Subject: Subject: Re: LiveCode interface to SCORM /LTI Message-ID: Hello Martin and Bill and other educators, Actually we have been diligent little elves working away since the hangout meeting. Based on research, we have decided to focus on 2 interchange formats: LTI and xAPI [from TinCan and SCORM]. We would like in the near future to have another online meetup where we can share our findings and hopefully create a path where everyone can work together to get to our destination quicker. There was a desire to see this move forward at the meeting, but most had limited resources to commit. So, Digital Pomegranate will supply the resources, time and money to script a LiveCode Import/Export interface to LTI and xAPI based Apps. Richard suggested the MIT Open Source license model as the best option for the community and we all fully agreed. We are currently learning all we can about the formats, the best way to organize them in LiveCode and how to translate the API calls to an easy LiveCode syntax. Since we are not experts and in actuality know little of these APIs, we need 2-3 weeks to begin to create the middleware. Any help or suggestions would be appreciated. Also, if ANYONE has a system which we can run query test on that would help us out greatly. --Todd, William and the Digital Pomegranate Team From MikeKerner at roadrunner.com Wed Oct 12 08:21:18 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 12 Oct 2016 08:21:18 -0400 Subject: iOS Background Audio rejection. In-Reply-To: <006c01d22409$bbaba6a0$3302f3e0$@net> References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> Message-ID: Why can't you edit the plist file? I'm pretty sure I have done it in 8 and I think 8.1, too. On Tue, Oct 11, 2016 at 5:52 PM, Ralph DiMola wrote: > Randy, > Thanks! > > I'll just make those folders read/write and make the edits. I did not > realize that the "background audio" option sets UIBackgroundModes key to > "audio". > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Randy Hengst > Sent: Tuesday, October 11, 2016 5:04 PM > To: How to use LiveCode > Subject: Re: iOS Background Audio rejection. > > I'm still using the same hack on LC8.1 that I used in 7.x. And, it seems > to work fine with the updates I've sent to apple after iOS 10. I've not > checked the background audio you mentioned. > > be well, > randy > www.classroomFocusedSoftware.com > > > On Oct 11, 2016, at 3:49 PM, Ralph DiMola > wrote: > > > > Yes, I checked it because you can't edit the plist files anymore. I > wanted to delete the "exit on suspend" key. The startup of the app take > some time(3-6 seconds). When the user returns to the app I want it > instantly in the same state as when the user left. I know I could save the > state but just loading the stack and the engine initializing takes too > long. I've been using the plist hack for years now without any rejections. > I wonder if ticking the background audio box does more than delete then > "exit on suspend" key? > > > > Thanks > > > > 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 Colin Holgate > > Sent: Tuesday, October 11, 2016 4:01 PM > > To: How to use LiveCode > > Subject: Re: iOS Background Audio rejection. > > > > Are you saying that you did check the ?Background Audio? box? That would > be the reason Apple are asking. Why was it you checked that box? > > > > > >> On Oct 11, 2016, at 12:50 PM, Ralph DiMola > wrote: > >> > >> I just got an Apple rejection with this question. > >> > >> --------------------- > >> We began the review of your app but aren't able to continue because we > need additional information about your app. > >> > >> - What features in your app use Background Audio? > >> ------------------------ > >> > >> I used to just delete the "exit on suspend" key using the plist hack. I > thought that ticking the "Background Audio box" would do the same. Is there > another key that is in the plist causing Apple to ask this question? > >> > >> Thanks for any help on this. > >> > >> Ralph DiMola > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Oct 12 10:11:23 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 12 Oct 2016 10:11:23 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> Message-ID: <003801d22492$83bb6fd0$8b324f70$@net> The iOS device folders are now read-only. I set them to read/write and edited the plist files. The background audio setting seemed the easier path but set another key also that raised Apples eyebrows and got me rejected. 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: Wednesday, October 12, 2016 8:21 AM To: How to use LiveCode Subject: Re: iOS Background Audio rejection. Why can't you edit the plist file? I'm pretty sure I have done it in 8 and I think 8.1, too. On Tue, Oct 11, 2016 at 5:52 PM, Ralph DiMola wrote: > Randy, > Thanks! > > I'll just make those folders read/write and make the edits. I did not > realize that the "background audio" option sets UIBackgroundModes key > to "audio". > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Randy Hengst > Sent: Tuesday, October 11, 2016 5:04 PM > To: How to use LiveCode > Subject: Re: iOS Background Audio rejection. > > I'm still using the same hack on LC8.1 that I used in 7.x. And, it > seems to work fine with the updates I've sent to apple after iOS 10. > I've not checked the background audio you mentioned. > > be well, > randy > www.classroomFocusedSoftware.com > > > On Oct 11, 2016, at 3:49 PM, Ralph DiMola > > > wrote: > > > > Yes, I checked it because you can't edit the plist files anymore. I > wanted to delete the "exit on suspend" key. The startup of the app > take some time(3-6 seconds). When the user returns to the app I want > it instantly in the same state as when the user left. I know I could > save the state but just loading the stack and the engine initializing > takes too long. I've been using the plist hack for years now without any rejections. > I wonder if ticking the background audio box does more than delete > then "exit on suspend" key? > > > > Thanks > > > > 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 Colin Holgate > > Sent: Tuesday, October 11, 2016 4:01 PM > > To: How to use LiveCode > > Subject: Re: iOS Background Audio rejection. > > > > Are you saying that you did check the ?Background Audio? box? That > > would > be the reason Apple are asking. Why was it you checked that box? > > > > > >> On Oct 11, 2016, at 12:50 PM, Ralph DiMola > >> > wrote: > >> > >> I just got an Apple rejection with this question. > >> > >> --------------------- > >> We began the review of your app but aren't able to continue because > >> we > need additional information about your app. > >> > >> - What features in your app use Background Audio? > >> ------------------------ > >> > >> I used to just delete the "exit on suspend" key using the plist > >> hack. I > thought that ticking the "Background Audio box" would do the same. Is > there another key that is in the plist causing Apple to ask this question? > >> > >> Thanks for any help on this. > >> > >> Ralph DiMola > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 prothero at earthednet.org Wed Oct 12 10:12:27 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 12 Oct 2016 07:12:27 -0700 Subject: Subject: Re: LiveCode interface to SCORM /LTI In-Reply-To: References: Message-ID: <4DA89656-9DF8-4464-A582-C69E0E7055DF@earthednet.org> Good, that is awesome! I'm excited! Bill William Prothero http://es.earthednet.org > On Oct 12, 2016, at 5:00 AM, Todd Fabacher wrote: > > Hello Martin and Bill and other educators, > > Actually we have been diligent little elves working away since the hangout > meeting. Based on research, we have decided to focus on 2 interchange > formats: LTI and xAPI [from TinCan and SCORM]. > > We would like in the near future to have another online meetup where we can > share our findings and hopefully create a path where everyone can work > together to get to our destination quicker. There was a desire to see this > move forward at the meeting, but most had limited resources to commit. > > So, Digital Pomegranate will supply the resources, time and money to script > a LiveCode Import/Export interface to LTI and xAPI based Apps. Richard > suggested the MIT Open Source license model as the best option for the > community and we all fully agreed. We are currently learning all we can > about the formats, the best way to organize them in LiveCode and how to > translate the API calls to an easy LiveCode syntax. Since we are not > experts and in actuality know little of these APIs, we need 2-3 weeks to > begin to create the middleware. > > Any help or suggestions would be appreciated. Also, if ANYONE has a system > which we can run query test on that would help us out greatly. > > > --Todd, William and the Digital Pomegranate 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 prothero at earthednet.org Wed Oct 12 10:17:41 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 12 Oct 2016 07:17:41 -0700 Subject: Subject: Re: LiveCode interface to SCORM /LTI In-Reply-To: <4DA89656-9DF8-4464-A582-C69E0E7055DF@earthednet.org> References: <4DA89656-9DF8-4464-A582-C69E0E7055DF@earthednet.org> Message-ID: <8D2C79CC-3B1D-4734-978A-CA96F2BDC13F@earthednet.org> One thing that occasionally trips me up is my iPad's auto correct. I had meant to specifically acknowledge my appreciation to Todd Fabacher and Digital Pomegranate for taking on this project. My iPad changed the first word to "good". Gotta be careful to read what I type. Anyway, thanks, Todd. Wonderful contribution. Bill William Prothero http://es.earthednet.org > On Oct 12, 2016, at 7:12 AM, Earthednet-wp wrote: > > Good, that is awesome! I'm excited! > Bill > > William Prothero > http://es.earthednet.org > >> On Oct 12, 2016, at 5:00 AM, Todd Fabacher wrote: >> >> Hello Martin and Bill and other educators, >> >> Actually we have been diligent little elves working away since the hangout >> meeting. Based on research, we have decided to focus on 2 interchange >> formats: LTI and xAPI [from TinCan and SCORM]. >> >> We would like in the near future to have another online meetup where we can >> share our findings and hopefully create a path where everyone can work >> together to get to our destination quicker. There was a desire to see this >> move forward at the meeting, but most had limited resources to commit. >> >> So, Digital Pomegranate will supply the resources, time and money to script >> a LiveCode Import/Export interface to LTI and xAPI based Apps. Richard >> suggested the MIT Open Source license model as the best option for the >> community and we all fully agreed. We are currently learning all we can >> about the formats, the best way to organize them in LiveCode and how to >> translate the API calls to an easy LiveCode syntax. Since we are not >> experts and in actuality know little of these APIs, we need 2-3 weeks to >> begin to create the middleware. >> >> Any help or suggestions would be appreciated. Also, if ANYONE has a system >> which we can run query test on that would help us out greatly. >> >> >> --Todd, William and the Digital Pomegranate Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Oct 12 11:52:18 2016 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Oct 2016 18:52:18 +0300 Subject: Keep taking the tablets Message-ID: I have a Nextbook Android tablet (Jelly Bean) that was dropped on me by my wife when I bought her a MacBook Air; and, frankly, tablets make me think of plastic bath-toys. So, I was wondering about rejigging it with Ubuntu-phone . . . 1. Does anyone know if the Raspberry Pi version of Livecode will work on Ubuntu-phone? 2. As Ubuntu-phone is a Linux variant designed to run on an ARM processor, as Android is, also a Linux variant for an ARM processor, does anyone know if standalones built for: 2.1. Android, will run on Ubuntu-phone? 2.2. Linux . . .? [presumably the answer to this is 'No' as, currently, Livecode offers Linux standalones for Intel processors only. Richmond. From yann.le-bihan at wanadoo.fr Wed Oct 12 12:32:05 2016 From: yann.le-bihan at wanadoo.fr (Yann Le Bihan) Date: Wed, 12 Oct 2016 18:32:05 +0200 Subject: iOS browser widget : prevent scroll bouncing ? Message-ID: <1BD04FDA-93DD-4F72-BC4B-D2841FE97E50@wanadoo.fr> Hi all, For the needs of my current project, the browser widget is used a lot for the UI and should not have the default scroll bouncing behaviour, which doesn't make it feel "app-like" enough. I tried some classical javascript/css approaches that work well on web pages (preventing default on the touchmove event, setting the body's position to "fixed") but with no success, neither did I find an answer in the various LiveCode sources I searched. All I know for the moment is that the iOS API allows to disable this feature, since a Unity mobile webview plugin I own does it by default. Would anybody know if there is a solution to have this control stay in place whatever the scrolling gestures, and handle those events only for interacting with the content ? Thanks very much in advance, Yann Le Bihan From roger.e.eller at sealedair.com Wed Oct 12 12:53:43 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 12 Oct 2016 12:53:43 -0400 Subject: Keep taking the tablets In-Reply-To: References: Message-ID: On Wed, Oct 12, 2016 at 11:52 AM, Richmond wrote: > I have a Nextbook Android tablet (Jelly Bean) that was dropped on me by my > wife > when I bought her a MacBook Air; and, frankly, tablets make me think of > plastic bath-toys. > > So, I was wondering about rejigging it with Ubuntu-phone . . . > > 1. Does anyone know if the Raspberry Pi version of Livecode will work on > Ubuntu-phone? > > 2. As Ubuntu-phone is a Linux variant designed to run on an ARM processor, > as Android is, > also a Linux variant for an ARM processor, does anyone know if standalones > built for: > > 2.1. Android, will run on Ubuntu-phone? > > 2.2. Linux . . .? [presumably the answer to this is 'No' as, currently, > Livecode offers Linux standalones for > Intel processors only. > > Richmond. > > I would guess no. But that doesn't mean you can't have some LiveCode fun with it. Create an Android standalone that has a large text field and an "Execute" button that contains - do field "fieldName". Your field is now a basic script editor. If your build included all of the lc libraries, there should be very little that you can't do. Oh, you might also want a Load and Save script button. ~Roger From MikeKerner at roadrunner.com Wed Oct 12 14:44:27 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 12 Oct 2016 14:44:27 -0400 Subject: Keep taking the tablets In-Reply-To: References: Message-ID: I've done this when I'm trying to debug something, but ya know, one thing I haven't tried to do, yet, is attach the script editor to a mobile app and then hack the app more directly while I'm inside of it. On Wed, Oct 12, 2016 at 12:53 PM, Roger Eller wrote: > On Wed, Oct 12, 2016 at 11:52 AM, Richmond > wrote: > > > I have a Nextbook Android tablet (Jelly Bean) that was dropped on me by > my > > wife > > when I bought her a MacBook Air; and, frankly, tablets make me think of > > plastic bath-toys. > > > > So, I was wondering about rejigging it with Ubuntu-phone . . . > > > > 1. Does anyone know if the Raspberry Pi version of Livecode will work on > > Ubuntu-phone? > > > > 2. As Ubuntu-phone is a Linux variant designed to run on an ARM > processor, > > as Android is, > > also a Linux variant for an ARM processor, does anyone know if > standalones > > built for: > > > > 2.1. Android, will run on Ubuntu-phone? > > > > 2.2. Linux . . .? [presumably the answer to this is 'No' as, currently, > > Livecode offers Linux standalones for > > Intel processors only. > > > > Richmond. > > > > > I would guess no. But that doesn't mean you can't have some LiveCode fun > with it. Create an Android standalone that has a large text field and an > "Execute" button that contains - do field "fieldName". Your field is now a > basic script editor. If your build included all of the lc libraries, there > should be very little that you can't do. Oh, you might also want a Load > and Save script button. > > ~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 dochawk at gmail.com Wed Oct 12 17:23:40 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 12 Oct 2016 14:23:40 -0700 Subject: more postgres madness Message-ID: It took a bit to track this down,, but the command SELECT unqKy, ktyp, kywd, usr, tstmp, scr, cmd FROM dhdbt_testy_xlvi_______001 WHERE ((tstmp > '2010-01-01 00:00:00.000000-00') OR (tstmp IS NULL)); is yielding revdberr, That's it; just "revdberr," This is regardless of whether or not the command gets wrapped with BEGIN/END This is the normal output for revDataFromQuery() when feeding it an UPDATE or some such that is not a query, but it should not be happening like this. This, naturally, is in a block of code that has been working fine for year I'm using 7.1.4, and posters 9.5. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From phil at liverpool.ac.uk Thu Oct 13 03:45:43 2016 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Thu, 13 Oct 2016 08:45:43 +0100 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> Message-ID: <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> When I tried to edit it, it broke LiveCode - Gatekeeper complained it was no longer valid - I think because it?s now all signed and changing the plist file makes the signing invalid. LiveCode - Can we please have an option in the standalone builder to set the ExitsOnSuspend item in the plist please? You can pop up a warning dialog box in 72pt red text if you like, warning that it can cause problems, but please allow us to do this easily, rather than choose background audio, or manually hack the appropriate plist files. > On 12 Oct 2016, at 13:21, Mike Kerner wrote: > > Why can't you edit the plist file? I'm pretty sure I have done it in 8 and > I think 8.1, too. > > On Tue, Oct 11, 2016 at 5:52 PM, Ralph DiMola > wrote: > >> Randy, >> Thanks! >> >> I'll just make those folders read/write and make the edits. I did not >> realize that the "background audio" option sets UIBackgroundModes key to >> "audio". >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> Phone: 518-636-3998 Ex:11 >> Cell: 518-796-9332 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Randy Hengst >> Sent: Tuesday, October 11, 2016 5:04 PM >> To: How to use LiveCode >> Subject: Re: iOS Background Audio rejection. >> >> I'm still using the same hack on LC8.1 that I used in 7.x. And, it seems >> to work fine with the updates I've sent to apple after iOS 10. I've not >> checked the background audio you mentioned. >> >> be well, >> randy >> www.classroomFocusedSoftware.com >> >>> On Oct 11, 2016, at 3:49 PM, Ralph DiMola >> wrote: >>> >>> Yes, I checked it because you can't edit the plist files anymore. I >> wanted to delete the "exit on suspend" key. The startup of the app take >> some time(3-6 seconds). When the user returns to the app I want it >> instantly in the same state as when the user left. I know I could save the >> state but just loading the stack and the engine initializing takes too >> long. I've been using the plist hack for years now without any rejections. >> I wonder if ticking the background audio box does more than delete then >> "exit on suspend" key? >>> >>> Thanks >>> >>> 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 Colin Holgate >>> Sent: Tuesday, October 11, 2016 4:01 PM >>> To: How to use LiveCode >>> Subject: Re: iOS Background Audio rejection. >>> >>> Are you saying that you did check the ?Background Audio? box? That would >> be the reason Apple are asking. Why was it you checked that box? >>> >>> >>>> On Oct 11, 2016, at 12:50 PM, Ralph DiMola >> wrote: >>>> >>>> I just got an Apple rejection with this question. >>>> >>>> --------------------- >>>> We began the review of your app but aren't able to continue because we >> need additional information about your app. >>>> >>>> - What features in your app use Background Audio? >>>> ------------------------ >>>> >>>> I used to just delete the "exit on suspend" key using the plist hack. I >> thought that ticking the "Background Audio box" would do the same. Is there >> another key that is in the plist causing Apple to ask this question? >>>> >>>> Thanks for any help on this. >>>> >>>> Ralph DiMola >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From th.douez at gmail.com Thu Oct 13 04:26:15 2016 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 13 Oct 2016 10:26:15 +0200 Subject: iOS Background Audio rejection. In-Reply-To: <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> Message-ID: Hi Phil, Did you try this recipie: Copy the template plist from LC. Edit it the way you like. . Name it Info.plist and add it to "copy files" tab in Standalone settings. ?Not sure if this still works.... HTH, Thierry? -- Thierry Douez - http ?s? ://sunny-tdz.com From MikeKerner at roadrunner.com Thu Oct 13 08:56:03 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Oct 2016 08:56:03 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> Message-ID: Don't try to edit LC while it's in the applications folder. Put it on your desktop, then change the permissions on the settings.plist files, then edit them, save them, change the permissions back, and put LC back in Applications. On Thu, Oct 13, 2016 at 4:26 AM, Thierry Douez wrote: > Hi Phil, > > Did you try this recipie: > > Copy the template plist from LC. > > Edit it the way you like. > . > Name it Info.plist and add it to "copy files" tab in Standalone settings. > > > ?Not sure if this still works.... > > HTH, > > Thierry? > > > -- > Thierry Douez - http > ?s? > ://sunny-tdz.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 MikeKerner at roadrunner.com Thu Oct 13 08:57:19 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 13 Oct 2016 08:57:19 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> Message-ID: And Ralph, there's at least n bug reports/feature requests to do just that. On Thu, Oct 13, 2016 at 8:56 AM, Mike Kerner wrote: > Don't try to edit LC while it's in the applications folder. Put it on > your desktop, then change the permissions on the settings.plist files, then > edit them, save them, change the permissions back, and put LC back in > Applications. > > On Thu, Oct 13, 2016 at 4:26 AM, Thierry Douez wrote: > >> Hi Phil, >> >> Did you try this recipie: >> >> Copy the template plist from LC. >> >> Edit it the way you like. >> . >> Name it Info.plist and add it to "copy files" tab in Standalone settings. >> >> >> ?Not sure if this still works.... >> >> HTH, >> >> Thierry? >> >> >> -- >> Thierry Douez - http >> ?s? >> ://sunny-tdz.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." > -- 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 Thu Oct 13 09:43:48 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 13 Oct 2016 09:43:48 -0400 Subject: iOS Background Audio rejection. In-Reply-To: References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> Message-ID: <001c01d22557$d3b9b030$7b2d1090$@net> I set the folder permissions did the plist edits and OSX 10.11.6 did not complain when opening LC 8.1.1. If the copy files pane method works then my question is: are all the plist files for both devices and simulators identical? +1 for the standalone settings option. 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 13, 2016 8:57 AM To: How to use LiveCode Subject: Re: iOS Background Audio rejection. And Ralph, there's at least n bug reports/feature requests to do just that. On Thu, Oct 13, 2016 at 8:56 AM, Mike Kerner wrote: > Don't try to edit LC while it's in the applications folder. Put it on > your desktop, then change the permissions on the settings.plist files, > then edit them, save them, change the permissions back, and put LC > back in Applications. > > On Thu, Oct 13, 2016 at 4:26 AM, Thierry Douez wrote: > >> Hi Phil, >> >> Did you try this recipie: >> >> Copy the template plist from LC. >> >> Edit it the way you like. >> . >> Name it Info.plist and add it to "copy files" tab in Standalone settings. >> >> >> ?Not sure if this still works.... >> >> HTH, >> >> Thierry >> >> >> -- >> Thierry Douez - http >> ?s >> ://sunny-tdz.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." > -- 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 th.douez at gmail.com Thu Oct 13 10:05:09 2016 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 13 Oct 2016 16:05:09 +0200 Subject: iOS Background Audio rejection. In-Reply-To: <001c01d22557$d3b9b030$7b2d1090$@net> References: <005801d223f8$ab94c140$02be43c0$@net> <005f01d22401$00d015d0$02704170$@net> <006c01d22409$bbaba6a0$3302f3e0$@net> <96F27FAD-7CBC-4CF3-AE48-0C79AAD163E1@liverpool.ac.uk> <001c01d22557$d3b9b030$7b2d1090$@net> Message-ID: Mmm, just did a test: COPY: ./Applications/LiveCode Indy 8.1.1(rc1).app/Contents/Runtime/iOS/Device-10.0/Settings.plist INTO: ~/Desktop/Info.plist in BBEdit, edit ./Desktop/Info.plist and add Thierry Douez Here are the latest lines of this file: UIFileSharingEnabled ${FILE_SHARING} UIPrerenderedIcon ${PRE_RENDERED_ICON} UIAppFonts ${CUSTOM_FONTS} Thierry Douez SAVE IT. Then, in LC 8.1.1: Open Standalone Applications Settings for Test4iOS Go to Copy Files Tab: Add : ~/Desktop/Info.plist Save and build the iOS Test4iOS .app Then, go where the app was built, and open "Test4iOS .app" Open the Info.plist file, and here are the latest lines: UIFileSharingEnabled UIPrerenderedIcon UIAppFonts Thierry Douez CQFD ! So, this recipe works ! Thierry -----Original Message----- > > On Thu, Oct 13, 2016 at 4:26 AM, Thierry Douez > wrote: > > > >> Hi Phil, > >> > >> Did you try this recipe: > >> > >> Copy the template plist from LC. > >> > >> Edit it the way you like. > >> . > >> Name it Info.plist and add it to "copy files" tab in Standalone > settings. > >> > >> ?Not sure if this still works.... > >> > >> HTH, > >> > >> Thierry > From livfoss at mac.com Thu Oct 13 10:22:32 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 16:22:32 +0200 Subject: Is 'Error Lookup' broken? Message-ID: I love the ?LiveCode Error Lookup? plugin (by Richard Gaskin, revised by Jacque Gay), but in 8.1.1 (rc2) it doesn?t seem to work - am I doing something stupid? Graham From livfoss at mac.com Thu Oct 13 10:30:57 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 16:30:57 +0200 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: I should have asked as a supplementary how one might find the textual version of numerical error codes oneself, for example, I have an error 347,0,0 and later 76,549,1 253,549,1 These are all to do with trying to delete a stack which has already been closed, like the IDE does with ?close and remove from memory? - but I have no idea what?s going wrong and am stuck. Graham > On 13 Oct 2016, at 16:22, I wrote: > > I love the ?LiveCode Error Lookup? plugin (by Richard Gaskin, revised by Jacque Gay), but in 8.1.1 (rc2) it doesn?t seem to work - am I doing something stupid? > > 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 ahsoftware at sonic.net Thu Oct 13 11:07:35 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 13 Oct 2016 08:07:35 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: On 10/13/2016 07:30 AM, Graham Samuel wrote: > I should have asked as a supplementary how one might find the textual version of numerical error codes oneself, for example, I have an error > > 347,0,0 put line 347 of the executionerrors -- Mark Wieder ahsoftware at gmail.com From livfoss at mac.com Thu Oct 13 11:09:00 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 17:09:00 +0200 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> Thanks very much Mark. G > On 13 Oct 2016, at 17:07, Mark Wieder wrote: > > put line 347 of the executionerrors From livfoss at mac.com Thu Oct 13 11:17:49 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 17:17:49 +0200 Subject: Is 'Error Lookup' broken? In-Reply-To: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> References: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> Message-ID: <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> Spoke too soon - doesn?t work for me on 8.1.1 rc2. Also put the number of lines of the executionerrors just gives ?bad factor?. Confused? ] > On 13 Oct 2016, at 17:09, I wrote: > > Thanks very much Mark. G > >> On 13 Oct 2016, at 17:07, Mark Wieder wrote: >> >> put line 347 of the executionerrors > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Oct 13 11:22:56 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 13 Oct 2016 08:22:56 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> References: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> Message-ID: On Thu, Oct 13, 2016 at 8:17 AM, Graham Samuel wrote: > put the number of lines of the executionerrors double-take : this looks like executioners when glanced at quickly. Yikes. First 'Delete Stack', now this! ... gotta turn the news off... Stephen Barncard - Sebastopol Ca. USA - mixstream.org From ambassador at fourthworld.com Thu Oct 13 11:33:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Oct 2016 08:33:54 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Graham Samuel wrote: > I love the ?LiveCode Error Lookup? plugin (by Richard Gaskin, revised > by Jacque Gay), but in 8.1.1 (rc2) it doesn?t seem to work - am I > doing something stupid? My hunch is that the location of the error strings has changed between versions. I'll have to let Jacque do the update as I don't know where the latest master copy lives (I guess at some point we should move that to Github). > On 13 Oct 2016, at 17:07, Mark Wieder wrote: > > put line 347 of the executionerrors Running: put the executionErrors ...in the Message Box throws an "error in source expression", and there is no Dictionary entry for "executionErrors". I believe I'd read somewhere that these are now stored in the engine - is that the case? If so, why doesn't querying the executionErrors 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 ali.lloyd at livecode.com Thu Oct 13 11:38:06 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 13 Oct 2016 15:38:06 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: References: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> Message-ID: It's 'scriptExecutionErrors' On Thu, Oct 13, 2016 at 4:22 PM stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Thu, Oct 13, 2016 at 8:17 AM, Graham Samuel wrote: > > > put the number of lines of the executionerrors > > > double-take : this looks like executioners when glanced at quickly. > > Yikes. > First 'Delete Stack', now this! > > > ... gotta turn the news off... > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.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 livfoss at mac.com Thu Oct 13 11:50:01 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 17:50:01 +0200 Subject: Is 'Error Lookup' broken? In-Reply-To: References: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> Message-ID: Phew - that at least is a simple fix! Thanks - G > On 13 Oct 2016, at 17:38, Ali Lloyd wrote: > > It's 'scriptExecutionErrors' > > On Thu, Oct 13, 2016 at 4:22 PM stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> On Thu, Oct 13, 2016 at 8:17 AM, Graham Samuel wrote: >> >>> put the number of lines of the executionerrors >> >> >> double-take : this looks like executioners when glanced at quickly. >> >> Yikes. >> First 'Delete Stack', now this! >> >> >> ... gotta turn the news off... >> >> Stephen Barncard - Sebastopol Ca. USA - >> mixstream.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 ambassador at fourthworld.com Thu Oct 13 12:01:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Oct 2016 09:01:54 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: I was mistaken: it seems Jacque has already updated the tool to use the scriptExecutionErrors function (apparently undocumented) if the older error string list stored in stack "revErrorDisplay" is empty. This should allow it to work in all versions from at least 5.5 and later. Perhaps you have an older version of that stack? I just added the most recent version of the LiveCode Error Lookup stack to the Stacks section of LiveNet - in the IDE see Development -> Plugins -> GoLiveNet The version available there has been tested in v8.1.1 and 6.0 so it should also work with everything in between. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Oct 13 12:33:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Oct 2016 11:33:24 -0500 Subject: Is 'Error Lookup' broken? In-Reply-To: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: <157bee42020.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I uploaded a revision to User Samples some time ago when the problem first arose. It branches lookups based on the LC version. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 13, 2016 10:35:19 AM Richard Gaskin wrote: > Graham Samuel wrote: > > > I love the ?LiveCode Error Lookup? plugin (by Richard Gaskin, revised > > by Jacque Gay), but in 8.1.1 (rc2) it doesn?t seem to work - am I > > doing something stupid? > > My hunch is that the location of the error strings has changed between > versions. I'll have to let Jacque do the update as I don't know where > the latest master copy lives (I guess at some point we should move that > to Github). > > > > On 13 Oct 2016, at 17:07, Mark Wieder wrote: > > > > put line 347 of the executionerrors > > Running: > > put the executionErrors > > ...in the Message Box throws an "error in source expression", and there > is no Dictionary entry for "executionErrors". > > I believe I'd read somewhere that these are now stored in the engine - > is that the case? If so, why doesn't querying the executionErrors 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Thu Oct 13 12:29:58 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 13 Oct 2016 09:29:58 -0700 (PDT) Subject: Is 'Error Lookup' broken? In-Reply-To: References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: <1476376198748-4709359.post@n4.nabble.com> Sorry for the typo. Wrong: type response hit send get caffeine Right: get caffeine type into message box copy working statement from message box paste into email hit send -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-Error-Lookup-broken-tp4709348p4709359.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Thu Oct 13 12:51:42 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 18:51:42 +0200 Subject: Is 'Error Lookup' broken? In-Reply-To: References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: Thanks Richard - I didn?t know how to update a plugin but I worked it out (you have to delete the old one manually). Anyway very useful - thanks to you and to Jacque. Graham > On 13 Oct 2016, at 18:01, Richard Gaskin wrote: > > I was mistaken: it seems Jacque has already updated the tool to use the scriptExecutionErrors function (apparently undocumented) if the older error string list stored in stack "revErrorDisplay" is empty. > > This should allow it to work in all versions from at least 5.5 and later. > > Perhaps you have an older version of that stack? > > I just added the most recent version of the LiveCode Error Lookup stack to the Stacks section of LiveNet - in the IDE see Development -> Plugins -> GoLiveNet > > The version available there has been tested in v8.1.1 and 6.0 so it should also work with everything in between. > > -- > 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 Thu Oct 13 13:10:03 2016 From: livfoss at mac.com (Graham Samuel) Date: Thu, 13 Oct 2016 19:10:03 +0200 Subject: Close and Delete a stack Message-ID: I have a situation where I want to close a stack and then delete it, so that it no longer exists in memory and so that no naming conflicts occur when I load a fresh stack with the same name. This used to work - part of a script running in a different stack to the one being deleted: set the cantDelete of stack "myDataStack" to false set the destroyStack of stack "myDataStack" to true set the destroyWindow of stack "myDataStack" to true close stack "myDataStack" -- this should ensure that there are no messages operating in that stack delete stack "myDataStack" -- this should remove it from memory What happens in 8.1.1 rc2 (on a Mac with El Capitan, if that?s relevant) is that all goes well until the ?delete? command, when I get error 347, which is ?stack locked, or object?s script executing?. Well, since the stack is closed (this is apparent on the screen), its scripts can?t be running, and it?s not locked (whatever that means - the dictionary is not helpful), I don?t think the error is the correct one. The problem exists both in the IDE and in the standalone version of the program. I have two problems tracking this down: (a) it used to work up to LC7.x; and (b) an attempt to abstract the issue by repeating it with some very simple stacks doesn?t demonstrate the error. Can anyone suggest an approach to debugging this? I am totally foxed. TIA Graham From roger.e.eller at sealedair.com Thu Oct 13 13:16:49 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 13 Oct 2016 13:16:49 -0400 Subject: Keep taking the tablets In-Reply-To: References: Message-ID: This is a great idea for early app debugging, but I would be afraid to leave such a powerful "back door to the engine" in a finished app. You know, for security. ~Roger On Wed, Oct 12, 2016 at 2:44 PM, Mike Kerner wrote: > I've done this when I'm trying to debug something, but ya know, one thing I > haven't tried to do, yet, is attach the script editor to a mobile app and > then hack the app more directly while I'm inside of it. > > >On Wed, Oct 12, 2016 at 12:53 PM, Roger Eller < > roger.e.eller at sealedair.com> > wrote: > > I would guess no. But that doesn't mean you can't have some LiveCode fun > > with it. Create an Android standalone that has a large text field and an > > "Execute" button that contains - do field "fieldName". Your field is > now a > > basic script editor. If your build included all of the lc libraries, > there > > should be very little that you can't do. Oh, you might also want a Load > > and Save script button. > > > > ~Roger From revdev at pdslabs.net Thu Oct 13 13:32:15 2016 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 13 Oct 2016 10:32:15 -0700 Subject: Close and Delete a stack In-Reply-To: References: Message-ID: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> Hi Graham, What happens if you do only this? lock messages -- assuming you don't want any handlers to be triggered by the stack's closing delete stack "myDataStack" I'm also assuming "myDataStack" is a mainStack and not a substack. (As you know, you can't remove a substack from memory independent of its mainStack unless you end its existence with "delete stack".) Food for thought... Phil Davis On 10/13/16 10:10 AM, Graham Samuel wrote: > I have a situation where I want to close a stack and then delete it, so that it no longer exists in memory and so that no naming conflicts occur when I load a fresh stack with the same name. This used to work - part of a script running in a different stack to the one being deleted: > > set the cantDelete of stack "myDataStack" to false > > set the destroyStack of stack "myDataStack" to true > > set the destroyWindow of stack "myDataStack" to true > > close stack "myDataStack" -- this should ensure that there are no messages operating in that stack > > delete stack "myDataStack" -- this should remove it from memory > > What happens in 8.1.1 rc2 (on a Mac with El Capitan, if that?s relevant) is that all goes well until the ?delete? command, when I get error 347, which is ?stack locked, or object?s script executing?. Well, since the stack is closed (this is apparent on the screen), its scripts can?t be running, and it?s not locked (whatever that means - the dictionary is not helpful), I don?t think the error is the correct one. > > The problem exists both in the IDE and in the standalone version of the program. > > I have two problems tracking this down: > > (a) it used to work up to LC7.x; and > > (b) an attempt to abstract the issue by repeating it with some very simple stacks doesn?t demonstrate the error. > > Can anyone suggest an approach to debugging this? I am totally foxed. > > TIA > > 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 -- Phil Davis From revdev at pdslabs.net Thu Oct 13 13:34:16 2016 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 13 Oct 2016 10:34:16 -0700 Subject: Close and Delete a stack In-Reply-To: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> References: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> Message-ID: My comment wrapped. Sorry. Phil On 10/13/16 10:32 AM, Phil Davis wrote: > Hi Graham, > > What happens if you do only this? > > lock messages -- assuming you don't want any handlers to be > triggered by the stack's closing > delete stack "myDataStack" > > I'm also assuming "myDataStack" is a mainStack and not a substack. (As > you know, you can't remove a substack from memory independent of its > mainStack unless you end its existence with "delete stack".) > > Food for thought... > > Phil Davis > > > > On 10/13/16 10:10 AM, Graham Samuel wrote: >> I have a situation where I want to close a stack and then delete it, >> so that it no longer exists in memory and so that no naming >> conflicts occur when I load a fresh stack with the same name. This >> used to work - part of a script running in a different stack to the >> one being deleted: >> >> set the cantDelete of stack "myDataStack" to false >> >> set the destroyStack of stack "myDataStack" to true >> >> set the destroyWindow of stack "myDataStack" to true >> >> close stack "myDataStack" -- this should ensure that there are no >> messages operating in that stack >> >> delete stack "myDataStack" -- this should remove it from memory >> What happens in 8.1.1 rc2 (on a Mac with El Capitan, if that?s >> relevant) is that all goes well until the ?delete? command, when I >> get error 347, which is ?stack locked, or object?s script executing?. >> Well, since the stack is closed (this is apparent on the screen), its >> scripts can?t be running, and it?s not locked (whatever that means - >> the dictionary is not helpful), I don?t think the error is the >> correct one. >> >> The problem exists both in the IDE and in the standalone version of >> the program. >> >> I have two problems tracking this down: >> >> (a) it used to work up to LC7.x; and >> >> (b) an attempt to abstract the issue by repeating it with some very >> simple stacks doesn?t demonstrate the error. >> >> Can anyone suggest an approach to debugging this? I am totally foxed. >> >> TIA >> >> 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 > -- Phil Davis From dochawk at gmail.com Thu Oct 13 15:19:46 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 13 Oct 2016 12:19:46 -0700 Subject: more postgres madness In-Reply-To: References: Message-ID: On Wed, Oct 12, 2016 at 2:23 PM, Dr. Hawkins wrote: > It took a bit to track this down,, but the command > > SELECT unqKy, ktyp, kywd, usr, tstmp, scr, cmd FROM > dhdbt_testy_xlvi_______001 WHERE ((tstmp > '2010-01-01 00:00:00.000000-00') > OR (tstmp IS NULL)); > > > is yielding > > > revdberr, > > > That's it; just "revdberr," > Hmm. Suppose I use revDataFromQuery with the command, BEGIN TRANSACTION; UPDATE someTable SET someField ='someValue' WHERE otherField>7; SELECT rats, snails, puppy_dog_tails FROM anotherTable WHERE sex='M'; END TRANSACTION; The first line, update, or any number of UPDATE, DELETE, CREATE, etc. returns "revdberr," as the normal response when successful. I'm wondering now if that SELECT returning nothing causes no overwrite of the revdberr, from the final update. This would explain this response (maybe this routine is getting called earlier than before, and I just never had a call with no return (that shouldn't happen, as the UPDATEs themselves are supposed to get selected as part of the same transaction, but if the relevant lines are all missing . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From smudge.andy at googlemail.com Thu Oct 13 15:52:37 2016 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 13 Oct 2016 12:52:37 -0700 (PDT) Subject: Keep taking the tablets In-Reply-To: References: Message-ID: <1476388357408-4709366.post@n4.nabble.com> This is rather cool, I hadn't realised this was possible before. So here I am on an Android tablet adding buttons and fields and moving them around in real time,...made me smile. Anyway this is actualy a great way to get into script only coding with LiveCode. Thanks for pointing this out. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keep-taking-the-tablets-tp4709337p4709366.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Oct 13 17:41:22 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Oct 2016 16:41:22 -0500 Subject: Pasting to Powerpoint Message-ID: <4e49c084-917c-5530-4010-aa7fc80c797d@hyperactivesw.com> Apparently in LC 8.x, LC text in the clipboard can't be pasted into Powerpoint, though it works in MS Word and some other apps. I know the workaround -- paste into a text editor, copy, paste into Powerpoint -- but is there a better way? My app is just setting the clipboarddata["text"] to a variable containing plain text. I wonder if I should be setting some of the other keys in the clipboard array. It worked okay until the last version we released, compiled with LC 8.0.2 on Mac OS X. Maybe it's been fixed since then? I don't have a copy of Powerpoint so I can't test. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From me at jerrydaniels.com Thu Oct 13 18:03:28 2016 From: me at jerrydaniels.com (Jerry Daniels) Date: Thu, 13 Oct 2016 17:03:28 -0500 Subject: Livecode podcast Message-ID: @jerrydaniels and @trozware are podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD Best, Jerry Daniels From colinholgate at gmail.com Thu Oct 13 18:05:46 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 13 Oct 2016 15:05:46 -0700 Subject: Livecode podcast In-Reply-To: References: Message-ID: Are you podcasting yesterday and today, or are you podcasting right now? > On Oct 13, 2016, at 3:03 PM, Jerry Daniels wrote: > > @jerrydaniels and @trozware are podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD > > > Best, > > Jerry Daniels > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at jerrydaniels.com Thu Oct 13 18:08:30 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Thu, 13 Oct 2016 17:08:30 -0500 Subject: Livecode podcast In-Reply-To: References: Message-ID: <82ddad21-e1e0-48a7-a309-8ef885ff7752@Spark> In 2mins On Oct 13, 2016, 5:05 PM -0500, Colin Holgate , wrote: > Are you podcasting yesterday and today, or are you podcasting right now? > > > > On Oct 13, 2016, at 3:03 PM, Jerry Daniels wrote: > > > > @jerrydaniels and @trozware are podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD > > > > > > Best, > > > > Jerry Daniels > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Thu Oct 13 18:18:21 2016 From: hh at hyperhh.de (hh) Date: Fri, 14 Oct 2016 00:18:21 +0200 Subject: Pasting to Powerpoint Message-ID: <8756306F-842C-42C3-9FA0-859D5B1F8AFF@hyperhh.de> Sadly this may depend more on user's OS than on the LC version or your compiling OS. I had a similar issue with pasting to Mail on Mac OS > 10.10. This disappeared when I used the rawClipboardData[key] (exactly to such "plainText"-encodings there is an example for different platforms). > Jacqueline L.G. wrote: > Apparently in LC 8.x, LC text in the clipboard can't be > pasted into Powerpoint, though it works in MS Word and > some other apps. I know the workaround -- paste into a > text editor, copy, paste into Powerpoint -- but is there > a better way? > My app is just setting the clipboarddata["text"] to a > variable containing plain text. I wonder if I should be > setting some of the other keys in the clipboard array. > It worked okay until the last version we released, > compiled with LC 8.0.2 on Mac OS X. Maybe it's been > fixed since then? I don't have a copy of Powerpoint > so I can't test. From curt at sonasoftware.com Thu Oct 13 19:17:12 2016 From: curt at sonasoftware.com (Curtis Ford) Date: Thu, 13 Oct 2016 16:17:12 -0700 Subject: where files are copied to in a Mac standalone - changed in 8.1? Message-ID: <580015F8.1010200@sonasoftware.com> I've been doing a number of modules for a client that include a few dozen sound files in a folder "media." In the stack script I have used: on setgMediaPath globalgMediaPath settheitemDelimitertoslash puttheeffectivefileNameofthisstackintogMediaPath deletethelastitemofgMediaPath putgMediaPath & slash& "media"& slashintogMediaPath end setgMediaPath When I was making the first set (back in LiveCode 6?), they were saved in the bundle in Contents > MacOS > media. I've just made a new module for this client with largely the same code; now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media. So the standalone doesn't find the sound files unless I move them manually after doing 'show contents' in the Finder. Is this a bug, or should I be setting the path differently now? thanks, Curt -- Sent from Postbox From me at jerrydaniels.com Thu Oct 13 19:18:29 2016 From: me at jerrydaniels.com (me at jerrydaniels.com) Date: Thu, 13 Oct 2016 18:18:29 -0500 Subject: LiveCode podcast just posted Message-ID: <290c1a8e-e6d6-46ad-9082-3e44496b52b7@Spark> @jerrydaniels and @trozware podcasting about 'LiveCode: Yesterday and Today' on @ZCastApp https://zcast.co/j/jyBjle2QnD Apologies: my audio degrades a bit (clipped words) in the last third of the cast. From jacque at hyperactivesw.com Thu Oct 13 19:21:42 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Oct 2016 18:21:42 -0500 Subject: Pasting to Powerpoint In-Reply-To: <8756306F-842C-42C3-9FA0-859D5B1F8AFF@hyperhh.de> References: <8756306F-842C-42C3-9FA0-859D5B1F8AFF@hyperhh.de> Message-ID: <6acb31ce-b850-343f-4505-d156cc8bd597@hyperactivesw.com> Excellent! Thank you. I'll try it. On 10/13/16 5:18 PM, hh wrote: > Sadly this may depend more on user's OS than on the LC version or > your compiling OS. > I had a similar issue with pasting to Mail on Mac OS > 10.10. This > disappeared when I used the rawClipboardData[key] (exactly to such > "plainText"-encodings there is an example for different platforms). > >> Jacqueline L.G. wrote: >> Apparently in LC 8.x, LC text in the clipboard can't be >> pasted into Powerpoint, though it works in MS Word and >> some other apps. I know the workaround -- paste into a >> text editor, copy, paste into Powerpoint -- but is there >> a better way? >> My app is just setting the clipboarddata["text"] to a >> variable containing plain text. I wonder if I should be >> setting some of the other keys in the clipboard array. >> It worked okay until the last version we released, >> compiled with LC 8.0.2 on Mac OS X. Maybe it's been >> fixed since then? I don't have a copy of Powerpoint >> so I can't test. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Thu Oct 13 20:03:48 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Oct 2016 19:03:48 -0500 Subject: Pasting to Powerpoint In-Reply-To: <4e49c084-917c-5530-4010-aa7fc80c797d@hyperactivesw.com> References: <4e49c084-917c-5530-4010-aa7fc80c797d@hyperactivesw.com> Message-ID: On Thursday, October 13, 2016, J. Landman Gay wrote: > Apparently in LC 8.x, LC text in the clipboard can't be pasted into > Powerpoint, though it works in MS Word and some other apps. I know the > workaround -- paste into a text editor, copy, paste into Powerpoint -- but > is there a better way? > > My app is just setting the clipboarddata["text"] to a variable containing > plain text. I wonder if I should be setting some of the other keys in the > clipboard array. > > It worked okay until the last version we released, compiled with LC 8.0.2 > on Mac OS X. Maybe it's been fixed since then? I don't have a copy of > Powerpoint so I can't test. > Last week I had a user report issues pasting images into SnagIt but not other apps (Windows). This issue is new to 8.x and the clipboard changes. It seems that the way LiveCode is placing content on the clipboard is not correct in 8.x. I have to in estimate further though. -- Trevor DeVore From stephenREVOLUTION2 at barncard.com Thu Oct 13 20:04:20 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 13 Oct 2016 17:04:20 -0700 Subject: Pasting to Powerpoint In-Reply-To: <6acb31ce-b850-343f-4505-d156cc8bd597@hyperactivesw.com> References: <8756306F-842C-42C3-9FA0-859D5B1F8AFF@hyperhh.de> <6acb31ce-b850-343f-4505-d156cc8bd597@hyperactivesw.com> Message-ID: I made this dumb stack to view all elements of the clipboard contents... works inter-app type go URL "http://fulton.barncard.com/stax/clipboardTest.rev" in msg box. hth, sqb ps the hex display displays incorrectly at the moment. Probably the changes to unicorn. Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Thu, Oct 13, 2016 at 4:21 PM, J. Landman Gay wrote: > Excellent! Thank you. I'll try it. > > > On 10/13/16 5:18 PM, hh wrote: > >> Sadly this may depend more on user's OS than on the LC version or >> your compiling OS. >> I had a similar issue with pasting to Mail on Mac OS > 10.10. This >> disappeared when I used the rawClipboardData[key] (exactly to such >> "plainText"-encodings there is an example for different platforms). >> >> Jacqueline L.G. wrote: >>> Apparently in LC 8.x, LC text in the clipboard can't be >>> pasted into Powerpoint, though it works in MS Word and >>> some other apps. I know the workaround -- paste into a >>> text editor, copy, paste into Powerpoint -- but is there >>> a better way? >>> My app is just setting the clipboarddata["text"] to a >>> variable containing plain text. I wonder if I should be >>> setting some of the other keys in the clipboard array. >>> It worked okay until the last version we released, >>> compiled with LC 8.0.2 on Mac OS X. Maybe it's been >>> fixed since then? I don't have a copy of Powerpoint >>> so I can't test. >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > 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 m.schonewille at economy-x-talk.com Thu Oct 13 20:14:51 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 14 Oct 2016 02:14:51 +0200 Subject: LiveCode Meeting Message-ID: LiveCode-bijeenkomst Aanstaande zondag 16 oktober organiseert eHUG een LiveCode-meeting (tevens voor eenieder ge?nteresseerd in SuperCard, Xojo, HyperStudio and zelfs HyperCard). Toegang is gratis, maar consumpties zijn voor eigen rekening. Agenda De bijeenkomst zal informeel van karakter zijn. Er staan enkele punten op de agenda, maar de agenda is vooralsnog incompleet. Het volgende zal, in willekeurige volgorde, aan bod komen: LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Verloting van HyperStudio-licentie Verloting van boek Programming LiveCode for the Real Beginner Verloting van 50% korting op LiveCode De volgende meeting in Antwerpen Projecten van deelnemers Widgets We hopen nog meer aan te kunnen bieden, maar daar wordt nog aan gewerkt. Belangrijk: eigen inbreng van de deelnemers maakt de bijeenkomst veel interessanter! Neem je eigen project mee en laat het zien! Laat ondergetekende per e-mail even weten hoeveel tijd je nodig hebt (alles tussen 5 en 30 minuten is mogelijk). Locatie De bijeenkomst wordt gehouden in de lobby van het NH Hotel in Utrecht. Het adres is: Jaarbeursplein 24 3521 AR Utrecht The Netherlands Het hotel ligt op loopafstand van het centraal station van Utrecht zoals je op deze kaart kunt zien: https://goo.gl/maps/WBDSG De bijeenkomst begint om ongeveer 13:00u. en is uiterlijk 17:00u. afgelopen. Het is mogelijk om na de bijeenkomst nog even iets te gaan eten in het gezellige centrum van Utrecht. Meer info Wil je op de hoogte blijven van activiteiten rond xTalk en LiveCode? Stuur mij een e-mailtje en ik zet je op de lijst. Je kunt mij ook op Twitter volgen. Mijn persoonlijke account is @xtalkprogrammer en als je op de hoogte wilt blijven van computernieuws volg me dan op @MoreNewz. Je kunt me tevens op Facebook vinden op het adres https://www.facebook.com/marksch en je kunt lid worden van de LiveCode Facebook groep op https://www.facebook.com/groups/runrev/ Heb je op het laatste moment nog vragen? Je kunt mij bereiken op Skype via xtalkprogrammer en als je mijn telefoonnummer hebt, kun je mij een berichtje sturen op Whatsapp of Viber. Lees meer over het boek Programming for the Real Beginner op http://tinyurl.com/livecodebook Je kunt alles over HyperStudio lezen op http://www.hyperstudio.com en we raden je zeker aan om ook http://www.hyperduino.com te bezoeken aangezien dit een geweldig gadget is voor je Arduino Uno board. De SuperCard website kun je vinden op http://www.supercard.us en je kunt meer over Xojo vinden op http://www.xojo.com. Om de lijst compleet te maken, vermelden we nog even de website van LiveCode: http://www.livecode.com LiveCode Meeting This Sunday 16th October, eHUG organises a LiveCode meeting (also for anyone who might be interested in SuperCard, Xojo, HyperStudio and even HyperCard). Entrance is free but drinks are on your own account. Schedule The meeting will be informal. There are a number of items on the agenda, but for now the schedule is incomplete. The following subjects will be included in our program: LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Raffle of a HyperStudio license Raffle of the book Programming for the Real Beginner Raffle of a 50% discount on LiveCode Next meeting in Antwerp Projects of participants Widgets We hope to have more on offer soon, but we're still working on that. Important: own contributions by participants make the meeting much more interesting! Bring your own project and show it! Please tell me how much time you need (anything between 5 and 30 minutes goes). Location The meeting is in the lobby of the NH Hotel in Utrecht, the Netherands. The address is: Jaarbeursplein 24 3521 AR Utrecht The Netherlands The hotel is within walking distance from the Utrecht Central Station, as you can see on this map: https://goo.gl/maps/WBDSG The meeting starts at approximately 13:00h. and finishes before 17:00h. It is possible to have a nice dinner in the centre of Utrecht afterwards. More info Do you want to stay informed about activities about xTalk and LiveCode? Send me an e-mail with your request and I'll add you to the list. You can follow me on Twitter. My personal account is @xtalkprogrammer and if you want to get news about tech and computers you can follow @MoreNewz. You can also find me on Facebook at https://www.facebook.com/marksch and there is a LiveCode Facebook group at https://www.facebook.com/groups/runrev/ Do you have any question in the last moment? You can contact me at Skype at xtalkprogrammer and if you have my phone number you can contact me on Whatsapp or Viber. You can read more about the book Programming LiveCode for the Real Beginner at http://tinyurl.com/livecodebook You can read everything about HyperStudio at http://www.hyperstudio.com and we really recommend taking a look at http://www.hyperduino.com as it is a great little gadget to accompany your Arduino Uno board. The SuperCard website is at http://www.supercard.us and more about Xojo can be fount at http://www.xojo.com. To make the list complete, here is the LiveCode website http://www.livecode.com -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 We have time for new software development projects. Contact me for a quote. From hh at hyperhh.de Thu Oct 13 22:10:43 2016 From: hh at hyperhh.de (hh) Date: Fri, 14 Oct 2016 04:10:43 +0200 Subject: Pasting to Powerpoint Message-ID: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> Very good and interesting stack. Hopefully you do think about extending that to the rawClipboardData? On Mac there is a ClipboardViewer (https://developer.apple.com/library/content/samplecode/ClipboardViewer/) that shows even more entries in the clipboard than the rawClipboardData reports, after putting a simple plain string into the clipboard in LC. When pasting a copied text into a "plain" TextEdit window this reduces to ** public.utf8-plain-text ** (and NSStringPboardType). This UTF8-key works here, with MacOS 10.12, for pasting in every other app. Probably this key, used with rawClipboardData, has currently most chances to work for MacOS (and it's equivalents for Win and Linux, given in the Dictionary). > Stephen B. wrote: > I made this dumb stack to view all elements of the clipboard contents... > works inter-app, type > go URL "http://fulton.barncard.com/stax/clipboardTest.rev" > in msg box. From brahma at hindu.org Thu Oct 13 22:56:28 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Oct 2016 02:56:28 +0000 Subject: Passing Constants or Variables as Command Params Message-ID: <516E0A15-207E-479F-93DB-1F9D0E4734F7@hindu.org> I'm in the early stages of using more external libs/behaviors for things I used to always pile up in stack/card/object scripts and custom properties. My old practice was less than stellar in terms of re-usability, fixing the same thing in multiple places etc.. So I'm looking to make more libs that can be re-used as behaviors. But now I face message path mysteries I'm sure all of you have understood for decades. In particular: passing values, via constants or local vars, as params. I'm working on a gradient library to use as a behavior with graphics objects, the idea is to be able to pass a one or more curated color values to a gradient ramp where the gradient type, location, span etc are already set. If nothing is passed the function set defaults and returns a black and white radial gradient. or you can just pass a single RGB value to the end stop? I have not included that function here, because it works if I pass an explicit three integer RGB value? But I am unable to pass either a constant or a local variable as a parameter What am I doing wrong here: on mouseUp assignColors setRamp "","","",sSoftRed,"","" # function generates a fillGradient["ramp'] using defaults # for the empty params, with a single color applied to the end stop. # I can't get the value of sSoftRed to go thru?. # it works if I pass and explicit RGB string: "255,20,20" end mouseup # We want to set up some curated colors in advance: # Defaults: constant kPureWhite= "255,255,255" constant kPureBlack= "0,0,0" constant kDefaultStart= "0.00000" # left stop constant kDefaultEnd= "1.00000" # right stop constant kDefaultOpacity= "255" # 100% opaque # Curated Colors constant kSoftGreen = "88,246,27" constant kSoftRed = "255,6,23" # more to come later? setRamp "","","","255,6,23","","" # this works setRamp "","","",kSoftRed,"","" # this fails # since a constant did not work, I tried locals: command assignColors # trying locals here? local sSoftGreen, sSoftRed put "88,246,27" into sSoftGreen put "255,6,23" into sSoftRed end assignColors if I set the break point on the mouseup I can see in the variable watcher that the values we expect are there: kSoftRed 255,6,23 sSoftRed 255,6,23 But when passed as a param the gradient ramp gets (where start defaults to kPureWhite) setRamp "","","",sSoftRed,"","" # this also fails # we see this: 0.00000,255,255,255,255 1.00000,sSoftRed,255 # or 0.00000,255,255,255,255 1.00000,kSoftRed,255 # if I try to pass the param as a constant and errors out with "bad gradient ramp" because the literal string value of the name of the variable or constant is passed and not the value it contains. I would rather avoid "do" if at all possible. ?? Missing something really simple here. Brahmanathaswami From stephenREVOLUTION2 at barncard.com Fri Oct 14 00:11:16 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 13 Oct 2016 21:11:16 -0700 Subject: Pasting to Powerpoint In-Reply-To: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> References: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> Message-ID: On Thu, Oct 13, 2016 at 7:10 PM, hh wrote: > Hopefully you do think about extending that to the rawClipboardData? > yes a lot of catching up to do. thanks Stephen Barncard - Sebastopol Ca. USA - mixstream.org From scott at elementarysoftware.com Fri Oct 14 00:15:34 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 13 Oct 2016 21:15:34 -0700 Subject: Pasting to Powerpoint In-Reply-To: References: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> Message-ID: Stephen, Thanks for the stack. It was educational for me and a good start for some additional learning. - - 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 13, 2016, at 9:11 PM, stephen barncard wrote: > > On Thu, Oct 13, 2016 at 7:10 PM, hh wrote: > >> Hopefully you do think about extending that to the rawClipboardData? >> > > yes a lot of catching up to do. thanks > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.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 jacque at hyperactivesw.com Fri Oct 14 01:15:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Oct 2016 00:15:14 -0500 Subject: Pasting to Powerpoint In-Reply-To: References: <4e49c084-917c-5530-4010-aa7fc80c797d@hyperactivesw.com> Message-ID: <0f086acb-7dcb-b699-2d66-5fe0469426ba@hyperactivesw.com> On 10/13/16 7:03 PM, Trevor DeVore wrote: > On Thursday, October 13, 2016, J. Landman Gay > wrote: > >> Apparently in LC 8.x, LC text in the clipboard can't be pasted into >> Powerpoint, though it works in MS Word and some other apps. I know the >> workaround -- paste into a text editor, copy, paste into Powerpoint -- but >> is there a better way? >> >> My app is just setting the clipboarddata["text"] to a variable containing >> plain text. I wonder if I should be setting some of the other keys in the >> clipboard array. >> >> It worked okay until the last version we released, compiled with LC 8.0.2 >> on Mac OS X. Maybe it's been fixed since then? I don't have a copy of >> Powerpoint so I can't test. >> > > Last week I had a user report issues pasting images into SnagIt but not > other apps (Windows). This issue is new to 8.x and the clipboard changes. > It seems that the way LiveCode is placing content on the clipboard is not > correct in 8.x. I have to in estimate further though. > Could the clipboardData be storing UTF16? Some apps might not work with that if they expect UTF8. If so, the fix would be to textEncode before setting the clipboardData, but we have no way of knowing what the user intends to do with the clipboard. It would break if they try to paste back into LC. Just a guess. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 14 01:22:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Oct 2016 00:22:46 -0500 Subject: where files are copied to in a Mac standalone - changed in 8.1? In-Reply-To: <580015F8.1010200@sonasoftware.com> References: <580015F8.1010200@sonasoftware.com> Message-ID: <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> On 10/13/16 6:17 PM, Curtis Ford wrote: > I've just made a new module for this client with largely the same code; > now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media. > > So the standalone doesn't find the sound files unless I move them > manually after doing 'show contents' in the Finder. > > Is this a bug, or should I be setting the path differently now? Apple now requires all resources to be in a separate folder. Nothing is allowed in the engine folder except the executable. We now have a new specialFolderPath("resources") to access that folder. Instead of parsing a path from the engine folder, use: specialFolderPath("resources") & "/media/" & gMediaPath Everything in the Copy Files pane of the standalone settings now gets put into specialFolderPath("resources"). In the IDE, the resources folder is the one that contains your mainstack. This is handy because you can keep the same hierarchy in your working folder and the specialFolderPath still works there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 14 01:35:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Oct 2016 00:35:14 -0500 Subject: Passing Constants or Variables as Command Params In-Reply-To: <516E0A15-207E-479F-93DB-1F9D0E4734F7@hindu.org> References: <516E0A15-207E-479F-93DB-1F9D0E4734F7@hindu.org> Message-ID: <92efc8c3-9d8d-3ace-7057-afd6fec264f5@hyperactivesw.com> On 10/13/16 9:56 PM, Sannyasin Brahmanathaswami wrote: > But when passed as a param the gradient ramp gets (where start defaults to kPureWhite) > > setRamp "","","",sSoftRed,"","" # this also fails > > # we see this: > 0.00000,255,255,255,255 > 1.00000,sSoftRed,255 > > # or > > 0.00000,255,255,255,255 > 1.00000,kSoftRed,255 > > # if I try to pass the param as a constant > > and errors out with "bad gradient ramp" because the literal string value of the name of the variable or constant is passed and not the value it contains. It should work. The only thing I can think of is if you've declared the same variable name in the script containing the ramp handler. LC may be using the wrong variable, and a variable without a value will return its own name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 14 01:38:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Oct 2016 00:38:46 -0500 Subject: where files are copied to in a Mac standalone - changed in 8.1? In-Reply-To: <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> References: <580015F8.1010200@sonasoftware.com> <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> Message-ID: <6528bb67-d451-c4ae-ec4c-924f8b8e0fb6@hyperactivesw.com> On 10/14/16 12:22 AM, J. Landman Gay wrote: > Instead of parsing a path from the engine folder, use: > > specialFolderPath("resources") & "/media/" & gMediaPath Actually, that should probably be: specialFolderPath("resources") & "/media/" & unless gMediaPath is just a file name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Fri Oct 14 05:30:15 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 14 Oct 2016 11:30:15 +0200 Subject: Close and Delete a stack In-Reply-To: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> References: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> Message-ID: <29BAA8AC-3B82-459D-B1FD-ADC3AD7CB5BE@mac.com> Phil, thanks for the suggestion. I timed out last night and tried it this morning. Strangely it didn?t work - got the same error as before (347). So I?m still investigating. I am fairly sure that there is an obscure bug (or at the very least, a change of behaviour) in LC 8.1.x compared to earlier versions, but it is not straightforward. Onward! Graham > On 13 Oct 2016, at 19:32, Phil Davis wrote: > > Hi Graham, > > What happens if you do only this? > > lock messages -- assuming you don't want any handlers to be > triggered by the stack's closing > delete stack "myDataStack" > > I'm also assuming "myDataStack" is a mainStack and not a substack. (As you know, you can't remove a substack from memory independent of its mainStack unless you end its existence with "delete stack".) > > Food for thought... > > Phil Davis > > > > On 10/13/16 10:10 AM, Graham Samuel wrote: >> I have a situation where I want to close a stack and then delete it, so that it no longer exists in memory and so that no naming conflicts occur when I load a fresh stack with the same name. This used to work - part of a script running in a different stack to the one being deleted: >> >> set the cantDelete of stack "myDataStack" to false >> >> set the destroyStack of stack "myDataStack" to true >> >> set the destroyWindow of stack "myDataStack" to true >> >> close stack "myDataStack" -- this should ensure that there are no messages operating in that stack >> >> delete stack "myDataStack" -- this should remove it from memory >> What happens in 8.1.1 rc2 (on a Mac with El Capitan, if that?s relevant) is that all goes well until the ?delete? command, when I get error 347, which is ?stack locked, or object?s script executing?. Well, since the stack is closed (this is apparent on the screen), its scripts can?t be running, and it?s not locked (whatever that means - the dictionary is not helpful), I don?t think the error is the correct one. >> >> The problem exists both in the IDE and in the standalone version of the program. >> >> I have two problems tracking this down: >> >> (a) it used to work up to LC7.x; and >> >> (b) an attempt to abstract the issue by repeating it with some very simple stacks doesn?t demonstrate the error. >> >> Can anyone suggest an approach to debugging this? I am totally foxed. >> >> TIA >> >> 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 > > -- > 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 livfoss at mac.com Fri Oct 14 05:58:13 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 14 Oct 2016 11:58:13 +0200 Subject: Close and Delete a stack In-Reply-To: <29BAA8AC-3B82-459D-B1FD-ADC3AD7CB5BE@mac.com> References: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> <29BAA8AC-3B82-459D-B1FD-ADC3AD7CB5BE@mac.com> Message-ID: <381D92DB-4213-48FD-9B21-3A4D1BDC6548@mac.com> Should have said, yes it?s a mainstack. I am beginning to think that the issue is that when I close the stack it is also purged from memory (as it says in the Dictionary, with provisos that I think I have obeyed), so that the following ?delete? doesn?t have anything to delete - this should generate an error, but not 347. I find that if I simply cut out the ?delete stack? line, then everything works - this includes reloading a stack with the same name as the one closed, and no name conflict occurs. OTOH the Project Browser in the IDE claims the stack is still there, and an ?exists? enquiry returns true! Odd. The struggle now is to reduce this to something small enough to report as a bug. Not sure if anyone else is interested in this, but if so, thanks for listening! Graham > On 14 Oct 2016, at 11:30, Graham Samuel wrote: > > Phil, thanks for the suggestion. I timed out last night and tried it this morning. Strangely it didn?t work - got the same error as before (347). So I?m still investigating. I am fairly sure that there is an obscure bug (or at the very least, a change of behaviour) in LC 8.1.x compared to earlier versions, but it is not straightforward. Onward! > > Graham > >> On 13 Oct 2016, at 19:32, Phil Davis wrote: >> >> Hi Graham, >> >> What happens if you do only this? >> >> lock messages -- assuming you don't want any handlers to be >> triggered by the stack's closing >> delete stack "myDataStack" >> >> I'm also assuming "myDataStack" is a mainStack and not a substack. (As you know, you can't remove a substack from memory independent of its mainStack unless you end its existence with "delete stack".) >> >> Food for thought... >> >> Phil Davis >> >> >> >> On 10/13/16 10:10 AM, Graham Samuel wrote: >>> I have a situation where I want to close a stack and then delete it, so that it no longer exists in memory and so that no naming conflicts occur when I load a fresh stack with the same name. This used to work - part of a script running in a different stack to the one being deleted: >>> >>> set the cantDelete of stack "myDataStack" to false >>> >>> set the destroyStack of stack "myDataStack" to true >>> >>> set the destroyWindow of stack "myDataStack" to true >>> >>> close stack "myDataStack" -- this should ensure that there are no messages operating in that stack >>> >>> delete stack "myDataStack" -- this should remove it from memory >>> What happens in 8.1.1 rc2 (on a Mac with El Capitan, if that?s relevant) is that all goes well until the ?delete? command, when I get error 347, which is ?stack locked, or object?s script executing?. Well, since the stack is closed (this is apparent on the screen), its scripts can?t be running, and it?s not locked (whatever that means - the dictionary is not helpful), I don?t think the error is the correct one. >>> >>> The problem exists both in the IDE and in the standalone version of the program. >>> >>> I have two problems tracking this down: >>> >>> (a) it used to work up to LC7.x; and >>> >>> (b) an attempt to abstract the issue by repeating it with some very simple stacks doesn?t demonstrate the error. >>> >>> Can anyone suggest an approach to debugging this? I am totally foxed. >>> >>> TIA >>> >>> 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 >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 14 08:58:37 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 14 Oct 2016 14:58:37 +0200 Subject: Close and Delete a stack In-Reply-To: <29BAA8AC-3B82-459D-B1FD-ADC3AD7CB5BE@mac.com> References: <7ecd6bd2-4b32-d650-9934-92001212c296@pdslabs.net> <29BAA8AC-3B82-459D-B1FD-ADC3AD7CB5BE@mac.com> Message-ID: <3456A853-00B6-4B1F-A3CE-D5EE019849DB@mac.com> Can any IDE experts out there explain exactly how the IDE does ?Close and Remove from Memory?? I am having trouble trying to recreate this code for my standalone, and I am fairly sure that the code has to be different for LC8.x compared to earlier versions. To be clear, I?m trying to remove all trace of a mainstack by executing a script from within another mainstack. TIA Graham From bobsneidar at iotecdigital.com Fri Oct 14 10:46:36 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Oct 2016 14:46:36 +0000 Subject: Standard Icons for buttons in version 8.1 Standalones In-Reply-To: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> References: <11732DCB-64D8-44D2-87E4-1ED6A53FAB16@sbcglobal.net> Message-ID: <97790C07-06C3-46D0-8FD6-96DC42F913BF@iotecdigital.com> e discovered that graphics can be tricky in standalones. What I do is group a graphic with a button or object that uses it. I also reference the file I imported the graphic from in the graphic properties. I then include the folder with the graphic files (I keep them all in one folder for this purpose) in the Copy Files tab of the standalone settings. This has the neat effect that I can swap out button icons and background graphics with others of the same names as a kind of skinning feature. Bob S > On Sep 11, 2016, at 18:03 , Richard Burkett wrote: > > When I build a standalone using LiveCode 8.1 (any version so far) the icons that I have selected from the ?Standard Icons? tab for button icons don?t show up in the standalone. They?re there when I?m using LiveCode to open and edit the stacks. Is this a bug, or are the non-resizable icons now deprecated and being replaced by SVG images? > Just wondering before I go to a lot of trouble to build new icons for a bunch of things. > > Richard Burkett > richard.burkett at sbcglobal.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From nabble at mad.pink Fri Oct 14 10:51:58 2016 From: nabble at mad.pink (pink) Date: Fri, 14 Oct 2016 07:51:58 -0700 (PDT) Subject: Passing Constants or Variables as Command Params In-Reply-To: <516E0A15-207E-479F-93DB-1F9D0E4734F7@hindu.org> References: <516E0A15-207E-479F-93DB-1F9D0E4734F7@hindu.org> Message-ID: <1476456718219-4709390.post@n4.nabble.com> is this your actual script? if it is, here are a few comments that immediately pop into my mind: 1. Constants should be declared before your handler, in this case, they should be above "on mouseUp" 2. Your "assignColor" command will not work because you are declaring those variables as locals, they will only be available within that handler. What you want is to declare "script locals" which need to be declared outside of any handlers, at the top. Try a script structured like this: constant kPureWhite= "255,255,255" constant kPureBlack= "0,0,0" constant kDefaultStart= "0.00000" # left stop constant kDefaultEnd= "1.00000" # right stop constant kDefaultOpacity= "255" # 100% opaque constant kSoftGreen = "88,246,27" constant kSoftRed = "255,6,23" local sSoftGreen, sSoftRed on mouseUp assignColors setRamp "","","",sSoftRed,"","" end mouseup command assignColors put "88,246,27" into sSoftGreen put "255,6,23" into sSoftRed end assignColors -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Passing-Constants-or-Variables-as-Command-Params-tp4709379p4709390.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Fri Oct 14 11:08:14 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 14 Oct 2016 17:08:14 +0200 Subject: Updater doesn't update - is this correct behaviour? Message-ID: Having updated a number of software packages on my Mac in the last couple of days, I note that a typical ?check for updates? sequence overwrites the previous version of the package: for LiveCode, this ain?t so, so one has to delete the older version oneself. I guess this is OK if it?s clearly explained to newbies, and there are obvious advantages if you want to go back to the earlier version, but personally I would like the choice to keep or replace when the installation starts. Anyone else think this is a good idea? Graham From ambassador at fourthworld.com Fri Oct 14 12:13:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Oct 2016 09:13:23 -0700 Subject: Close and Delete a stack In-Reply-To: References: Message-ID: <13081259-a0ba-69de-9643-94d179bc617a@fourthworld.com> Graham Samuel write: > I have a situation where I want to close a stack and then delete it, > so that it no longer exists in memory and so that no naming > conflicts occur when I load a fresh stack with the same name. This > used to work - part of a script running in a different stack to the > one being deleted: > > set the cantDelete of stack "myDataStack" to false > > set the destroyStack of stack "myDataStack" to true > > set the destroyWindow of stack "myDataStack" to true > > close stack "myDataStack" -- this should ensure that there are no > messages operating in that stack > > delete stack "myDataStack" -- this should remove it from memory Here I can create a new stack, save it, then run: delete stack "stackname" ..in the Message Box and the stack both disappears from screen and is removed from the Project Browser. One small bug: if I then set the stack's destroyStack to true, save it, then close it, the Project Browser still lists it until I close and then re-open the PB. That seems a bug. But as for the script above, if that worked as shown in earlier versions it may be that a bug was fixed: When I set the stack's cantDelete property to true and then try to delete it, I get: Error with "delete stack "stackname""at line 0: stack locked, or object's script is executing Once I turn off the cantDelete property, the stack can then be deleted as expected. -- 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 Fri Oct 14 12:18:10 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Oct 2016 12:18:10 -0400 Subject: Updater doesn't update - is this correct behavior? In-Reply-To: References: Message-ID: <006001d22636$8eb3c040$ac1b40c0$@net> I like to keep the older versions because of LiveCode's exciting new features, multi-platform support and a faster than par update schedule to support the constantly changing OS platforms. Invariably bugs (regression or otherwise) creep in. I like having these older versions available by default. That being said, if you click the "replace older version" box which version do you overwrite if you have 4 versions(6.7.x,7.1.x,8.0.x,8.1.X) installed? LiveCode being a multi platform development tool needs a different update philosophy then say MS Word. 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 Graham Samuel Sent: Friday, October 14, 2016 11:08 AM To: How to use LiveCode Subject: Updater doesn't update - is this correct behaviour? Having updated a number of software packages on my Mac in the last couple of days, I note that a typical ?check for updates? sequence overwrites the previous version of the package: for LiveCode, this ain?t so, so one has to delete the older version oneself. I guess this is OK if it?s clearly explained to newbies, and there are obvious advantages if you want to go back to the earlier version, but personally I would like the choice to keep or replace when the installation starts. Anyone else think this is a good idea? 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 devin_asay at byu.edu Fri Oct 14 12:23:40 2016 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 14 Oct 2016 16:23:40 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> The fact that scriptExecutionErrors function is undocumented is a confirmed bug. I?m not very familiar with it, but if anyone would supply me with a simple description I would be happy to add it to the Dictionary on github. Devin > On Oct 13, 2016, at 10:51 AM, Graham Samuel wrote: > > Thanks Richard - I didn?t know how to update a plugin but I worked it out (you have to delete the old one manually). Anyway very useful - thanks to you and to Jacque. > > Graham > >> On 13 Oct 2016, at 18:01, Richard Gaskin wrote: >> >> I was mistaken: it seems Jacque has already updated the tool to use the scriptExecutionErrors function (apparently undocumented) if the older error string list stored in stack "revErrorDisplay" is empty. >> >> This should allow it to work in all versions from at least 5.5 and later. >> >> Perhaps you have an older version of that stack? >> >> I just added the most recent version of the LiveCode Error Lookup stack to the Stacks section of LiveNet - in the IDE see Development -> Plugins -> GoLiveNet >> >> The version available there has been tested in v8.1.1 and 6.0 so it should also work with everything in between. >> >> -- >> 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 Devin Asay Director Office of Digital Humanities Brigham Young University From curt at sonasoftware.com Fri Oct 14 12:37:26 2016 From: curt at sonasoftware.com (Curtis Ford) Date: Fri, 14 Oct 2016 09:37:26 -0700 Subject: where files are copied to in a Mac standalone - changed in 8.1? Message-ID: <580109C6.7010501@sonasoftware.com> Ah OK, that makes sense. Thanks Jacque! Curt -- Sent from Postbox From ahsoftware at sonic.net Fri Oct 14 15:24:01 2016 From: ahsoftware at sonic.net (mwieder) Date: Fri, 14 Oct 2016 12:24:01 -0700 (PDT) Subject: Is 'Error Lookup' broken? In-Reply-To: <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> Message-ID: <1476473041477-4709396.post@n4.nabble.com> Devin- Both the scriptExecutionErrors and scriptParsingErrors global properties are currently undocumented. These contain the same lists that were formerly custom properties of card 1 of the error display stack. Both properties were introduced for the LC8 series, and the custom properties were removed at the same time. The global properties contain a cr-separated list of error descriptions so that the numeric error value returned by the engine can be used as an index to retrieve the text. Examples: get line 347 of the scriptExecutionErrors get line 61 of the scriptParsingErrors -- Mark Wieder ahsoftware at gmail.com ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-Error-Lookup-broken-tp4709348p4709396.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Fri Oct 14 15:37:48 2016 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 14 Oct 2016 19:37:48 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: <1476473041477-4709396.post@n4.nabble.com> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> <1476473041477-4709396.post@n4.nabble.com> Message-ID: > On Oct 14, 2016, at 1:24 PM, mwieder wrote: > > Devin- > > Both the scriptExecutionErrors and scriptParsingErrors global properties are > currently undocumented. These contain the same lists that were formerly > custom properties of card 1 of the error display stack. Both properties were > introduced for the LC8 series, and the custom properties were removed at the > same time. > > The global properties contain a cr-separated list of error descriptions so > that the numeric error value returned by the engine can be used as an index > to retrieve the text. > > Examples: > get line 347 of the scriptExecutionErrors > get line 61 of the scriptParsingErrors Thanks, Mark. Here?s my first draft. Suggestions appreciated and I can modify it as needed. https://github.com/livecode/livecode/pull/4765 Devin Devin Asay Director Office of Digital Humanities Brigham Young University From ali.lloyd at livecode.com Fri Oct 14 16:17:01 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 14 Oct 2016 20:17:01 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> <1476473041477-4709396.post@n4.nabble.com> Message-ID: It's not actually correct that they were introduced in LC8 -- the properties have been there since at least 6.0.1 ( https://github.com/livecode/livecode/blob/release-6.0.1/engine/src/lextable.cpp#L1343) and probably before. Previously the home stack would set the custom property of the error stack on startup (using the engine properties), which to my mind is a slightly bizarre state of affairs and I'm not sure why it was done that way. On Fri, Oct 14, 2016 at 8:37 PM Devin Asay wrote: > > > On Oct 14, 2016, at 1:24 PM, mwieder wrote: > > > > Devin- > > > > Both the scriptExecutionErrors and scriptParsingErrors global properties > are > > currently undocumented. These contain the same lists that were formerly > > custom properties of card 1 of the error display stack. Both properties > were > > introduced for the LC8 series, and the custom properties were removed at > the > > same time. > > > > The global properties contain a cr-separated list of error descriptions > so > > that the numeric error value returned by the engine can be used as an > index > > to retrieve the text. > > > > Examples: > > get line 347 of the scriptExecutionErrors > > get line 61 of the scriptParsingErrors > > Thanks, Mark. Here?s my first draft. Suggestions appreciated and I can > modify it as needed. > > https://github.com/livecode/livecode/pull/4765 > > Devin > > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Oct 14 16:34:08 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Oct 2016 20:34:08 +0000 Subject: Updater doesn't update - is this correct behavior? In-Reply-To: <006001d22636$8eb3c040$ac1b40c0$@net> References: <006001d22636$8eb3c040$ac1b40c0$@net> Message-ID: <3971E50F-8557-4FD6-87BD-0E855EFBC590@iotecdigital.com> +1 I have on several occasions downloaded the latest only to find a problem with it. Bob S > On Oct 14, 2016, at 09:18 , Ralph DiMola wrote: > > I like to keep the older versions because of LiveCode's exciting new features, multi-platform support and a faster than par update schedule to support the constantly changing OS platforms. Invariably bugs (regression or otherwise) creep in. I like having these older versions available by default. That being said, if you click the "replace older version" box which version do you overwrite if you have 4 versions(6.7.x,7.1.x,8.0.x,8.1.X) installed? LiveCode being a multi platform development tool needs a different update philosophy then say MS Word. > > 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 Graham Samuel > Sent: Friday, October 14, 2016 11:08 AM > To: How to use LiveCode > Subject: Updater doesn't update - is this correct behaviour? > > Having updated a number of software packages on my Mac in the last couple of days, I note that a typical ?check for updates? sequence overwrites the previous version of the package: for LiveCode, this ain?t so, so one has to delete the older version oneself. I guess this is OK if it?s clearly explained to newbies, and there are obvious advantages if you want to go back to the earlier version, but personally I would like the choice to keep or replace when the installation starts. Anyone else think this is a good idea? > > 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 bobsneidar at iotecdigital.com Fri Oct 14 16:37:18 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Oct 2016 20:37:18 +0000 Subject: Understanding 'the defaultStack' In-Reply-To: <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> Message-ID: Wait what? It has to be visible? THAT I did NOT know. So hiding a stack will make it NOT the defaultStack if another visible stack is open. Bob S On Oct 8, 2016, at 13:22 , Richard Gaskin > wrote: The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. From bobsneidar at iotecdigital.com Fri Oct 14 16:45:56 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Oct 2016 20:45:56 +0000 Subject: Understanding 'the defaultStack' In-Reply-To: References: <41e747b9-8473-4b05-9338-e30039f0b211@hyperactivesw.com> Message-ID: <7BC70A6F-1816-4D1D-B2D7-77024536B17A@iotecdigital.com> Seems to me one unexpected outcome would be if you had the command "hide me" early in the script of a stack where another stack was visible, and then made references dependent on the defaultStack being the one hidden. Bob S On Oct 8, 2016, at 14:12 , Richard Gaskin > wrote: J. Landman Gay wrote: On 10/8/16 3:22 PM, Richard Gaskin wrote: The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. I thought visibility might impact it (I believe that's the case with Graham's stack) so I did some quick tests and even though there was a visible mode-1 topstack, going to the invisible one did change the defaultstack. Thus, my curiosity. I.e.: Stack One visible topstack mode 1 command: go stack stackTwo stackTwo visibility false mode 1 command: put the defaultstack -> stackTwo So...? Personally I'd consider that a bug. Even if visibility was never part of a formal definition, so much of the learnability of xTalk rests on being able to predict outcomes based on what we see. The layering of a window visibly changes if a window above it becomes hidden, all the way down to how the OS renders the drag region. To me it seems logical that an invisible window should be expected to require special handling if another window of the same mode is visible. I can't think of a case where the behavior you've documented would be either anticipatable or desirable. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From ambassador at fourthworld.com Fri Oct 14 16:55:41 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Oct 2016 13:55:41 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: <04c9bdab-5d8f-5a09-8ca3-34b47f0ac333@fourthworld.com> Ali Lloyd wrote: > It's not actually correct that they were introduced in LC8 -- > the properties have been there since at least 6.0.1 ( > https://github.com/livecode/livecode/blob/release-6.0.1/engine/src/lextable.cpp#L1343) > and probably before. > > Previously the home stack would set the custom property of the error > stack on startup (using the engine properties), which to my mind is > a slightly bizarre state of affairs and I'm not sure why it was done > that way. Prior to the error descriptions being added to the engine they had to be somewhere, and since the error dialog was the one place they were always needed putting them into a custom prop there made reasonable sense. -- 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 14 17:01:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Oct 2016 14:01:05 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <7BC70A6F-1816-4D1D-B2D7-77024536B17A@iotecdigital.com> References: <7BC70A6F-1816-4D1D-B2D7-77024536B17A@iotecdigital.com> Message-ID: <30e7fd1d-59a3-02ff-b3f2-308944cc178c@fourthworld.com> Bob Sneidar wrote: > Seems to me one unexpected outcome would be if you had the command > "hide me" early in the script of a stack where another stack was > visible, and then made references dependent on the defaultStack being > the one hidden. I think maybe one of the reasons we've seen more posts exploring the definition of defaultStack than we see complaints about its behavior is that in practice it's rarely needed. I use topStack often but mostly in dev tools; in my own apps I tend to use custom functions to distinguish windows by semantic role rather than behavioral modality. I can't recall the last time I needed defaultStack. It may well have been quite recently, but it must being doing what I expected it to do since I've never had to think about it before this thread. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Fri Oct 14 17:04:14 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 15 Oct 2016 08:04:14 +1100 Subject: Understanding 'the defaultStack' In-Reply-To: <30e7fd1d-59a3-02ff-b3f2-308944cc178c@fourthworld.com> References: <7BC70A6F-1816-4D1D-B2D7-77024536B17A@iotecdigital.com> <30e7fd1d-59a3-02ff-b3f2-308944cc178c@fourthworld.com> Message-ID: > On 15 Oct 2016, at 8:01 AM, Richard Gaskin wrote: > > I can't recall the last time I needed defaultStack. It may well have been quite recently, but it must being doing what I expected it to do since I've never had to think about it before this thread. Every time you use an object reference that doesn?t contain an explicit stack reference you are using the defaultStack. You might not be getting or setting the value but you would be depending on it in a large part of your code. Cheers Monte From monte at appisle.net Fri Oct 14 17:06:11 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 15 Oct 2016 08:06:11 +1100 Subject: Is 'Error Lookup' broken? In-Reply-To: <04c9bdab-5d8f-5a09-8ca3-34b47f0ac333@fourthworld.com> References: <04c9bdab-5d8f-5a09-8ca3-34b47f0ac333@fourthworld.com> Message-ID: > On 15 Oct 2016, at 7:55 AM, Richard Gaskin wrote: > > Prior to the error descriptions being added to the engine they had to be somewhere, and since the error dialog was the one place they were always needed putting them into a custom prop there made reasonable sense. I suspect what Ali found odd was setting a custom property at startup from an engine property didn?t make sense. I find it odd too. Better to use the engine property directly where needed. Cheers Monte From ambassador at fourthworld.com Fri Oct 14 17:08:16 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Oct 2016 14:08:16 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: References: Message-ID: Monte Goulding wrote: >> On 15 Oct 2016, at 8:01 AM, Richard Gaskin wrote: >> >> I can't recall the last time I needed defaultStack. It may well >> have been quite recently, but it must being doing what I expected >> it to do since I've never had to think about it before this thread. > > Every time you use an object reference that doesn?t contain an > explicit stack reference you are using the defaultStack. You might > not be getting or setting the value but you would be depending on > it in a large part of your code. Exactly. It must be working pretty well as it is or we would have had many more confused posts for decades rather than just a dozen only very 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 ambassador at fourthworld.com Fri Oct 14 17:15:17 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Oct 2016 14:15:17 -0700 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: <62476821-4711-c7ae-2a64-5f6562d45dde@fourthworld.com> Monte Goulding wrote: > I suspect what Ali found odd was setting a custom property at startup > from an engine property didn?t make sense. I find it odd too. Better > to use the engine property directly where needed. Dude, don't get me started on "Why is this IDE thing this way?" ;) I have a list of entertaining explorations in that territory, but we have bigger fish to fry.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ahsoftware at sonic.net Fri Oct 14 17:11:06 2016 From: ahsoftware at sonic.net (mwieder) Date: Fri, 14 Oct 2016 14:11:06 -0700 (PDT) Subject: Is 'Error Lookup' broken? In-Reply-To: References: <616B2C5D-80CA-4BEB-ADD5-0077227F5820@mac.com> <1C8B9FE0-AA58-411B-A8B7-B4172ABC883D@mac.com> Message-ID: <1476479466372-4709408.post@n4.nabble.com> Ali- Thanks for the correction. I was quickly just going by when the custom properties disappeared (they're present in LC6 and LC7), not looking at the commit log. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-Error-Lookup-broken-tp4709348p4709408.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Fri Oct 14 17:21:41 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 14 Oct 2016 14:21:41 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> Message-ID: <68AE9E1B-2F6C-4372-A515-2C9817219B0B@me.com> Just tested in 8.1.1 RC 2: Two stacks open, one stack is the topStack and is the defaultStack. Setting that stack?s visible to false keeps it as the defaultStack and the topStack. Peter Bogdanoff On Oct 14, 2016, at 1:37 PM, Bob Sneidar wrote: > Wait what? It has to be visible? THAT I did NOT know. So hiding a stack will make it NOT the defaultStack if another visible stack is open. > > Bob S > > > On Oct 8, 2016, at 13:22 , Richard Gaskin > wrote: > > The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Fri Oct 14 17:27:46 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 15 Oct 2016 08:27:46 +1100 Subject: Is 'Error Lookup' broken? In-Reply-To: <62476821-4711-c7ae-2a64-5f6562d45dde@fourthworld.com> References: <62476821-4711-c7ae-2a64-5f6562d45dde@fourthworld.com> Message-ID: > On 15 Oct 2016, at 8:15 AM, Richard Gaskin wrote: > > Dude, don't get me started on "Why is this IDE thing this way?" ;) We accept pull requests and bribes ;-) Cheers Monte From livfoss at mac.com Fri Oct 14 17:44:20 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 14 Oct 2016 23:44:20 +0200 Subject: Understanding 'the defaultStack' In-Reply-To: References: Message-ID: <7722E7DB-C9E3-4EF1-8032-FFD1A85DF07D@mac.com> Yes, but the way I think of it is if you do a ?go? to another stack, then the defaultStack changes so that you can make shorter references to objects in what is most likely then the current stack of interest. I got in a muddle because that isn?t always true. I suppose I rubbed along for a few years before I got hit by that particular gotcha, so in a way Richard you?re right. Good documentation is probably all that?s needed, rather than trying to alter the engine?s behaviour. My two Brexit-influenced, over-valued, eurocents. Graham > On 14 Oct 2016, at 23:08, Richard Gaskin wrote: > > Monte Goulding wrote: > > >> On 15 Oct 2016, at 8:01 AM, Richard Gaskin wrote: > >> > >> I can't recall the last time I needed defaultStack. It may well > >> have been quite recently, but it must being doing what I expected > >> it to do since I've never had to think about it before this thread. > > > > Every time you use an object reference that doesn?t contain an > > explicit stack reference you are using the defaultStack. You might > > not be getting or setting the value but you would be depending on > > it in a large part of your code. > > Exactly. It must be working pretty well as it is or we would have had many more confused posts for decades rather than just a dozen only very 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 14 23:30:02 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:30:02 +0000 Subject: Understanding 'the defaultStack' In-Reply-To: References: Message-ID: <2C4541BF-94F1-4DE9-B759-A02A26F65B89@iotecdigital.com> I think the more experienced devs have found ways to work around it. When in doubt, they use absolute references and don't depend on the engine to resolve relative references for them. I'm not sure if that makes your point or counters it. ;-) Bob S On Oct 14, 2016, at 14:08 , Richard Gaskin > wrote: Exactly. It must be working pretty well as it is or we would have had many more confused posts for decades rather than just a dozen only very recently. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From bobsneidar at iotecdigital.com Fri Oct 14 23:35:38 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:35:38 +0000 Subject: Understanding 'the defaultStack' In-Reply-To: <68AE9E1B-2F6C-4372-A515-2C9817219B0B@me.com> References: <3783f7b2-9487-320b-7089-5abffaaa0418@hyperactivesw.com> <112c48b4-e83a-e581-251f-89f787461837@fourthworld.com> <68AE9E1B-2F6C-4372-A515-2C9817219B0B@me.com> Message-ID: <716D8BA2-4E9F-4BF5-90B1-658CDB717CBF@iotecdigital.com> That breaks Dr. Raney's rule. I'm not sure who I am anymore... Bob S On Oct 14, 2016, at 14:21 , Peter Bogdanoff > wrote: Just tested in 8.1.1 RC 2: Two stacks open, one stack is the topStack and is the defaultStack. Setting that stack?s visible to false keeps it as the defaultStack and the topStack. Peter Bogdanoff On Oct 14, 2016, at 1:37 PM, Bob Sneidar > wrote: Wait what? It has to be visible? THAT I did NOT know. So hiding a stack will make it NOT the defaultStack if another visible stack is open. Bob S On Oct 8, 2016, at 13:22 , Richard Gaskin > wrote: The rule Dr. Raney gave me is that the defaultStack is the topmost visible stack of the lowest mode. From bobsneidar at iotecdigital.com Fri Oct 14 23:37:09 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:37:09 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: References: Message-ID: <291498CE-F871-49C2-9CDA-463F1579A084@iotecdigital.com> Ohhh... handy tip of the week! Bob S > On Oct 13, 2016, at 08:07 , Mark Wieder wrote: > > On 10/13/2016 07:30 AM, Graham Samuel wrote: >> I should have asked as a supplementary how one might find the textual version of numerical error codes oneself, for example, I have an error >> >> 347,0,0 > > put line 347 of the executionerrors > > -- > 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 14 23:43:26 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:43:26 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> Message-ID: Runs slower, but is much more fun: Type response Think twice Think thrice Go have a beer Go have another beer Go have a few more Stop thinking altogether Open computer in the morning and think, "What was I thinking?" Correct response Hit send Bob S From bobsneidar at iotecdigital.com Fri Oct 14 23:45:13 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:45:13 +0000 Subject: Is 'Error Lookup' broken? In-Reply-To: <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> References: <12ddffba-9f38-2743-4552-1507e4d39c8f@fourthworld.com> <0AC9980A-191D-480C-B98F-8E5614559C2C@byu.edu> Message-ID: <6CC0083C-DD74-4ECB-9B72-079BFCC24EDD@iotecdigital.com> It showed up light blue in a script, but when I right-clicked it and selected Find In Docs nothing happened. Then a rift opened in the space time continuum, and there was James Tiberius Kirk!!!! Bob S On Oct 14, 2016, at 09:23 , Devin Asay > wrote: The fact that scriptExecutionErrors function is undocumented is a confirmed bug. I?m not very familiar with it, but if anyone would supply me with a simple description I would be happy to add it to the Dictionary on github. Devin From bobsneidar at iotecdigital.com Fri Oct 14 23:54:41 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 03:54:41 +0000 Subject: Pasting to Powerpoint In-Reply-To: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> References: <6EB9ADA9-C2F2-44AB-B360-898717F93A82@hyperhh.de> Message-ID: I clicked the link. It olly shows sample code (I assume that needs to be compiled??) I don't do compile. :-) Bob S On Oct 13, 2016, at 19:10 , hh > wrote: On Mac there is a ClipboardViewer (https://developer.apple.com/library/content/samplecode/ClipboardViewer/) From bobsneidar at iotecdigital.com Sat Oct 15 00:00:37 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 04:00:37 +0000 Subject: lcmail.livecode saved in a newer version??? In-Reply-To: <3c63d984-a7ab-ed40-dfff-919cee751748@sonic.net> References: <3c63d984-a7ab-ed40-dfff-919cee751748@sonic.net> Message-ID: <31ED37C5-6297-49C0-A643-EAA0691EEAFE@iotecdigital.com> okay lcmcil.livecode. WAIT! My speel cheecker Isnd wurknfg. rigat. lcmail.livecode is what I meant to type. Bob S > On Oct 11, 2016, at 19:47 , Mark Wieder wrote: > > On 10/11/2016 12:14 PM, Bob Sneidar wrote: >> I cannot open lcmcil.livecode. It says it was produced in a newer version of livecide. What is newer than 8.1.1?? > > Heh. livecide > > -- > 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 Sat Oct 15 00:05:28 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 04:05:28 +0000 Subject: Pointers In-Reply-To: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Message-ID: When I was learning Pascal, I discovered that a handle was a pointer to a pointer. When I learned why that had to be, I decided to stick with Hypercard. :-) Bob S > On Oct 9, 2016, at 18:12 , JB wrote: > > Livecode has imported foundation which gives users > the ability to access those libraries and it was written > you can use pointers. Pointers are used in both C & > objective-C. You write them a little different but the > basic concept is the same. A pointer points to a > location in memory. A variable is an object which the > pointer points to. If variable X holds the integer 34 & > is located in the memory stack at 4217 the pointer will > simply hold that address which points you to 4217 in > memory so you can access and change the contents > of the memory at 4217 which is the object named X > and it is a variable of the type int or another type. > > To efficiently write code using pointers you need a > good understanding of them. Here is a link to one > of the best tutorials I have seen on pointers; > > http://pw1.netcom.com/~tjensen/ptr/pointers.htm > > This is written for beginners but it is so good even > many advanced programmers with a good knowledge > of pointers will benefit greatly from reading it. > > JB > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 15 00:14:54 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sat, 15 Oct 2016 04:14:54 +0000 Subject: Supercard 4.8 public beta In-Reply-To: References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> Message-ID: <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> Filemaker has a point and click programming interface. It just gets in the way. I spent more time perusing the dialog and sub-dialog boxes to try and figure out how to add 1 to a variable that contains 1, that I found myself saying, "Can't I just type a formula??" I gave up on Filemaker. Bob S On Oct 5, 2016, at 10:22 , Richard Gaskin > wrote: Like Bill Appleton told me shortly after he left his point-and-click authoring tool CourseBuilder behind to make SuperCard, there's a limit on the complexity of systems that can be expressed clearly in any point-and-click UI, and ultimately code becomes the more readable option for any but the most trivial of programs. After all, how many point-and-click tools used their point-and-click tool to build their IDE? :) Today most of the point-and-click are gone, even the industry-leading Authorware, while scripting language have taken over much of the world to dominate applications development. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web From stephenREVOLUTION2 at barncard.com Sat Oct 15 00:59:02 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 14 Oct 2016 21:59:02 -0700 Subject: Supercard 4.8 public beta In-Reply-To: <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> Message-ID: On Fri, Oct 14, 2016 at 9:14 PM, Bob Sneidar wrote: > Filemaker has a point and click programming interface. It just gets in the > way. I spent more time perusing the dialog and sub-dialog boxes to try and > figure out how to add 1 to a variable that contains 1, that I found myself > saying, "Can't I just type a formula??" > > I gave up on Filemaker. > > Bob S > the newest version of Numbers has awesome features that make me consider never using Filemaker for 'simple databases' again. especially ones that are for extended data organizers. It never got in the way. Stephen Barncard - Sebastopol Ca. USA - mixstream.org From richmondmathewson at gmail.com Sat Oct 15 08:01:03 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Oct 2016 15:01:03 +0300 Subject: Supercard 4.8 public beta In-Reply-To: <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> Message-ID: On 15.10.2016 07:14, Bob Sneidar wrote: > Filemaker has a point and click programming interface. It just gets in the way. I spent more time perusing the dialog and sub-dialog boxes to try and figure out how to add 1 to a variable that contains 1, that I found myself saying, "Can't I just type a formula??" > > I gave up on Filemaker. > > Bob S > > > On Oct 5, 2016, at 10:22 , Richard Gaskin > wrote: > > Like Bill Appleton told me shortly after he left his point-and-click authoring tool CourseBuilder behind to make SuperCard, there's a limit on the complexity of systems that can be expressed clearly in any point-and-click UI, and ultimately code becomes the more readable option for any but the most trivial of programs. > > After all, how many point-and-click tools used their point-and-click tool to build their IDE? :) > > Today most of the point-and-click are gone, even the industry-leading Authorware, while scripting language have taken over much of the world to dominate applications development. Well, where does that put Livecode? Or, rather, are you, Richard Gaskin, suggesting that Livecode should be shedding its point-and-click heritage in favour of becoming a scripting-only language? While I am sure that is possible, at that point all the hard work that Kevin Miller did to extend the WYSIWYG aspect of MetaCard will go for nothing, and a very large part of what makes Livecode so strong will be lost. * **Livecode* is not a point-and-click authoring tool, and nor is it something like C++; but it can be seen as a *hybrid* of these two extremes, where end-users can choose where along that*point-and-click to** **scripting language continuum* they want to work. If Livecode's point-and-click interface "just gets in the way" there is no earthly reason why one cannot do the whole thing by scripting alone [frankly, making buttons, fields and other "furniture" by scripting seems, after years of Livecode 'as it is', unnecessarily tedious], but that doesn't mean it has to whither-and-die like some sort of Marxist waning away of the state, especially when it is a great strength of Livecode. Richmond. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Sat Oct 15 10:04:00 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 15 Oct 2016 07:04:00 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> Message-ID: <4C795EB5-03ED-407E-A417-0001C49862DD@gmail.com> I believe Richard was talking about tools that only did point and click. Everything had to be achieved by placing elements and setting parameters. mTropolis was one of the neater tools of that type, but it would take a lot of logical thinking to get it to achieve things that could be done in a few lines of code. It?s a good thing if a tool is a combination of visual layout and then some scripting. Even Xcode uses an interface builder tool. > On Oct 15, 2016, at 5:01 AM, Richmond wrote: > > Well, where does that put Livecode? > > Or, rather, are you, Richard Gaskin, suggesting that Livecode should be shedding its point-and-click > heritage in favour of becoming a scripting-only language? From richmondmathewson at gmail.com Sat Oct 15 10:11:35 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Oct 2016 17:11:35 +0300 Subject: Supercard 4.8 public beta In-Reply-To: <4C795EB5-03ED-407E-A417-0001C49862DD@gmail.com> References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> <4C795EB5-03ED-407E-A417-0001C49862DD@gmail.com> Message-ID: <906e6758-ba35-591c-40e7-62daad7326ba@gmail.com> Aha! On 15.10.2016 17:04, Colin Holgate wrote: > I believe Richard was talking about tools that only did point and click. Well tools that only do point and click are a bit of a dead loss because their authors are unable to make them fine-grained enough that end-users can tune them sufficiently to produce anything other than clunky monsters. Richmond. > Everything had to be achieved by placing elements and setting parameters. mTropolis was one of the neater tools of that type, but it would take a lot of logical thinking to get it to achieve things that could be done in a few lines of code. > > It?s a good thing if a tool is a combination of visual layout and then some scripting. Even Xcode uses an interface builder tool. > > >> On Oct 15, 2016, at 5:01 AM, Richmond wrote: >> >> Well, where does that put Livecode? >> >> Or, rather, are you, Richard Gaskin, suggesting that Livecode should be shedding its point-and-click >> heritage in favour of becoming a scripting-only language? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Oct 15 10:38:25 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 15 Oct 2016 10:38:25 -0400 Subject: Pointers In-Reply-To: References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Message-ID: I don't know why you would have a problem with that; Once you understand how to use pointers, you should have no problems with handles; On Sat, Oct 15, 2016 at 12:05 AM, Bob Sneidar wrote: > When I was learning Pascal, I discovered that a handle was a pointer to a > pointer. When I learned why that had to be, I decided to stick with > Hypercard. :-) > > Bob S > > > > On Oct 9, 2016, at 18:12 , JB wrote: > > > > Livecode has imported foundation which gives users > > the ability to access those libraries and it was written > > you can use pointers. Pointers are used in both C & > > objective-C. You write them a little different but the > > basic concept is the same. A pointer points to a > > location in memory. A variable is an object which the > > pointer points to. If variable X holds the integer 34 & > > is located in the memory stack at 4217 the pointer will > > simply hold that address which points you to 4217 in > > memory so you can access and change the contents > > of the memory at 4217 which is the object named X > > and it is a variable of the type int or another type. > > > > To efficiently write code using pointers you need a > > good understanding of them. Here is a link to one > > of the best tutorials I have seen on pointers; > > > > http://pw1.netcom.com/~tjensen/ptr/pointers.htm > > > > This is written for beginners but it is so good even > > many advanced programmers with a good knowledge > > of pointers will benefit greatly from reading it. > > > > JB > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 colinholgate at gmail.com Sat Oct 15 10:48:52 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 15 Oct 2016 07:48:52 -0700 Subject: Pointers In-Reply-To: References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Message-ID: <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> The difficulty with pointers and handles was that with one you could get straight at the value you wanted, and the other you had to dereference it first. Meaning, that you were the one who had to understand whether you were dealing with a pointer or a handle. Computers ought to take care of those things for you. > On Oct 15, 2016, at 7:38 AM, Mike Kerner wrote: > > I don't know why you would have a problem with that; > Once you understand how to use pointers, you should have no problems with > handles; From ambassador at fourthworld.com Sat Oct 15 10:53:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Oct 2016 07:53:46 -0700 Subject: Understanding 'the defaultStack' In-Reply-To: <716D8BA2-4E9F-4BF5-90B1-658CDB717CBF@iotecdigital.com> References: <716D8BA2-4E9F-4BF5-90B1-658CDB717CBF@iotecdigital.com> Message-ID: <7914e2f8-6430-ad13-6c9f-0339cc0ec545@fourthworld.com> Bob Sneidar wrote: >> On Oct 8, 2016, at 13:22 , Richard Gaskin wrote: >>> The rule Dr. Raney gave me is that the defaultStack is the topmost >>> visible stack of the lowest mode. >> >> On Oct 14, 2016, at 14:21 , Peter Bogdanoff wrote: >> Just tested in 8.1.1 RC 2: Two stacks open, one stack is the >> topStack and is the defaultStack. >> >> Setting that stack?s visible to false keeps it as the defaultStack >> and the topStack. > > > That breaks Dr. Raney's rule. It's been nearly two decades since I had that conversation with Dr. Raney. As I noted earlier, and as Jacque and Peter confirm, it's likely I was just mistaken - it seems the actual rule is even simpler: The defaultStack is the topmost stack with the lowest mode. > I'm not sure who I am anymore... Unless you've experienced a problem with it, just keep doing what you're doing. It seems to be working as expected for most people in most circumstances. We have more posts here exploring its definition than about problems relating to its behavior. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Oct 15 11:23:49 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Oct 2016 08:23:49 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: Message-ID: <791187df-8a19-4c78-0a07-b2116648a56c@fourthworld.com> Richmond wrote: > On Oct 5, 2016, at 10:22 , Richard Gaskin wrote: >> >> Like Bill Appleton told me shortly after he left his point-and-click >> authoring tool CourseBuilder behind to make SuperCard, there's a >> limit on the complexity of systems that can be expressed clearly in >> any point-and-click UI, and ultimately code becomes the more >> readable option for any but the most trivial of programs. >> >> After all, how many point-and-click tools used their point-and-click >> tool to build their IDE? :) >> >> Today most of the point-and-click are gone, even the industry- >> leading Authorware, while scripting language have taken over much of >> the world to dominate applications development. > > Well, where does that put Livecode? It leaves LiveCode where it's designed to be: among the world's most useful scripting language IDEs. > Or, rather, are you, Richard Gaskin, suggesting that Livecode should > be shedding its point-and-click heritage in favour of becoming a > scripting-only language? > > While I am sure that is possible, at that point all the hard work > that Kevin Miller did to extend the WYSIWYG aspect of MetaCard will > go for nothing, and a very large part of what makes Livecode so > strong will be lost. I guess my writing was unclear. I wasn't distinguishing between command-line tools and GUI tools, but between IDEs in which *programming* is done through typing or via a point-and-click GUI. Of course LiveCode has a GUI for layout, as does XCode, Visual Basic, Xojo, and many others. And like those, the *programming* within the tool is done by typing. This is a clear distinction from tools like Authorware, IconAuthor, Scratch, and that whole category of VPLs, in which the *programming* is done via a point-and-click GUI. Of course no one's advocating that Kevin turn LC into a command-line-only tool. Please. But no matter how much time we spend doing layout in the GUI, the objects we create are for the most part static. If we want them to do anything we write code. And when we write code we do so by typing. > **Livecode* is not a point-and-click authoring tool, and nor is it > something like C++; but it can be seen as a *hybrid* of these two > extremes, where end-users can choose where along that*point-and-click > to** **scripting language continuum* they want to work. There's not much of a continuum there now. There wasn't much in HyperCard either. In HyperCard, the range of things you could code via its point-and-click auto-scripting palette was limited to simple navigation and little else. Want to put the contents of one field into another? Add two numbers and display the result? Read a file from disk? In Authorware and other VPLs you can do those things via point-and-click, but all those and nearly everything else we do require scripting in HyperCard, as it does in LiveCode (and Python, and JavaScript, and Swift, etc.). Without scripting, LiveCode is only slightly more capable of making interactive media than any drawing program. Which is to say close to NIL. Responding to user actions with meaningful behavior in any scripting language requires, well, scripting. My point wasn't that we should turn LC into a command-line tool. My point was merely reinforcing what Bill Appleton observed, and what the market has demonstrated since: point-and-click *programming* can sometimes lower cognitive load in early stages of learning, but at the cost of inhibiting the range of complexity it can gracefully support as one's skills grow. While VPLs have for the most part come and gone, scripting has become the dominant means of applications development in the 21st century. Scratch is an undeniably valuable tool for young minds. But for delivery of professional applications, even richer VPLs than Scratch, like Authorware and IconAuthor, have waned while typing in scripting languages has only continued to grow. -- 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 Sat Oct 15 12:12:11 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 15 Oct 2016 12:12:11 -0400 Subject: Pointers In-Reply-To: <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> Message-ID: <001501d226fe$e33cb180$a9b61480$@net> Bliss32(Dec VMS) used periods "." for pointers. Multi dots were allowed and gave me many a headache back in the day. Myvar==>The the variables value .Myvar==>Address of the variables value ..Myvar==>Address of the address to the variables value And so on... 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 Colin Holgate Sent: Saturday, October 15, 2016 10:49 AM To: How to use LiveCode Subject: Re: Pointers The difficulty with pointers and handles was that with one you could get straight at the value you wanted, and the other you had to dereference it first. Meaning, that you were the one who had to understand whether you were dealing with a pointer or a handle. Computers ought to take care of those things for you. > On Oct 15, 2016, at 7:38 AM, Mike Kerner wrote: > > I don't know why you would have a problem with that; Once you > understand how to use pointers, you should have no problems with > handles; _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 15 13:10:14 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Oct 2016 20:10:14 +0300 Subject: Supercard 4.8 public beta In-Reply-To: <791187df-8a19-4c78-0a07-b2116648a56c@fourthworld.com> References: <791187df-8a19-4c78-0a07-b2116648a56c@fourthworld.com> Message-ID: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> Thank you, Richard Gaskin, for clarifying that. What that does do is confirm my view that teaching children stuff such as Scratch at school has little or no value in the sense that it is NOT a programming language. Teaching Scratch reminds me of Jas Pitman's Initial Teaching Alphabet: intended to speed up children's ability to read English all it succeeded in doing was in slowing down their learning the English writing system because they had already learnt an "alphabet" with 45 letters, many of which, while resembling those in the English alphabet were effectively false friends. https://en.wikipedia.org/wiki/Initial_Teaching_Alphabet Every time anyone says "Let's use Scratch with young children" I start sweating and having hot flushes . . . and wonder why more is not being done to push Livecode and Livecode-like programming IDEs in schools. Richmond. On 15.10.2016 18:23, Richard Gaskin wrote: > Richmond wrote: > > > On Oct 5, 2016, at 10:22 , Richard Gaskin wrote: > >> > >> Like Bill Appleton told me shortly after he left his point-and-click > >> authoring tool CourseBuilder behind to make SuperCard, there's a > >> limit on the complexity of systems that can be expressed clearly in > >> any point-and-click UI, and ultimately code becomes the more > >> readable option for any but the most trivial of programs. > >> > >> After all, how many point-and-click tools used their point-and-click > >> tool to build their IDE? :) > >> > >> Today most of the point-and-click are gone, even the industry- > >> leading Authorware, while scripting language have taken over much of > >> the world to dominate applications development. > > > > Well, where does that put Livecode? > > It leaves LiveCode where it's designed to be: among the world's most > useful scripting language IDEs. > > > > Or, rather, are you, Richard Gaskin, suggesting that Livecode should > > be shedding its point-and-click heritage in favour of becoming a > > scripting-only language? > > > > While I am sure that is possible, at that point all the hard work > > that Kevin Miller did to extend the WYSIWYG aspect of MetaCard will > > go for nothing, and a very large part of what makes Livecode so > > strong will be lost. > > I guess my writing was unclear. > > I wasn't distinguishing between command-line tools and GUI tools, but > between IDEs in which *programming* is done through typing or via a > point-and-click GUI. > > Of course LiveCode has a GUI for layout, as does XCode, Visual Basic, > Xojo, and many others. > > And like those, the *programming* within the tool is done by typing. > > This is a clear distinction from tools like Authorware, IconAuthor, > Scratch, and that whole category of VPLs, in which the *programming* > is done via a point-and-click GUI. > > Of course no one's advocating that Kevin turn LC into a > command-line-only tool. Please. > > But no matter how much time we spend doing layout in the GUI, the > objects we create are for the most part static. If we want them to do > anything we write code. And when we write code we do so by typing. > > > > **Livecode* is not a point-and-click authoring tool, and nor is it > > something like C++; but it can be seen as a *hybrid* of these two > > extremes, where end-users can choose where along that*point-and-click > > to** **scripting language continuum* they want to work. > > There's not much of a continuum there now. There wasn't much in > HyperCard either. > > In HyperCard, the range of things you could code via its > point-and-click auto-scripting palette was limited to simple > navigation and little else. > > Want to put the contents of one field into another? Add two numbers > and display the result? Read a file from disk? In Authorware and > other VPLs you can do those things via point-and-click, but all those > and nearly everything else we do require scripting in HyperCard, as it > does in LiveCode (and Python, and JavaScript, and Swift, etc.). > > Without scripting, LiveCode is only slightly more capable of making > interactive media than any drawing program. Which is to say close to > NIL. > > Responding to user actions with meaningful behavior in any scripting > language requires, well, scripting. > > > My point wasn't that we should turn LC into a command-line tool. > > My point was merely reinforcing what Bill Appleton observed, and what > the market has demonstrated since: point-and-click *programming* can > sometimes lower cognitive load in early stages of learning, but at the > cost of inhibiting the range of complexity it can gracefully support > as one's skills grow. > > While VPLs have for the most part come and gone, scripting has become > the dominant means of applications development in the 21st century. > > Scratch is an undeniably valuable tool for young minds. But for > delivery of professional applications, even richer VPLs than Scratch, > like Authorware and IconAuthor, have waned while typing in scripting > languages has only continued to grow. > From ambassador at fourthworld.com Sat Oct 15 13:41:59 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Oct 2016 10:41:59 -0700 Subject: Supercard 4.8 public beta In-Reply-To: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> Message-ID: <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> Richmond wrote: > Thank you, Richard Gaskin, for clarifying that. > > What that does do is confirm my view that teaching children stuff > such as Scratch at school has little or no value in the sense that > it is NOT a programming language. I would caution against using the rants of a programmer as a substitute for sound pedagogy. :) And in all fairness, even in my ignorance of good teaching methods for kids I know just enough about Piaget to have included: Scratch is an undeniably valuable tool for young minds. There's a place for very simple tools in the early stages of introducing kids to algorithmic thinking. Many times such exercises begin quite well on paper, only later graduating to things like Scratch. Scratch is accessible because it has well-defined boundaries. After a series of exercises, those boundaries will become walls. And that's the moment to introduce scripting. -- 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 Sat Oct 15 14:02:45 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 15 Oct 2016 14:02:45 -0400 Subject: Supercard 4.8 public beta In-Reply-To: <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> Message-ID: Scratch might be a digital version of Richmond's cups method. I was impressed many years ago with his description of putting things into cups to teach children the concept of variables, writing the name of the var on the cup, and changing their contents. You can even put a variable into another variable, and therefore its content travels with it (same with cups). ~Roger On Oct 15, 2016 1:42 PM, "Richard Gaskin" wrote: > Richmond wrote: > > > Thank you, Richard Gaskin, for clarifying that. > > > > What that does do is confirm my view that teaching children stuff > > such as Scratch at school has little or no value in the sense that > > it is NOT a programming language. > > I would caution against using the rants of a programmer as a substitute > for sound pedagogy. :) > > And in all fairness, even in my ignorance of good teaching methods for > kids I know just enough about Piaget to have included: > > Scratch is an undeniably valuable tool for young minds. > > There's a place for very simple tools in the early stages of introducing > kids to algorithmic thinking. Many times such exercises begin quite well > on paper, only later graduating to things like Scratch. > > Scratch is accessible because it has well-defined boundaries. > > After a series of exercises, those boundaries will become walls. > > And that's the moment to introduce scripting. > > -- > 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 MikeKerner at roadrunner.com Sat Oct 15 14:17:10 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 15 Oct 2016 14:17:10 -0400 Subject: Pointers In-Reply-To: <001501d226fe$e33cb180$a9b61480$@net> References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> <001501d226fe$e33cb180$a9b61480$@net> Message-ID: Agreed, colin. The language and the tool should be doing the work, not me. The compiler should be doing the work, not me. On Sat, Oct 15, 2016 at 12:12 PM, Ralph DiMola wrote: > Bliss32(Dec VMS) used periods "." for pointers. Multi dots were allowed and > gave me many a headache back in the day. > Myvar==>The the variables value > .Myvar==>Address of the variables value > ..Myvar==>Address of the address to the variables value > And so on... > > 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 Colin Holgate > Sent: Saturday, October 15, 2016 10:49 AM > To: How to use LiveCode > Subject: Re: Pointers > > The difficulty with pointers and handles was that with one you could get > straight at the value you wanted, and the other you had to dereference it > first. Meaning, that you were the one who had to understand whether you > were > dealing with a pointer or a handle. Computers ought to take care of those > things for you. > > > > On Oct 15, 2016, at 7:38 AM, Mike Kerner > wrote: > > > > I don't know why you would have a problem with that; Once you > > understand how to use pointers, you should have no problems with > > handles; > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Sat Oct 15 14:39:32 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Oct 2016 21:39:32 +0300 Subject: Supercard 4.8 public beta In-Reply-To: <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> Message-ID: <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> On 15.10.2016 20:41, Richard Gaskin wrote: > Richmond wrote: > > > Thank you, Richard Gaskin, for clarifying that. > > > > What that does do is confirm my view that teaching children stuff > > such as Scratch at school has little or no value in the sense that > > it is NOT a programming language. > > I would caution against using the rants of a programmer as a > substitute for sound pedagogy. :) > > And in all fairness, even in my ignorance of good teaching methods for > kids I know just enough about Piaget to have included: > > Scratch is an undeniably valuable tool for young minds. > > There's a place for very simple tools in the early stages of > introducing kids to algorithmic thinking. Many times such exercises > begin quite well on paper, only later graduating to things like Scratch. > > Scratch is accessible because it has well-defined boundaries. > > After a series of exercises, those boundaries will become walls. > > And that's the moment to introduce scripting. I would argue that you can do all of that within Livecode, thereby avoiding a hiatus as you get kids to transfer. Richmond. > > -- > 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 jacque at hyperactivesw.com Sat Oct 15 15:11:00 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Oct 2016 14:11:00 -0500 Subject: Understanding 'the defaultStack' In-Reply-To: <7914e2f8-6430-ad13-6c9f-0339cc0ec545@fourthworld.com> References: <716D8BA2-4E9F-4BF5-90B1-658CDB717CBF@iotecdigital.com> <7914e2f8-6430-ad13-6c9f-0339cc0ec545@fourthworld.com> Message-ID: On 10/15/16 9:53 AM, Richard Gaskin wrote: > We have more posts here exploring its definition than about problems > relating to its behavior. The discussion was very helpful for me, I've never been clear about when I need to specifically set the defaultstack, and usually I only figure it out when errors happen. Then I'd set it specifically, still never understanding why I had to. I do use the defaultstack whenever I have many actions that need to apply to a stack. If I'm only referring to an object once or twice I use a long ID or name, but if I need to do lots of stuff it's way easier to have a defaultstack. One good example is the stack-builder tool I wrote for a client, which creates and updates stacks. During creation there are hundreds of commands to create objects, apply scripts and properties, import images, etc. Using long references in every line of that code would be burdensome. Until now I couldn't understand why "create stack x" required me to set the defaultstack to the newly created one. Now I do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sat Oct 15 20:37:24 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Oct 2016 02:37:24 +0200 Subject: [ANN] Reminder - LiveCode Meeting In-Reply-To: References: Message-ID: <87b14026-4eab-2d32-dddc-946adf8ccbd2@economy-x-talk.com> Hello, Please don't forget: later today at 13:00u., we will have a LiveCode meeting in Utrecht, the Netherlands. See the quoted message below for details. Vergeet niet dat er later vandaag om 13:00u., in Utrecht een LiveCode-bijeenkomst gehouden wordt. Zie het bijgevoegde bericht hieronder voor de details. Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch Buy the most extensive book on the LiveCode language: http://livecodebeginner.economy-x-talk.com Op 14-Oct-16 om 02:14 schreef Mark Schonewille: > LiveCode-bijeenkomst > > Aanstaande zondag 16 oktober organiseert eHUG een LiveCode-meeting > (tevens voor eenieder ge?nteresseerd in SuperCard, Xojo, HyperStudio > and zelfs HyperCard). Toegang is gratis, maar consumpties zijn voor > eigen rekening. > > > Agenda > > De bijeenkomst zal informeel van karakter zijn. Er staan enkele > punten op de agenda, maar de agenda is vooralsnog incompleet. Het > volgende zal, in willekeurige volgorde, aan bod komen: > > LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Verloting van > HyperStudio-licentie Verloting van boek Programming LiveCode for the > Real Beginner Verloting van 50% korting op LiveCode De volgende > meeting in Antwerpen Projecten van deelnemers Widgets > > We hopen nog meer aan te kunnen bieden, maar daar wordt nog aan > gewerkt. > > Belangrijk: eigen inbreng van de deelnemers maakt de bijeenkomst veel > interessanter! Neem je eigen project mee en laat het zien! Laat > ondergetekende per e-mail even weten hoeveel tijd je nodig hebt > (alles tussen 5 en 30 minuten is mogelijk). > > > Locatie > > De bijeenkomst wordt gehouden in de lobby van het NH Hotel in > Utrecht. Het adres is: > > Jaarbeursplein 24 3521 AR Utrecht The Netherlands > > Het hotel ligt op loopafstand van het centraal station van Utrecht > zoals je op deze kaart kunt zien: https://goo.gl/maps/WBDSG > > De bijeenkomst begint om ongeveer 13:00u. en is uiterlijk 17:00u. > afgelopen. Het is mogelijk om na de bijeenkomst nog even iets te gaan > eten in het gezellige centrum van Utrecht. > > > Meer info > > Wil je op de hoogte blijven van activiteiten rond xTalk en LiveCode? > Stuur mij een e-mailtje en ik zet je op de lijst. > > Je kunt mij ook op Twitter volgen. Mijn persoonlijke account is > @xtalkprogrammer en als je op de hoogte wilt blijven van > computernieuws volg me dan op @MoreNewz. > > Je kunt me tevens op Facebook vinden op het adres > https://www.facebook.com/marksch en je kunt lid worden van de > LiveCode Facebook groep op https://www.facebook.com/groups/runrev/ > > Heb je op het laatste moment nog vragen? Je kunt mij bereiken op > Skype via xtalkprogrammer en als je mijn telefoonnummer hebt, kun je > mij een berichtje sturen op Whatsapp of Viber. > > Lees meer over het boek Programming for the Real Beginner op > http://tinyurl.com/livecodebook > > Je kunt alles over HyperStudio lezen op http://www.hyperstudio.com > en we raden je zeker aan om ook http://www.hyperduino.com te bezoeken > aangezien dit een geweldig gadget is voor je Arduino Uno board. > > De SuperCard website kun je vinden op http://www.supercard.us en je > kunt meer over Xojo vinden op http://www.xojo.com. Om de lijst > compleet te maken, vermelden we nog even de website van LiveCode: > http://www.livecode.com > > > > LiveCode Meeting > > This Sunday 16th October, eHUG organises a LiveCode meeting (also for > anyone who might be interested in SuperCard, Xojo, HyperStudio and > even HyperCard). Entrance is free but drinks are on your own > account. > > > Schedule > > The meeting will be informal. There are a number of items on the > agenda, but for now the schedule is incomplete. The following > subjects will be included in our program: > > LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Raffle of a HyperStudio > license Raffle of the book Programming for the Real Beginner Raffle > of a 50% discount on LiveCode Next meeting in Antwerp Projects of > participants Widgets > > We hope to have more on offer soon, but we're still working on that. > > Important: own contributions by participants make the meeting much > more interesting! Bring your own project and show it! Please tell me > how much time you need (anything between 5 and 30 minutes goes). > > > Location > > The meeting is in the lobby of the NH Hotel in Utrecht, the > Netherands. The address is: > > Jaarbeursplein 24 3521 AR Utrecht The Netherlands > > The hotel is within walking distance from the Utrecht Central > Station, as you can see on this map: https://goo.gl/maps/WBDSG > > The meeting starts at approximately 13:00h. and finishes before > 17:00h. It is possible to have a nice dinner in the centre of Utrecht > afterwards. > > > More info > > Do you want to stay informed about activities about xTalk and > LiveCode? Send me an e-mail with your request and I'll add you to the > list. > > You can follow me on Twitter. My personal account is @xtalkprogrammer > and if you want to get news about tech and computers you can follow > @MoreNewz. > > You can also find me on Facebook at https://www.facebook.com/marksch > and there is a LiveCode Facebook group at > https://www.facebook.com/groups/runrev/ > > Do you have any question in the last moment? You can contact me at > Skype at xtalkprogrammer and if you have my phone number you can > contact me on Whatsapp or Viber. > > You can read more about the book Programming LiveCode for the Real > Beginner at http://tinyurl.com/livecodebook > > You can read everything about HyperStudio at > http://www.hyperstudio.com and we really recommend taking a look at > http://www.hyperduino.com as it is a great little gadget to accompany > your Arduino Uno board. > > The SuperCard website is at http://www.supercard.us and more about > Xojo can be fount at http://www.xojo.com. To make the list complete, > here is the LiveCode website http://www.livecode.com > > -- Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering Homepage: > http://economy-x-talk.com Twitter: > http://twitter.com/xtalkprogrammer KvK: 50277553 > > We have time for new software development projects. Contact me for a > quote. > > > > From lan.kc.macmail at gmail.com Sun Oct 16 01:06:05 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 16 Oct 2016 13:06:05 +0800 Subject: Supercard 4.8 public beta In-Reply-To: <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> Message-ID: On Sun, Oct 16, 2016 at 2:39 AM, Richmond wrote: > I would argue that you can do all of that within Livecode, thereby avoiding > a hiatus as you get kids to transfer. > And surely that's exactly the same argument as those who questions the relevance of playing with a toy language like LiveCode when you could just start with a real language like C, C++ etc. There is no question that you can teach a child to read by using the King James Bible; millions of people learned to read that way because for decades, if not centuries the family Bible was the only book a family possessed. I wonder for how many the family Bible was the only book they ever read? I wonder how many developed a love of reading and for how many it was nothing but a chore? I dare say, at the time, some would say that Dr Seuss books were not books at all but just a collection of nonsensical words with no point or value. But for how many children did these toy words build an understanding of real words and a love for reading? My wife is an avid reader (and educator) who was extremely concerned when two of our children struggled to learn to read - one with extreme lysdexia (I seffur to). The dyslexic was 'cured' with comics and the other was 'cured' by J.K. Rowling. The great thing about programming languages and IDE's is that they're like books, they come in all sorts of sizes and flavours and suit a wide variety of preferences, talents and learning styles. I'm not a big reader but I love Dr Seuss books, maybe there's a correlation with why I love LC ;-) No language/IDE will suit everyone at every age at every learning stage, but few people would not be able to find a language/IDE that gels with their way of learning/thinking right now. With all the discussion between 'point and click' vs scripting/typing there is one other method that has been skipped that, as with all such things, was touted to be the next great thing in programming: recording. AppleScript/Automator is the only example I can think of but I assume there are others. Automator I guess being an acknowledgement that 'recording' quickly hit the wall and it was obvious that it's only value was with automating repeatable processes. Still, I learnt an enormous amount about AppleScript as a language by recording a process and inspecting the resulting script. In fact, this is true more so today as I use AppleScript so infrequently that whenever I crack it open I usually record some process just to give me a head start and a refresher on the syntax. From m.schonewille at economy-x-talk.com Sun Oct 16 05:35:56 2016 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Oct 2016 11:35:56 +0200 Subject: LiveCode Meeting - arrival In-Reply-To: References: Message-ID: <53503825-1FDC-4303-A762-CBC5C8D704CE@economy-x-talk.com> Beste deelnemers, In verband met het reisschema van de spoorwegen zal ik kort na de afgesproken tijd arriveren. -- 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 14 okt. 2016 om 02:14 heeft Mark Schonewille het volgende geschreven: > LiveCode-bijeenkomst > > Aanstaande zondag 16 oktober organiseert eHUG een LiveCode-meeting (tevens voor eenieder ge?nteresseerd in SuperCard, Xojo, HyperStudio and zelfs HyperCard). Toegang is gratis, maar consumpties zijn voor eigen rekening. > > > Agenda > > De bijeenkomst zal informeel van karakter zijn. Er staan enkele punten op de agenda, maar de agenda is vooralsnog incompleet. Het volgende zal, in willekeurige volgorde, aan bod komen: > > LiveCode 8 > SuperCard 4.8 > Arduino / HyperDuino > Verloting van HyperStudio-licentie > Verloting van boek Programming LiveCode for the Real Beginner > Verloting van 50% korting op LiveCode > De volgende meeting in Antwerpen > Projecten van deelnemers > Widgets > > We hopen nog meer aan te kunnen bieden, maar daar wordt nog aan gewerkt. > > Belangrijk: eigen inbreng van de deelnemers maakt de bijeenkomst veel interessanter! Neem je eigen project mee en laat het zien! Laat ondergetekende per e-mail even weten hoeveel tijd je nodig hebt (alles tussen 5 en 30 minuten is mogelijk). > > > Locatie > > De bijeenkomst wordt gehouden in de lobby van het NH Hotel in Utrecht. Het adres is: > > Jaarbeursplein 24 > 3521 AR Utrecht From b.sellung at posteo.de Sun Oct 16 06:58:53 2016 From: b.sellung at posteo.de (Beda Sellung Posteo) Date: Sun, 16 Oct 2016 12:58:53 +0200 Subject: [ANN] Reminder - LiveCode Meeting In-Reply-To: <87b14026-4eab-2d32-dddc-946adf8ccbd2@economy-x-talk.com> References: <87b14026-4eab-2d32-dddc-946adf8ccbd2@economy-x-talk.com> Message-ID: <4F11A288-D3BC-4679-9B04-1CFC98C15237@posteo.de> Hello I?ve got the reminder but perhaps not the announcement. But honestly, it had been to far for me to go there, if I would not have combined it with a weekend holiday, but that would be a good idea! Perhaps it would be possible for me to come to the next meeting in Antwerpen, it would be nice if you would add me to your list for more informations, thanks! I wish you the best success for today, Beda Sellung Am 16.10.2016 um 02:37 schrieb Mark Schonewille : > Hello, > > Please don't forget: later today at 13:00u., we will have a LiveCode > meeting in Utrecht, the Netherlands. See the quoted message below for > details. > > Vergeet niet dat er later vandaag om 13:00u., in Utrecht een > LiveCode-bijeenkomst gehouden wordt. Zie het bijgevoegde bericht > hieronder voor de details. > > Kind regards, > > Mark Schonewille > http://economy-x-talk.com > https://www.facebook.com/marksch > > Buy the most extensive book on the > LiveCode language: > http://livecodebeginner.economy-x-talk.com > > Op 14-Oct-16 om 02:14 schreef Mark Schonewille: >> LiveCode-bijeenkomst >> >> Aanstaande zondag 16 oktober organiseert eHUG een LiveCode-meeting >> (tevens voor eenieder ge?nteresseerd in SuperCard, Xojo, HyperStudio >> and zelfs HyperCard). Toegang is gratis, maar consumpties zijn voor >> eigen rekening. >> >> >> Agenda >> >> De bijeenkomst zal informeel van karakter zijn. Er staan enkele >> punten op de agenda, maar de agenda is vooralsnog incompleet. Het >> volgende zal, in willekeurige volgorde, aan bod komen: >> >> LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Verloting van >> HyperStudio-licentie Verloting van boek Programming LiveCode for the >> Real Beginner Verloting van 50% korting op LiveCode De volgende >> meeting in Antwerpen Projecten van deelnemers Widgets >> >> We hopen nog meer aan te kunnen bieden, maar daar wordt nog aan >> gewerkt. >> >> Belangrijk: eigen inbreng van de deelnemers maakt de bijeenkomst veel >> interessanter! Neem je eigen project mee en laat het zien! Laat >> ondergetekende per e-mail even weten hoeveel tijd je nodig hebt >> (alles tussen 5 en 30 minuten is mogelijk). >> >> >> Locatie >> >> De bijeenkomst wordt gehouden in de lobby van het NH Hotel in >> Utrecht. Het adres is: >> >> Jaarbeursplein 24 3521 AR Utrecht The Netherlands >> >> Het hotel ligt op loopafstand van het centraal station van Utrecht >> zoals je op deze kaart kunt zien: https://goo.gl/maps/WBDSG >> >> De bijeenkomst begint om ongeveer 13:00u. en is uiterlijk 17:00u. >> afgelopen. Het is mogelijk om na de bijeenkomst nog even iets te gaan >> eten in het gezellige centrum van Utrecht. >> >> >> Meer info >> >> Wil je op de hoogte blijven van activiteiten rond xTalk en LiveCode? >> Stuur mij een e-mailtje en ik zet je op de lijst. >> >> Je kunt mij ook op Twitter volgen. Mijn persoonlijke account is >> @xtalkprogrammer en als je op de hoogte wilt blijven van >> computernieuws volg me dan op @MoreNewz. >> >> Je kunt me tevens op Facebook vinden op het adres >> https://www.facebook.com/marksch en je kunt lid worden van de >> LiveCode Facebook groep op https://www.facebook.com/groups/runrev/ >> >> Heb je op het laatste moment nog vragen? Je kunt mij bereiken op >> Skype via xtalkprogrammer en als je mijn telefoonnummer hebt, kun je >> mij een berichtje sturen op Whatsapp of Viber. >> >> Lees meer over het boek Programming for the Real Beginner op >> http://tinyurl.com/livecodebook >> >> Je kunt alles over HyperStudio lezen op http://www.hyperstudio.com >> en we raden je zeker aan om ook http://www.hyperduino.com te bezoeken >> aangezien dit een geweldig gadget is voor je Arduino Uno board. >> >> De SuperCard website kun je vinden op http://www.supercard.us en je >> kunt meer over Xojo vinden op http://www.xojo.com. Om de lijst >> compleet te maken, vermelden we nog even de website van LiveCode: >> http://www.livecode.com >> >> >> >> LiveCode Meeting >> >> This Sunday 16th October, eHUG organises a LiveCode meeting (also for >> anyone who might be interested in SuperCard, Xojo, HyperStudio and >> even HyperCard). Entrance is free but drinks are on your own >> account. >> >> >> Schedule >> >> The meeting will be informal. There are a number of items on the >> agenda, but for now the schedule is incomplete. The following >> subjects will be included in our program: >> >> LiveCode 8 SuperCard 4.8 Arduino / HyperDuino Raffle of a HyperStudio >> license Raffle of the book Programming for the Real Beginner Raffle >> of a 50% discount on LiveCode Next meeting in Antwerp Projects of >> participants Widgets >> >> We hope to have more on offer soon, but we're still working on that. >> >> Important: own contributions by participants make the meeting much >> more interesting! Bring your own project and show it! Please tell me >> how much time you need (anything between 5 and 30 minutes goes). >> >> >> Location >> >> The meeting is in the lobby of the NH Hotel in Utrecht, the >> Netherands. The address is: >> >> Jaarbeursplein 24 3521 AR Utrecht The Netherlands >> >> The hotel is within walking distance from the Utrecht Central >> Station, as you can see on this map: https://goo.gl/maps/WBDSG >> >> The meeting starts at approximately 13:00h. and finishes before >> 17:00h. It is possible to have a nice dinner in the centre of Utrecht >> afterwards. >> >> >> More info >> >> Do you want to stay informed about activities about xTalk and >> LiveCode? Send me an e-mail with your request and I'll add you to the >> list. >> >> You can follow me on Twitter. My personal account is @xtalkprogrammer >> and if you want to get news about tech and computers you can follow >> @MoreNewz. >> >> You can also find me on Facebook at https://www.facebook.com/marksch >> and there is a LiveCode Facebook group at >> https://www.facebook.com/groups/runrev/ >> >> Do you have any question in the last moment? You can contact me at >> Skype at xtalkprogrammer and if you have my phone number you can >> contact me on Whatsapp or Viber. >> >> You can read more about the book Programming LiveCode for the Real >> Beginner at http://tinyurl.com/livecodebook >> >> You can read everything about HyperStudio at >> http://www.hyperstudio.com and we really recommend taking a look at >> http://www.hyperduino.com as it is a great little gadget to accompany >> your Arduino Uno board. >> >> The SuperCard website is at http://www.supercard.us and more about >> Xojo can be fount at http://www.xojo.com. To make the list complete, >> here is the LiveCode website http://www.livecode.com >> >> -- Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering Homepage: >> http://economy-x-talk.com Twitter: >> http://twitter.com/xtalkprogrammer KvK: 50277553 >> >> We have time for new software development projects. Contact me for a >> quote. >> >> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Oct 16 07:30:14 2016 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 16 Oct 2016 14:30:14 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> Message-ID: <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> That's very interesting; but one of the problems is that recording Applescript is restricted to one platform; and the most expensive one at that. When I was working out how to start an EFL school in Bulgaria that was rather different from those already in place I thought "Aah, a row of Macs with Richmond's stacks." and the result was a row of second-hand IBM-compats running Linux with Richmond's stacks, because the price difference was huge and not justifiable. Just "for fun": here's an entertaining exercise based on the Lenovo, 64-bit, 2 GB RAM, 80 GB hard Disk box I bought yesterday for 80 leva (about $50 US), 2 years old, ex-Munich city council: MacMini (lowset specs, refurbished) on http://www.apple.com/shop/browse/home/specialdeals/mac $419 . . . forget it! Probably un-updatable in 2-3 years. I have 7 G3 iMacs sitting in my garage in Scotland (ex-University of St. Andrews, fully functional on Mac OS 10.4 - can run off standalones from LC 6.something for Mac PCC): tell me how to get them to Bulgaria without spending money that makes the whole exercise pointless. In 2 years time, once my 2 boys have finished their undergraduate degrees and I am finally financially "free" (hum, wonder what the chance of that it?) I'm going to buy a second-hand camper and spend 3 months trotting through Europe as my wife and I have not had more than a 3 day holiday for about 12 years: in Scotland I may well load up the G3s and bring them back here: while the fact that they are ancient in computing terms they are all "cherry red" and will do what I need in my school. But, I digress . . . I have, in my school, several 8 year old (meaning 10 year olds as they have been with me for 8 years) boxes that run Xubuntu 14.04 as smooth as a hot knife through butter. One of the ways I help kids "get ahead" with Livecode is throw them a stack demonstrating some functionality, and set them a task which involves building a new stack to do something that almost reduplicates that functionality; they can then open up my stack, pull it to pieces, and "steal-and-modify" (this is a programming technique first used in a highly effective way by William Shakespeare) my code to both achieve their ends and learn at the same time. Another thing that is quite instructive is to download some daft game from the internet written in who-knows-what and get the kids, first, to consider its functionality, and secondly, how they might possibly achieve that functionality in Livecode. Livecode is very nearly "a man for all seasons" in that it can be used on all sorts of levels and in all sorts of directions: whether as a largely visual progging environment, or a largely code-based progging environment. That is its great strength and should neither be overlokked or poo-poo-ed. Richmond. On 16.10.2016 08:06, Kay C Lan wrote: > On Sun, Oct 16, 2016 at 2:39 AM, Richmond wrote: > >> I would argue that you can do all of that within Livecode, thereby avoiding >> a hiatus as you get kids to transfer. >> > And surely that's exactly the same argument as those who questions the > relevance of playing with a toy language like LiveCode when you could > just start with a real language like C, C++ etc. > > There is no question that you can teach a child to read by using the > King James Bible; millions of people learned to read that way because > for decades, if not centuries the family Bible was the only book a > family possessed. I wonder for how many the family Bible was the only > book they ever read? I wonder how many developed a love of reading and > for how many it was nothing but a chore? > > I dare say, at the time, some would say that Dr Seuss books were not > books at all but just a collection of nonsensical words with no point > or value. But for how many children did these toy words build an > understanding of real words and a love for reading? My wife is an avid > reader (and educator) who was extremely concerned when two of our > children struggled to learn to read - one with extreme lysdexia (I > seffur to). The dyslexic was 'cured' with comics and the other was > 'cured' by J.K. Rowling. > > The great thing about programming languages and IDE's is that they're > like books, they come in all sorts of sizes and flavours and suit a > wide variety of preferences, talents and learning styles. I'm not a > big reader but I love Dr Seuss books, maybe there's a correlation with > why I love LC ;-) No language/IDE will suit everyone at every age at > every learning stage, but few people would not be able to find a > language/IDE that gels with their way of learning/thinking right now. > > With all the discussion between 'point and click' vs scripting/typing > there is one other method that has been skipped that, as with all such > things, was touted to be the next great thing in programming: > recording. AppleScript/Automator is the only example I can think of > but I assume there are others. Automator I guess being an > acknowledgement that 'recording' quickly hit the wall and it was > obvious that it's only value was with automating repeatable processes. > Still, I learnt an enormous amount about AppleScript as a language by > recording a process and inspecting the resulting script. In fact, this > is true more so today as I use AppleScript so infrequently that > whenever I crack it open I usually record some process just to give me > a head start and a refresher on the syntax. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Oct 16 08:45:17 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 16 Oct 2016 08:45:17 -0400 Subject: Supercard 4.8 public beta In-Reply-To: <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: In regards to "recording" actions to script, my first experience was in Mac OS 6. The finder had a menu item called "macro" that could record, save, and playback every click, drag, move, cut, copy, paste, and typed text that was performed in the GUI. This was in 1991, btw. But it wasn't revealed to the end user as a script, and could only be changed by re-recording the actions. Still very powerful for its time! In today's world, on the PC side, we have Auto-IT, and Auto-IT Recorder. Very good open-source language! ~Roger On Oct 16, 2016 7:30 AM, "Richmond" wrote: > That's very interesting; but one of the problems is that recording > Applescript is restricted to > one platform; and the most expensive one at that. > > When I was working out how to start an EFL school in Bulgaria that was > rather different from those already in place I thought "Aah, a row of Macs > with Richmond's stacks." and the result was a row > of second-hand IBM-compats running Linux with Richmond's stacks, because > the price difference > was huge and not justifiable. > > Just "for fun": here's an entertaining exercise based on the Lenovo, > 64-bit, 2 GB RAM, 80 GB hard Disk > box I bought yesterday for 80 leva (about $50 US), 2 years old, ex-Munich > city council: > > MacMini (lowset specs, refurbished) on http://www.apple.com/shop/brow > se/home/specialdeals/mac > > $419 . . . forget it! > > Probably un-updatable in 2-3 years. > > I have 7 G3 iMacs sitting in my garage in Scotland (ex-University of St. > Andrews, fully functional > on Mac OS 10.4 - can run off standalones from LC 6.something for Mac > PCC): tell me how to get them to Bulgaria without spending money that makes > the whole exercise pointless. In 2 years time, once my 2 boys have finished > their undergraduate degrees and I am finally financially "free" (hum, wonder > what the chance of that it?) I'm going to buy a second-hand camper and > spend 3 months trotting > through Europe as my wife and I have not had more than a 3 day holiday for > about 12 years: in > Scotland I may well load up the G3s and bring them back here: while the > fact that they are ancient in computing terms they are all "cherry red" and > will do what I need in my school. > > But, I digress . . . > > I have, in my school, several 8 year old (meaning 10 year olds as they > have been with me for 8 years) > boxes that run Xubuntu 14.04 as smooth as a hot knife through butter. > > One of the ways I help kids "get ahead" with Livecode is throw them a > stack demonstrating some > functionality, and set them a task which involves building a new stack to > do something that almost > reduplicates that functionality; they can then open up my stack, pull it > to pieces, and "steal-and-modify" > (this is a programming technique first used in a highly effective way by > William Shakespeare) my code > to both achieve their ends and learn at the same time. > > Another thing that is quite instructive is to download some daft game from > the internet written in > who-knows-what and get the kids, first, to consider its functionality, and > secondly, how they might > possibly achieve that functionality in Livecode. > > Livecode is very nearly "a man for all seasons" in that it can be used on > all sorts of levels and in all > sorts of directions: whether as a largely visual progging environment, or > a largely code-based > progging environment. That is its great strength and should neither be > overlokked or poo-poo-ed. > > Richmond. > > On 16.10.2016 08:06, Kay C Lan wrote: > >> On Sun, Oct 16, 2016 at 2:39 AM, Richmond >> wrote: >> >> I would argue that you can do all of that within Livecode, thereby >>> avoiding >>> a hiatus as you get kids to transfer. >>> >>> And surely that's exactly the same argument as those who questions the >> relevance of playing with a toy language like LiveCode when you could >> just start with a real language like C, C++ etc. >> >> There is no question that you can teach a child to read by using the >> King James Bible; millions of people learned to read that way because >> for decades, if not centuries the family Bible was the only book a >> family possessed. I wonder for how many the family Bible was the only >> book they ever read? I wonder how many developed a love of reading and >> for how many it was nothing but a chore? >> >> I dare say, at the time, some would say that Dr Seuss books were not >> books at all but just a collection of nonsensical words with no point >> or value. But for how many children did these toy words build an >> understanding of real words and a love for reading? My wife is an avid >> reader (and educator) who was extremely concerned when two of our >> children struggled to learn to read - one with extreme lysdexia (I >> seffur to). The dyslexic was 'cured' with comics and the other was >> 'cured' by J.K. Rowling. >> >> The great thing about programming languages and IDE's is that they're >> like books, they come in all sorts of sizes and flavours and suit a >> wide variety of preferences, talents and learning styles. I'm not a >> big reader but I love Dr Seuss books, maybe there's a correlation with >> why I love LC ;-) No language/IDE will suit everyone at every age at >> every learning stage, but few people would not be able to find a >> language/IDE that gels with their way of learning/thinking right now. >> >> With all the discussion between 'point and click' vs scripting/typing >> there is one other method that has been skipped that, as with all such >> things, was touted to be the next great thing in programming: >> recording. AppleScript/Automator is the only example I can think of >> but I assume there are others. Automator I guess being an >> acknowledgement that 'recording' quickly hit the wall and it was >> obvious that it's only value was with automating repeatable processes. >> Still, I learnt an enormous amount about AppleScript as a language by >> recording a process and inspecting the resulting script. In fact, this >> is true more so today as I use AppleScript so infrequently that >> whenever I crack it open I usually record some process just to give me >> a head start and a refresher on the syntax. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 16 11:47:32 2016 From: livfoss at mac.com (Graham Samuel) Date: Sun, 16 Oct 2016 17:47:32 +0200 Subject: How to ensure that 'close stack' destroys the stack in RAM? Message-ID: Using LC8.1.1 rc2, I?ve got a mainstack which I want to remove entirely from my project before replacing it with a template stack of the same name. The script to do this is in a library originating from another mainstack. For the target stack I have set the ?cantDelete? to false, and the ?destroyStack? and ?destroyWindow? to true. If my script just says close stack ?myStack? then the stack window closes, but I think the stack is still in RAM - at least an ?exists? test says so (it?s not clear from the dictionary if ?exists? is supposed to work on stacks), and indeed the template stack doesn?t replace the original. If I add another line delete stack ?myStack? I get an error 370 (object: stack locked, or stack?s script is executing). But it?s not locked. I don?t even know how to lock a stack, unless it?s by setting its ?cantDelete? to true. There are no ?closeStack? handlers in the target stack. Attempts to turn this into a simple recipe have failed, but it?s a real problem. What I want to do (I know I?ve asked before) is to execute the same code as the IDE does for ?close and remove from memory?. Any ideas welcome. Graham From lan.kc.macmail at gmail.com Sun Oct 16 17:58:17 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 17 Oct 2016 05:58:17 +0800 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: On Sun, Oct 16, 2016 at 8:45 PM, Roger Eller wrote: > In regards to "recording" actions to script, my first experience was in Mac > OS 6. The finder had a menu item called "macro" that could record, save, > and playback every click, drag, move, cut, copy, paste, and typed text that > was performed in the GUI. This was in 1991, btw. But it wasn't revealed > to the end user as a script, and could only be changed by re-recording the > actions. Still very powerful for its time! > Yes, and it also included the ability to hi-light something by using the screen version of a hi-lighter to underline something important or circle something important. The Help system used it and most software that came out at the time also used it. If you did a Help search for 'turn off extensions' the Help system would come up with the text explanation of how to do it, but at the bottom would be a hyperlink 'show me'. Clicking on it would result in a hi-lighter circle being drawn around the Apple menu item, the mouse would then move up there and click on it, the Control Panels menu option would then be underlined to hi-light it and the mouse would move down to select it... etc, etc. As you say, very powerful and the precursor to AppleScript. And for Richmond, here's a not so entertaining or fun exercise to try: give a Linux box and cheap android phone to a bunch of Octogenarians and see how long they last before the 'support calls' start piling up. In my opinion Linux is only suitable for those who are geeks; and any comments about how 'easy and great Linux is' by anyone who's done any sort of Computer studies at any sort of educational institution is completely irrelevant - because they have little clue on how daunting and foreign this stuff is to the elderly. We (my wife and I) live 9hr flight time away from our parents. My in laws use to have MS desktops and android mobile devices because my brothers-in-law all follow the same 'too expensive' logic. They were constantly over at their parents place fix things and showing them how to do things. Mobile devices were a particular bane because my in-laws travel a lot and they just never seemed to work when they needed too. The went through multiple different 'set-ups' including several in the popular EeePCs range. Every time we visit it's the same, can you have look at this, can you fix that, how do you do this. We eventually got sick and tired of it so we bought them some iPhones and iPads. No more support calls - for the mobiles, they still have their Windows desktops. It's chalk and cheese, we are now inundated with emails, blogs, facebook posts, photos and movies of all the minutiae of their travels, including the most irritating of all, food photos. The iPhone 4 and iPad 2 are still working for them nicely and have outlasted anything they've owned before - not that the previous purchases broke, they just never really functioned as required. My parents are older, my Dad just cracked 90 and it's the same story with my brothers following the same 'too expensive' philosophy. Both my younger brothers are in the computer tech industry and are far more computer savvy than my brothers-in-law, and they field all the support calls for my parent's MS desktops and Android mobile devices. Interestingly even my brother's acknowledge that Linux is 'too difficult' to support for the parents. And yet EVERY time I come home I have to deal with a support call that my brothers have already addressed but the solution still isn't quite right. As I type this I'm sitting in my mother's spare room, and only yesterday was sorting out a problem of the simple need to install an app on my mum's Aspera phone. When she tries to install apps it comes up with a message that there isn't enough room. Seems simple enough, a little house keeping to make space, except for the fact that my mother has all of ONE (1) additional app installed on her phone over and above the basic install. Further investigation reveals that this phone comes with 128MB of internal storage. Yes you read that right MB not GB, and there is only 24MB of spare space remaining on it. But, it does have a mini SD card slot and in there is a 32GB card with 30GB of spare space. So you'd think the system would be smart enough to install new apps into the spare space. No, you have to do this procedure: http://www.howtogeek.com/114667/how-to-install-android-apps-to-the-sd-card-by-default-move-almost-any-app-to-the-sd-card/ which I can tell my youngest brother has already done; including the bit about 'The Root Method'. Everything seems to be set up correctly but as far as I can tell, the install process must cache part of the app onto internal storage before it goes to the SD card because slim apps can be installed no worries, but if it's an obese app of all of 20MB or larger, the 'not enough space' message comes up. If I and my brothers can't figure out how to simply install an app my mum wants the phone is not fit for purpose. And this is not the first time, they've had a couple of Huawei phones, one I know that could not have it's android system updated even though it was only months old, because my folks got a new car and the phone couldn't be connected via bluetooth. The Honda dealer spent a day trying, my brothers spent days trying, I could only be bothered wasting an hour. The solution was apparently an upgrade to android but it was clear from internet searches this particular really really really cheap bargain of an android phone could not be OS updated. My mum has had at least 3 phones since 2010 and although all up they probably cost less than my iPhone 4, my iPhone 4 happily connects to their bluetooth car and installs all the apps my mum wants using two clicks. IMO her current phone, and some before, have been a complete waste of money; what's expensive? Time is money, and at the rate I get paid per hour I'm glad it's my brothers (+ in-laws) who are wasting their time on all the support calls. Life is way too short to waste time, and in the case of parents (+ in-laws) it's extremely short - I've already lost one. What's expensive, I'll tell you what's expensive, it appears to me my parents (+ in-laws) are wasting their money on spending their life saving dimes and nickels when they should be living their life spending their money on 'things' that don't waste their time. They can't take $$ with them. Which of course lets me bring this all the way back to LiveCode and why for me it's head an shoulders above anything else I've tried; it allows me to create what I want, and get the results that I need much much faster, without wasting time and with little or no support calls :-) From livfoss at mac.com Sun Oct 16 17:58:15 2016 From: livfoss at mac.com (Graham Samuel) Date: Sun, 16 Oct 2016 23:58:15 +0200 Subject: where files are copied to in a Mac standalone - changed in 8.1? In-Reply-To: <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> References: <580015F8.1010200@sonasoftware.com> <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> Message-ID: Thanks for that very interesting observation Jacque. Since reading your mail I?ve been using this new arrangement, but I **think** I?ve just noticed that specialFolderPath(?resources?) generates a path with a ?/? at the end in a standalone, but omits the ?/? when in the IDE. Maybe I?m just a bit tired - it?s late here. If it?s true though, it must be a bug. Someone might like to test this, or I will tomorrow. Graham > On 14 Oct 2016, at 07:22, J. Landman Gay wrote: > > On 10/13/16 6:17 PM, Curtis Ford wrote: >> I've just made a new module for this client with largely the same code; >> now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media. >> >> So the standalone doesn't find the sound files unless I move them >> manually after doing 'show contents' in the Finder. >> >> Is this a bug, or should I be setting the path differently now? > > Apple now requires all resources to be in a separate folder. Nothing is allowed in the engine folder except the executable. We now have a new specialFolderPath("resources") to access that folder. > > Instead of parsing a path from the engine folder, use: > > specialFolderPath("resources") & "/media/" & gMediaPath > > Everything in the Copy Files pane of the standalone settings now gets put into specialFolderPath("resources"). > > In the IDE, the resources folder is the one that contains your mainstack. This is handy because you can keep the same hierarchy in your working folder and the specialFolderPath still works there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Oct 16 18:20:45 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 16 Oct 2016 15:20:45 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: On Sun, Oct 16, 2016 at 2:58 PM, Kay C Lan wrote: > We (my wife and I) live 9hr flight time away from our parents. The trick here is to have your little brother living a couple of miles from your parents, so that *he* gets the tech calls instead of you. :) Works for me, although some of the oddities still filter down . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Sun Oct 16 20:04:56 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 17 Oct 2016 00:04:56 +0000 Subject: Mobile Audio Player Fails on iOS Message-ID: An app we have that plays .mp Swasti Astu! Be Well ( from my mobile ) From brahma at hindu.org Sun Oct 16 20:09:47 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 17 Oct 2016 00:09:47 +0000 Subject: Mobile Player Fails On iOS 10? Message-ID: We have an app thst was working fine on iOS 9 It includes mp3 files that run on the mobile audio player some users saying that now after upgrading to iOS 10 the audio does not play Is anyone aware of an issue there? BR ( from my mobile ) From jacque at hyperactivesw.com Mon Oct 17 00:06:36 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Oct 2016 23:06:36 -0500 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: References: Message-ID: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> I don't have an answer for you, but the problem may be related to something I noticed when LC 7 was released. I have automated scripts that create and/or update a series of stacks. When changes are completed to each stack, the script does this: save stack x close stack x delete stack x Prior to LC 7, the stacks would be removed from memory. In LC 7 and up, the stack is closed and removed from RAM only if the stack was newly created during that particular run. If the stack already existed on disk and was opened and updated, it does what you describe -- it closes but remains in RAM. (It remains listed in the App Browser, and "there is a stack x" returns true.) The destroyStack property on all the stacks is always false, though that shouldn't matter because an explicit command to delete the stack should work regardless. Since it isn't a big deal for my client we've been ignoring it. But maybe that will give you a lead on how to pinpoint the problem. I suspect a bug in there somewhere. On 10/16/16 10:47 AM, Graham Samuel wrote: > Using LC8.1.1 rc2, I?ve got a mainstack which I want to remove > entirely from my project before replacing it with a template stack of > the same name. The script to do this is in a library originating from > another mainstack. For the target stack I have set the ?cantDelete? > to false, and the ?destroyStack? and ?destroyWindow? to true. If my > script just says > > close stack ?myStack? > > then the stack window closes, but I think the stack is still in RAM - > at least an ?exists? test says so (it?s not clear from the dictionary > if ?exists? is supposed to work on stacks), and indeed the template > stack doesn?t replace the original. If I add another line > > delete stack ?myStack? > > I get an error 370 (object: stack locked, or stack?s script is > executing). But it?s not locked. I don?t even know how to lock a > stack, unless it?s by setting its ?cantDelete? to true. There are no > ?closeStack? handlers in the target stack. > > Attempts to turn this into a simple recipe have failed, but it?s a > real problem. What I want to do (I know I?ve asked before) is to > execute the same code as the IDE does for ?close and remove from > memory?. > > Any ideas welcome. > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Mon Oct 17 00:20:29 2016 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 16 Oct 2016 21:20:29 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: My brother lives on the other side of the country. I live across town. +1 for Kay C Lan?s rant ? Scott Morrow > On Oct 16, 2016, at 3:20 PM, Dr. Hawkins wrote: > > On Sun, Oct 16, 2016 at 2:58 PM, Kay C Lan wrote: > >> We (my wife and I) live 9hr flight time away from our parents. > > > The trick here is to have your little brother living a couple of miles from > your parents, so that *he* gets the tech calls instead of you. > > :) > > Works for me, although some of the oddities still filter down . . . > > > -- > 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 waprothero at gmail.com Mon Oct 17 00:24:08 2016 From: waprothero at gmail.com (William Prothero) Date: Sun, 16 Oct 2016 21:24:08 -0700 Subject: Mobile Player Fails On iOS 10? In-Reply-To: References: Message-ID: <3CD049BF-1D40-4B4E-BAD7-3354F9F3814B@gmail.com> BR: I have an app that I just made that works on iOS10, and it plays .mp3 files using the mobile audio player. I made it with LC10.1.1 (rc1). Bill > On Oct 16, 2016, at 5:09 PM, Sannyasin Brahmanathaswami wrote: > > We have an app thst was working fine on iOS 9 > > It includes mp3 files that run on the mobile audio player some users saying that now after upgrading to iOS 10 the audio does not play > > Is anyone aware of an issue there? > BR > > ( from 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 ilola.antti at gmail.com Mon Oct 17 01:07:19 2016 From: ilola.antti at gmail.com (Antti Ilola) Date: Mon, 17 Oct 2016 08:07:19 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: +1 for Kay C 2016-10-17 7:20 GMT+03:00 Scott Morrow : > My brother lives on the other side of the country. I live across town. +1 > for Kay C Lan?s rant > ? Scott Morrow > > On Oct 16, 2016, at 3:20 PM, Dr. Hawkins wrote: > > > > On Sun, Oct 16, 2016 at 2:58 PM, Kay C Lan > wrote: > > > >> We (my wife and I) live 9hr flight time away from our parents. > > > > > > The trick here is to have your little brother living a couple of miles > from > > your parents, so that *he* gets the tech calls instead of you. > > > > :) > > > > Works for me, although some of the oddities still filter down . . . > > > > > > -- > > 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 selander at tkf.att.ne.jp Mon Oct 17 04:21:14 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 17 Oct 2016 17:21:14 +0900 Subject: LC Server: Getting a file list when filenames use UTF8 Message-ID: <580489FA.6060300@tkf.att.ne.jp> Hi, Using LC server as installed in my on-rev account. This script Only returns files with English filenames to the resulting web page. Japanese (utf8) filenames are ignored. If I change one of the Japanese filenames to English, then it appears. If I change it back to Japanese, it reverts to not appearing. Any hints? Thank you. Tim Selander Tokyo, Japan From livfoss at mac.com Mon Oct 17 05:15:24 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 17 Oct 2016 11:15:24 +0200 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> Message-ID: <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> Thanks Jacque - wise words as always. The idea that the delete would work depending on whether the stack was newly created had not occurred to me, but seems like a good reason why my simplified tests didn?t show the problem. I will try again to create a simple demo, and hopefully I can file a bug report. Graham > On 17 Oct 2016, at 06:06, J. Landman Gay wrote: > > I don't have an answer for you, but the problem may be related to something I noticed when LC 7 was released. I have automated scripts that create and/or update a series of stacks. When changes are completed to each stack, the script does this: > > save stack x > close stack x > delete stack x > > Prior to LC 7, the stacks would be removed from memory. In LC 7 and up, the stack is closed and removed from RAM only if the stack was newly created during that particular run. If the stack already existed on disk and was opened and updated, it does what you describe -- it closes but remains in RAM. (It remains listed in the App Browser, and "there is a stack x" returns true.) The destroyStack property on all the stacks is always false, though that shouldn't matter because an explicit command to delete the stack should work regardless. > > Since it isn't a big deal for my client we've been ignoring it. But maybe that will give you a lead on how to pinpoint the problem. I suspect a bug in there somewhere. > > > On 10/16/16 10:47 AM, Graham Samuel wrote: >> Using LC8.1.1 rc2, I?ve got a mainstack which I want to remove >> entirely from my project before replacing it with a template stack of >> the same name. The script to do this is in a library originating from >> another mainstack. For the target stack I have set the ?cantDelete? >> to false, and the ?destroyStack? and ?destroyWindow? to true. If my >> script just says >> >> close stack ?myStack? >> >> then the stack window closes, but I think the stack is still in RAM - >> at least an ?exists? test says so (it?s not clear from the dictionary >> if ?exists? is supposed to work on stacks), and indeed the template >> stack doesn?t replace the original. If I add another line >> >> delete stack ?myStack? >> >> I get an error 370 (object: stack locked, or stack?s script is >> executing). But it?s not locked. I don?t even know how to lock a >> stack, unless it?s by setting its ?cantDelete? to true. There are no >> ?closeStack? handlers in the target stack. >> >> Attempts to turn this into a simple recipe have failed, but it?s a >> real problem. What I want to do (I know I?ve asked before) is to >> execute the same code as the IDE does for ?close and remove from >> memory?. >> >> Any ideas welcome. >> >> 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 >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Oct 17 05:43:50 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Oct 2016 12:43:50 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: <85f5cb6d-e05f-2eab-bc82-0d491a78c21f@gmail.com> Here's something for the 80 year olds: My Mum and Dad, who are 86 and 84 respectively, run Xubuntu on their 12 year old Toshiba laptop: several of their friends (also in their 80s) run Linux distros. Frankly none of them know nothing more that "bung in the install disk" . . . They have all converted over the last 10-12 years from Windows as the fag of trotting round to the "Fixit" shop, and forking out moolah for that, every month has just got too much. They don't seem to have any problems at all: between them they employ XFCE, Cinnamon and MATE as desktops. I am their "support calls" bloke: and in the last 10 years I have had 7 support calls, which from 23 computers running Linux with 80 year old end-users seems pretty damn-good. The first thing to tell Octagenarians is: "Now's the time to sit up and take notice instead of going senile." works a charm! Richmond. On 17.10.2016 00:58, Kay C Lan wrote: > On Sun, Oct 16, 2016 at 8:45 PM, Roger Eller > wrote: >> In regards to "recording" actions to script, my first experience was in Mac >> OS 6. The finder had a menu item called "macro" that could record, save, >> and playback every click, drag, move, cut, copy, paste, and typed text that >> was performed in the GUI. This was in 1991, btw. But it wasn't revealed >> to the end user as a script, and could only be changed by re-recording the >> actions. Still very powerful for its time! >> > Yes, and it also included the ability to hi-light something by using > the screen version of a hi-lighter to underline something important or > circle something important. The Help system used it and most software > that came out at the time also used it. If you did a Help search for > 'turn off extensions' the Help system would come up with the text > explanation of how to do it, but at the bottom would be a hyperlink > 'show me'. Clicking on it would result in a hi-lighter circle being > drawn around the Apple menu item, the mouse would then move up there > and click on it, the Control Panels menu option would then be > underlined to hi-light it and the mouse would move down to select > it... etc, etc. As you say, very powerful and the precursor to > AppleScript. > > And for Richmond, > > here's a not so entertaining or fun exercise to try: give a Linux box > and cheap android phone to a bunch of Octogenarians and see how long > they last before the 'support calls' start piling up. In my opinion > Linux is only suitable for those who are geeks; and any comments about > how 'easy and great Linux is' by anyone who's done any sort of > Computer studies at any sort of educational institution is completely > irrelevant - because they have little clue on how daunting and foreign > this stuff is to the elderly. > > We (my wife and I) live 9hr flight time away from our parents. My in > laws use to have MS desktops and android mobile devices because my > brothers-in-law all follow the same 'too expensive' logic. They were > constantly over at their parents place fix things and showing them how > to do things. Mobile devices were a particular bane because my in-laws > travel a lot and they just never seemed to work when they needed too. > The went through multiple different 'set-ups' including several in the > popular EeePCs range. Every time we visit it's the same, can you have > look at this, can you fix that, how do you do this. We eventually got > sick and tired of it so we bought them some iPhones and iPads. No more > support calls - for the mobiles, they still have their Windows > desktops. It's chalk and cheese, we are now inundated with emails, > blogs, facebook posts, photos and movies of all the minutiae of their > travels, including the most irritating of all, food photos. The iPhone > 4 and iPad 2 are still working for them nicely and have outlasted > anything they've owned before - not that the previous purchases broke, > they just never really functioned as required. > > My parents are older, my Dad just cracked 90 and it's the same story > with my brothers following the same 'too expensive' philosophy. Both > my younger brothers are in the computer tech industry and are far more > computer savvy than my brothers-in-law, and they field all the support > calls for my parent's MS desktops and Android mobile devices. > Interestingly even my brother's acknowledge that Linux is 'too > difficult' to support for the parents. And yet EVERY time I come home > I have to deal with a support call that my brothers have already > addressed but the solution still isn't quite right. > > As I type this I'm sitting in my mother's spare room, and only > yesterday was sorting out a problem of the simple need to install an > app on my mum's Aspera phone. When she tries to install apps it comes > up with a message that there isn't enough room. Seems simple enough, a > little house keeping to make space, except for the fact that my mother > has all of ONE (1) additional app installed on her phone over and > above the basic install. Further investigation reveals that this phone > comes with 128MB of internal storage. Yes you read that right MB not > GB, and there is only 24MB of spare space remaining on it. But, it > does have a mini SD card slot and in there is a 32GB card with 30GB of > spare space. So you'd think the system would be smart enough to > install new apps into the spare space. No, you have to do this > procedure: > > http://www.howtogeek.com/114667/how-to-install-android-apps-to-the-sd-card-by-default-move-almost-any-app-to-the-sd-card/ > > which I can tell my youngest brother has already done; including the > bit about 'The Root Method'. Everything seems to be set up correctly > but as far as I can tell, the install process must cache part of the > app onto internal storage before it goes to the SD card because slim > apps can be installed no worries, but if it's an obese app of all of > 20MB or larger, the 'not enough space' message comes up. If I and my > brothers can't figure out how to simply install an app my mum wants > the phone is not fit for purpose. > > And this is not the first time, they've had a couple of Huawei phones, > one I know that could not have it's android system updated even though > it was only months old, because my folks got a new car and the phone > couldn't be connected via bluetooth. The Honda dealer spent a day > trying, my brothers spent days trying, I could only be bothered > wasting an hour. > The solution was apparently an upgrade to android but it was clear > from internet searches this particular really really really cheap > bargain of an android phone could not be OS updated. > > My mum has had at least 3 phones since 2010 and although all up they > probably cost less than my iPhone 4, my iPhone 4 happily connects to > their bluetooth car and installs all the apps my mum wants using two > clicks. IMO her current phone, and some before, have been a complete > waste of money; what's expensive? > > Time is money, and at the rate I get paid per hour I'm glad it's my > brothers (+ in-laws) who are wasting their time on all the support > calls. Life is way too short to waste time, and in the case of parents > (+ in-laws) it's extremely short - I've already lost one. What's > expensive, I'll tell you what's expensive, it appears to me my parents > (+ in-laws) are wasting their money on spending their life saving > dimes and nickels when they should be living their life spending their > money on 'things' that don't waste their time. They can't take $$ with > them. > > Which of course lets me bring this all the way back to LiveCode and > why for me it's head an shoulders above anything else I've tried; it > allows me to create what I want, and get the results that I need much > much faster, without wasting time and with little or no support calls > :-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Oct 17 05:45:46 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Oct 2016 12:45:46 +0300 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: I live right at the other extreme of Europe from my parents: they live in England, I live in Bulgaria: but with the use of Skype, e-mail and Facebook we all (i.e. the 23-odd ancient pensioners I "support" with Linux) do just fine. Richmond. On 17.10.2016 01:20, Dr. Hawkins wrote: > On Sun, Oct 16, 2016 at 2:58 PM, Kay C Lan wrote: > >> We (my wife and I) live 9hr flight time away from our parents. > > The trick here is to have your little brother living a couple of miles from > your parents, so that *he* gets the tech calls instead of you. > > :) > > Works for me, although some of the oddities still filter down . . . > > From livfoss at mac.com Mon Oct 17 06:01:16 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 17 Oct 2016 12:01:16 +0200 Subject: where files are copied to in a Mac standalone - changed in 8.1? In-Reply-To: References: <580015F8.1010200@sonasoftware.com> <3fb4a15b-7f7a-cd57-83c6-793453cd1ca2@hyperactivesw.com> Message-ID: <2AAA77A4-BBBF-4A83-A9FF-519E5BF61D22@mac.com> Confirmed, at least on my Mac. Reported (bug 8619). Means code in the IDE has to be different from code in the standalone, which defeats the purpose of the handy wheeze mentioned by Jacqu, you might think! Graham > On 16 Oct 2016, at 23:58, I wrote: > > Thanks for that very interesting observation Jacque. Since reading your mail I?ve been using this new arrangement, but I **think** I?ve just noticed that > > specialFolderPath(?resources?) > > generates a path with a ?/? at the end in a standalone, but omits the ?/? when in the IDE. Maybe I?m just a bit tired - it?s late here. If it?s true though, it must be a bug. > > Someone might like to test this, or I will tomorrow. > > Graham > >> On 14 Oct 2016, at 07:22, J. Landman Gay wrote: >> >> On 10/13/16 6:17 PM, Curtis Ford wrote: >>> I've just made a new module for this client with largely the same code; >>> now LiveCode 8.1 saves the files in Contents > Resources > _MacOS > media. >>> >>> So the standalone doesn't find the sound files unless I move them >>> manually after doing 'show contents' in the Finder. >>> >>> Is this a bug, or should I be setting the path differently now? >> >> Apple now requires all resources to be in a separate folder. Nothing is allowed in the engine folder except the executable. We now have a new specialFolderPath("resources") to access that folder. >> >> Instead of parsing a path from the engine folder, use: >> >> specialFolderPath("resources") & "/media/" & gMediaPath >> >> Everything in the Copy Files pane of the standalone settings now gets put into specialFolderPath("resources"). >> >> In the IDE, the resources folder is the one that contains your mainstack. This is handy because you can keep the same hierarchy in your working folder and the specialFolderPath still works there. >> >> -- >> 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 peter.brett at livecode.com Mon Oct 17 06:06:51 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 17 Oct 2016 11:06:51 +0100 Subject: [ANN] This Week in LiveCode 55 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #55 here: https://goo.gl/Klu93f This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From mark at livecode.com Mon Oct 17 06:39:02 2016 From: mark at livecode.com (Mark Waddingham) Date: Mon, 17 Oct 2016 12:39:02 +0200 Subject: How to ensure that 'close stack' destroys the stack in =?UTF-8?Q?RAM=3F?= In-Reply-To: <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> Message-ID: <256b8c8d9052be458dc98b3fbae765e2@livecode.com> On 2016-10-17 11:15, Graham Samuel wrote: > Thanks Jacque - wise words as always. The idea that the delete would > work depending on whether the stack was newly created had not occurred > to me, but seems like a good reason why my simplified tests didn?t > show the problem. I will try again to create a simple demo, and > hopefully I can file a bug report. Thanks for the bug report (http://quality.livecode.com/show_bug.cgi?id=18612) - I was a bit puzzled about the situation you and Jacque described until I saw your code. This isn't in fact a bug, just a subtle interaction with the stackFiles property of your 'Master' stack. The stackFiles property maps names of stacks to filenames - it basically means that when the engine resolves a chunk reference 'stack ', if there is no stack in memory with the name , then it will look through the stackFiles property of the stacks in memory to try and resolve it (starting with the stack of the script being executed). Furthermore, it resolves things relative to the path to the stack containing the stackFile line. So, if you have a line 'DataStack -> DataStack.livecode' in the stackFiles, and if there is a DataStack.livecode file next to the stack containing that stackFiles line; a reference 'stack DataStack' will *always* resolve and load the stack. Essentially, asking whether 'stack DataStack' or not exists doesn't work, because referencing the stack causes it to. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From rabit at revigniter.com Mon Oct 17 07:02:25 2016 From: rabit at revigniter.com (Ralf Bitter) Date: Mon, 17 Oct 2016 13:02:25 +0200 Subject: LC Server: Getting a file list when filenames use UTF8 In-Reply-To: <580489FA.6060300@tkf.att.ne.jp> References: <580489FA.6060300@tkf.att.ne.jp> Message-ID: <2B3A09E9-2E26-4F91-A85E-B4D7243F3FAE@revigniter.com> Seems that I can confirm your findings. Did a test on diesel using server version 8.1.1-rc-2. If there is a file "?????.txt" the file list retrieved is empty. To get a file list I have to remove the Japanese file. Ralf > On 17.10.2016, at 10:21, Tim Selander wrote: > > Hi, > > Using LC server as installed in my on-rev account. > > This script > set the defaultfolder to "/home/server-name/public_html/selander/201610" > put the files > ?> > > Only returns files with English filenames to the resulting web page. Japanese (utf8) filenames are ignored. If I change one of the Japanese filenames to English, then it appears. If I change it back to Japanese, it reverts to not appearing. > > Any hints? > > Thank you. > > Tim Selander > Tokyo, Japan From iowahengst at mac.com Mon Oct 17 07:29:19 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 17 Oct 2016 06:29:19 -0500 Subject: [OT] Website Design Apps-Mac Message-ID: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Hi All, I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html Is anyone using a software package they can recommend to a total novice? Thanks for any thoughts. be well, randy Randy Hengst www.classroomFocusedSoftware.com From matthias_livecode_150811 at m-r-d.de Mon Oct 17 07:39:10 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Oct 2016 13:39:10 +0200 Subject: [OT] Website Design Apps-Mac In-Reply-To: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: Hi, i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) There?s even a trial version available for download. There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). There?s also a trial version available. I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. Send me a private mail if you are interested. I do not want to post them to the public. Regards, Matthias > Am 17.10.2016 um 13:29 schrieb Randy Hengst >: > > Hi All, > > I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. > > I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > > > Is anyone using a software package they can recommend to a total novice? > > Thanks for any thoughts. > > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.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 jim at d-film.com Mon Oct 17 08:05:04 2016 From: jim at d-film.com (Jim Kanter) Date: Mon, 17 Oct 2016 08:05:04 -0400 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: Another vote for Rapidweaver, but the extras do add up. Coffeecup Software also has some excellent tools. Freeway is oriented more to graphic designers and can be a little clumsy compared to more modern tools like Rapidweaver. Macaw is no more. On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe wrote: > Hi, > > i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) > There?s even a trial version available for download. > > There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. > > *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). > There?s also a trial version available. > > I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. > Send me a private mail if you are interested. I do not want to post them to the public. > > > Regards, > Matthias > > >> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >> >> Hi All, >> >> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >> >> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >> >> Is anyone using a software package they can recommend to a total novice? >> >> Thanks for any thoughts. >> >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.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 iowahengst at mac.com Mon Oct 17 08:09:55 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 17 Oct 2016 07:09:55 -0500 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> I had heard that the costs for using RapidWeaver will increase because of the ?options.? I hadn?t seen the Coffeecup Software option. I?ll check it out. Thank you, Jim. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: > > Another vote for Rapidweaver, but the extras do add up. > > Coffeecup Software also has some excellent tools. > > Freeway is oriented more to graphic designers and can be a little > clumsy compared to more modern tools like Rapidweaver. > > Macaw is no more. > > On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe > wrote: >> Hi, >> >> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >> There?s even a trial version available for download. >> >> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >> >> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >> There?s also a trial version available. >> >> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >> Send me a private mail if you are interested. I do not want to post them to the public. >> >> >> Regards, >> Matthias >> >> >>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>> >>> Hi All, >>> >>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>> >>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>> >>> Is anyone using a software package they can recommend to a total novice? >>> >>> Thanks for any thoughts. >>> >>> >>> be well, >>> randy >>> >>> Randy Hengst >>> www.classroomFocusedSoftware.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 keith.clarke at me.com Mon Oct 17 08:17:10 2016 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 17 Oct 2016 13:17:10 +0100 Subject: [OT] Website Design Apps-Mac In-Reply-To: <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> Message-ID: <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven?t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for point & click sites now. Best, Keith.. > On 17 Oct 2016, at 13:09, Randy Hengst wrote: > > I had heard that the costs for using RapidWeaver will increase because of the ?options.? > > I hadn?t seen the Coffeecup Software option. I?ll check it out. > > Thank you, Jim. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > >> On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: >> >> Another vote for Rapidweaver, but the extras do add up. >> >> Coffeecup Software also has some excellent tools. >> >> Freeway is oriented more to graphic designers and can be a little >> clumsy compared to more modern tools like Rapidweaver. >> >> Macaw is no more. >> >> On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe >> wrote: >>> Hi, >>> >>> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >>> There?s even a trial version available for download. >>> >>> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >>> >>> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >>> There?s also a trial version available. >>> >>> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >>> Send me a private mail if you are interested. I do not want to post them to the public. >>> >>> >>> Regards, >>> Matthias >>> >>> >>>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>>> >>>> Hi All, >>>> >>>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>>> >>>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>>> >>>> Is anyone using a software package they can recommend to a total novice? >>>> >>>> Thanks for any thoughts. >>>> >>>> >>>> be well, >>>> randy >>>> >>>> Randy Hengst >>>> www.classroomFocusedSoftware.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 iowahengst at mac.com Mon Oct 17 08:23:43 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 17 Oct 2016 07:23:43 -0500 Subject: [OT] Website Design Apps-Mac In-Reply-To: <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> Message-ID: Thank you, Keith. I have to admit that because of my very limited knowledge in this area I had skipped Wordpress. My understanding was that it was software for ?blog? building. However, given your comment, I?ll check it out. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 17, 2016, at 7:17 AM, Keith Clarke wrote: > > I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven?t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for point & click sites now. > Best, > Keith.. > >> On 17 Oct 2016, at 13:09, Randy Hengst wrote: >> >> I had heard that the costs for using RapidWeaver will increase because of the ?options.? >> >> I hadn?t seen the Coffeecup Software option. I?ll check it out. >> >> Thank you, Jim. >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.com >> >> >> >>> On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: >>> >>> Another vote for Rapidweaver, but the extras do add up. >>> >>> Coffeecup Software also has some excellent tools. >>> >>> Freeway is oriented more to graphic designers and can be a little >>> clumsy compared to more modern tools like Rapidweaver. >>> >>> Macaw is no more. >>> >>> On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe >>> wrote: >>>> Hi, >>>> >>>> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >>>> There?s even a trial version available for download. >>>> >>>> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >>>> >>>> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >>>> There?s also a trial version available. >>>> >>>> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >>>> Send me a private mail if you are interested. I do not want to post them to the public. >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>>>> >>>>> Hi All, >>>>> >>>>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>>>> >>>>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>>>> >>>>> Is anyone using a software package they can recommend to a total novice? >>>>> >>>>> Thanks for any thoughts. >>>>> >>>>> >>>>> be well, >>>>> randy >>>>> >>>>> Randy Hengst >>>>> www.classroomFocusedSoftware.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Mon Oct 17 08:47:05 2016 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 17 Oct 2016 13:47:05 +0100 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> Message-ID: Wordpress started as a blogging platform but support for regular pages is very good, as is it?s forums, should you get stuck. There are a fair few sites in the Wordpress showcase that illustrate its breadth and depth https://wordpress.org/showcase/ It does need a database, but a lot of hosting providers use automated tools to enable Wordpress to be installed & configured with a few clicks. Indeed, if you have an on-rev account, you can add Wordpress to your primary on-rev domain or any addon domains using softaculous from C-Panel. BTW if you want to take a more DIY approach, I use Coda when hand-made pages are required https://panic.com/coda/ Good luck with your quest. Best, Keith.. > On 17 Oct 2016, at 13:23, Randy Hengst wrote: > > Thank you, Keith. > > I have to admit that because of my very limited knowledge in this area I had skipped Wordpress. My understanding was that it was software for ?blog? building. However, given your comment, I?ll check it out. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > >> On Oct 17, 2016, at 7:17 AM, Keith Clarke wrote: >> >> I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven?t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for point & click sites now. >> Best, >> Keith.. >> >>> On 17 Oct 2016, at 13:09, Randy Hengst wrote: >>> >>> I had heard that the costs for using RapidWeaver will increase because of the ?options.? >>> >>> I hadn?t seen the Coffeecup Software option. I?ll check it out. >>> >>> Thank you, Jim. >>> >>> be well, >>> randy >>> >>> Randy Hengst >>> www.classroomFocusedSoftware.com >>> >>> >>> >>>> On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: >>>> >>>> Another vote for Rapidweaver, but the extras do add up. >>>> >>>> Coffeecup Software also has some excellent tools. >>>> >>>> Freeway is oriented more to graphic designers and can be a little >>>> clumsy compared to more modern tools like Rapidweaver. >>>> >>>> Macaw is no more. >>>> >>>> On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe >>>> wrote: >>>>> Hi, >>>>> >>>>> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >>>>> There?s even a trial version available for download. >>>>> >>>>> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >>>>> >>>>> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >>>>> There?s also a trial version available. >>>>> >>>>> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >>>>> Send me a private mail if you are interested. I do not want to post them to the public. >>>>> >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>>>>> >>>>>> Hi All, >>>>>> >>>>>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>>>>> >>>>>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>>>>> >>>>>> Is anyone using a software package they can recommend to a total novice? >>>>>> >>>>>> Thanks for any thoughts. >>>>>> >>>>>> >>>>>> be well, >>>>>> randy >>>>>> >>>>>> Randy Hengst >>>>>> www.classroomFocusedSoftware.com >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 08:52:50 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 17 Oct 2016 08:52:50 -0400 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> Message-ID: On Oct 16, 2016 1:06 AM, "Kay C Lan" wrote: > > On Sun, Oct 16, 2016 at 2:39 AM, Richmond wrote: > > > I would argue that you can do all of that within Livecode, thereby avoiding > > a hiatus as you get kids to transfer. > > > And surely that's exactly the same argument as those who questions the > relevance of playing with a toy language like LiveCode when you could > just start with a real language like C, C++ etc. I started with HyperCard, migrated to MetaCard, then Revolution, which became LiveCode. I have dabbled in AppleScript, DOS batch scripts, VMS scripts, but always return to the language I started with, in its modern form (LiveCode). I don't WANT to ever have to learn C or C++! I don't want a GUI only language because it would be as limited as painting in MS-Word. Nor would I want to start with something so easy that I have a false sense of what programming is, then have to learn something completely different and more difficult. Start with basic LC, and gradually build on those skills in ONE great language - LiveCode. /2 cents ~Roger ~Roger From matthias_livecode_150811 at m-r-d.de Mon Oct 17 09:53:16 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 17 Oct 2016 15:53:16 +0200 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> Message-ID: One problem i see with WordPress is, that its popularity make it a popular target for hackers. Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 17.10.2016 um 14:23 schrieb Randy Hengst : > > Thank you, Keith. > > I have to admit that because of my very limited knowledge in this area I had skipped Wordpress. My understanding was that it was software for ?blog? building. However, given your comment, I?ll check it out. > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.com > > > >> On Oct 17, 2016, at 7:17 AM, Keith Clarke wrote: >> >> I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven?t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for point & click sites now. >> Best, >> Keith.. >> >>> On 17 Oct 2016, at 13:09, Randy Hengst wrote: >>> >>> I had heard that the costs for using RapidWeaver will increase because of the ?options.? >>> >>> I hadn?t seen the Coffeecup Software option. I?ll check it out. >>> >>> Thank you, Jim. >>> >>> be well, >>> randy >>> >>> Randy Hengst >>> www.classroomFocusedSoftware.com >>> >>> >>> >>>> On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: >>>> >>>> Another vote for Rapidweaver, but the extras do add up. >>>> >>>> Coffeecup Software also has some excellent tools. >>>> >>>> Freeway is oriented more to graphic designers and can be a little >>>> clumsy compared to more modern tools like Rapidweaver. >>>> >>>> Macaw is no more. >>>> >>>> On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe >>>> wrote: >>>>> Hi, >>>>> >>>>> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >>>>> There?s even a trial version available for download. >>>>> >>>>> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >>>>> >>>>> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >>>>> There?s also a trial version available. >>>>> >>>>> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >>>>> Send me a private mail if you are interested. I do not want to post them to the public. >>>>> >>>>> >>>>> Regards, >>>>> Matthias >>>>> >>>>> >>>>>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>>>>> >>>>>> Hi All, >>>>>> >>>>>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>>>>> >>>>>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>>>>> >>>>>> Is anyone using a software package they can recommend to a total novice? >>>>>> >>>>>> Thanks for any thoughts. >>>>>> >>>>>> >>>>>> be well, >>>>>> randy >>>>>> >>>>>> Randy Hengst >>>>>> www.classroomFocusedSoftware.com >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Oct 17 10:07:05 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 17 Oct 2016 16:07:05 +0200 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: <256b8c8d9052be458dc98b3fbae765e2@livecode.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> Message-ID: Thanks Mark for that intervention. In the way this is a gotcha that should be better documented, since one **must** populate the stackFiles property as a side effect of including the stacks in the project in its standalone settings - the information in the list of stacks to be included is exactly the contents of the stackFiles property, at least initially. If say this contains (as mine does) a template stack that?s got to go into the resources folder of the standalone, then I have no choice but to tell the standalone builder about it. To achieve what I want - the ability to close a stack which is in effect a clone of this template and remove it from RAM, just as the IDE is able to do - I will have to delete the reference to to the template stack in the stackFiles property, and rely on the program?s own knowledge of where the template is stored. I?m slightly surprised that this hasn?t come up before. It occurs to me that there may be a solution in renaming the template stack as soon as it is cloned, but I haven?t tried it. Finally I should say that the Dictionary entry for ?the stackFiles? is a bit inadequate, as it doesn?t mention the interaction between the standalone builder and the property. Maybe this amounts to a bug, if only in the documentation! Thanks again Graham > On 17 Oct 2016, at 12:39, Mark Waddingham wrote: > > On 2016-10-17 11:15, Graham Samuel wrote: >> Thanks Jacque - wise words as always. The idea that the delete would >> work depending on whether the stack was newly created had not occurred >> to me, but seems like a good reason why my simplified tests didn?t >> show the problem. I will try again to create a simple demo, and >> hopefully I can file a bug report. > > Thanks for the bug report (http://quality.livecode.com/show_bug.cgi?id=18612) - I was a bit puzzled about the situation you and Jacque described until I saw your code. > > This isn't in fact a bug, just a subtle interaction with the stackFiles property of your 'Master' stack. > > The stackFiles property maps names of stacks to filenames - it basically means that when the engine resolves a chunk reference 'stack ', if there is no stack in memory with the name , then it will look through the stackFiles property of the stacks in memory to try and resolve it (starting with the stack of the script being executed). Furthermore, it resolves things relative to the path to the stack containing the stackFile line. > > So, if you have a line 'DataStack -> DataStack.livecode' in the stackFiles, and if there is a DataStack.livecode file next to the stack containing that stackFiles line; a reference 'stack DataStack' will *always* resolve and load the stack. > > Essentially, asking whether 'stack DataStack' or not exists doesn't work, because referencing the stack causes it to. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 17 10:38:16 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 14:38:16 +0000 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> Message-ID: Perhaps the rule of thumb is never use two stacks with the same name in the same project. You may want to give the template stack a different name, then store the name of whichever stack you want to work with in a variable, then update all references to that stack to use the variable. Bob S > On Oct 17, 2016, at 07:07 , Graham Samuel wrote: > > Thanks Mark for that intervention. In the way this is a gotcha that should be better documented, since one **must** populate the stackFiles property as a side effect of including the stacks in the project in its standalone settings - the information in the list of stacks to be included is exactly the contents of the stackFiles property, at least initially. If say this contains (as mine does) a template stack that?s got to go into the resources folder of the standalone, then I have no choice but to tell the standalone builder about it. To achieve what I want - the ability to close a stack which is in effect a clone of this template and remove it from RAM, just as the IDE is able to do - I will have to delete the reference to to the template stack in the stackFiles property, and rely on the program?s own knowledge of where the template is stored. I?m slightly surprised that this hasn?t come up before. It occurs to me that there may be a solution in renaming the template stack as soon as it is cloned, but I haven?t tried it. > > Finally I should say that the Dictionary entry for ?the stackFiles? is a bit inadequate, as it doesn?t mention the interaction between the standalone builder and the property. Maybe this amounts to a bug, if only in the documentation! > > Thanks again > > Graham > > >> On 17 Oct 2016, at 12:39, Mark Waddingham wrote: >> >> On 2016-10-17 11:15, Graham Samuel wrote: >>> Thanks Jacque - wise words as always. The idea that the delete would >>> work depending on whether the stack was newly created had not occurred >>> to me, but seems like a good reason why my simplified tests didn?t >>> show the problem. I will try again to create a simple demo, and >>> hopefully I can file a bug report. >> >> Thanks for the bug report (http://quality.livecode.com/show_bug.cgi?id=18612) - I was a bit puzzled about the situation you and Jacque described until I saw your code. >> >> This isn't in fact a bug, just a subtle interaction with the stackFiles property of your 'Master' stack. >> >> The stackFiles property maps names of stacks to filenames - it basically means that when the engine resolves a chunk reference 'stack ', if there is no stack in memory with the name , then it will look through the stackFiles property of the stacks in memory to try and resolve it (starting with the stack of the script being executed). Furthermore, it resolves things relative to the path to the stack containing the stackFile line. >> >> So, if you have a line 'DataStack -> DataStack.livecode' in the stackFiles, and if there is a DataStack.livecode file next to the stack containing that stackFiles line; a reference 'stack DataStack' will *always* resolve and load the stack. >> >> Essentially, asking whether 'stack DataStack' or not exists doesn't work, because referencing the stack causes it to. >> >> Warmest Regards, >> >> Mark. >> >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Oct 17 10:38:59 2016 From: rabit at revigniter.com (Ralf Bitter) Date: Mon, 17 Oct 2016 16:38:59 +0200 Subject: tsNetInit and LiveCode server Message-ID: Is the tsNet external working with LiveCode server? Did tests using server version 8.1.1 rc2 on Mac OS X 10.11.6. Seems that initialization (tsNetInit) doesn't work. The result of tsNetGetSync is "tsneterr: Not initialised" although tsNetInit is called prior to calling any other tsNet handlers as described in the docs. Ralf From bobsneidar at iotecdigital.com Mon Oct 17 10:41:38 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 14:41:38 +0000 Subject: Supercard 4.8 public beta In-Reply-To: References: <3F8F81B0-FF55-46B9-A1B0-66E18C882A14@gmail.com> <6034C00D-9D50-4086-9300-7014BB6D00CF@iotecdigital.com> Message-ID: You misunderstood me. By point and click I was referring to the way you MUST program in Filemaker. There is no scripting language for Filemaker, and the result is that something that would take you a half a minute to do with a few lines of code take 5 minutes in Filemaker. I was not referring to the GUI building feature present in both. Bob S On Oct 15, 2016, at 05:01 , Richmond > wrote: On 15.10.2016 07:14, Bob Sneidar wrote: Filemaker has a point and click programming interface. It just gets in the way. I spent more time perusing the dialog and sub-dialog boxes to try and figure out how to add 1 to a variable that contains 1, that I found myself saying, "Can't I just type a formula??" I gave up on Filemaker. Bob S On Oct 5, 2016, at 10:22 , Richard Gaskin > wrote: Like Bill Appleton told me shortly after he left his point-and-click authoring tool CourseBuilder behind to make SuperCard, there's a limit on the complexity of systems that can be expressed clearly in any point-and-click UI, and ultimately code becomes the more readable option for any but the most trivial of programs. After all, how many point-and-click tools used their point-and-click tool to build their IDE? :) Today most of the point-and-click are gone, even the industry-leading Authorware, while scripting language have taken over much of the world to dominate applications development. Well, where does that put Livecode? Or, rather, are you, Richard Gaskin, suggesting that Livecode should be shedding its point-and-click heritage in favour of becoming a scripting-only language? While I am sure that is possible, at that point all the hard work that Kevin Miller did to extend the WYSIWYG aspect of MetaCard will go for nothing, and a very large part of what makes Livecode so strong will be lost. * **Livecode* is not a point-and-click authoring tool, and nor is it something like C++; but it can be seen as a *hybrid* of these two extremes, where end-users can choose where along that*point-and-click to** **scripting language continuum* they want to work. If Livecode's point-and-click interface "just gets in the way" there is no earthly reason why one cannot do the whole thing by scripting alone [frankly, making buttons, fields and other "furniture" by scripting seems, after years of Livecode 'as it is', unnecessarily tedious], but that doesn't mean it has to whither-and-die like some sort of Marxist waning away of the state, especially when it is a great strength of Livecode. Richmond. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 17 10:51:06 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 14:51:06 +0000 Subject: Pointers In-Reply-To: References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> Message-ID: <8B1D1790-26CA-47D8-A5BA-E69968C0BC9F@iotecdigital.com> I was kidding. I gave up on Pascal when I got to building GUI's and using the system API's. I saw immediately that unless I was going to program for a living, it was all just too much to assimilate along with everything else pertaining to IT that I had to know day to day. Bob S On Oct 15, 2016, at 07:38 , Mike Kerner > wrote: I don't know why you would have a problem with that; Once you understand how to use pointers, you should have no problems with handles; From bobsneidar at iotecdigital.com Mon Oct 17 10:55:33 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 14:55:33 +0000 Subject: Pointers In-Reply-To: <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> References: <6720562C-73FF-47CF-A927-8FF5D520AE82@pacifier.com> <161BC3C6-04CE-47AA-BCC6-E5032F53824E@gmail.com> Message-ID: My understanding has been that handles became necessary when OS systems began to do memory housekeeping. A pointer might be viable before the housekeeping, and afterwards not. Handles allowed the system to re-reference the new location of the data in memory. > On Oct 15, 2016, at 07:48 , Colin Holgate wrote: > > The difficulty with pointers and handles was that with one you could get straight at the value you wanted, and the other you had to dereference it first. Meaning, that you were the one who had to understand whether you were dealing with a pointer or a handle. Computers ought to take care of those things for you. > > >> On Oct 15, 2016, at 7:38 AM, Mike Kerner wrote: >> >> I don't know why you would have a problem with that; >> Once you understand how to use pointers, you should have no problems with >> handles; > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 10:58:14 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 14:58:14 +0000 Subject: 9.0??? In-Reply-To: References: Message-ID: <05BC5FE4-584A-4D3D-ACBA-1611DF0AA9DC@iotecdigital.com> Too late Richmond. ;-P Bob S > On Sep 30, 2016, at 23:14 , Richmond wrote: > > Why do I get a funny feeling that those numbers (6,7,8,9 . . .) get closer and closer together. > > Is this supposed to give the impression of a logarhythmic curve of features and development? > > Why does it make me ask a few questions I'm not going to write here because I don't > want to be categorised as a sour-puss? > > Richmond. > > On 30.09.2016 18:53, Mike Kerner wrote: >> Whoa. They're working on LC 9 (rubs hands together while quietly >> snickering to self) >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 11:00:48 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 15:00:48 +0000 Subject: 9.0??? In-Reply-To: References: <095BF164-7FA2-4FAD-95C4-EBC1E67797AE@applicationinsight.com> <4a7ab500-aa33-fb94-379a-170614414f0e@gmail.com> <157815b64e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <11A693DC-C776-47E3-9517-A4A1D1B414BC@me.com> <0D788604-5014-430C-90F0-B526342EB3B1@gmail.com> Message-ID: <74B1C5D6-2224-4A90-898A-1B0B8514D93F@iotecdigital.com> Clean the cheese dip out of your microphone implant, it will work better. Bob S > On Oct 1, 2016, at 13:40 , Roger Eller wrote: > > On Sat, Oct 1, 2016 at 3:00 PM, Peter M. Brigham wrote: > >> By LC20 I?ll expect that creating a new app will go something like this: >> >> ?computer, create new app for tracking my B & B rentals.? >> ?what input modes will you want?? >> ?verbal, database, keyboard? >> ?integrate with AirBNB?? >> ?yes" >> ?name of app?? >> ?MyGuests? >> ?Done. You may begin using the MyGuests app now.? >> >> ? Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> > > > Here's how it will really go... > > ?computer, create new app for tracking my B & B rentals.? > ?what input modes will you want?? > ?verbal, database, keyboard? > ?Creating herbal Santa face beat chord.? > (Christmas music begins to play while an herbal fragrance is sprayed into > your face) > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 17 11:02:33 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 15:02:33 +0000 Subject: Recursive Script In-Reply-To: <57F405D5.6050705@researchware.com> References: <57F405D5.6050705@researchware.com> Message-ID: <824FFB67-2045-4E15-9279-2567F58BF9F0@iotecdigital.com> I don't recall if I thanked you for this. Thank you. Bob S > On Oct 4, 2016, at 12:41 , Paul Dupuis wrote: > > Here is an example: > > function listDatagrids pObject > local dataGridList > repeat with i=1 to the number of groups of pObject > if grp i of pObject is a datagrid then -- fix this line > put whatever data on the datagrid & return after dataGridList -- > fix this line > else > put listDataGrids(long ID of grp i of pObject) into childList > if childList is not empty then put childList & return after > dataGridList > end if > end repeat > return dataGridList > end listDataGrids > > there are 2 lines you need to fix - one is how to tell a grp is a > datagrid. I recall a property or API you can check, but didn't have the > datagrid PDF handy. > The other is whatever info (short name, long ID, etc. you want for each > datagrid > > Call it with the long id of the card. As in: > > put listDatagrids(long id of cd x of stack y) into myListOfDatagrids > From bobsneidar at iotecdigital.com Mon Oct 17 11:05:09 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 15:05:09 +0000 Subject: Reset the foreground color In-Reply-To: References: Message-ID: <3C21BF27-053D-415C-9BAE-6DF738B0E0A3@iotecdigital.com> Right. Not only does the "Field" have the property, but now the text itself can have the property. Text without the property set will take on the field property, and if that is not set it will take on the text properties of the stack. Bob S > On Oct 4, 2016, at 10:06 , Ludovic THEBAULT wrote: > > Hello, > > I've a field where i change color of some chars by script. > If i want to "reset" the color of all my text this code doesn't work : > > set the foregroundcolor of fld "myText" to black > > I really need to do a repeat on all chars ??? > > 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 bobsneidar at iotecdigital.com Mon Oct 17 11:29:16 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 15:29:16 +0000 Subject: Artificial Evolution In-Reply-To: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> References: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> Message-ID: Some might take this to be a minor point, but Darwinian Evolution relies on truely random point mutations followed by the process of natural selection. In this case a computer induces a change then evaluates the effects of that change. I would rather called this automated engineering. Also, I wonder how many times in Darwinial evolution a species evolved a truely quantum leap in it's genetics, only to be wiped out by a flood or volcanic explosion, os simply got eaten by it's predator. :-) Bob S > On Oct 2, 2016, at 20:12 , Roger Guay wrote: > > Is anyone out there doing anything like this in LiveCode? For those who don?t know what Artificial Evolution is check this out: > > https://en.wikipedia.org/wiki/Evolved_antenna > > > Thanks and cheers, > > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From littlejamesw at mac.com Mon Oct 17 11:32:38 2016 From: littlejamesw at mac.com (James Little) Date: Mon, 17 Oct 2016 08:32:38 -0700 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <904C2701-B8FA-427D-B10B-96B1CDF5DBF8@mac.com> <9014A035-4E01-48BE-8C2B-0412A01E66B2@me.com> Message-ID: Hi Randy, I recommend Karelia Software Sandvox 2. ?It?s easy to learn with lots of help info. ?It?s easy to switch between templates. ?I?ve been able to add to and maintain 2 websites with many pages of content. ?See the Macworld review.? Best,? Jim Little? www.globalwarmingapps.org? www.eatingforahealthyplanet.org? On October 17, 2016 at 5:24:32 AM, Randy Hengst (iowahengst at mac.com) wrote: Thank you, Keith. I have to admit that because of my very limited knowledge in this area I had skipped Wordpress. My understanding was that it was software for ?blog? building. However, given your comment, I?ll check it out. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 17, 2016, at 7:17 AM, Keith Clarke wrote: > > I used RapidWeaver for years and still maintain a couple of sites with it. However, I haven?t taken up the most recent updates (to core, stacks and add-ons) as most sites I created with it have since migrated to Wordpress, which IMHO (and like it or loath it) is probably the de facto tool for point & click sites now. > Best, > Keith.. > >> On 17 Oct 2016, at 13:09, Randy Hengst wrote: >> >> I had heard that the costs for using RapidWeaver will increase because of the ?options.? >> >> I hadn?t seen the Coffeecup Software option. I?ll check it out. >> >> Thank you, Jim. >> >> be well, >> randy >> >> Randy Hengst >> www.classroomFocusedSoftware.com >> >> >> >>> On Oct 17, 2016, at 7:05 AM, Jim Kanter wrote: >>> >>> Another vote for Rapidweaver, but the extras do add up. >>> >>> Coffeecup Software also has some excellent tools. >>> >>> Freeway is oriented more to graphic designers and can be a little >>> clumsy compared to more modern tools like Rapidweaver. >>> >>> Macaw is no more. >>> >>> On Mon, Oct 17, 2016 at 7:39 AM, Matthias Rebbe >>> wrote: >>>> Hi, >>>> >>>> i can recommend RapidWeaver from Realmac Software (https://www.realmacsoftware.com/rapidweaver/ ) >>>> There?s even a trial version available for download. >>>> >>>> There are a lot of free and paid 3rd party extensions, themes and stacks* available for RW. >>>> >>>> *to use stacks you will need to purchase the Stacks plugin from YourHead (http://yourhead.com ). >>>> There?s also a trial version available. >>>> >>>> I?ve created quite a lot of sites with it. I can send you the url of some sites i?ve created. So you can see what can be done with it. >>>> Send me a private mail if you are interested. I do not want to post them to the public. >>>> >>>> >>>> Regards, >>>> Matthias >>>> >>>> >>>>> Am 17.10.2016 um 13:29 schrieb Randy Hengst >: >>>>> >>>>> Hi All, >>>>> >>>>> I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. >>>>> >>>>> I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > >>>>> >>>>> Is anyone using a software package they can recommend to a total novice? >>>>> >>>>> Thanks for any thoughts. >>>>> >>>>> >>>>> be well, >>>>> randy >>>>> >>>>> Randy Hengst >>>>> www.classroomFocusedSoftware.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 17 11:39:14 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 15:39:14 +0000 Subject: Distortion resizing group of vector graphics In-Reply-To: <2EA9B1F7-AFFF-4F00-8462-63EE140C2090@tactilemedia.com> References: <2EA9B1F7-AFFF-4F00-8462-63EE140C2090@tactilemedia.com> Message-ID: <90B469BC-1F0E-475E-B00B-8F47EE745FB1@iotecdigital.com> Yup. Otherwise you incur generational loss. Like editing and saving a JPEG multiple times on high compression. Bob S > On Oct 1, 2016, at 18:39 , Scott Rossi wrote: > > The only method I've found to accomplish this is to store all original rects before doing any scaling, and base all size computations on the stored dimensions until the next resize event. It requires a little effort, but it works. > > Regards, > > Scott Rossi > Creative Director > Tactile Media UX/UI Design > >> On Oct 1, 2016, at 5:57 PM, Alejandro Tejada wrote: >> >> Hi All, >> >> Download the compressed stack "ResizeLivecodeGraphicsv01.livecode" >> from this forum thread: >> http://forums.livecode.com/viewtopic.php?f=10&t=28042 >> >> Some years ago, I made this live resizing script for my stack >> PenTool http://www.capellan2000.000space.com/?i=1 >> and now, I am trying to use this script for more general purposes, >> like resizing all controls of an Interface... but after repeated >> use, the script just distorts the size and position of all controls. >> In the sample stack, these controls are vector graphics, but >> could be fields, images, buttons, etc... >> >> Could you share some ideas about how we could make this script >> mathematically more robust to resize all controls without distorting >> their size and position after repeated use? >> >> Thanks in advance! >> >> Alejandro >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 11:42:52 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Oct 2016 08:42:52 -0700 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: Message-ID: Matthias Rebbe wrote: > One problem i see with WordPress is, that its popularity make it a > popular target for hackers. Any sufficiently popular system will be *targeted* by hackers. The question is: how many result in a successful exploit? Aiming for a target and actually hitting it are usually very different metrics. I subscribe to a few security newsletters (I've found O'Reilly's particularly worthwhile), and CVEs against WP seem reasonably rare the days, with quickly deployed updates to counter them. I see CVEs against every OS far more regularly. While there was a spate of PHP issues just after the turn of the century, in recent years we don't even see much there, probably far fewer than for JavaScript which affects many more people (every web browser). Popularity may guide hacks, but with WP it's also a very strong plus: the ecosystem of plugins and themes is vast. And even on the security side, its popularity is useful by providing more eyeballs reviewing and fixing code. Overall, I'd say WP is no less safe than just about any alternative, provided you do the basic stuff any system requires: automate security updates, use only the latest release version, use strong and unique passwords, always use HTTPS (Let's Encypt now makes that both free and automatable), etc. Ass we've seen with most exploits, those involving WP sites were usually running outdated versions, or had weak passwords, or some other easily-avoidable weakness unrelated to the system itself. -- 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 nabble at mad.pink Mon Oct 17 11:36:15 2016 From: nabble at mad.pink (pink) Date: Mon, 17 Oct 2016 08:36:15 -0700 (PDT) Subject: [OT] Website Design Apps-Mac In-Reply-To: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: <1476718575276-4709483.post@n4.nabble.com> I would toss in another vote for Rapidweaver. It is frequently included in bundles on sites like StackSocial and Bundlehunt, and goes on sale occasionally... so unless you need it immediately, you can get it cheap if you give it some time. To get the most out of Rapidweaver, I highly recommend you get Stacks which is a third party plugin that costs extra, and of course the stacks can cost money as well. The extra costs for stacks can add up, but there are so many great options. Again, if you've got patience, you can find great bundle deals. Doobox has a great selection, and they frequently offer very cheap bundles. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Website-Design-Apps-Mac-tp4709460p4709483.html Sent from the Revolution - User mailing list archive at Nabble.com. From jeff at siphonophore.com Mon Oct 17 12:09:15 2016 From: jeff at siphonophore.com (Jeff Reynolds) Date: Mon, 17 Oct 2016 12:09:15 -0400 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: Message-ID: <5D4460AF-B125-4362-8652-44AFB1D8B5E3@siphonophore.com> This is sooo true with Wordpress. So many hackbots out there going at every wp site they can find to punch at all known security holes (hosting companies and individuals don't always keep up wp security patches). Folks think hackers won't care about my puny site, but usually they are looking to get onto servers... A couple friends have been wp designers/developers for a long time and spend a lot of time and money on client's wp security issues. Cheers, Jeff > On Oct 17, 2016, at 10:39 AM, use-livecode-request at lists.runrev.com wrote: > > One problem i see with WordPress is, that its popularity make it a popular target for hackers. From dochawk at gmail.com Mon Oct 17 12:23:36 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 09:23:36 -0700 Subject: Artificial Evolution In-Reply-To: References: <3CB8D0B0-7676-46BD-8993-DE03C741A019@mac.com> Message-ID: On Mon, Oct 17, 2016 at 8:29 AM, Bob Sneidar wrote: > Some might take this to be a minor point, but Darwinian Evolution relies > on truely random point mutations followed by the process of natural > selection. In this case a computer induces a change then evaluates the > effects of that change. I would rather called this automated engineering. > I used to work with Genetic Algorithms and knew somme of the leading figures. A GA doesn't evaluate a trial solution so much as applies the solution to generate a fitness score. Higher scores are either more likely or guaranteed a shot at reproducing in the next round. It's the whole genetic code rather than the mutation, that reproduces. > Also, I wonder how many times in Darwinial evolution a species evolved a > truely quantum leap in it's genetics, only to be wiped out by a flood or > volcanic explosion, os simply got eaten by it's predator. :-) > > You get real world opportunism. I had a parameter backwards, and the algorithm stabilized at a negative price in an economic simulation--which was, in fact, the correct but unanticipated result. Ashlock was evolving simple code, and put in a random result as the penalty for not reaching the end of the decision tree--and they adapted to use that "hazard" as a synchronization mechanism to boost their scores. . . (repeated prisoner's dolman type situation) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Oct 17 12:26:47 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 09:26:47 -0700 Subject: Supercard 4.8 public beta In-Reply-To: References: <62af5f44-8bbd-2f58-f2f7-da7306300d7f@gmail.com> <3af48b1c-d79f-9530-1034-50ddb3b847cf@fourthworld.com> <92e4366e-b90b-ce7a-ae15-f4ca65fa9f94@gmail.com> <97953beb-488c-4bbc-cea5-31016ecc5c20@gmail.com> Message-ID: On Sun, Oct 16, 2016 at 9:20 PM, Scott Morrow wrote: > My brother lives on the other side of the country. I live across town. +1 > for Kay C Lan?s rant But your brother is +1ing my solution :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Mon Oct 17 12:30:15 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:30:15 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: <76B64341-F9ED-4F2F-9ECB-40586B65C41B@hindu.org> References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> <86803F4A-CD78-41C4-951A-A649F8D9ED06@hindu.org> <1474666587240-4708860.post@n4.nabble.com> <76B64341-F9ED-4F2F-9ECB-40586B65C41B@hindu.org> Message-ID: <98260667-8EF7-4068-AC94-172E47EADD61@iotecdigital.com> This also happened to me. Sorry for not reporting it. Since I am working on a "live" project, I just removed GLX2 and went back to using the built in script editor. I'll give the latest update another try. Bob S On Sep 23, 2016, at 17:44 , Sannyasin Brahmanathaswami > wrote: is not there (he blinks twice in wonderment) -- go back to My LiveCode -- remove GLX2 Code.rev reboot LiveCode open my stack edit stack script? ahaha! there it is? my new handler *is* safe and sound in the stack script. Very odd. From bobsneidar at iotecdigital.com Mon Oct 17 12:31:30 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:31:30 +0000 Subject: ANN: new glx2 script editor now on line In-Reply-To: References: <617e47db-76ad-1f41-7dd1-d9f005ecf8cc@sonic.net> <381FCF7E-3357-46EA-B921-00BEC96D8BC2@hindu.org> <86803F4A-CD78-41C4-951A-A649F8D9ED06@hindu.org> <1474666587240-4708860.post@n4.nabble.com> <76B64341-F9ED-4F2F-9ECB-40586B65C41B@hindu.org> <20c8b4ad-4101-dc90-f03d-0d3af21ffecb@sonic.net> Message-ID: Especially Clairvoyance. You want a way to not make typos in your code? Clairvoyance baby! Bob S > On Sep 24, 2016, at 07:34 , Roger Eller wrote: > > I agree. In fact, I like the built-in SE, but to have some of the glx2 > features in the flagship product would be awesome. It can't be too > paradigm-altering, but to allow optional features to to user-controlled in > the preferences would be value added for sure. > > ~Roger > > On Sep 24, 2016 9:18 AM, "Mike Kerner" wrote: > >> So what would it take to get a bunch of glx2's features rolled into the SE >> so we have one SE instead of two? Theming, folding, breadcrumbs, folders, >> revisions all are things that would be good to add to the SE, and it would >> make it more compelling to have a single SE project. >> >> On Fri, Sep 23, 2016 at 9:58 PM, Mark Wieder wrote: >> >>> On 09/23/2016 05:44 PM, Sannyasin Brahmanathaswami wrote: >>> >>> I close the tab in LC SE?save the stack? click on the GLX2 to switch to >>> GLX for editing. >>> >>> Ah. I see what you did there. >>> From the "known issues" section of the release notes: >>> >>> "Swapping back and forth between glx2 and the IDE's script editor gets a >>> bit wonky. >>> " >>> >>> -- >>> Mark Wieder >>> ahsoftware at gmail.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 17 12:35:51 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 09:35:51 -0700 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: <256b8c8d9052be458dc98b3fbae765e2@livecode.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> Message-ID: On Mon, Oct 17, 2016 at 3:39 AM, Mark Waddingham wrote: > The stackFiles property maps names of stacks to filenames - it basically > means that when the engine resolves a chunk reference 'stack ', if > there is no stack in memory with the name , then it will look through > the stackFiles property of the stacks in memory to try and resolve it > (starting with the stack of the script being executed). Furthermore, it > resolves things relative to the path to the stack containing the stackFile > line. I think that I've finally figured out what happens in a sequence in 7. My main stack uses stored properties to load other stacks. As near as I can tell, a file didn't exist, but the director for it did.. The result for this one of many is that the application browser shows the file as a loaded main stack but clicking to open it causes it to disappear from that pane. It's a rarely used stack so it took a long time to notice and gives me no warning either that the load failed to succeed or that there is no stack as I click. I also see that when I have stack mystic of stack.a.livecode loaded, then save it as stack.b.livecode, and even ad an explicit close for the old filename, that it tends to lurk somewhere, and give the "what do you want to do with stack.b.ivecode before loading stack.a.livecode" when a should be gone. The only solution I've found is to quit and restart livecode -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Mon Oct 17 12:38:22 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:38:22 +0000 Subject: Syntax: mouseUp mouseButtonNumber In-Reply-To: <3fed5bc7-a11b-c03a-2097-36943d8315e8@sonic.net> References: <4721C779-159F-4D94-9AD3-9D557F6D2A16@appisle.net> <5356DBC6-2662-42E4-A52B-5798EAEAAD96@appisle.net> <3fed5bc7-a11b-c03a-2097-36943d8315e8@sonic.net> Message-ID: What the compiler is complaining about is likely that you cannot have a variable start with a number. This is essentially what Roger is doing with the parameter arguement. He is putting a parameter passed by the event into a variable called "2". I'm not sure this is a documentation issue, so much as a fundamental understanding issue. I know a lot about those kind! :-) Bob S > On Sep 22, 2016, at 17:26 , Mark Wieder wrote: > > On 09/22/2016 03:39 PM, Roger Eller wrote: > >> Possibly. But I learned long ago to never assume even the most basic >> knowledge because "brain-farts" are a real problem. ;) > > Very much agreed. > > But this isn't a problem with the mouseUp handler per se. When you declare a handler ("on xxx" or "function xxx") you can't give it explicit parameters at that time. And the script compiler properly complains if you do. Instead you give the parameter a name and can then use the name in the handler's code to do something, as in Mike's example. All LC handlers work exactly this way, and the mouseUp handler is no exception. > > -- > 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 Mon Oct 17 12:40:31 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:40:31 +0000 Subject: IDE Script Editor question... In-Reply-To: <57E44854.4080208@researchware.com> References: <57E4368C.3020604@researchware.com> <2A353DB5-21C5-49F3-8E09-61A0938CDC17@me.com> <57E44854.4080208@researchware.com> Message-ID: Which is a change in prior behavior. It surprised me the first time I saw it. Used to be the whole script reformatted with the tab key. Or am I crazy? Bob S > On Sep 22, 2016, at 14:08 , Paul Dupuis wrote: > > Ah ha. The insertion point must be INSIDE a handler and only re-indents > that handler when you press TAB > > If the insertion point is between handlers or outside of any handler, > nothing happens. Ok, tab is useful, but something that reformatted ALL > handlers in a script would be even better. > > Not perfect, but a step better than nothing. Thanks for the tip! > > > On 9/22/2016 4:17 PM, Peter Bogdanoff wrote: >> Does pressing the tab key fix it for you? >> >>> On Sep 22, 2016, at 12:52 PM, Paul Dupuis wrote: >>> >>> I find myself periodically working with stacks where the individuals >>> handlers come from a number of sources. >>> >>> Some of these sources have their script editor set to the default 3 >>> space indent. Some to 2 spaces, some to 4 spaces, etc. >>> >>> Is there any easy way to tell the script editor to RE-indent all the >>> handlers in the current script using the current preference for indents? >>> >>> If not, can one of you coding wizards out there add this to the IDE? :-) >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Oct 17 12:40:43 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Oct 2016 19:40:43 +0300 Subject: [OT] Website Design Apps-Mac In-Reply-To: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: <7ea0a47e-d885-ef7e-e2d7-b609cf24dd1b@gmail.com> http://kompozer.net Richmond. On 17.10.2016 14:29, Randy Hengst wrote: > Hi All, > > I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. > > I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > > Is anyone using a software package they can recommend to a total novice? > > Thanks for any thoughts. > > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.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 Mon Oct 17 12:43:06 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:43:06 +0000 Subject: IDE Script Editor question... In-Reply-To: <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> References: <180B9398-6FAF-4D77-A12E-15BB2B724954@appisle.net> <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> Message-ID: <66F4BA1A-C3AB-4E0C-996B-4D5C8BE2CDE3@iotecdigital.com> Will this change be wiped next time I update LC? Id so, then this is why I don't like to make changes like this. It would make a nice feature addition though. Bob S On Sep 23, 2016, at 17:13 , Richard Gaskin > wrote: Poking around in the SE I found an even simpler solution - replace line 3108 of "revSEEditorBehavior" From bobsneidar at iotecdigital.com Mon Oct 17 12:52:53 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 16:52:53 +0000 Subject: Random topic: What script font do you like/use? In-Reply-To: <9F7ED30F-27CE-42A3-B589-7D0E0D71A578@appisle.net> References: <9F7ED30F-27CE-42A3-B589-7D0E0D71A578@appisle.net> Message-ID: Oooh I DO like hack better! Small footprint too. Bob S > On Sep 20, 2016, at 18:36 , Monte Goulding wrote: > > >> On 21 Sep 2016, at 11:31 AM, Jeanne A. E. DeVoto wrote: >> >> Source Code Pro is appealing. > > We are contemplating bundling this with LiveCode as the default it seems to be suitably licensed. Hack is also a pretty nice open source font http://sourcefoundry.org/hack/ > > Cheers > > Monte > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Mon Oct 17 12:54:10 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 17 Oct 2016 17:54:10 +0100 Subject: [ANN] Release 9.0 DP 1 Message-ID: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> Dear list members, We are pleased to announce the release of LiveCode 9.0 DP 1, a development preview of LiveCode 9. You can find out more about the release in this blog post, including an update to our release numbering: https://livecode.com/whats-new-in-livecode-9-dp-1/ Developer Preview Release ========================= Warning: this is not a stable release. Please ensure that you back up your stacks before testing them. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ Full release notes: https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_1.pdf Better code search ------------------ The IDE's code search tools are faster and work better for stacks that use behaviors heavily. Improved "accept" ----------------- Set the "defaultNetworkInterface" property to control which network interfaces the "accept" command listens on. Tab alignment info ------------------ Setting the "tabAlign" now affects the "htmlText" and "styledText" of the field. Improved LCB compiler messages ------------------------------ Errors and warnings while compiling widgets now show you the code that caused the problem. LiveCode 9.0 DP 1 contains 26 bug fixes along with many stability improvements. Feedback ======== Please report any bugs encountered either to our support team or on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team From msiskin at andrew.cmu.edu Mon Oct 17 12:56:07 2016 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Mon, 17 Oct 2016 16:56:07 +0000 Subject: [OT] Website Design Apps-Mac In-Reply-To: <7ea0a47e-d885-ef7e-e2d7-b609cf24dd1b@gmail.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <7ea0a47e-d885-ef7e-e2d7-b609cf24dd1b@gmail.com> Message-ID: <8D1ECC78-4D6D-434D-955E-32A3100719D1@andrew.cmu.edu> Richmond, Kompozer is not currently being updated and it won?t run on macOS 10.12 due to security settings. The replacement application I have found for Kompozer is called BlueGriffon which is available at http://bluegriffon.org/. It is cross-platform and the ?unlicensed? version is fairly complete. The license is ?70 and its worth is up to you. Marc Siskin On Oct 17, 2016, at 10:40 AM, Richmond > wrote: http://kompozer.net Richmond. On 17.10.2016 14:29, Randy Hengst wrote: Hi All, I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html Is anyone using a software package they can recommend to a total novice? Thanks for any thoughts. be well, randy Randy Hengst www.classroomFocusedSoftware.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 --------------- Marc Siskin Manager, Modern Language Resource Center Carnegie Mellon University msiskin at andrew.cmu.edu From bobsneidar at iotecdigital.com Mon Oct 17 13:04:53 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 17:04:53 +0000 Subject: How to stop LoveCode running in Edit mode In-Reply-To: References: <7160d2ba-eb5f-dd21-30e2-bff2365b223c@fourthworld.com> <7DED3948-8BD7-498A-89F8-B01D3984C6D8@me.com> <630cdc68-f6a7-5f4c-5272-3fa9584549cb@sonic.net> Message-ID: <132E3868-9BD7-4284-9C53-9773EB6DB863@iotecdigital.com> I just keep another folder called PlugIns Disabled and drag problematic ones in there if I need to. Hearkens back to the old days of Extensions in Classic OS. Bob S > On Sep 26, 2016, at 24:24 , Keith Clarke wrote: > > Thanks for the tip, Mark. > > If one empties or renames one's Plugins folder in this way, should it empty the IDE?s Plugins menu, as I still see Data Grid Helper, GoLiveNet, RegExBuilder, revApplicationOverview, revExample, RevNavigator, revSmartSave, revTabRuler and SmartProperties. These don?t all look like core, LiveCode-supplied code, so I wonder how they are getting into this list and I wonder if I need to purge any of them? > Best, > Keith.. > >> On 25 Sep 2016, at 17:15, Mark Wieder wrote: >> >> On 09/25/2016 04:31 AM, Keith Clarke wrote: >> >>> Am I correct to assume that a clean LiveCode installation would have the Plugins folder empty? >> >> When I need to test without third-party plugins I just rename the Plugins folder to something like Pluginsx, do my testing, and revert to the original Plugins folder name. >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 13:07:15 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 17:07:15 +0000 Subject: itemOffset still not working In-Reply-To: <1c00c56f-59de-bab0-0022-eb9a36da9ccb@livecode.com> References: <44A61C72-254A-41D0-B03F-3979E7A06A80@iotecdigital.com> <1c00c56f-59de-bab0-0022-eb9a36da9ccb@livecode.com> Message-ID: <548C529C-6AFF-453C-8FE6-C82E178AE168@iotecdigital.com> Woot! Also, I think I will get more involved in the dev cycle this time. I am so hesitant to develop along 2 lines because my project is live. But I think I can work it out. Bob S On Sep 26, 2016, at 04:06 , Peter TB Brett > wrote: On 23/09/2016 23:16, Bob Sneidar wrote: put rContactRecord ["contacttype"] into tContactType -- verified is "|it|" set the itemdelimiter to "|" set wholematches to true put itemoffset(pType, tContactType) into tOffset -- verified pType is "it" tOffset contains 0 I also used literals as in put itemoffset("it","|it|") into tOffset tOffset still contains 0. I tries using commas with the default itemdelimiter that doesn't work. I replaced "|" with cr and used lineOffset that doesn't work. Finally, I DELETED THE FIRST VERTICAL BAR AND THAT WORKED!!!!! So this bug is about having an empty first item/line. In this case offset will always return 0. Not good. Yes I have submitted a bug report. I will update it, but hopefully I can keep this from biting anyone else in the butt. It is also going to make it really difficult to do LIKE queries on list columns. Hopefully this gets fixed soon, because I depend on this kind of list queries a LOT. Hi Bob, Your bug report is http://quality.livecode.com/show_bug.cgi?id=18343. We've already got a fix for it, but unfortunately the fix wasn't quite in time for the 8.1.1 cut off. It will be included in 8.1.2. Peter -- Dr Peter Brett > LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 17 13:09:03 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 17:09:03 +0000 Subject: "\n" appearing in Unicode In-Reply-To: <652A7A01-1280-48D2-8001-8F48215FEB32@hindu.org> References: <652A7A01-1280-48D2-8001-8F48215FEB32@hindu.org> Message-ID: <2C99C45E-78C1-4A5B-81AA-CD32C59B9260@iotecdigital.com> It's the newline replacement used in SQL, Applescript, others. It is possible that your data is using a combination of CR and LF, it's converting the CR but not the LF. Bob S > On Sep 25, 2016, at 14:15 , Sannyasin Brahmanathaswami wrote: > > I have inserted quotes into a MySQL database. I thought I was careful to be sure it was all Unicode encoded. > > We ported the content over SQLite for use in an mobile app. > > I can fetch the quotes and then run > > put textDecode ( aSelectedQuotes[tNo]["content"], UTF8) into sQuote > > > > Diacritical marks are coming through nicely but endlines are an issue: > but we are getting this output into the var/field > > His fleet feet dancing\n-- > next line here?. \n > next line here\n > next line here > > Anyone know why this might be? > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tfabacher at gmail.com Mon Oct 17 13:59:16 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Mon, 17 Oct 2016 13:59:16 -0400 Subject: [OT] Website Design Apps-Mac Message-ID: I can tell you #1 way to protect your site, is to change the wp-admin to something else. it cut our attacks by 99%. I plan on going over WP for the second webinar on WP REST API. Richard is correct, WP is only as good as your setup. But WP with the LiveCode WP REST API is a great solution. Take a look. --Todd From bobsneidar at iotecdigital.com Mon Oct 17 14:08:58 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 18:08:58 +0000 Subject: LC 9 Test Forum Message-ID: <5438BBCB-20C4-41A3-8BD2-0F900A2C9626@iotecdigital.com> Hi all. I've decided to get a bit more involved in the DP testing process this time around. Is there a forum to post results and get testing parameters from? Bob S From bogdanoff at me.com Mon Oct 17 14:41:32 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 17 Oct 2016 11:41:32 -0700 Subject: IDE Script Editor question... In-Reply-To: References: <57E4368C.3020604@researchware.com> <2A353DB5-21C5-49F3-8E09-61A0938CDC17@me.com> <57E44854.4080208@researchware.com> Message-ID: Right. I think it was Hypercard that used to reformat the whole script, and maybe earlier LC, but LC6 did only the single handler. This became a big problem for me as I had the default text size set differently on different computers and LC didn?t automatically account for that, so the formatting was always off as I moved my work from machine to machine. I couldn?t take the time to go through and reformat everything. HOWEVER, LC 8 seems to have fixed the issue with the scripts displaying incorrectly, so going through once seems to fix it forever. Peter On Oct 17, 2016, at 9:40 AM, Bob Sneidar wrote: > Which is a change in prior behavior. It surprised me the first time I saw it. Used to be the whole script reformatted with the tab key. Or am I crazy? > > Bob S > > >> On Sep 22, 2016, at 14:08 , Paul Dupuis wrote: >> >> Ah ha. The insertion point must be INSIDE a handler and only re-indents >> that handler when you press TAB >> >> If the insertion point is between handlers or outside of any handler, >> nothing happens. Ok, tab is useful, but something that reformatted ALL >> handlers in a script would be even better. >> >> Not perfect, but a step better than nothing. Thanks for the tip! >> >> >> On 9/22/2016 4:17 PM, Peter Bogdanoff wrote: >>> Does pressing the tab key fix it for you? >>> >>>> On Sep 22, 2016, at 12:52 PM, Paul Dupuis wrote: >>>> >>>> I find myself periodically working with stacks where the individuals >>>> handlers come from a number of sources. >>>> >>>> Some of these sources have their script editor set to the default 3 >>>> space indent. Some to 2 spaces, some to 4 spaces, etc. >>>> >>>> Is there any easy way to tell the script editor to RE-indent all the >>>> handlers in the current script using the current preference for indents? >>>> >>>> If not, can one of you coding wizards out there add this to the IDE? :-) >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Oct 17 14:41:20 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 17 Oct 2016 14:41:20 -0400 Subject: IDE Script Editor question... In-Reply-To: <66F4BA1A-C3AB-4E0C-996B-4D5C8BE2CDE3@iotecdigital.com> References: <180B9398-6FAF-4D77-A12E-15BB2B724954@appisle.net> <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> <66F4BA1A-C3AB-4E0C-996B-4D5C8BE2CDE3@iotecdigital.com> Message-ID: Bob, You could always make a plugin with a front script, or my favorite, the patch script. On Mon, Oct 17, 2016 at 12:43 PM, Bob Sneidar wrote: > Will this change be wiped next time I update LC? Id so, then this is why I > don't like to make changes like this. It would make a nice feature addition > though. > > Bob S > > > On Sep 23, 2016, at 17:13 , Richard Gaskin mailto:ambassador at fourthworld.com>> wrote: > > Poking around in the SE I found an even simpler solution - replace line > 3108 of "revSEEditorBehavior" > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Mon Oct 17 14:58:07 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Oct 2016 21:58:07 +0300 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> Message-ID: <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> Well; despite misgivings, I shall download it and see what awful things happen on my Xubuntu box. Certainly should be exciting. Richmond. On 17.10.2016 19:54, Peter TB Brett wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0 DP 1, a > development preview of LiveCode 9. > > You can find out more about the release in this blog post, including > an update to our release numbering: > https://livecode.com/whats-new-in-livecode-9-dp-1/ > > Developer Preview Release > ========================= > Warning: this is not a stable release. Please ensure that you back up > your stacks before testing them. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or > via the automatic updater. > > Release Contents > ================ > Full release notes: > https://downloads.livecode.com/livecode/9_0_0/LiveCodeNotes-9_0_0_dp_1.pdf > > Better code search > ------------------ > The IDE's code search tools are faster and work better for stacks that > use behaviors heavily. > > Improved "accept" > ----------------- > Set the "defaultNetworkInterface" property to control which network > interfaces the "accept" command listens on. > > Tab alignment info > ------------------ > Setting the "tabAlign" now affects the "htmlText" and "styledText" of > the field. > > Improved LCB compiler messages > ------------------------------ > Errors and warnings while compiling widgets now show you the code that > caused the problem. > > > LiveCode 9.0 DP 1 contains 26 bug fixes along with many stability > improvements. > > > Feedback > ======== > Please report any bugs encountered either to our support team > or on our BugZilla at > http://quality.livecode.com/ > > > Have fun! > The LiveCode Team > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Oct 17 14:59:59 2016 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Oct 2016 21:59:59 +0300 Subject: [OT] Website Design Apps-Mac In-Reply-To: <8D1ECC78-4D6D-434D-955E-32A3100719D1@andrew.cmu.edu> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <7ea0a47e-d885-ef7e-e2d7-b609cf24dd1b@gmail.com> <8D1ECC78-4D6D-434D-955E-32A3100719D1@andrew.cmu.edu> Message-ID: <9fe1e511-412b-343c-ac9b-3d04e180cbd8@gmail.com> I've played with Blue Griffon as well, but as I use Kompozer on a G5 Mac running Mac OS 10.5 this is not an issue with me. Also: if you bother to take a look you'll see that my website was updated about 4 years ago :) Richmond. On 17.10.2016 19:56, Marc Siskin wrote: > Richmond, > > Kompozer is not currently being updated and it won?t run on macOS 10.12 due to security settings. The replacement application I have found for Kompozer is called BlueGriffon which is available at http://bluegriffon.org/. It is cross-platform and the ?unlicensed? version is fairly complete. The license is ?70 and its worth is up to you. > > Marc Siskin > > On Oct 17, 2016, at 10:40 AM, Richmond > wrote: > > http://kompozer.net > > Richmond. > > On 17.10.2016 14:29, Randy Hengst wrote: > Hi All, > > I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. > > I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > > Is anyone using a software package they can recommend to a total novice? > > Thanks for any thoughts. > > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.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 > > --------------- > Marc Siskin > Manager, Modern Language Resource Center > Carnegie Mellon University > msiskin at andrew.cmu.edu > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 17 15:07:41 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Oct 2016 14:07:41 -0500 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: <256b8c8d9052be458dc98b3fbae765e2@livecode.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> Message-ID: On 10/17/16 5:39 AM, Mark Waddingham wrote: > This isn't in fact a bug, just a subtle interaction with the stackFiles > property of your 'Master' stack. > > The stackFiles property maps names of stacks to filenames - it basically > means that when the engine resolves a chunk reference 'stack ', if > there is no stack in memory with the name , then it will look > through the stackFiles property of the stacks in memory to try and > resolve it (starting with the stack of the script being executed). > Furthermore, it resolves things relative to the path to the stack > containing the stackFile line. > > So, if you have a line 'DataStack -> DataStack.livecode' in the > stackFiles, and if there is a DataStack.livecode file next to the stack > containing that stackFiles line; a reference 'stack DataStack' will > *always* resolve and load the stack. In my case, the issue happens in the IDE instead of a standalone, and there are no stackfiles set up anywhere. It's likely I'm doing something in the scripts that causes the stacks to remain in memory, but the scripts used to work in LC 6 and stopped working in LC 7. But it isn't a huge issue for us, and providing you with a test suite would mean sending you a mountain of files...the stacks are built and/or updated from hundreds of text and image files on disk. But I'll be happy to do that if you like. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Oct 17 15:09:59 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Oct 2016 12:09:59 -0700 Subject: [OT] Website Design Apps-Mac In-Reply-To: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: Hi Randy, I don't know about the appropriateness of 'total novice' as I don't think you meant that about your Livecode chops. I've seen you here for years. Have you checked out the all - livecode web framework? REVIGNITER the above web site is the app running. it's a Model-View-Controller web application framework written entirely in Livecode. a OSS gift to the Livecode community from list member Ralf Bitter. On Mon, Oct 17, 2016 at 4:29 AM, Randy Hengst wrote: > Is anyone using a software package they can recommend to a total novice? > > Thanks for any thoughts. > > > be well, > randy > > Randy Hengst > Stephen Barncard - Sebastopol Ca. USA - mixstream.org From jacque at hyperactivesw.com Mon Oct 17 15:14:08 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Oct 2016 14:14:08 -0500 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> Message-ID: <8dd027b5-2a14-a22c-542b-0541e1c400ee@hyperactivesw.com> On 10/17/16 11:35 AM, Dr. Hawkins wrote: > the application browser shows the file as a loaded > main stack but clicking to open it causes it to disappear from that pane. I don't think this is related to the problem, it's a bug in the App Browser that's been there forever. I'm so used to it that I don't even think about it any more, and I sometimes click on the stack I know is removed just to get it out of the list. There's a tiny "refresh" icon in the lower right corner of the stack list pane that does the same thing. > I also see that when I have stack mystic of stack.a.livecode loaded, then > save it as stack.b.livecode, and even ad an explicit close for the old > filename, that it tends to lurk somewhere, and give the "what do you want > to do with stack.b.ivecode before loading stack.a.livecode" when a should > be gone. Is the stacks destroyStack property set to true? If not, just closing it isn't enough. Also, if it's a substack, it won't ever be removed as long as its mainstack is open. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Oct 17 15:21:25 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Oct 2016 12:21:25 -0700 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: Message-ID: the Script kiddies made a mess of a few of my Wordpress sites a couple of years ago, however WP today has been getting updates almost bi-monthly and they finally cleaned up the media mess and provided built-in tools for rich text, media uploads, slideshows (finally) and advanced content formatting in posts. I'm very impressed with how solid it is today and the installation couldn't be easier. One does have to remember that is always going to want to be a blog, and there are some flows one may have to put together in a php page one's self. One can't argue about the resources available for this app. On Mon, Oct 17, 2016 at 8:42 AM, Richard Gaskin wrote: > I subscribe to a few security newsletters (I've found O'Reilly's > particularly worthwhile), and CVEs against WP seem reasonably rare the > days, with quickly deployed updates to counter them. I see CVEs against > every OS far more regularly. While there was a spate of PHP issues just > after the turn of the century, in Stephen Barncard - Sebastopol Ca. USA - mixstream.org From stephenREVOLUTION2 at barncard.com Mon Oct 17 15:42:07 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Oct 2016 12:42:07 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> Message-ID: On Mon, Oct 17, 2016 at 11:58 AM, Richmond wrote: > Well; despite misgivings, I shall download it and see what awful things > happen on my Xubuntu box. > Thanks, Richmond, for being YOU. Really. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dochawk at gmail.com Mon Oct 17 15:53:17 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 12:53:17 -0700 Subject: a quarter of a datapoint on those #()&%)(8 wandering red dots Message-ID: I may have, by chance, stumbled upon something. The evil red dots have a tendency to wander, sometimes a line or two, and sometimes wildly. I just discovered that I had two versions of the same button, in two copies of a group. I *think* that after deleting the extraneous group, it's buttons may have migrated to the "canonical " button of the same name. I had just cleared them entirely in the canonical group, added two, and a few minutes later, had many (naturally, in places that stopped while in a modal dialog . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Oct 17 15:55:14 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 12:55:14 -0700 Subject: How to ensure that 'close stack' destroys the stack in RAM? In-Reply-To: <8dd027b5-2a14-a22c-542b-0541e1c400ee@hyperactivesw.com> References: <6bb2fc0a-79e5-7b4a-8663-c49b1d396817@hyperactivesw.com> <29FB9558-6119-47D2-BF32-1998B54F9A0F@mac.com> <256b8c8d9052be458dc98b3fbae765e2@livecode.com> <8dd027b5-2a14-a22c-542b-0541e1c400ee@hyperactivesw.com> Message-ID: On Mon, Oct 17, 2016 at 12:14 PM, J. Landman Gay wrote: > Is the stacks destroyStack property set to true? If not, just closing it > isn't enough. Also, if it's a substack, it won't ever be removed as long as > its mainstack is open. I even tried setting every destroy property I could locate, and the behavior was unchanged. They are all now main stacks, so that I don't have an 11mb file every time I need a development checkpoint (2mb is bad enough, but I'll stop before my rant on the 21s century and usable revision control, patch, etch gets into gear . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Mon Oct 17 15:58:00 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 19:58:00 +0000 Subject: a quarter of a datapoint on those #()&%)(8 wandering red dots In-Reply-To: References: Message-ID: <59A0E1E4-0441-42C6-859A-83896937C6D4@iotecdigital.com> The fact that they are red should have tipped you off. The only way I use the red dots is as a quick breakpoint while a script is already running, where I cannot type the breakpoint command. Once I edit the script, I clear whatever dots I set and if necessary set them again. They survive between compiles, but once you compile a script they will wander, or be ignored altogether if they fall on a comment or blank line. And it doesn't matter if you make the edits before or after the soft breakpoint either. Bob S On Oct 17, 2016, at 12:53 , Dr. Hawkins > wrote: I may have, by chance, stumbled upon something. The evil red dots have a tendency to wander, sometimes a line or two, and sometimes wildly. I just discovered that I had two versions of the same button, in two copies of a group. I *think* that after deleting the extraneous group, it's buttons may have migrated to the "canonical " button of the same name. I had just cleared them entirely in the canonical group, added two, and a few minutes later, had many (naturally, in places that stopped while in a modal dialog . . .) -- Dr. Richard E. Hawkins, Esq. From iowahengst at mac.com Mon Oct 17 16:07:26 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 17 Oct 2016 15:07:26 -0500 Subject: [OT] Website Design Apps-Mac In-Reply-To: References: Message-ID: <185C05BE-A34D-4EF5-965C-F4502EF98DB0@mac.com> All, This has been very interesting and helpful. Thank you for taking the time to share. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 17, 2016, at 2:21 PM, stephen barncard wrote: > > the Script kiddies made a mess of a few of my Wordpress sites a couple of > years ago, however WP today has been getting updates almost bi-monthly and > they finally cleaned up the media mess and provided built-in tools for rich > text, media uploads, slideshows (finally) and advanced content formatting > in posts. > I'm very impressed with how solid it is today and the installation couldn't > be easier. One does have to remember that is always going to want to be a > blog, and there are some flows one may have to put together in a php page > one's self. One can't argue about the resources available for this app. > > On Mon, Oct 17, 2016 at 8:42 AM, Richard Gaskin > wrote: > >> I subscribe to a few security newsletters (I've found O'Reilly's >> particularly worthwhile), and CVEs against WP seem reasonably rare the >> days, with quickly deployed updates to counter them. I see CVEs against >> every OS far more regularly. While there was a spate of PHP issues just >> after the turn of the century, in > > > > > Stephen Barncard - Sebastopol Ca. USA - > mixstream.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 Mon Oct 17 16:32:17 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 20:32:17 +0000 Subject: Script Wierdness Message-ID: <6DD3D9DA-3BC0-4922-A381-879FFCB5BC23@iotecdigital.com> Hi all. I wanted to warn everyone, if you are experiencing unexpected behavior in your scripts, try copy/pasting the entire script to a text only script editor, then back into the SE and recompiling. (BTW if you GET to recompile, then what you are PASTING is decidedly NOT what you originally copied!!!) I was getting errors I thought were related to using GLX2, but it turned out there was something not visible in the script text. Using the method above it completely cleared up the issue. I think the conversion from V6 (not unicode) to V8 (unicode capable) did something unintended to the scripts (and datagrids too if I am not mistaken). I also had issues with certain data grids, and after copy/pasting to a new stack, deleting the original along with it's datagrid template, then copy/pasting the datagrid back into place, the issue disappeared. This has occured with more than one datagrid too. Bob S From stephenREVOLUTION2 at barncard.com Mon Oct 17 16:45:15 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 17 Oct 2016 13:45:15 -0700 Subject: Script Wierdness In-Reply-To: <6DD3D9DA-3BC0-4922-A381-879FFCB5BC23@iotecdigital.com> References: <6DD3D9DA-3BC0-4922-A381-879FFCB5BC23@iotecdigital.com> Message-ID: On Mon, Oct 17, 2016 at 1:32 PM, Bob Sneidar wrote: > I also had issues with certain data grids, and after copy/pasting to a new > stack, deleting the original along with it's datagrid template, then > copy/pasting the datagrid back into place, the issue disappeared. This has > occured with more than one datagrid too. > > Bob S > I wrote a test app to check on what was in the clipboard array and included a hex listing to reveal gremlins in c/p text and I found it often turned out to be either nulls or lost backspaces. Stephen Barncard - Sebastopol Ca. USA - mixstream.org From dunbarx at aol.com Mon Oct 17 16:53:07 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 17 Oct 2016 16:53:07 -0400 Subject: a quarter of a datapoint on those #()&%)(8 wandering red dots In-Reply-To: <59A0E1E4-0441-42C6-859A-83896937C6D4@iotecdigital.com> Message-ID: <157d46b5a79-15fd-b484@webprd-m49.mail.aol.com> Soft breakpoints both wander and become sterile. Edits in a handler, even if the line order does not change, nor the total number of lines, can render a softie useless. It is both the most important and least important change I wish the team would address (pun intended). Craig Newman -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Oct 17, 2016 3:58 pm Subject: Re: a quarter of a datapoint on those #()&%)(8 wandering red dots The fact that they are red should have tipped you off. The only way I use the red dots is as a quick breakpoint while a script is already running, where I cannot type the breakpoint command. Once I edit the script, I clear whatever dots I set and if necessary set them again. They survive between compiles, but once you compile a script they will wander, or be ignored altogether if they fall on a comment or blank line. And it doesn't matter if you make the edits before or after the soft breakpoint either. Bob S On Oct 17, 2016, at 12:53 , Dr. Hawkins > wrote: I may have, by chance, stumbled upon something. The evil red dots have a tendency to wander, sometimes a line or two, and sometimes wildly. I just discovered that I had two versions of the same button, in two copies of a group. I *think* that after deleting the extraneous group, it's buttons may have migrated to the "canonical " button of the same name. I had just cleared them entirely in the canonical group, added two, and a few minutes later, had many (naturally, in places that stopped while in a modal dialog . . .) -- Dr. Richard E. Hawkins, Esq. _______________________________________________ use-livecode mailing list use-livecode at 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 17 16:54:19 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 20:54:19 +0000 Subject: IDE Script Editor question... In-Reply-To: <712d097f-e3d7-b8bc-e755-b642a27c4c96@hyperactivesw.com> References: <180B9398-6FAF-4D77-A12E-15BB2B724954@appisle.net> <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> <712d097f-e3d7-b8bc-e755-b642a27c4c96@hyperactivesw.com> Message-ID: <629A77C2-3879-4301-98D6-FAC1CA0DE74A@iotecdigital.com> Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called private command selectFromCurrentToLineStart. I found the scriptFormat in about 10 places in that behavior, and am reticent to change any oen of them as I do not know what they would do. I wonder if you are using a utility that re-sorts your handlers to be alphabetic (like glx2 can do)? Bob S On Sep 23, 2016, at 19:01 , J. Landman Gay > wrote: Poking around in the SE I found an even simpler solution - replace line 3108 of "revSEEditorBehavior" scriptFormat "handler" ...with: if the shiftKey is "down" then scriptFormat "script" else scriptFormat "handler" end if From bobsneidar at iotecdigital.com Mon Oct 17 17:58:59 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 21:58:59 +0000 Subject: IDE Script Editor question... In-Reply-To: <629A77C2-3879-4301-98D6-FAC1CA0DE74A@iotecdigital.com> References: <180B9398-6FAF-4D77-A12E-15BB2B724954@appisle.net> <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> <712d097f-e3d7-b8bc-e755-b642a27c4c96@hyperactivesw.com> <629A77C2-3879-4301-98D6-FAC1CA0DE74A@iotecdigital.com> Message-ID: <37234ECD-122B-4F12-BC5E-7A062E0032AA@iotecdigital.com> NVM it is line 3509 in the tabKey handler. Bob S On Oct 17, 2016, at 13:54 , Bob Sneidar > wrote: Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called private command selectFromCurrentToLineStart. I found the scriptFormat in about 10 places in that behavior, and am reticent to change any oen of them as I do not know what they would do. I wonder if you are using a utility that re-sorts your handlers to be alphabetic (like glx2 can do)? Bob S From bobsneidar at iotecdigital.com Mon Oct 17 18:02:36 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Oct 2016 22:02:36 +0000 Subject: IDE Script Editor question... In-Reply-To: <37234ECD-122B-4F12-BC5E-7A062E0032AA@iotecdigital.com> References: <180B9398-6FAF-4D77-A12E-15BB2B724954@appisle.net> <8c949a98-5372-9a7c-e58c-2aa379d41877@fourthworld.com> <712d097f-e3d7-b8bc-e755-b642a27c4c96@hyperactivesw.com> <629A77C2-3879-4301-98D6-FAC1CA0DE74A@iotecdigital.com> <37234ECD-122B-4F12-BC5E-7A062E0032AA@iotecdigital.com> Message-ID: Now when I try to save my changes I get a dialog: Can't save stack revSEEditorBehavior due to an error: can't open stack script file. Bob S > On Oct 17, 2016, at 14:58 , Bob Sneidar wrote: > > NVM it is line 3509 in the tabKey handler. > > Bob S > > On Oct 17, 2016, at 13:54 , Bob Sneidar > wrote: > > Odd... line 3108 of the revSEEditorBehavior is blank and is in a handler called private command selectFromCurrentToLineStart. > > I found the scriptFormat in about 10 places in that behavior, and am reticent to change any oen of them as I do not know what they would do. > > I wonder if you are using a utility that re-sorts your handlers to be alphabetic (like glx2 can do)? > > 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 charles at techstrategies.com.au Mon Oct 17 20:59:40 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Tue, 18 Oct 2016 10:59:40 +1000 Subject: tsNetInit and LiveCode server In-Reply-To: References: Message-ID: <78351f34-2d47-b6b0-3f1e-746d29e907ac@techstrategies.com.au> Hi Ralf, In the current versions of tsNet, tsNetInit can potentially return before it is completely initialised (the initialisation completes on another thread). You can work around this by waiting for a short period of time after tsNetInit is called before calling any other tsNet functions. The next version of tsNet will ensure that the external is always fully initialised before any calls to tsNetInit return. On another note, there is currently a bug affecting the use of tsNet in LiveCode server on OS X (it works fine on Linux). The next version of tsNet will also address that issue. Cheers, Charles On 18/10/2016 12:38 AM, Ralf Bitter wrote: > Is the tsNet external working with LiveCode server? > > Did tests using server version 8.1.1 rc2 on Mac OS X 10.11.6. > Seems that initialization (tsNetInit) doesn't work. > The result of tsNetGetSync is "tsneterr: Not initialised" although > tsNetInit is called prior to calling any other tsNet handlers as > described in the docs. > > > Ralf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon Oct 17 21:55:42 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 18:55:42 -0700 Subject: insane time to comment out hundreds or thousands of lines Message-ID: I have been waiting now for over ten minutes for this round of commenting to apply. My main script is something like 15k lines. At the moment, I'm sequentially blocking out large parts for a stripped down stack for a bug report. This last round, I think I applied comment to about 2k lines at once. And so it sits here, at 100% load.. I suspect that this is comping about from repeated move/insertion links. Instead, it should probably test the number of lines selected, copy to that point, append each line after that to be commented with the comment prefix, and then pend the rest, only then returning to the original container. I've had long waits before, but this is insane. And it appears that if I hit enough breaks to stop, it would gibe me a partially commented out result . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Mon Oct 17 21:58:33 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Oct 2016 12:58:33 +1100 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: What version are you using? I did some work on this a little while ago so it should be much quicker in the latest releases. > On 18 Oct 2016, at 12:55 PM, Dr. Hawkins wrote: > > I have been waiting now for over ten minutes for this round of commenting > to apply. > > My main script is something like 15k lines. At the moment, I'm > sequentially blocking out large parts for a stripped down stack for a bug > report. > > This last round, I think I applied comment to about 2k lines at once. > > And so it sits here, at 100% load.. > > I suspect that this is comping about from repeated move/insertion links. > > Instead, it should probably test the number of lines selected, copy to that > point, append each line after that to be commented with the comment > prefix, and then pend the rest, only then returning to the original > container. > > I've had long waits before, but this is insane. > > And it appears that if I hit enough breaks to stop, it would gibe me a > partially commented out result . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 17 22:02:37 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 19:02:37 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: On Mon, Oct 17, 2016 at 6:58 PM, Monte Goulding wrote: > What version are you using? I did some work on this a little while ago so > it should be much quicker in the latest releases. 7.1.4. 8 has still been to painful the last couple of times I've checked. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Oct 17 22:03:52 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 19:03:52 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: And now at about 23 minutes . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Mon Oct 17 22:04:35 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Oct 2016 13:04:35 +1100 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> > On 18 Oct 2016, at 1:02 PM, Dr. Hawkins wrote: > > 8 has still been to painful the last couple of times I've checked. There?s your problem. Sounds like staying on 7 is painful right now. What are the bug report numbers for the issues causing you pain? Cheers Monte From monte at appisle.net Mon Oct 17 22:05:35 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Oct 2016 13:05:35 +1100 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: <2405529C-28A8-4EB8-8CCD-0D41931388EC@appisle.net> > On 18 Oct 2016, at 1:03 PM, Dr. Hawkins wrote: > > And now at about 23 minutes . . . Yep? go watch a movie or something. The code was *very* inefficient. From dochawk at gmail.com Mon Oct 17 22:13:31 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 19:13:31 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> Message-ID: On Mon, Oct 17, 2016 at 7:04 PM, Monte Goulding wrote: > > There?s your problem. Sounds like staying on 7 is painful right now. > > What are the bug report numbers for the issues causing you pain? > I'm doing this so that I *CAN* file the bug report for this bit where the engine throws errors on startup. They're different in 7 and 8, but 8 just chopped 4.6k lines from 11.2k lines of script in about a minute. I"m now alternating between 8 to strip, and 7.1.3 to insure that it still occurs. Hopefully the bug is in the same spot in both, although 8 seems to recover . . .. (meanwhile, 7.1.4 is at 33 minutes) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Mon Oct 17 22:16:53 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Oct 2016 13:16:53 +1100 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> Message-ID: <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> > On 18 Oct 2016, at 1:13 PM, Dr. Hawkins wrote: > > I'm doing this so that I *CAN* file the bug report for this bit where the > engine throws errors on startup. What kind of errors? Startup in the IDE or standalone? From dochawk at gmail.com Mon Oct 17 22:43:52 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 17 Oct 2016 19:43:52 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> Message-ID: On Mon, Oct 17, 2016 at 7:16 PM, Monte Goulding wrote: > What kind of errors? Startup in the IDE or standalone? The IDE. It throws an error apparently coming from trying to resize the message box, and refers to a blank line of code in the engine . . . Naturally, if i use an answer/breakpoint pair to let me step through the script, it does not occur . . . I've got it down to three small stacks, having edited out a couple of megabytes of script, that I'll submit come morning (my wife has been trying to feed me for a couple of hours). Now it only misfires in 7 (but in8.1, it doesn't close the splash stack, which does happen in 7). I'll see if I can produce one that misfires in 8, too. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Mon Oct 17 23:36:36 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Oct 2016 14:36:36 +1100 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> Message-ID: <2DBFCAD3-7D9B-4561-B6F3-5561BB143DF0@appisle.net> > On 18 Oct 2016, at 1:43 PM, Dr. Hawkins wrote: > > On Mon, Oct 17, 2016 at 7:16 PM, Monte Goulding wrote: > >> What kind of errors? Startup in the IDE or standalone? > > > The IDE. Hmm? Is this only when opening the stacks by double-clicking rather than from the IDE menubar From brahma at hindu.org Tue Oct 18 03:55:54 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 18 Oct 2016 07:55:54 +0000 Subject: Sending Empty Params, along with a comma delimited value (RGB in this case) Message-ID: <7D38DE24-0078-42DC-A8D0-3054F1D54671@hindu.org> Given this command + function (see below) where a) you want to trigger it with "send" or "dispatch" b) you only want to pass 1, or perhaps 2 or 3 values to the params, and these are RGB values which are *also* comma separated (therein lies the problem) How can you pass someEmptyParams ,,,, along with an RGB value? use case: I would like to tweak gradients, run time? but not necessarily all gradient props. The algorithm here (perhaps there is a completely different/better approach) is to set some defaults and if e.g I just pass "red" then we get a radial gradient with a white center and a red exterior. So I would like to be able to just do something like send "setRamp ("255,0,0") to grc "gradientBkgnd" # which has a behavior and let the gradient take all the other values as defaults. Of course I presume we can't expect the command to magically know that the singular param you are sending should fill the spot for the 4th parameter. So, I tried this send "setRamp ,,,,red,," # which of course fails because ramp second color must be an RGB value this send "setRamp ,,," & "255,0,0" & ",,," to grc colorMeditationBkgnd # also fails # Because the RGB values are comma separated also and return params like this: setRamp "","","","255","0","0","","","" HQ sent me a solution but requires explicitly declaring all the empty params in advance put "" into pStart put "" into pEnd put "" in pColor1 # defaults to white-center put "255,0,0" into pColor2 put "" into pAlpha1 put "" into pAlpha2 send " setRamp pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2" to grc "gradientBkgnd" # which has the behavior below But I would like to find a way to not have to declare those empty params when most if the time I just want to send 1 value over to pColor2 Any ideas? I guess this conundrum has two possible parts 1) constructing a string for the send command with multiple params where some of the values are also comma delimited. 2) some magic to a pass a single declared value over to the command function as if it were the #4 parameter in a way that will leave all the others empty. command setRamp pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2 set the fillgradient["ramp"] of me to setfillRamp(pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2) end setRamp # defaults are declared as constants at the top of the behavior: function setFillRamp pStartPosition,pEndPosition,pColor1, pColor2,pAlpha1,pAlpha2 if pStartPosition is empty then put kDefaultStart into pStartPosition if pEndPosition is empty then put kDefaultEnd into pEndPosition if pColor1 is empty then put kPureWhite into pColor1 if pColor2 is empty then put kPureBlack into pColor2 if pAlpha1 is empty then put kDefaultOpacity into pAlpha1 if pAlpha2 is empty then put kDefaultOpacity into pAlpha2 put(pStartPosition & comma & pColor1 & comma & pAlpha1) into tGradientRamp put cr &(pEndPosition & comma & pColor2 & comma & pAlpha2) after tGradientRamp return tGradientRamp end setFillRamp Possibly we need yet another interim function to set up the empty defaults first. if the number of params is 1 then put "" into pStart put "" into pEnd put "" in pColor1 # defaults to white-center put (word 2 of the params) into pColor2 put "" into pAlpha1 put "" into pAlpha2 end if but it gets tricky if you start sending say, 2-3 params? probably easiest to find a way to construct the string where internal params include comma delimited RGB values. BR From selander at tkf.att.ne.jp Tue Oct 18 04:14:26 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 18 Oct 2016 17:14:26 +0900 Subject: LC Server: Getting a file list when filenames use UTF8 In-Reply-To: <2B3A09E9-2E26-4F91-A85E-B4D7243F3FAE@revigniter.com> References: <580489FA.6060300@tkf.att.ne.jp> <2B3A09E9-2E26-4F91-A85E-B4D7243F3FAE@revigniter.com> Message-ID: <5805D9E2.10803@tkf.att.ne.jp> Thanks for confirming that for me Ralf. I wonder if the team can look into this.... Tim Selander Tokyo, Japan On 2016/10/17 20:02, Ralf Bitter wrote: > Seems that I can confirm your findings. > Did a test on diesel using server version 8.1.1-rc-2. > If there is a file "?????.txt" the file list retrieved > is empty. To get a file list I have to remove the > Japanese file. > > > Ralf > > >> On 17.10.2016, at 10:21, Tim Selander wrote: >> >> Hi, >> >> Using LC server as installed in my on-rev account. >> >> This script >> > set the defaultfolder to "/home/server-name/public_html/selander/201610" >> put the files >> ?> >> >> Only returns files with English filenames to the resulting web page. Japanese (utf8) filenames are ignored. If I change one of the Japanese filenames to English, then it appears. If I change it back to Japanese, it reverts to not appearing. >> >> Any hints? >> >> Thank you. >> >> Tim Selander >> Tokyo, Japan > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 18 04:14:49 2016 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 18 Oct 2016 10:14:49 +0200 Subject: tsNetInit and LiveCode server In-Reply-To: <78351f34-2d47-b6b0-3f1e-746d29e907ac@techstrategies.com.au> References: <78351f34-2d47-b6b0-3f1e-746d29e907ac@techstrategies.com.au> Message-ID: <807ED3AF-8AFA-4845-9CCA-1EE6D927FE8F@revigniter.com> Thanks very much Charles for the response. Ralf > On 18.10.2016, at 02:59, Charles Warwick wrote: > > Hi Ralf, > > In the current versions of tsNet, tsNetInit can potentially return before it is completely initialised (the initialisation completes on another thread). > > You can work around this by waiting for a short period of time after tsNetInit is called before calling any other tsNet functions. > > The next version of tsNet will ensure that the external is always fully initialised before any calls to tsNetInit return. > > On another note, there is currently a bug affecting the use of tsNet in LiveCode server on OS X (it works fine on Linux). The next version of tsNet will also address that issue. > > Cheers, > > Charles From ali.lloyd at livecode.com Tue Oct 18 05:09:39 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 18 Oct 2016 09:09:39 +0000 Subject: Sending Empty Params, along with a comma delimited value (RGB in this case) In-Reply-To: <7D38DE24-0078-42DC-A8D0-3054F1D54671@hindu.org> References: <7D38DE24-0078-42DC-A8D0-3054F1D54671@hindu.org> Message-ID: Send params are evaluated in the current context, so you can put variable names in the list and it will work, eg: local tRGB put "25,25,25" into tRGB send "doSomethingWithColor tRGB" to stack "Color Manager" On Tue, Oct 18, 2016 at 8:55 AM Sannyasin Brahmanathaswami wrote: > Given this command + function (see below) where > > a) you want to trigger it with "send" or "dispatch" > b) you only want to pass 1, or perhaps 2 or 3 values to the params, and > these are RGB values which are *also* comma separated (therein lies the > problem) > > How can you pass > > someEmptyParams ,,,, > > along with an RGB value? > > use case: > > I would like to tweak gradients, run time? but not necessarily all > gradient props. > The algorithm here (perhaps there is a completely different/better > approach) is to set some defaults and if e.g I just pass "red" then we get > a radial gradient with a white center and a red exterior. > > So I would like to be able to just do something like > > send "setRamp ("255,0,0") to grc "gradientBkgnd" # which has a behavior > > and let the gradient take all the other values as defaults. Of course I > presume we can't expect the command to magically know that the singular > param you are sending should fill the spot for the 4th parameter. > > So, I tried this > > send "setRamp ,,,,red,," # which of course fails because ramp second > color must be an RGB value > > this > > send "setRamp ,,," & "255,0,0" & ",,," to grc colorMeditationBkgnd # also > fails > # Because the RGB values are comma separated also and return params like > this: > > setRamp "","","","255","0","0","","","" > > HQ sent me a solution but requires explicitly declaring all the empty > params in advance > > put "" into pStart > put "" into pEnd > put "" in pColor1 # defaults to white-center > put "255,0,0" into pColor2 > put "" into pAlpha1 > put "" into pAlpha2 > > send " setRamp pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2" to grc > "gradientBkgnd" # which has the behavior below > > But I would like to find a way to not have to declare those empty params > when most if the time I just want to send 1 value over to pColor2 > > Any ideas? I guess this conundrum has two possible parts > > 1) constructing a string for the send command with multiple params where > some of the values are also comma delimited. > 2) some magic to a pass a single declared value over to the command > function as if it were the #4 parameter in a way that will leave all the > others empty. > > command setRamp pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2 > set the fillgradient["ramp"] of me to > setfillRamp(pStart,pEnd,pColor1,pColor2,pAlpha1,pAlpha2) > end setRamp > > # defaults are declared as constants at the top of the behavior: > > function setFillRamp pStartPosition,pEndPosition,pColor1, > pColor2,pAlpha1,pAlpha2 > if pStartPosition is empty then put kDefaultStart into > pStartPosition > if pEndPosition is empty then put kDefaultEnd into pEndPosition > if pColor1 is empty then put kPureWhite into pColor1 > if pColor2 is empty then put kPureBlack into pColor2 > if pAlpha1 is empty then put kDefaultOpacity into pAlpha1 > if pAlpha2 is empty then put kDefaultOpacity into pAlpha2 > put(pStartPosition & comma & pColor1 & comma & pAlpha1) into > tGradientRamp > put cr &(pEndPosition & comma & pColor2 & comma & pAlpha2) after > tGradientRamp > return tGradientRamp > end setFillRamp > > Possibly we need yet another interim function to set up the empty defaults > first. > > if the number of params is 1 then > > put "" into pStart > put "" into pEnd > put "" in pColor1 # defaults to white-center > put (word 2 of the params) into pColor2 > put "" into pAlpha1 > put "" into pAlpha2 > > end if > > but it gets tricky if you start sending say, 2-3 params? probably easiest > to find a way to construct the string where internal params include comma > delimited RGB values. > > > > BR > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lyn.teyla at gmail.com Tue Oct 18 05:22:07 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Tue, 18 Oct 2016 11:22:07 +0200 Subject: LC Server: Getting a file list when filenames use UTF8 In-Reply-To: <5805D9E2.10803@tkf.att.ne.jp> References: <580489FA.6060300@tkf.att.ne.jp> <2B3A09E9-2E26-4F91-A85E-B4D7243F3FAE@revigniter.com> <5805D9E2.10803@tkf.att.ne.jp> Message-ID: <4088B98F-01FC-4637-AAD1-3A875E09EF2D@gmail.com> I opened a bug report in August concerning this issue: http://quality.livecode.com/show_bug.cgi?id=18202 Lyn > Tim Selander wrote: > > Thanks for confirming that for me Ralf. > > I wonder if the team can look into this.... > > Tim Selander > Tokyo, Japan > > On 2016/10/17 20:02, Ralf Bitter wrote: >> Seems that I can confirm your findings. >> Did a test on diesel using server version 8.1.1-rc-2. >> If there is a file "?????.txt" the file list retrieved >> is empty. To get a file list I have to remove the >> Japanese file. >> >> >> Ralf >> >> >>> On 17.10.2016, at 10:21, Tim Selander wrote: >>> >>> Hi, >>> >>> Using LC server as installed in my on-rev account. >>> >>> This script >>> >> set the defaultfolder to "/home/server-name/public_html/selander/201610" >>> put the files >>> ?> >>> >>> Only returns files with English filenames to the resulting web page. Japanese (utf8) filenames are ignored. If I change one of the Japanese filenames to English, then it appears. If I change it back to Japanese, it reverts to not appearing. >>> >>> Any hints? >>> >>> Thank you. >>> >>> Tim Selander >>> Tokyo, Japan >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Oct 18 07:48:02 2016 From: jbv at souslelogo.com (jbv) Date: Tue, 18 Oct 2016 13:48:02 +0200 Subject: On-rev server blocked by ISP Message-ID: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> Hi list One of my clients experienced severe problems a week ago as they couldn't use their client/server LC app and therefore lost dozens of potential clients. After blaming the developer for the days and repeating that the internet connection was ok, the tech support of the isp finally accepted to do some more research, and finally confessed that they had blocked the on-rev server, but wouldn't explain why... Did anything similar happened to anyone with an on-rev account ? And is there anything that can be done to prevent any further problem like that ? I'm asking the list, because despite sending a couple of urgent support requests to on-rev at that time, nobody ever got back to me... Thanks jbv From matthias_livecode_150811 at m-r-d.de Tue Oct 18 08:13:58 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 18 Oct 2016 14:13:58 +0200 Subject: On-rev server blocked by ISP In-Reply-To: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> Message-ID: That?s really strange. I?ve never heard about such blocking in general. And that the support is not answering is also very un-typical. What might help is to add a dedicated ip for the on-rev account. So the domains of the on-rev account have their own ip-address and not the main ip all other on-rev accounts on that server have. The dedicated ip is not very expensive. If i remember right about 39$/y. And it is setup within hours. Regards, Matthias > Am 18.10.2016 um 13:48 schrieb jbv : > > Hi list > One of my clients experienced severe problems a week ago > as they couldn't use their client/server LC app and therefore > lost dozens of potential clients. > After blaming the developer for the days and repeating that > the internet connection was ok, the tech support of the isp > finally accepted to do some more research, and finally confessed > that they had blocked the on-rev server, but wouldn't explain > why... > Did anything similar happened to anyone with an on-rev account ? > And is there anything that can be done to prevent any further > problem like that ? > I'm asking the list, because despite sending a couple of urgent > support requests to on-rev at that time, nobody ever got back > to me... > > 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 bernd.niggemann at uni-wh.de Tue Oct 18 08:07:45 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 18 Oct 2016 05:07:45 -0700 (PDT) Subject: [ANN] calendar widget Message-ID: <1476792465649-4709539.post@n4.nabble.com> During the conference a calendar widget was used in the widget course. The original author is Elanor Buchanan. I think it is a wonderful example of what widgets can do. Elanor did a very good job. I extended the calendar to add some useful features. You can choose via the properties inspector the sytem abbreviated names for month names and day names. Thus using the localized names. Default english The option to start the week on Mondays which is the case in many countries. Default Sunday Clicking on Month/Year in the title bar brings up the current date The option that the font size adapts to the size of the widget (default) The calendar widget uses a library also written by Elanor Buchanan "datesupport" to install the widget download and unzip http://www.berndniggemann.on-rev.com/calendar/calendar.zip inside the folder there are two .lce files: community.livecode.elanor.datesupport.1.0.0.lce community.livecode.elanorb.calendarBN.1.0.0.lce Use the Extension Manager in the Tool Menu to install the files one by one by using the Plus-sign in the upper right corner of the Extension Manager. The Extension Manager will then install those extensions in your "extensions" folder in your "My LiveCode" folder You might want to restart Livecode and you should see in your toolbar a widget "calendarBN" with a calendar icon. You can change a number of properties, please see the dictionary entry API: Choose API: CalendarBN Calendar sends a dateChanged message when the user clicks on a date. You add this script to the widget to react to the message. on dateChanged pDate put pDate into field "myDate" end dateChanged Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Tue Oct 18 08:15:56 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 18 Oct 2016 14:15:56 +0200 Subject: On-rev server blocked by ISP In-Reply-To: References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> Message-ID: <83A045ED-71CE-4A3E-9D88-9944430892CF@m-r-d.de> What i forgot to mention. You can add that additional feature for your On-Rev account in your LiveCode store account. > Am 18.10.2016 um 14:13 schrieb Matthias Rebbe : > > That?s really strange. I?ve never heard about such blocking in general. > And that the support is not answering is also very un-typical. > > What might help is to add a dedicated ip for the on-rev account. > So the domains of the on-rev account have their own ip-address and not the main ip all other on-rev accounts on that server have. > > The dedicated ip is not very expensive. If i remember right about 39$/y. > And it is setup within hours. > > Regards, > Matthias > > > >> Am 18.10.2016 um 13:48 schrieb jbv : >> >> Hi list >> One of my clients experienced severe problems a week ago >> as they couldn't use their client/server LC app and therefore >> lost dozens of potential clients. >> After blaming the developer for the days and repeating that >> the internet connection was ok, the tech support of the isp >> finally accepted to do some more research, and finally confessed >> that they had blocked the on-rev server, but wouldn't explain >> why... >> Did anything similar happened to anyone with an on-rev account ? >> And is there anything that can be done to prevent any further >> problem like that ? >> I'm asking the list, because despite sending a couple of urgent >> support requests to on-rev at that time, nobody ever got back >> to me... >> >> 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 jbv at souslelogo.com Tue Oct 18 08:26:39 2016 From: jbv at souslelogo.com (jbv) Date: Tue, 18 Oct 2016 14:26:39 +0200 Subject: On-rev server blocked by ISP In-Reply-To: References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> Message-ID: <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> Hi Matthias Thanks for the answer. But that on-rev account already has a dedicated ip. I wasn't in direct contact with the isp, but according to my client it wasn't the ip that was blocked, but the server itself. The app sends requests to the server through urls such as : http://myDomain.on-rev.com that's what on-rev support told me should be used instead of ip, and from what I understand that was blocked... On Tue, October 18, 2016 2:13 pm, Matthias Rebbe wrote: > That?s really strange. I?ve never heard about such blocking in general. > And that the support is not answering is also very un-typical. > > > What might help is to add a dedicated ip for the on-rev account. > So the domains of the on-rev account have their own ip-address and not the > main ip all other on-rev accounts on that server have. > > The dedicated ip is not very expensive. If i remember right about 39$/y. > And it is setup within hours. > > > Regards, > Matthias > > > > >> Am 18.10.2016 um 13:48 schrieb jbv : >> >> >> Hi list >> One of my clients experienced severe problems a week ago >> as they couldn't use their client/server LC app and therefore lost dozens >> of potential clients. After blaming the developer for the days and >> repeating that the internet connection was ok, the tech support of the >> isp finally accepted to do some more research, and finally confessed that >> they had blocked the on-rev server, but wouldn't explain why... Did >> anything similar happened to anyone with an on-rev account ? And is >> there anything that can be done to prevent any further problem like that >> ? >> I'm asking the list, because despite sending a couple of urgent >> support requests to on-rev at that time, nobody ever got back to me... >> >> 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 heather at livecode.com Tue Oct 18 08:41:17 2016 From: heather at livecode.com (Heather Laine) Date: Tue, 18 Oct 2016 13:41:17 +0100 Subject: On-rev server blocked by ISP In-Reply-To: <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> Message-ID: <60292C4B-F207-4B99-8EF9-DDB9E576BA7D@livecode.com> Dear JBV, We have responded to several tickets of yours recently in the hosting support. I'm concerned to hear you might have sent us something we did not receive or I cannot locate, or possibly that you did not receive our replies. Please send me the ticket numbers, to the support at livecode.com address, and I will look into it (don't send the tickets here please!). Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com > On 18 Oct 2016, at 13:26, jbv wrote: > > Hi Matthias > > Thanks for the answer. > But that on-rev account already has a dedicated ip. > I wasn't in direct contact with the isp, but according to my client > it wasn't the ip that was blocked, but the server itself. > The app sends requests to the server through urls such as : > http://myDomain.on-rev.com > that's what on-rev support told me should be used instead of ip, > and from what I understand that was blocked... > > On Tue, October 18, 2016 2:13 pm, Matthias Rebbe wrote: >> That?s really strange. I?ve never heard about such blocking in general. >> And that the support is not answering is also very un-typical. >> >> >> What might help is to add a dedicated ip for the on-rev account. >> So the domains of the on-rev account have their own ip-address and not the >> main ip all other on-rev accounts on that server have. >> >> The dedicated ip is not very expensive. If i remember right about 39$/y. >> And it is setup within hours. >> >> >> Regards, >> Matthias >> >> >> >> >>> Am 18.10.2016 um 13:48 schrieb jbv : >>> >>> >>> Hi list >>> One of my clients experienced severe problems a week ago >>> as they couldn't use their client/server LC app and therefore lost dozens >>> of potential clients. After blaming the developer for the days and >>> repeating that the internet connection was ok, the tech support of the >>> isp finally accepted to do some more research, and finally confessed that >>> they had blocked the on-rev server, but wouldn't explain why... Did >>> anything similar happened to anyone with an on-rev account ? And is >>> there anything that can be done to prevent any further problem like that >>> ? >>> I'm asking the list, because despite sending a couple of urgent >>> support requests to on-rev at that time, nobody ever got back to me... >>> >>> 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Tue Oct 18 08:51:42 2016 From: jbv at souslelogo.com (jbv) Date: Tue, 18 Oct 2016 14:51:42 +0200 Subject: On-rev server blocked by ISP In-Reply-To: <60292C4B-F207-4B99-8EF9-DDB9E576BA7D@livecode.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> <60292C4B-F207-4B99-8EF9-DDB9E576BA7D@livecode.com> Message-ID: Hello Heather Yes you answered several requests of mine, but not the one(s) relative to THAT specific problem. And I have received all the answers for the other requests, but not for that last one. I just sent you a reminder to the on-rev support email address. Thanks On Tue, October 18, 2016 2:41 pm, Heather Laine wrote: > Dear JBV, > > > We have responded to several tickets of yours recently in the hosting > support. I'm concerned to hear you might have sent us something we did > not receive or I cannot locate, or possibly that you did not receive our > replies. Please send me the ticket numbers, to the support at livecode.com > address, and I will look into it (don't send the tickets here please!). > > Regards, > > > Heather > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > >> On 18 Oct 2016, at 13:26, jbv wrote: >> >> >> Hi Matthias >> >> >> Thanks for the answer. >> But that on-rev account already has a dedicated ip. >> I wasn't in direct contact with the isp, but according to my client >> it wasn't the ip that was blocked, but the server itself. The app sends >> requests to the server through urls such as : http://myDomain.on-rev.com >> that's what on-rev support told me should be used instead of ip, and >> from what I understand that was blocked... >> >> On Tue, October 18, 2016 2:13 pm, Matthias Rebbe wrote: >> >>> That?s really strange. I?ve never heard about such blocking in >>> general. And that the support is not answering is also very >>> un-typical. >>> >>> >>> What might help is to add a dedicated ip for the on-rev account. >>> So the domains of the on-rev account have their own ip-address and not >>> the main ip all other on-rev accounts on that server have. >>> >>> The dedicated ip is not very expensive. If i remember right about >>> 39$/y. >>> And it is setup within hours. >>> >>> >>> >>> Regards, >>> Matthias >>> >>> >>> >>> >>> >>>> Am 18.10.2016 um 13:48 schrieb jbv : >>>> >>>> >>>> >>>> Hi list >>>> One of my clients experienced severe problems a week ago >>>> as they couldn't use their client/server LC app and therefore lost >>>> dozens of potential clients. After blaming the developer for the >>>> days and repeating that the internet connection was ok, the tech >>>> support of the isp finally accepted to do some more research, and >>>> finally confessed that they had blocked the on-rev server, but >>>> wouldn't explain why... Did anything similar happened to anyone with >>>> an on-rev account ? And is there anything that can be done to >>>> prevent any further problem like that ? >>>> I'm asking the list, because despite sending a couple of urgent >>>> support requests to on-rev at that time, nobody ever got back to >>>> me... >>>> >>>> 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 >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list use-livecode at lists.runrev.com Please visit this >> url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list use-livecode at 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 Tue Oct 18 08:52:45 2016 From: irog at mac.com (Roger Guay) Date: Tue, 18 Oct 2016 05:52:45 -0700 Subject: [ANN] calendar widget In-Reply-To: <1476792465649-4709539.post@n4.nabble.com> References: <1476792465649-4709539.post@n4.nabble.com> Message-ID: <80A76DCA-BDC1-44CE-9ED0-86BABDB22F24@mac.com> Very nice . . . Thank you!! > On Oct 18, 2016, at 5:07 AM, BNig wrote: > > During the conference a calendar widget was used in the widget course. > The original author is Elanor Buchanan. > I think it is a wonderful example of what widgets can do. Elanor did a very > good job. > > I extended the calendar to add some useful features. > > You can choose via the properties inspector the sytem abbreviated names for > month names and day names. Thus using the localized names. > Default english > > The option to start the week on Mondays which is the case in many countries. > Default Sunday > > Clicking on Month/Year in the title bar brings up the current date > > The option that the font size adapts to the size of the widget (default) > > The calendar widget uses a library also written by Elanor Buchanan > "datesupport" > > to install the widget download and unzip > > http://www.berndniggemann.on-rev.com/calendar/calendar.zip > > inside the folder there are two .lce files: > > community.livecode.elanor.datesupport.1.0.0.lce > community.livecode.elanorb.calendarBN.1.0.0.lce > > Use the Extension Manager in the Tool Menu to install the files one by one > by using the Plus-sign in the upper right corner of the Extension Manager. > > The Extension Manager will then install those extensions in your > "extensions" folder in your "My LiveCode" folder > > You might want to restart Livecode and you should see in your toolbar a > widget "calendarBN" with a calendar icon. > > You can change a number of properties, please see the dictionary entry API: > Choose API: CalendarBN > > Calendar sends a dateChanged message when the user clicks on a date. You add > this script to the widget to react to the message. > > on dateChanged pDate > put pDate into field "myDate" > end dateChanged > > Kind regards > Bernd > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.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 matthias_livecode_150811 at m-r-d.de Tue Oct 18 09:25:59 2016 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 18 Oct 2016 15:25:59 +0200 Subject: On-rev server blocked by ISP In-Reply-To: <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <8d319dd4e57ffd80b0703e31baa6ec0d.squirrel@sage.on-rev.com> Message-ID: <2FBF3DA6-48A4-4F8B-8180-83E8EAD986C0@m-r-d.de> Hi, so either the other isp is blocking your dedicated ip or the domain name on-rev.com itself regardless what ip the subdomain has. You could try to add an addon domain to your on-rev.com. To do so: 1. Register a free, yes free, domain at https://freenom.com . You can register there a domain for free for up to 12 months and renew it every year again for free. 2. Configure that new domain in the Freenom account to use ns1.on-rev.com and ns2.on-rev.com as it?s nameservers. 3. in your On-Rev account add that domain as addon domain. Maybe an other domain name without on-rev.com in its name will solve it. Btw.: What i find strange is, that even if the ISP has reasons to block the access to On-Rev, then why not explaining why it is blocked. Never heard about such behaviour of ISPs. Matthias Rebbe Bramkampsieke 13 32312 L?bbecke Tel +49 5741 310000 +49 160 5504462 Fax: +49 5741 310002 eMail: matthias at m-r-d.de BR5 Konverter - BR5 -> MP3 > Am 18.10.2016 um 14:26 schrieb jbv : > > Hi Matthias > > Thanks for the answer. > But that on-rev account already has a dedicated ip. > I wasn't in direct contact with the isp, but according to my client > it wasn't the ip that was blocked, but the server itself. > The app sends requests to the server through urls such as : > http://myDomain.on-rev.com > that's what on-rev support told me should be used instead of ip, > and from what I understand that was blocked... > > On Tue, October 18, 2016 2:13 pm, Matthias Rebbe wrote: >> That?s really strange. I?ve never heard about such blocking in general. >> And that the support is not answering is also very un-typical. >> >> >> What might help is to add a dedicated ip for the on-rev account. >> So the domains of the on-rev account have their own ip-address and not the >> main ip all other on-rev accounts on that server have. >> >> The dedicated ip is not very expensive. If i remember right about 39$/y. >> And it is setup within hours. >> >> >> Regards, >> Matthias >> >> >> >> >>> Am 18.10.2016 um 13:48 schrieb jbv : >>> >>> >>> Hi list >>> One of my clients experienced severe problems a week ago >>> as they couldn't use their client/server LC app and therefore lost dozens >>> of potential clients. After blaming the developer for the days and >>> repeating that the internet connection was ok, the tech support of the >>> isp finally accepted to do some more research, and finally confessed that >>> they had blocked the on-rev server, but wouldn't explain why... Did >>> anything similar happened to anyone with an on-rev account ? And is >>> there anything that can be done to prevent any further problem like that >>> ? >>> I'm asking the list, because despite sending a couple of urgent >>> support requests to on-rev at that time, nobody ever got back to me... >>> >>> 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 18 09:29:22 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 18 Oct 2016 09:29:22 -0400 Subject: Understanding 'the defaultStack' In-Reply-To: <7914e2f8-6430-ad13-6c9f-0339cc0ec545@fourthworld.com> References: <716D8BA2-4E9F-4BF5-90B1-658CDB717CBF@iotecdigital.com> <7914e2f8-6430-ad13-6c9f-0339cc0ec545@fourthworld.com> Message-ID: > On Oct 15, 2016, at 10:53 AM, Richard Gaskin wrote: > > Bob Sneidar wrote: > > ?. > > I'm not sure who I am anymore... > > Unless you've experienced a problem with it, just keep doing what you're doing?. Be yourself -- everyone else is already taken. -- Oscar Wilde ? Peter Peter M. Brigham pmbrig at gmail.com From rdimola at evergreeninfo.net Tue Oct 18 10:01:50 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 18 Oct 2016 10:01:50 -0400 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> Message-ID: <001701d22948$2caf8450$860e8cf0$@net> I was on 6.7.6 up to 4 weeks ago. There was some pain but not as bad as I thought. The hardest part was getting started. I am working with 20k+ lines of code. I still have some issues and submitted bug reports but have been able to work around them. Many have already been fixed. The LC team has been very responsive to bug reports. I was lamenting when 6 and 7 were EOLed but it is very noticeable that those resources were allocated to LC 8 bug fixes. LC 8 is MUCH faster than LC 7 very close for my apps to LC6. The LC 8 IDE has been more stable than 6.7.x. I just commented out 9k lines in 6 seconds and un-commented them in 9 seconds in LC 8.1.1 rc2 on a Win 10 VM. 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 Monte Goulding Sent: Monday, October 17, 2016 10:05 PM To: How to use LiveCode Subject: Re: insane time to comment out hundreds or thousands of lines > On 18 Oct 2016, at 1:02 PM, Dr. Hawkins wrote: > > 8 has still been to painful the last couple of times I've checked. There?s your problem. Sounds like staying on 7 is painful right now. What are the bug report numbers for the issues causing you pain? Cheers Monte _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Oct 18 10:59:51 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 14:59:51 +0000 Subject: [ANN] calendar widget In-Reply-To: <1476792465649-4709539.post@n4.nabble.com> References: <1476792465649-4709539.post@n4.nabble.com> Message-ID: I get Module Format not supported. Bob S > On Oct 18, 2016, at 05:07 , BNig wrote: > > During the conference a calendar widget was used in the widget course. > The original author is Elanor Buchanan. > I think it is a wonderful example of what widgets can do. Elanor did a very > good job. > > I extended the calendar to add some useful features. > > You can choose via the properties inspector the sytem abbreviated names for > month names and day names. Thus using the localized names. > Default english > > The option to start the week on Mondays which is the case in many countries. > Default Sunday > > Clicking on Month/Year in the title bar brings up the current date > > The option that the font size adapts to the size of the widget (default) > > The calendar widget uses a library also written by Elanor Buchanan > "datesupport" > > to install the widget download and unzip > > http://www.berndniggemann.on-rev.com/calendar/calendar.zip > > inside the folder there are two .lce files: > > community.livecode.elanor.datesupport.1.0.0.lce > community.livecode.elanorb.calendarBN.1.0.0.lce > > Use the Extension Manager in the Tool Menu to install the files one by one > by using the Plus-sign in the upper right corner of the Extension Manager. > > The Extension Manager will then install those extensions in your > "extensions" folder in your "My LiveCode" folder > > You might want to restart Livecode and you should see in your toolbar a > widget "calendarBN" with a calendar icon. > > You can change a number of properties, please see the dictionary entry API: > Choose API: CalendarBN > > Calendar sends a dateChanged message when the user clicks on a date. You add > this script to the widget to react to the message. > > on dateChanged pDate > put pDate into field "myDate" > end dateChanged > > Kind regards > Bernd > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.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 Tue Oct 18 11:06:17 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 15:06:17 +0000 Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> Message-ID: <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Using 8.1.0 > On Oct 18, 2016, at 07:59 , Bob Sneidar wrote: > > I get Module Format not supported. > > Bob S > > >> On Oct 18, 2016, at 05:07 , BNig wrote: >> >> During the conference a calendar widget was used in the widget course. >> The original author is Elanor Buchanan. >> I think it is a wonderful example of what widgets can do. Elanor did a very >> good job. >> >> I extended the calendar to add some useful features. >> >> You can choose via the properties inspector the sytem abbreviated names for >> month names and day names. Thus using the localized names. >> Default english >> >> The option to start the week on Mondays which is the case in many countries. >> Default Sunday >> >> Clicking on Month/Year in the title bar brings up the current date >> >> The option that the font size adapts to the size of the widget (default) >> >> The calendar widget uses a library also written by Elanor Buchanan >> "datesupport" >> >> to install the widget download and unzip >> >> http://www.berndniggemann.on-rev.com/calendar/calendar.zip >> >> inside the folder there are two .lce files: >> >> community.livecode.elanor.datesupport.1.0.0.lce >> community.livecode.elanorb.calendarBN.1.0.0.lce >> >> Use the Extension Manager in the Tool Menu to install the files one by one >> by using the Plus-sign in the upper right corner of the Extension Manager. >> >> The Extension Manager will then install those extensions in your >> "extensions" folder in your "My LiveCode" folder >> >> You might want to restart Livecode and you should see in your toolbar a >> widget "calendarBN" with a calendar icon. >> >> You can change a number of properties, please see the dictionary entry API: >> Choose API: CalendarBN >> >> Calendar sends a dateChanged message when the user clicks on a date. You add >> this script to the widget to react to the message. >> >> on dateChanged pDate >> put pDate into field "myDate" >> end dateChanged >> >> Kind regards >> Bernd >> >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 18 11:08:45 2016 From: klaus at major-k.de (Klaus major-k) Date: Tue, 18 Oct 2016 17:08:45 +0200 Subject: [ANN] calendar widget In-Reply-To: <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: Hi all, > Am 18.10.2016 um 17:06 schrieb Bob Sneidar : > > Using 8.1.0 runs fine on my Mac on LC 8.1.1 RC2! >> On Oct 18, 2016, at 07:59 , Bob Sneidar wrote: >> >> I get Module Format not supported. >> >> Bob S >> >> >>> On Oct 18, 2016, at 05:07 , BNig wrote: >>> >>> During the conference a calendar widget was used in the widget course. >>> The original author is Elanor Buchanan. >>> I think it is a wonderful example of what widgets can do. Elanor did a very >>> good job. >>> >>> I extended the calendar to add some useful features. >>> >>> You can choose via the properties inspector the sytem abbreviated names for >>> month names and day names. Thus using the localized names. >>> Default english >>> >>> The option to start the week on Mondays which is the case in many countries. >>> Default Sunday >>> >>> Clicking on Month/Year in the title bar brings up the current date >>> >>> The option that the font size adapts to the size of the widget (default) >>> >>> The calendar widget uses a library also written by Elanor Buchanan >>> "datesupport" >>> >>> to install the widget download and unzip >>> >>> http://www.berndniggemann.on-rev.com/calendar/calendar.zip >>> >>> inside the folder there are two .lce files: >>> >>> community.livecode.elanor.datesupport.1.0.0.lce >>> community.livecode.elanorb.calendarBN.1.0.0.lce >>> >>> Use the Extension Manager in the Tool Menu to install the files one by one >>> by using the Plus-sign in the upper right corner of the Extension Manager. >>> >>> The Extension Manager will then install those extensions in your >>> "extensions" folder in your "My LiveCode" folder >>> >>> You might want to restart Livecode and you should see in your toolbar a >>> widget "calendarBN" with a calendar icon. >>> >>> You can change a number of properties, please see the dictionary entry API: >>> Choose API: CalendarBN >>> >>> Calendar sends a dateChanged message when the user clicks on a date. You add >>> this script to the widget to react to the message. >>> >>> on dateChanged pDate >>> put pDate into field "myDate" >>> end dateChanged >>> >>> Kind regards >>> Bernd thanks a lot, Bernd! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Tue Oct 18 11:13:30 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 15:13:30 +0000 Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: Same here on 8.1.1 rx1. Apparently there were some changes made from 8.1.0 to 8.1.1. Bob S On Oct 18, 2016, at 08:08 , Klaus major-k > wrote: Hi all, Am 18.10.2016 um 17:06 schrieb Bob Sneidar >: Using 8.1.0 runs fine on my Mac on LC 8.1.1 RC2! On Oct 18, 2016, at 07:59 , Bob Sneidar > wrote: I get Module Format not supported. Bob S From arul.selvan at gmail.com Tue Oct 18 11:15:43 2016 From: arul.selvan at gmail.com (arul selvan) Date: Tue, 18 Oct 2016 20:45:43 +0530 Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: Bernd thank you! works fime in mac 10.10.1 lc 8.1.0 arul On Tue, Oct 18, 2016 at 8:43 PM, Bob Sneidar wrote: > Same here on 8.1.1 rx1. Apparently there were some changes made from 8.1.0 to 8.1.1. > > Bob S > > > On Oct 18, 2016, at 08:08 , Klaus major-k > wrote: > > Hi all, > > Am 18.10.2016 um 17:06 schrieb Bob Sneidar >: > > Using 8.1.0 > > runs fine on my Mac on LC 8.1.1 RC2! > > On Oct 18, 2016, at 07:59 , Bob Sneidar > wrote: > > I get Module Format not supported. > > 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 roger.e.eller at sealedair.com Tue Oct 18 11:16:29 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 18 Oct 2016 11:16:29 -0400 Subject: [ANN] calendar widget In-Reply-To: <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed in Windows 7 (LiveCode 8.1.0 Indy) . ~Roger On Tue, Oct 18, 2016 at 11:06 AM, Bob Sneidar wrote: > Using 8.1.0 > > > On Oct 18, 2016, at 07:59 , Bob Sneidar > wrote: > > > > I get Module Format not supported. > > > > Bob S > > > From toolbook at kestner.de Tue Oct 18 11:36:07 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 18 Oct 2016 17:36:07 +0200 Subject: how to get the menubar group transparent? Message-ID: <004901d22955$58a20da0$09e628e0$@kestner.de> Hello, working with LC 8.1.0 on Win 10: Since Win 10 the window title bar and the menu bar have the same color - what I don't like, because there is no optical differentiation. I would like to get a slight contrast between both of them, as it was all windows versions before. I tried to set the backgroundcolor of the menubar group and set the opaque to true, without any change of the menu bar. I tried to set the opaque to false and show an colored image behind the menu bar, without any change of the menu bar. The menu bar always stays opaque and white (as the window title). Do I miss anything or is the menubar appearance controlled by a windows scheme and I shouldn't care about windows new look? Thanks for any insights Tiemo From bobsneidar at iotecdigital.com Tue Oct 18 11:43:28 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 15:43:28 +0000 Subject: how to get the menubar group transparent? In-Reply-To: <004901d22955$58a20da0$09e628e0$@kestner.de> References: <004901d22955$58a20da0$09e628e0$@kestner.de> Message-ID: Might be a windows interface thing. I noticed that on Mac tab menus are a kind of 3d transparent so the background shows through but on windows there is no transparency. It's always white and there is no way to make it look like the Mac version. Bob S > On Oct 18, 2016, at 08:36 , Tiemo Hollmann TB wrote: > > Hello, > > working with LC 8.1.0 on Win 10: > > > > Since Win 10 the window title bar and the menu bar have the same color - > what I don't like, because there is no optical differentiation. I would like > to get a slight contrast between both of them, as it was all windows > versions before. > > > > I tried to set the backgroundcolor of the menubar group and set the opaque > to true, without any change of the menu bar. I tried to set the opaque to > false and show an colored image behind the menu bar, without any change of > the menu bar. The menu bar always stays opaque and white (as the window > title). > > > > Do I miss anything or is the menubar appearance controlled by a windows > scheme and I shouldn't care about windows new look? > > > > Thanks for any insights > > 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 beugelaar at solidit.nl Tue Oct 18 11:47:36 2016 From: beugelaar at solidit.nl (Erik Beugelaar) Date: Tue, 18 Oct 2016 17:47:36 +0200 Subject: [OT] Website Design Apps-Mac In-Reply-To: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> Message-ID: <001301d22956$f469daf0$dd3d90d0$@solidit.nl> Randy, Take a look at Mobirise Website Builder: https://mobirise.com/ Erik -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Randy Hengst Sent: maandag 17 oktober 2016 13:29 To: How to use LiveCode Subject: [OT] Website Design Apps-Mac Hi All, I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html Is anyone using a software package they can recommend to a total novice? Thanks for any thoughts. be well, randy Randy Hengst www.classroomFocusedSoftware.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 dvglasgow at gmail.com Tue Oct 18 11:52:46 2016 From: dvglasgow at gmail.com (David V Glasgow) Date: Tue, 18 Oct 2016 16:52:46 +0100 Subject: OT - cross platform zero slashed font In-Reply-To: References: Message-ID: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> Is there really no cross platform zero slashed (like Monaco 0) font? Is there one which is substituted by another zero slashed font on different platforms? Best Wishes, David Glasgow From iowahengst at mac.com Tue Oct 18 12:09:17 2016 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 18 Oct 2016 11:09:17 -0500 Subject: [OT] Website Design Apps-Mac In-Reply-To: <001301d22956$f469daf0$dd3d90d0$@solidit.nl> References: <99DF9237-CEE8-428A-8449-B97492828205@mac.com> <001301d22956$f469daf0$dd3d90d0$@solidit.nl> Message-ID: <387103E4-DECA-4315-964F-0FE4CA491281@mac.com> Thank you, Erik. I hadn?t heard about that one at all. be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 18, 2016, at 10:47 AM, Erik Beugelaar wrote: > > Randy, > > Take a look at Mobirise Website Builder: https://mobirise.com/ > > Erik > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Randy Hengst > Sent: maandag 17 oktober 2016 13:29 > To: How to use LiveCode > Subject: [OT] Website Design Apps-Mac > > Hi All, > > I?ve begun exploring maintaining my website myself. I?ve not messed with HTML for 20+ years. > > I?m looking for a ?construction set? for getting this going and have found a review of several software options here: http://www.macworld.com/article/2984967/software-web/web-design-review-roundup-our-favorite-mac-apps-for-building-a-website.html > > Is anyone using a software package they can recommend to a total novice? > > Thanks for any thoughts. > > > be well, > randy > > Randy Hengst > www.classroomFocusedSoftware.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 bernd.niggemann at uni-wh.de Tue Oct 18 12:14:47 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 18 Oct 2016 09:14:47 -0700 (PDT) Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: <1476807287322-4709559.post@n4.nabble.com> Hi Roger, Could you try with a version > 8.1.0 and Windows 7? the widget does not use Mac specific code. Actually I just tested using on a Mac 10.9.5 and LC 8.1.0 and it worked. But I compiled the widget using LC 9.0.0 DP1. But that _should_ not matter? Kind regards Bernd Roger Eller wrote > It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed > in Windows 7 (LiveCode 8.1.0 Indy) > <https://dl.dropboxusercontent.com/u/54789013/LC_errors/CalendarFAIL_Win7.png> > . > > ~Roger -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709559.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Tue Oct 18 12:34:19 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 09:34:19 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: Message-ID: On Mon, Oct 17, 2016 at 7:03 PM, Dr. Hawkins wrote: > And now at about 23 minutes . . . and apparently ended at ten hours and one minute, giving by the save time on the file (save & quit buffered) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 18 12:38:09 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 09:38:09 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: <001701d22948$2caf8450$860e8cf0$@net> References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <001701d22948$2caf8450$860e8cf0$@net> Message-ID: On Tue, Oct 18, 2016 at 7:01 AM, Ralph DiMola wrote: > I was on 6.7.6 up to 4 weeks ago. There was some pain but not as bad as I > thoug > I never ended up using 6; the global shade problem was so much worse than 5 that I just couldn't get anything done. By the time it was solved (well, I assumed it was solved) I was using 7 for the pixelScale on individual stack. I"d still rate the final release of 7 as beta, not release, quality . . . And speaking of those shadows, before I forget again, it may be tied to errors in explicit variables--I eventually found a couple of local declarations for variables used as globals that survived for literally years, somehow compiling. I suppose I should have flagged them to go back, but I just removed them in irritation. I haven't hit an incorrect shadow in months now . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 18 12:47:22 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 09:47:22 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: <2DBFCAD3-7D9B-4561-B6F3-5561BB143DF0@appisle.net> References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> <2DBFCAD3-7D9B-4561-B6F3-5561BB143DF0@appisle.net> Message-ID: On Mon, Oct 17, 2016 at 8:36 PM, Monte Goulding wrote: > Hmm? Is this only when opening the stacks by double-clicking rather than > from the IDE menubar To tell the truth, the only time I ever loaded a stack from the menubar was when opening another version of live code, blocking messages, and opening. I just tried,, and it indeed opens without the error. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 18 12:52:00 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 09:52:00 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> <2DBFCAD3-7D9B-4561-B6F3-5561BB143DF0@appisle.net> Message-ID: Now *Bug 18638* I can't put the stacks publicly, so I'll wait for an email or ftp at live code to upload. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Tue Oct 18 13:02:39 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 18 Oct 2016 13:02:39 -0400 Subject: [ANN] calendar widget In-Reply-To: <1476807287322-4709559.post@n4.nabble.com> References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> <1476807287322-4709559.post@n4.nabble.com> Message-ID: Hi Bernd, I have updated bug# 17374 with new screenshots. http://quality.livecode.com/show_bug.cgi?id=17374 ~Roger On Tue, Oct 18, 2016 at 12:14 PM, BNig wrote: > Hi Roger, > > Could you try with a version > 8.1.0 and Windows 7? > > the widget does not use Mac specific code. > > Actually I just tested using on a Mac 10.9.5 and LC 8.1.0 and it worked. > But > I compiled the widget using LC 9.0.0 DP1. But that _should_ not matter? > > Kind regards > Bernd > > From dochawk at gmail.com Tue Oct 18 13:15:11 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 10:15:11 -0700 Subject: insane time to comment out hundreds or thousands of lines In-Reply-To: References: <656DFD3B-14AB-4EF8-8553-419397C34036@appisle.net> <99567215-251F-4452-A353-7DBAC442C3F9@appisle.net> <2DBFCAD3-7D9B-4561-B6F3-5561BB143DF0@appisle.net> Message-ID: On Tue, Oct 18, 2016 at 9:52 AM, Dr. Hawkins wrote: > Now *Bug 18638* > Hmm, it now seems to work in 8.1. I'll give 8 another try, but my first few minutes aren't promising . . . I'm used to the 2-5 second delay when switching tabs in the script editor (unacceptable, and bad for my blood pressure, but I'm used to it), but now we're up to a couple of minutes of beachball just for switching tabs . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Tue Oct 18 13:31:16 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 18 Oct 2016 17:31:16 +0000 Subject: Sending Empty Params, along with a comma delimited value (RGB in this case) In-Reply-To: References: <7D38DE24-0078-42DC-A8D0-3054F1D54671@hindu.org> Message-ID: <44E9C1A3-49C2-4D24-82BC-FE81ADD17D73@hindu.org> Thanks Ali? I was overthinking this one for sure this works great: on mouseUp put "255,255,0" into pColor2 # bright yellow send "setfillGradient ,,,pColor2,,," to grc colorMeditationBkgnd end mouseUp command setFillGradient pStartPosition,pEndPosition,pColor1, pColor2,pAlpha1,pAlpha2 if pStartPosition is empty then put kDefaultStart into pStartPosition if pEndPosition is empty then put kDefaultEnd into pEndPosition if pColor1 is empty then put kPureWhite into pColor1 if pColor2 is empty then put kPureBlack into pColor2 if pAlpha1 is empty then put kDefaultOpacity into pAlpha1 if pAlpha2 is empty then put kDefaultOpacity into pAlpha2 put(pStartPosition & comma & pColor1 & comma & pAlpha1) into tGradientRamp put cr &(pEndPosition & comma & pColor2 & comma & pAlpha2) after tGradientRamp set the fillgradient["ramp"] of me to tGradientRamp end setFillGradient On 10/17/16, 11:09 PM, "use-livecode on behalf of Ali Lloyd" wrote: Send params are evaluated in the current context, so you can put variable names in the list and it will work, eg: local tRGB put "25,25,25" into tRGB send "doSomethingWithColor tRGB" to stack "Color Manager" From jacque at hyperactivesw.com Tue Oct 18 14:41:50 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Oct 2016 13:41:50 -0500 Subject: On-rev server blocked by ISP In-Reply-To: References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> Message-ID: <82d63846-f4fc-4cd2-43f9-96a4fd23b0ce@hyperactivesw.com> On 10/18/16 7:13 AM, Matthias Rebbe wrote: > That?s really strange. I?ve never heard about such blocking in general. I've had this happen. Sometimes if a domain on a shared hosting server sends out spam or malware, the receiving ISP will block the entire server rather than just the offending IP. It isn't fair but it happened to my JaguarPC account some years ago. I was a peripheral victim through no fault of my own. To get off the block list, the hosting service needs to contact the blocking ISP and request removal. In general the user can't do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jbv at souslelogo.com Tue Oct 18 15:04:24 2016 From: jbv at souslelogo.com (jbv) Date: Tue, 18 Oct 2016 21:04:24 +0200 Subject: On-rev server blocked by ISP In-Reply-To: <82d63846-f4fc-4cd2-43f9-96a4fd23b0ce@hyperactivesw.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <82d63846-f4fc-4cd2-43f9-96a4fd23b0ce@hyperactivesw.com> Message-ID: <08744a442112073150019ace9dd80b19.squirrel@sage.on-rev.com> It's even stranger this time. My client was using the same app in 3 different cities across the country and with 3 different IPs. At startup the app sends a request to the same url http://mydomain.on-rev.com Apparently only that url was blocked by the ISP. I have another client with the same ISP using a different app in a different city with a different on-rev account (but on the same server) and it wasn't blocked... On Tue, October 18, 2016 8:41 pm, J. Landman Gay wrote: > On 10/18/16 7:13 AM, Matthias Rebbe wrote: > >> That?s really strange. I?ve never heard about such blocking in >> general. > > I've had this happen. Sometimes if a domain on a shared hosting server > sends out spam or malware, the receiving ISP will block the entire server > rather than just the offending IP. It isn't fair but it happened to my > JaguarPC account some years ago. I was a peripheral victim through > no fault of my own. > > To get off the block list, the hosting service needs to contact the > blocking ISP and request removal. In general the user can't do that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list use-livecode at lists.runrev.com Please visit this > url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Oct 18 15:09:57 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Oct 2016 22:09:57 +0300 Subject: OT - cross platform zero slashed font In-Reply-To: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> References: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> Message-ID: <8b5c1e4e-ae80-a358-537c-859d34660b99@gmail.com> Bit of a bu**er this one, it seems: https://en.wikipedia.org/wiki/Slashed_zero Richmond. On 18.10.2016 18:52, David V Glasgow wrote: > Is there really no cross platform zero slashed (like Monaco 0) font? Is there one which is substituted by another zero slashed font on different platforms? > > Best Wishes, > David Glasgow > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 18 15:15:22 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 12:15:22 -0700 Subject: error with script opening application browser in 8 Message-ID: I have the code snippet if the version < 8 then put "revApplicationOverview" into brsStk else put "revApplicationOverview" into brsStk --put "revIDEProjectBrowser" into brsStk end if if brsStk is not among the words of the openStacks then open stack brsStk end if in my setup routine. But it results in the error button "src_mcp": execution error at line 806 (Handler: can't find handler) near "revSEObjectDeleted", char 1 When running. Is there another way to automatically open it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Tue Oct 18 15:20:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Oct 2016 14:20:46 -0500 Subject: On-rev server blocked by ISP In-Reply-To: <08744a442112073150019ace9dd80b19.squirrel@sage.on-rev.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <82d63846-f4fc-4cd2-43f9-96a4fd23b0ce@hyperactivesw.com> <08744a442112073150019ace9dd80b19.squirrel@sage.on-rev.com> Message-ID: <13c98267-9fba-fb73-c3c1-24a67d3c5868@hyperactivesw.com> Maybe they've wised up since I had the experience. It's far more sensible to block a single URL rather than an entire server. On 10/18/16 2:04 PM, jbv wrote: > It's even stranger this time. My client was using the same app > in 3 different cities across the country and with 3 different IPs. > At startup the app sends a request to the same url > http://mydomain.on-rev.com > Apparently only that url was blocked by the ISP. I have another > client with the same ISP using a different app in a different city > with a different on-rev account (but on the same server) and it > wasn't blocked... > > > On Tue, October 18, 2016 8:41 pm, J. Landman Gay wrote: >> On 10/18/16 7:13 AM, Matthias Rebbe wrote: >> >>> That?s really strange. I?ve never heard about such blocking in >>> general. >> >> I've had this happen. Sometimes if a domain on a shared hosting server >> sends out spam or malware, the receiving ISP will block the entire server >> rather than just the offending IP. It isn't fair but it happened to my >> JaguarPC account some years ago. I was a peripheral victim through >> no fault of my own. >> >> To get off the block list, the hosting service needs to contact the >> blocking ISP and request removal. In general the user can't do that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list use-livecode at lists.runrev.com Please visit this >> url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 richmondmathewson at gmail.com Tue Oct 18 15:40:38 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Oct 2016 22:40:38 +0300 Subject: OT - cross platform zero slashed font In-Reply-To: <8b5c1e4e-ae80-a358-537c-859d34660b99@gmail.com> References: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> <8b5c1e4e-ae80-a358-537c-859d34660b99@gmail.com> Message-ID: <1444a5eb-58a7-d179-8f3c-c0d601fe2ad9@gmail.com> If you go and dig round the Unicode consortium's pig's-breakfast of interlinked sites and webpages which have obviously been designed to obfuscate rather than clarify one finds that the slashed zero has been proposed several times over the last few years, and rejected repeatedly because it means different things in different places. This is, of course, a load of old sausages because, for instantce, 'H' is used for the sound /h/ in many languages that use variants of the Latin alphabet, while it represents an /e/ in Greek and an /n/ in languages that use variant of the Cyrillic alphabet. So, for some odd reason, which is not exactly "coming to the surface" people in the Unicode consortium obviously have an antithesis to including a slashed zero. Attempting a "fudge" [i.e. a 'normal' zero (Hex 30) followed by a slash (Hex 338)] results in a mess that differs with how much the slash overlaps the zero depending on which font one is using. Richmond. On 18.10.2016 22:09, Richmond wrote: > Bit of a bu**er this one, it seems: > > https://en.wikipedia.org/wiki/Slashed_zero > > Richmond. > > On 18.10.2016 18:52, David V Glasgow wrote: >> Is there really no cross platform zero slashed (like Monaco 0) font? >> Is there one which is substituted by another zero slashed font on >> different platforms? >> >> Best Wishes, >> David Glasgow >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 18 15:47:25 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Oct 2016 22:47:25 +0300 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> Message-ID: <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> So; oddly enough I spent about an hour messing around with LC 9.0 DP 1 today and experienced a measured bit of pleasure (stlll do not like the Props palette that replaced that in LC 7 and backwards) as everything (on my Linux boz at least) seemed *considerably less arthritic than LC 8* was, even if not quite up to speed in comparison with LC 7. Still NO dictionary accessible from the IDE with either the Community or the Indy builds for 64 bit Linux. What I did notice as I did a "Save As" was that I was offered the chance to save in "Legacy 8.0" format which seemed to imply that LC 9 enjoys (?) a new file format, but I couldn't find any mention of that in the release notes . . . would be glad of a comment re that from the Mothership, please. Richmond. From peter.brett at livecode.com Tue Oct 18 16:04:37 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 18 Oct 2016 21:04:37 +0100 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> Message-ID: <720714ae-b2dd-9ff4-2e57-93c90f1e8928@livecode.com> On 18/10/2016 20:47, Richmond wrote: > What I did notice as I did a "Save As" was that I was offered the chance > to save in "Legacy 8.0" format > which seemed to imply that LC 9 enjoys (?) a new file format, but I > couldn't find any mention of that > in the release notes . . . would be glad of a comment re that from the > Mothership, please. It's mentioned in the LiveCode 8.1.0 release notes. We had to introduce a new file format to cope with fields with more than 32768 characters in a line. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From richmondmathewson at gmail.com Tue Oct 18 16:06:59 2016 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Oct 2016 23:06:59 +0300 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <720714ae-b2dd-9ff4-2e57-93c90f1e8928@livecode.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> <720714ae-b2dd-9ff4-2e57-93c90f1e8928@livecode.com> Message-ID: <02419a7f-2482-12e7-a7dd-2011a803ed34@gmail.com> Thank you very much for the info. Richmond. On 18.10.2016 23:04, Peter TB Brett wrote: > On 18/10/2016 20:47, Richmond wrote: >> What I did notice as I did a "Save As" was that I was offered the chance >> to save in "Legacy 8.0" format >> which seemed to imply that LC 9 enjoys (?) a new file format, but I >> couldn't find any mention of that >> in the release notes . . . would be glad of a comment re that from the >> Mothership, please. > > It's mentioned in the LiveCode 8.1.0 release notes. We had to > introduce a new file format to cope with fields with more than 32768 > characters in a line. > > Peter > From colinholgate at gmail.com Tue Oct 18 16:07:30 2016 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 18 Oct 2016 13:07:30 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <1d0617b8-05c7-c852-d068-c6a22bd9164b@gmail.com> <6f6a9374-709a-74f2-302e-e33f1ee28c8e@gmail.com> Message-ID: Even 8.1 has the legacy 8.0 option. So I guess the change happened already. > On Oct 18, 2016, at 12:47 PM, Richmond wrote: > > What I did notice as I did a "Save As" was that I was offered the chance to save in "Legacy 8.0" format > which seemed to imply that LC 9 enjoys (?) a new file format, but I couldn't find any mention of that > in the release notes . . . would be glad of a comment re that from the Mothership, please. From devin_asay at byu.edu Tue Oct 18 16:28:00 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 18 Oct 2016 20:28:00 +0000 Subject: [ANN] calendar widget In-Reply-To: <1476792465649-4709539.post@n4.nabble.com> References: <1476792465649-4709539.post@n4.nabble.com> Message-ID: <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> Wonderful widget, Bernd! Works well here on Mac 10.10.5 with both LC 8.1.1 RC2 and 9.0.0 DP1. There is only one small problem I see: the monthNames property throws an error when I try to get or set it. I wonder if it the monthNames property is interfering? Devin > On Oct 18, 2016, at 6:07 AM, BNig wrote: > > During the conference a calendar widget was used in the widget course. > The original author is Elanor Buchanan. > I think it is a wonderful example of what widgets can do. Elanor did a very > good job. > > I extended the calendar to add some useful features. > > You can choose via the properties inspector the sytem abbreviated names for > month names and day names. Thus using the localized names. > Default english > > The option to start the week on Mondays which is the case in many countries. > Default Sunday > > Clicking on Month/Year in the title bar brings up the current date > > The option that the font size adapts to the size of the widget (default) > > The calendar widget uses a library also written by Elanor Buchanan > "datesupport" > > to install the widget download and unzip > > http://www.berndniggemann.on-rev.com/calendar/calendar.zip > > inside the folder there are two .lce files: > > community.livecode.elanor.datesupport.1.0.0.lce > community.livecode.elanorb.calendarBN.1.0.0.lce > > Use the Extension Manager in the Tool Menu to install the files one by one > by using the Plus-sign in the upper right corner of the Extension Manager. > > The Extension Manager will then install those extensions in your > "extensions" folder in your "My LiveCode" folder > > You might want to restart Livecode and you should see in your toolbar a > widget "calendarBN" with a calendar icon. > > You can change a number of properties, please see the dictionary entry API: > Choose API: CalendarBN > > Calendar sends a dateChanged message when the user clicks on a date. You add > this script to the widget to react to the message. > > on dateChanged pDate > put pDate into field "myDate" > end dateChanged > > Kind regards > Bernd > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.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 Devin Asay Director Office of Digital Humanities Brigham Young University From dochawk at gmail.com Tue Oct 18 17:06:58 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 18 Oct 2016 14:06:58 -0700 Subject: scrollbars for variable windows in IDE for 8? Message-ID: Is there some way to turn on the scrollbars for variable watch windows in 8? manually working through when something is hundreds of lines long is a bit tedious . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bernd.niggemann at uni-wh.de Tue Oct 18 17:08:05 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 18 Oct 2016 14:08:05 -0700 (PDT) Subject: [ANN] calendar widget In-Reply-To: <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> References: <1476792465649-4709539.post@n4.nabble.com> <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> Message-ID: <1476824885109-4709579.post@n4.nabble.com> Hi Devin, I just tested and see that also when I try to get the monthNames by script. It throws an error. I did not test that part of the widget enough because that was already in place and since I did not need to set or get the monthNames nor dayNames since I use a call to Livecodescript to get to the localized abbreviated names. The error is in the naming of the property: monthNames. That is a Livecode Script property and calling that same property of the widget gives a conflict. As a test I temporarily renamed the widget's "monthNames" property to "calMonthNames" and then getting the calMonthNames by script works. In other words there is a naming conflict. "dayNames" works because there is no naming conflict but is of little use since it is overruled by the call to livecode Script. I think I should change that part of the widget by removing the properties from the properties inspector and leave them as renamed properties of the widget but not settable, only gettable. In case someone sees a use case for customizing abbreviated day/month names I would reconsider that. Until it is changed I suggest just not using both properties. Thank your the feedback. Kind regards Bernd Devin Asay wrote > Wonderful widget, Bernd! Works well here on Mac 10.10.5 with both LC 8.1.1 > RC2 and 9.0.0 DP1. > > There is only one small problem I see: the monthNames property throws an > error when I try to get or set it. I wonder if it the monthNames property > is interfering? > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709579.html Sent from the Revolution - User mailing list archive at Nabble.com. From tore.nilsen at me.com Tue Oct 18 17:27:26 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 18 Oct 2016 23:27:26 +0200 Subject: [ANN] calendar widget In-Reply-To: <1476824885109-4709579.post@n4.nabble.com> References: <1476792465649-4709539.post@n4.nabble.com> <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> <1476824885109-4709579.post@n4.nabble.com> Message-ID: Thanks for a fine widget, it works well here on a Mac with LC 8.1.1 and MacOS 10.12.1. As a matter of fact, one of my students asked if there was anything like this available for LiveCode, just yesterday morning. I can now tell him that indeed there is. > 18. okt. 2016 kl. 23.08 skrev BNig : > > In case someone sees a use case for customizing abbreviated day/month names > I would reconsider that. In Norway we often use two letter abbreviations for day names, which is very handy if the size of the widget is very small. Regards Tore Nilsen From bernd.niggemann at uni-wh.de Tue Oct 18 17:28:56 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 18 Oct 2016 14:28:56 -0700 (PDT) Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> <1476824885109-4709579.post@n4.nabble.com> Message-ID: <1476826136886-4709581.post@n4.nabble.com> Hi Tore, that sounds like a good use case I think I will add a third option "custom" to "english" and "system" for month and day names. That way one can customize those to the local usage. It will not be before middle of next week that I can change this and upload a new version. Kind regards Bernd Tore Nilsen wrote > ... >> 18. okt. 2016 kl. 23.08 skrev BNig < > bernd.niggemann@ > >: >> >> In case someone sees a use case for customizing abbreviated day/month >> names >> I would reconsider that. > > > In Norway we often use two letter abbreviations for day names, which is > very handy if the size of the widget is very small. > > Regards > Tore Nilsen -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709581.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Tue Oct 18 17:42:14 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 18 Oct 2016 14:42:14 -0700 (PDT) Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <0B2DB570-4927-4066-A811-CA4D2878CA0F@iotecdigital.com> Message-ID: <1476826934283-4709582.post@n4.nabble.com> Hi Roger, Hermann Hoch just informed me that recompiling community.livecode.elanor.datesupport.1.0.0.lcb using 8.1.0 made the calendar widget work for Windows 7 To do this you would move the community.livecode.elanor.datesupport.1.0.0 folder from your "My Livecode"-> "extensions" folder to some other place, e.g. desktop Restart Livecode open "Tools" -> "Extension Builder" and locate the .lcb file inside the folder on your desktop using the folder icon on the top right corner of Extension builder. Then do "Test" if it compiles then do "Install" and it will install the "datesupport" folder in your "My Livecode"-> "extensions" folder. Restart Livecode and the calendar widget should work. (fingers crossed) If this works for your then it would be a good lead to where the error originates. Kind regards Bernd Roger Eller wrote > It worked fine for me in Mac OS 10.11.6 (LiveCode 8.1.0 Indy), but failed > in Windows 7 (LiveCode 8.1.0 Indy) > <https://dl.dropboxusercontent.com/u/54789013/LC_errors/CalendarFAIL_Win7.png> > . > > ~Roger -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539p4709582.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Tue Oct 18 18:11:12 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 22:11:12 +0000 Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> Message-ID: <6CBD5058-8C80-49F1-A8CE-9F03E3CF0286@iotecdigital.com> NVM I aparently was using 8.0.1 when I thot I was using 8.1.0. DOH! Bob S > On Oct 18, 2016, at 07:59 , Bob Sneidar wrote: > > I get Module Format not supported. > > Bob S > > >> On Oct 18, 2016, at 05:07 , BNig wrote: >> >> During the conference a calendar widget was used in the widget course. >> The original author is Elanor Buchanan. >> I think it is a wonderful example of what widgets can do. Elanor did a very >> good job. >> >> I extended the calendar to add some useful features. >> >> You can choose via the properties inspector the sytem abbreviated names for >> month names and day names. Thus using the localized names. >> Default english >> >> The option to start the week on Mondays which is the case in many countries. >> Default Sunday >> >> Clicking on Month/Year in the title bar brings up the current date >> >> The option that the font size adapts to the size of the widget (default) >> >> The calendar widget uses a library also written by Elanor Buchanan >> "datesupport" >> >> to install the widget download and unzip >> >> http://www.berndniggemann.on-rev.com/calendar/calendar.zip >> >> inside the folder there are two .lce files: >> >> community.livecode.elanor.datesupport.1.0.0.lce >> community.livecode.elanorb.calendarBN.1.0.0.lce >> >> Use the Extension Manager in the Tool Menu to install the files one by one >> by using the Plus-sign in the upper right corner of the Extension Manager. >> >> The Extension Manager will then install those extensions in your >> "extensions" folder in your "My LiveCode" folder >> >> You might want to restart Livecode and you should see in your toolbar a >> widget "calendarBN" with a calendar icon. >> >> You can change a number of properties, please see the dictionary entry API: >> Choose API: CalendarBN >> >> Calendar sends a dateChanged message when the user clicks on a date. You add >> this script to the widget to react to the message. >> >> on dateChanged pDate >> put pDate into field "myDate" >> end dateChanged >> >> Kind regards >> Bernd >> >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-tp4709539.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 Tue Oct 18 18:17:25 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 22:17:25 +0000 Subject: [ANN] calendar widget In-Reply-To: References: <1476792465649-4709539.post@n4.nabble.com> <91FFF85C-1236-4780-B522-50F24CFFA9AC@byu.edu> <1476824885109-4709579.post@n4.nabble.com> Message-ID: <952BC388-0854-470F-A176-17356DC94B23@iotecdigital.com> I use a variety of date and time formats, so I wrote a formatDate function where I pass a date and a style as arguments. For instance formatDate(the date, "sql date") would return 2016-10-18. If you append formatTime(the long time, "sql time") it returns an sql format datetime value. I also have a spiceTime function for spiceworks help desk which is in the format 1h15m (for example) and returns the difference in time between 2 normal times. If anyone is interested let me know and I will send you the code. Bob S On Oct 18, 2016, at 14:27 , Tore Nilsen > wrote: In case someone sees a use case for customizing abbreviated day/month names I would reconsider that. In Norway we often use two letter abbreviations for day names, which is very handy if the size of the widget is very small. Regards Tore Nilsen From bobsneidar at iotecdigital.com Tue Oct 18 18:21:36 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 18 Oct 2016 22:21:36 +0000 Subject: On-rev server blocked by ISP In-Reply-To: <08744a442112073150019ace9dd80b19.squirrel@sage.on-rev.com> References: <227c33de91bcf44217dd8711d2797d48.squirrel@sage.on-rev.com> <82d63846-f4fc-4cd2-43f9-96a4fd23b0ce@hyperactivesw.com> <08744a442112073150019ace9dd80b19.squirrel@sage.on-rev.com> Message-ID: <2C2E4943-9BEA-465C-8B7F-27139AEE2BE6@iotecdigital.com> They are either subscribed to different spam/malware lists or else one of the clients had not updated recently. Bob S > On Oct 18, 2016, at 12:04 , jbv wrote: > > It's even stranger this time. My client was using the same app > in 3 different cities across the country and with 3 different IPs. > At startup the app sends a request to the same url > http://mydomain.on-rev.com > Apparently only that url was blocked by the ISP. I have another > client with the same ISP using a different app in a different city > with a different on-rev account (but on the same server) and it > wasn't blocked... > > > On Tue, October 18, 2016 8:41 pm, J. Landman Gay wrote: >> On 10/18/16 7:13 AM, Matthias Rebbe wrote: >> >>> That?s really strange. I?ve never heard about such blocking in >>> general. >> >> I've had this happen. Sometimes if a domain on a shared hosting server >> sends out spam or malware, the receiving ISP will block the entire server >> rather than just the offending IP. It isn't fair but it happened to my >> JaguarPC account some years ago. I was a peripheral victim through >> no fault of my own. >> >> To get off the block list, the hosting service needs to contact the >> blocking ISP and request removal. In general the user can't do that. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list use-livecode at lists.runrev.com Please visit this >> url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at hyperhh.de Tue Oct 18 18:33:43 2016 From: hh at hyperhh.de (hh) Date: Wed, 19 Oct 2016 00:33:43 +0200 Subject: [ANN] calendar widget Message-ID: <99D346A2-A865-43F7-BA35-ED63BC83C975@hyperhh.de> [Transmission error:] I recompiled the library using 8.1.1rc2. Then I had success with the widget on Win 7/10 using 8.1.1 and 9.0.0. On Linux(Mint 173) and MacOS 10.12 it worked without recompiling, on both using LC 8.1.1 and 9.0.0. *** This seems to be a problem whenever the widget format changes: Then some other widgets or libraries that are used by the newer ones may have to be recompiled. *** I never needed to do this on Mac, but two times on Linux (Mint) and several times on Windows 7 and 10. So it's not obvious to see the need for a recompilation of other LCB input when developping on one single platform. === Bernd, this is a very useful widget-extension. One future feature could be to make it to an (optional) three-months-display? From selander at tkf.att.ne.jp Tue Oct 18 18:47:04 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 19 Oct 2016 07:47:04 +0900 Subject: LC Server: Getting a file list when filenames use UTF8 In-Reply-To: <4088B98F-01FC-4637-AAD1-3A875E09EF2D@gmail.com> References: <580489FA.6060300@tkf.att.ne.jp> <2B3A09E9-2E26-4F91-A85E-B4D7243F3FAE@revigniter.com> <5805D9E2.10803@tkf.att.ne.jp> <4088B98F-01FC-4637-AAD1-3A875E09EF2D@gmail.com> Message-ID: <5806A668.9070904@tkf.att.ne.jp> Good news! Thanks, Lyn. Tim Selander Tokyo, Japan On 2016/10/18 18:22, Lyn Teyla wrote: > I opened a bug report in August concerning this issue: > > http://quality.livecode.com/show_bug.cgi?id=18202 > > Lyn > > >> Tim Selander wrote: >> >> Thanks for confirming that for me Ralf. >> >> I wonder if the team can look into this.... >> >> Tim Selander >> Tokyo, Japan >> >> On 2016/10/17 20:02, Ralf Bitter wrote: >>> Seems that I can confirm your findings. >>> Did a test on diesel using server version 8.1.1-rc-2. >>> If there is a file "?????.txt" the file list retrieved >>> is empty. To get a file list I have to remove the >>> Japanese file. >>> >>> >>> Ralf >>> >>> >>>> On 17.10.2016, at 10:21, Tim Selander wrote: >>>> >>>> Hi, >>>> >>>> Using LC server as installed in my on-rev account. >>>> >>>> This script >>>> >>> set the defaultfolder to "/home/server-name/public_html/selander/201610" >>>> put the files >>>> ?> >>>> >>>> Only returns files with English filenames to the resulting web page. Japanese (utf8) filenames are ignored. If I change one of the Japanese filenames to English, then it appears. If I change it back to Japanese, it reverts to not appearing. >>>> >>>> Any hints? >>>> >>>> Thank you. >>>> >>>> Tim Selander >>>> Tokyo, Japan >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 19 01:28:29 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Oct 2016 00:28:29 -0500 Subject: error with script opening application browser in 8 In-Reply-To: References: Message-ID: On 10/18/16 2:15 PM, Dr. Hawkins wrote (about the Application Browser): > Is there another way to automatically open it? It should (but doesn't) work like any other plugin: Open the Plugin Settings (bottom of the Plugins menu item) and select the app browser from the option menu button. Set it to open on startup and open visibly. You may also want to set it to open as a modeless stack instead of a palette. Close the settings. For most plugins that will set a custom property set on the stack, and LC will execute the choices you've made about how and when the plugin opens. The App Browser is an exception because it has been saved without write permissions. (It took me a while to figure that out.) I fixed it by going into the Mac app bundle ->Contents/Tools/Plugins and doing a Get Info on the revApplicationOverview file. Set it for read/write permissions. I also had to set the whole Plugins folder to read/write. After that I was able to set up the plugin normally and my changes were saved. Quite a while ago I put in a bug report about shipping the App Browser as modeless, because as shipped, it opens as a palette which covers up everything else on the screen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Wed Oct 19 02:41:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 19 Oct 2016 06:41:53 +0000 Subject: 9.0 DP1 Message-ID: I'm stuck here in 9 dp1? after setting a break point? testing, then unsetting it? the IDE still thinks there is on applied on that line even though the red dot is gone. Anyone else seeing this? show stopper. is there hackaround to *really* clear the break point in memory? BR From monte at appisle.net Wed Oct 19 02:44:58 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 19 Oct 2016 17:44:58 +1100 Subject: 9.0 DP1 In-Reply-To: References: Message-ID: Brahmanathaswami I did some work on the debugger and it sounds like I broke something there. I?ll look into it. I did notice something like that myself today and was planning to look into it anyway. I found that reapplying the script cleared it when it occured. > On 19 Oct 2016, at 5:41 PM, Sannyasin Brahmanathaswami wrote: > > I'm stuck here in 9 dp1? after setting a break point? testing, then unsetting it? the IDE still thinks there is on applied on that line even though the red dot is gone. > > Anyone else seeing this? > > show stopper. > > is there hackaround to *really* clear the break point in memory? > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Wed Oct 19 05:13:07 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 19 Oct 2016 10:13:07 +0100 Subject: 9.0 DP1 In-Reply-To: References: Message-ID: I confirm this is a bug: http://quality.livecode.com/show_bug.cgi?id=18644 On Wed, Oct 19, 2016 at 7:44 AM, Monte Goulding wrote: > Brahmanathaswami I did some work on the debugger and it sounds like I > broke something there. I?ll look into it. I did notice something like that > myself today and was planning to look into it anyway. I found that > reapplying the script cleared it when it occured. > > > On 19 Oct 2016, at 5:41 PM, Sannyasin Brahmanathaswami > wrote: > > > > I'm stuck here in 9 dp1? after setting a break point? testing, then > unsetting it? the IDE still thinks there is on applied on that line even > though the red dot is gone. > > > > Anyone else seeing this? > > > > show stopper. > > > > is there hackaround to *really* clear the break point in memory? > > > > BR > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Oct 19 11:37:54 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 19 Oct 2016 17:37:54 +0200 Subject: Why does 'delete stack' sometimes not work? Message-ID: I am still going on about how to reliably execute ?close stack and delete from memory? via script. I?m using LC8.1.1 rc2 on a Mac. The latest pickle I?ve got into is this: I have a stack ?myMainStack?, which has quite a few substacks - they?re palettes which user can open to access tools etc. All of them have their ?cantDelete? property set to false. I have a menu which includes an item for resetting the program, which involves deleting the stack ?myMainStack? both in RAM and on disk, and then reloading it from a file in the program?s resources folder. In the IDE, I invoke this menu item and step through until it executes: close stack ?myMainStack? Then the actual mainstack?s window closes. Those palettes which were open stay open. I have a feeling that the whole thing should close (this is an option I chose for the mainstack - ?purge stack on close?, ?purge window on close'), but never mind, that?s what happens. If I then execute delete stack ?myMainStack? from the message box, I get > Message execution error: > > Error description: Object: stack locked, or object's script is executing > > Hint: button "File" of group ?mytMenu" of card ?MainDisplay" of stack "/Users/Graham/Library/Application Support/PointPlots/myMainStack.livecode" > > As the stack is closed, it can?t be executing scripts: it?s not locked in that its ?cantDelete? property is set to false. Furthermore the file mentioned in the error message isn?t there, because my program deliberately deleted it earlier in the script. So this error makes no sense, but why should it be an error at all? The engine ought to be pointing at the stack in RAM, not on disk - the Project Browser says it?s there still. Trying to test this with a simple mainstack with one palette substack does not exhibit the problem. This apparently simple requirement is driving me crazy. TIA for any help. Graham From ambassador at fourthworld.com Wed Oct 19 11:45:11 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Oct 2016 08:45:11 -0700 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: References: Message-ID: <27d4eeac-b062-afd3-daad-28ef8cdbbcb2@fourthworld.com> Graham Samuel wrote: > I have a stack ?myMainStack?, which has quite a few substacks > - they?re palettes which user can open to access tools etc. All of > them have their ?cantDelete? property set to false. ... > If I then execute > > delete stack ?myMainStack? > > from the message box, I get > >> Message execution error: >> >> Error description: Object: stack locked, or object's script is >> executing I'm able to see that error when the mainstack's cantDelete has been set to true. You note the substacks have their cantDelete set to false - is that also true of the mainstack? Earlier versions of your code explicitly set the cantDelete to true - could some of that still be in play? You may want to modify your delete statement with: put the cantDelete of stack "myMainStack" delete stack "myMainStack" That will allow you to at least rule out cantDelete if you see "false" in the Message Box. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Wed Oct 19 11:55:17 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 19 Oct 2016 09:55:17 -0600 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: References: Message-ID: Silly question but.. If the mainstack has a bunch of substacks, and you try to close and remove the mainstack from memory while the substacks remain open, is this even possible? Substacks have a mainstack property, and it seems the message path is kinda hardwired in that instance. If you do manage to close and delete the mainstack all its substacks should go away too (but the error appears instead) I tried an experiment.. I made a mainstack and a substack. Just because, I turned the substack into a palette. trying to delete the mainstack while its still open gives me the error you refer to. Closing the mainstack of course works fine. (and yes, the cantdelete of the mainstack is set to false) Then deleting the mainstack after its closed (from the message box) effectively kills the mainstack, AND the substack and (in version 9) pops up an empty error dialog. Placing a button on the substack that attempts the deletion of the mainstack (first closing, then deleting) fails and causes the error you note. You said it works with a stack with 1 palette substack.. The palette substack.. does it actually have the mainstack set AS its mainstack? On Wed, Oct 19, 2016 at 9:37 AM, Graham Samuel wrote: > I am still going on about how to reliably execute ?close stack and delete > from memory? via script. I?m using LC8.1.1 rc2 on a Mac. The latest pickle > I?ve got into is this: > > I have a stack ?myMainStack?, which has quite a few substacks - they?re > palettes which user can open to access tools etc. All of them have their > ?cantDelete? property set to false. I have a menu which includes an item > for resetting the program, which involves deleting the stack ?myMainStack? > both in RAM and on disk, and then reloading it from a file in the program?s > resources folder. In the IDE, I invoke this menu item and step through > until it executes: > > close stack ?myMainStack? > > Then the actual mainstack?s window closes. Those palettes which were open > stay open. I have a feeling that the whole thing should close (this is an > option I chose for the mainstack - ?purge stack on close?, ?purge window on > close'), but never mind, that?s what happens. > > If I then execute > > delete stack ?myMainStack? > > from the message box, I get > > > Message execution error: > > > > Error description: Object: stack locked, or object's script is executing > > > > Hint: button "File" of group ?mytMenu" of card ?MainDisplay" of stack > "/Users/Graham/Library/Application Support/PointPlots/ > myMainStack.livecode" > > > > > As the stack is closed, it can?t be executing scripts: it?s not locked in > that its ?cantDelete? property is set to false. Furthermore the file > mentioned in the error message isn?t there, because my program deliberately > deleted it earlier in the script. So this error makes no sense, but why > should it be an error at all? The engine ought to be pointing at the stack > in RAM, not on disk - the Project Browser says it?s there still. > > Trying to test this with a simple mainstack with one palette substack does > not exhibit the problem. > > This apparently simple requirement is driving me crazy. > > TIA for any help. > > 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 bonnmike at gmail.com Wed Oct 19 11:57:23 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 19 Oct 2016 09:57:23 -0600 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: References: Message-ID: Accidental send. *sigh* I think the point is.. If the substack is running the script that deletes the mainstack, since the 2 are inextricably linked, the delete fails. If you change your substacks to all be mainstacks in their own right, it should and does work. On Wed, Oct 19, 2016 at 9:55 AM, Mike Bonner wrote: > Silly question but.. If the mainstack has a bunch of substacks, and you > try to close and remove the mainstack from memory while the substacks > remain open, is this even possible? Substacks have a mainstack property, > and it seems the message path is kinda hardwired in that instance. If you > do manage to close and delete the mainstack all its substacks should go > away too (but the error appears instead) > > I tried an experiment.. I made a mainstack and a substack. Just because, > I turned the substack into a palette. trying to delete the mainstack while > its still open gives me the error you refer to. Closing the mainstack of > course works fine. (and yes, the cantdelete of the mainstack is set to > false) Then deleting the mainstack after its closed (from the message box) > effectively kills the mainstack, AND the substack and (in version 9) pops > up an empty error dialog. > Placing a button on the substack that attempts the deletion of the > mainstack (first closing, then deleting) fails and causes the error you > note. > > You said it works with a stack with 1 palette substack.. The palette > substack.. does it actually have the mainstack set AS its mainstack? > > On Wed, Oct 19, 2016 at 9:37 AM, Graham Samuel wrote: > >> I am still going on about how to reliably execute ?close stack and delete >> from memory? via script. I?m using LC8.1.1 rc2 on a Mac. The latest pickle >> I?ve got into is this: >> >> I have a stack ?myMainStack?, which has quite a few substacks - they?re >> palettes which user can open to access tools etc. All of them have their >> ?cantDelete? property set to false. I have a menu which includes an item >> for resetting the program, which involves deleting the stack ?myMainStack? >> both in RAM and on disk, and then reloading it from a file in the program?s >> resources folder. In the IDE, I invoke this menu item and step through >> until it executes: >> >> close stack ?myMainStack? >> >> Then the actual mainstack?s window closes. Those palettes which were open >> stay open. I have a feeling that the whole thing should close (this is an >> option I chose for the mainstack - ?purge stack on close?, ?purge window on >> close'), but never mind, that?s what happens. >> >> If I then execute >> >> delete stack ?myMainStack? >> >> from the message box, I get >> >> > Message execution error: >> > >> > Error description: Object: stack locked, or object's script is executing >> > >> > Hint: button "File" of group ?mytMenu" of card ?MainDisplay" of stack >> "/Users/Graham/Library/Application Support/PointPlots/myMainStack >> .livecode" >> > >> > >> As the stack is closed, it can?t be executing scripts: it?s not locked in >> that its ?cantDelete? property is set to false. Furthermore the file >> mentioned in the error message isn?t there, because my program deliberately >> deleted it earlier in the script. So this error makes no sense, but why >> should it be an error at all? The engine ought to be pointing at the stack >> in RAM, not on disk - the Project Browser says it?s there still. >> >> Trying to test this with a simple mainstack with one palette substack >> does not exhibit the problem. >> >> This apparently simple requirement is driving me crazy. >> >> TIA for any help. >> >> 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 livfoss at mac.com Wed Oct 19 12:10:36 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 19 Oct 2016 18:10:36 +0200 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: References: Message-ID: Thanks Mike - I should have made clear in my description that the ?close? and ?delete? actions are being run from another mainstack whose stack script is being used as a library by the stack I?m trying to delete. The idea is forming in my mind as I write that since the menu that invokes the library is in the stack I?m trying to delete, this might cause trouble since technically the menu's script is still executing when the library?s ?close? and potentially ?delete' scripts are invoked? hmm. Maybe I should try some kind of ?send? structure that makes the menu action close before the delete, or maybe (groan) I should move the menu to the permanent (splash) stack that contains the library. Thanks for making me think some more! Graham > On 19 Oct 2016, at 17:57, Mike Bonner wrote: > > Accidental send. *sigh* I think the point is.. If the substack is running > the script that deletes the mainstack, since the 2 are inextricably linked, > the delete fails. If you change your substacks to all be mainstacks in > their own right, it should and does work. > > On Wed, Oct 19, 2016 at 9:55 AM, Mike Bonner wrote: > >> Silly question but.. If the mainstack has a bunch of substacks, and you >> try to close and remove the mainstack from memory while the substacks >> remain open, is this even possible? Substacks have a mainstack property, >> and it seems the message path is kinda hardwired in that instance. If you >> do manage to close and delete the mainstack all its substacks should go >> away too (but the error appears instead) >> >> I tried an experiment.. I made a mainstack and a substack. Just because, >> I turned the substack into a palette. trying to delete the mainstack while >> its still open gives me the error you refer to. Closing the mainstack of >> course works fine. (and yes, the cantdelete of the mainstack is set to >> false) Then deleting the mainstack after its closed (from the message box) >> effectively kills the mainstack, AND the substack and (in version 9) pops >> up an empty error dialog. >> Placing a button on the substack that attempts the deletion of the >> mainstack (first closing, then deleting) fails and causes the error you >> note. >> >> You said it works with a stack with 1 palette substack.. The palette >> substack.. does it actually have the mainstack set AS its mainstack? >> >> On Wed, Oct 19, 2016 at 9:37 AM, Graham Samuel wrote: >> >>> I am still going on about how to reliably execute ?close stack and delete >>> from memory? via script. I?m using LC8.1.1 rc2 on a Mac. The latest pickle >>> I?ve got into is this: >>> >>> I have a stack ?myMainStack?, which has quite a few substacks - they?re >>> palettes which user can open to access tools etc. All of them have their >>> ?cantDelete? property set to false. I have a menu which includes an item >>> for resetting the program, which involves deleting the stack ?myMainStack? >>> both in RAM and on disk, and then reloading it from a file in the program?s >>> resources folder. In the IDE, I invoke this menu item and step through >>> until it executes: >>> >>> close stack ?myMainStack? >>> >>> Then the actual mainstack?s window closes. Those palettes which were open >>> stay open. I have a feeling that the whole thing should close (this is an >>> option I chose for the mainstack - ?purge stack on close?, ?purge window on >>> close'), but never mind, that?s what happens. >>> >>> If I then execute >>> >>> delete stack ?myMainStack? >>> >>> from the message box, I get >>> >>>> Message execution error: >>>> >>>> Error description: Object: stack locked, or object's script is executing >>>> >>>> Hint: button "File" of group ?mytMenu" of card ?MainDisplay" of stack >>> "/Users/Graham/Library/Application Support/PointPlots/myMainStack >>> .livecode" >>>> >>>> >>> As the stack is closed, it can?t be executing scripts: it?s not locked in >>> that its ?cantDelete? property is set to false. Furthermore the file >>> mentioned in the error message isn?t there, because my program deliberately >>> deleted it earlier in the script. So this error makes no sense, but why >>> should it be an error at all? The engine ought to be pointing at the stack >>> in RAM, not on disk - the Project Browser says it?s there still. >>> >>> Trying to test this with a simple mainstack with one palette substack >>> does not exhibit the problem. >>> >>> This apparently simple requirement is driving me crazy. >>> >>> TIA for any help. >>> >>> 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 jacque at hyperactivesw.com Wed Oct 19 12:12:25 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Oct 2016 11:12:25 -0500 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: References: Message-ID: <157ddb71228.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On October 19, 2016 10:57:09 AM Mike Bonner wrote: > Silly question but.. If the mainstack has a bunch of substacks, and you try > to close and remove the mainstack from memory while the substacks remain > open, is this even possible? I didn't think so, and it would explain the error message. The thing that's "executing" is the open substacks. Specifically closing the palettes before deleting the mainstack should fix it. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From panos.merakos at livecode.com Wed Oct 19 12:13:18 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 19 Oct 2016 17:13:18 +0100 Subject: [ ANN ] Release 8.1.1 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 8.1.1 Stable. By "Stable", we mean that no reported regressions have been introduced in 8.1.1, compared to the previous Stable release. LiveCode 8.1.1 includes an improvement on the behavior of the cursor caret when clicking in the beginning of an indented line. See bug 18595 for more details. *Getting the Release* You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. *Feedback* Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ Warmest regards, The LiveCode Team -- From livfoss at mac.com Wed Oct 19 12:26:54 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 19 Oct 2016 18:26:54 +0200 Subject: Why does 'delete stack' sometimes not work? In-Reply-To: <157ddb71228.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <157ddb71228.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: No, it was never my intention to try to delete a mainstack without it substacks - I?m sure this is impossible (and undesirable!). I thought that if I had selected ?purge stack on close? for the mainstack, and all the stacks and substacks involved had ?cantdelete? set to false, then closing the mainstack would act like ?delete? and the whole thing - stack and substacks - would vanish in a puff of smoke. However, see my mail replying to Mike - maybe there really IS a script executing when I attempt the delete. I would like to think it?s just a subtle mistake by me rather than some engine problem. Cheers and thanks for the reply. Graham > On 19 Oct 2016, at 18:12, J. Landman Gay wrote: > > On October 19, 2016 10:57:09 AM Mike Bonner wrote: > >> Silly question but.. If the mainstack has a bunch of substacks, and you try >> to close and remove the mainstack from memory while the substacks remain >> open, is this even possible? > > I didn't think so, and it would explain the error message. The thing that's "executing" is the open substacks. > > Specifically closing the palettes before deleting the mainstack should fix it. > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Oct 19 14:36:12 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 19 Oct 2016 11:36:12 -0700 Subject: Browser widget question Message-ID: <1DA6C338-3688-42E5-8D46-D75FF9313267@earthednet.org> Folks: I?m on OSX 10.11.6 and LC 8.1.1., XCode 8. I am finding that the browser widget works fine in the IDE, but I get no web page downloaded in the iOS simulator unless ATS is disabled. I know the latest iOS will not allow http connections unless ATS is disabled. I tried https://www.wellsfargo.com and this won?t load in the simulator, unless ATS is disabled. I expected that if ATS was not disabled, it would display https web pages. Am I wrong? Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From merakosp at gmail.com Wed Oct 19 14:41:32 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 19 Oct 2016 21:41:32 +0300 Subject: Browser widget question In-Reply-To: <1DA6C338-3688-42E5-8D46-D75FF9313267@earthednet.org> References: <1DA6C338-3688-42E5-8D46-D75FF9313267@earthednet.org> Message-ID: Hi Bill, ATS can also block https connections, if they do not meet some extra conditions. See this report for more details http://quality.livecode.com/show_bug.cgi?id=18645 Best, Panos On 19 Oct 2016 19:36, "William Prothero" wrote: > Folks: > I?m on OSX 10.11.6 and LC 8.1.1., XCode 8. I am finding that the browser > widget works fine in the IDE, but I get no web page downloaded in the iOS > simulator unless ATS is disabled. > > I know the latest iOS will not allow http connections unless ATS is > disabled. I tried https://www.wellsfargo.com and this won?t load in the > simulator, unless ATS is disabled. I expected that if ATS was not disabled, > it would display https web pages. Am I wrong? > > Best, > Bill > > > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Oct 19 15:21:15 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 19 Oct 2016 12:21:15 -0700 Subject: Browser widget question In-Reply-To: References: <1DA6C338-3688-42E5-8D46-D75FF9313267@earthednet.org> Message-ID: <40350143-FF36-4C0C-9300-FAD670EC6065@earthednet.org> Panos: Thanks! It?s odd that Wells Fargo, a big US financial institution, doesn?t meet the security requirements for ATS. Best, Bill > On Oct 19, 2016, at 11:41 AM, panagiotis merakos wrote: > > Hi Bill, > > ATS can also block https connections, if they do not meet some extra > conditions. See this report for more details > http://quality.livecode.com/show_bug.cgi?id=18645 > > Best, > Panos > > On 19 Oct 2016 19:36, "William Prothero" wrote: > >> Folks: >> I?m on OSX 10.11.6 and LC 8.1.1., XCode 8. I am finding that the browser >> widget works fine in the IDE, but I get no web page downloaded in the iOS >> simulator unless ATS is disabled. >> >> I know the latest iOS will not allow http connections unless ATS is >> disabled. I tried https://www.wellsfargo.com and this won?t load in the >> simulator, unless ATS is disabled. I expected that if ATS was not disabled, >> it would display https web pages. Am I wrong? >> >> Best, >> Bill >> >> >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Oct 19 15:41:09 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 19 Oct 2016 12:41:09 -0700 Subject: are custom properties not supposed to be sorted in inspectors in 8? Message-ID: Am I doing something wrong, or are the custom properties in an inspector not supposed to be sorted alphabetically in 8? I have enough properties on some objects that this quickly gets maddening . . . or am I missing a setting again? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Wed Oct 19 15:44:04 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Oct 2016 12:44:04 -0700 Subject: Browser widget question In-Reply-To: <40350143-FF36-4C0C-9300-FAD670EC6065@earthednet.org> References: <40350143-FF36-4C0C-9300-FAD670EC6065@earthednet.org> Message-ID: <0c3c239b-1a14-434b-12c7-05b30ed1f4d1@fourthworld.com> William Prothero wrote: > It?s odd that Wells Fargo, a big US financial institution, doesn?t > meet the security requirements for ATS. Wells Fargo will enable it for you if you open 15 savings accounts. ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.cpm http://www.FourthWorld.com From ahsoftware at sonic.net Wed Oct 19 15:43:24 2016 From: ahsoftware at sonic.net (mwieder) Date: Wed, 19 Oct 2016 12:43:24 -0700 (PDT) Subject: are custom properties not supposed to be sorted in inspectors in 8? In-Reply-To: References: Message-ID: <1476906204839-4709606.post@n4.nabble.com> http://quality.livecode.com/show_bug.cgi?id=18300 ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/are-custom-properties-not-supposed-to-be-sorted-in-inspectors-in-8-tp4709604p4709606.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Oct 19 16:07:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Oct 2016 15:07:37 -0500 Subject: [OT] That bank (was: Browser widget question) In-Reply-To: <0c3c239b-1a14-434b-12c7-05b30ed1f4d1@fourthworld.com> References: <40350143-FF36-4C0C-9300-FAD670EC6065@earthednet.org> <0c3c239b-1a14-434b-12c7-05b30ed1f4d1@fourthworld.com> Message-ID: <2cc80f32-e87c-15de-8fe8-9c091b5b66f2@hyperactivesw.com> On 10/19/16 2:44 PM, Richard Gaskin wrote: > William Prothero wrote: > >> It?s odd that Wells Fargo, a big US financial institution, doesn?t >> meet the security requirements for ATS. > > Wells Fargo will enable it for you if you open 15 savings accounts. ;) > :) I was in there the other day to conduct some business with a personal rep, and they were all over me. He shook my hand, smiled a lot, and then when the manager had to approve a financial paper, she came out personally, introduced herself and shook my hand, thanked me for being a loyal customer, made some friendly chit-chat, and thanked me again. They both pressed their business cards on me and stressed that if I had any questions at all, I should call without hesitation. When I left, I asked The Husband if they sucked up to everybody that way. They must have customers fleeing in droves. On the other hand, I'd like to think I really am that important. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Wed Oct 19 16:47:12 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 19 Oct 2016 22:47:12 +0200 Subject: Can't see User Guide Message-ID: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see this? Has it been replaced by the Developer?s Guide (on the LC web site)? Graham From bobsneidar at iotecdigital.com Wed Oct 19 17:18:57 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Oct 2016 21:18:57 +0000 Subject: error with script opening application browser in 8 In-Reply-To: References: Message-ID: Works as advertised! Thanks jacque! Bob S On Oct 18, 2016, at 22:28 , J. Landman Gay > wrote: It should (but doesn't) work like any other plugin: Open the Plugin Settings (bottom of the Plugins menu item) and select the app browser from the option menu button. Set it to open on startup and open visibly. You may also want to set it to open as a modeless stack instead of a palette. Close the settings. From dbrooksne at gmail.com Wed Oct 19 17:40:52 2016 From: dbrooksne at gmail.com (David Brooks) Date: Wed, 19 Oct 2016 16:40:52 -0500 Subject: Widgets, Types, and the Periodic Table Message-ID: I'm trying to build a chemical periodic table widget. I can do this up to the point of having it look like a periodic table (nice arrangement, symbols in correct places). My plan depends on being able to store and retrieve a rectangle for each element. I CAN compute an appropriate rectangle for each chemical element that places it properly in a periodic table. My plan depends on being able to store and retrieve a rectangle for each element. I want to create an array that has the 'usual' chemical information. I want to include in that array the computed rectangle for each element such that it can redraw the widget when a user reshapes the widget and can detect a clickloc in the rectangle of the element to retrieve data I've tried to store the rectangle in the array --and retrieve it -- without success. I think the issue is that when it goes into the array it does so as a string. I've tried to store 4 Numbers in the array for each chemical element -- corresponding to the x,y of the top-left and bottom right of the rectangle and then recreate the rectangle from those numbers. No success. I've tried to store those as Integers and recreate them with commas into a variable typed as an array. No success. Any help and or suggestions will be appreciated. Thanks in advance. Best, Dave B. From merakosp at gmail.com Wed Oct 19 17:52:15 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 20 Oct 2016 00:52:15 +0300 Subject: Can't see User Guide In-Reply-To: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> References: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> Message-ID: Hi Graham, This is a known issue: http://quality.livecode.com/show_bug.cgi?id=18479 Best, Panos -- On Wed, Oct 19, 2016 at 11:47 PM, Graham Samuel wrote: > Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? > from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see > this? Has it been replaced by the Developer?s Guide (on the LC web site)? > > > 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 livfoss at mac.com Wed Oct 19 17:55:28 2016 From: livfoss at mac.com (Graham Samuel) Date: Wed, 19 Oct 2016 23:55:28 +0200 Subject: Can't see User Guide In-Reply-To: References: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> Message-ID: <787F7AB4-C968-4A37-8755-1B891AF785EC@mac.com> Thanks Panos - it seems to me that this is too big an issue not to have solved before calling 8.1.1 ?stable?. I have found a version of the guide under Indy 7.1.3, but I don?t see a newbie doing this. Just my two cents Graham > On 19 Oct 2016, at 23:52, panagiotis merakos wrote: > > Hi Graham, > > This is a known issue: http://quality.livecode.com/show_bug.cgi?id=18479 > > Best, > Panos > -- > > On Wed, Oct 19, 2016 at 11:47 PM, Graham Samuel wrote: > >> Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? >> from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see >> this? Has it been replaced by the Developer?s Guide (on the LC web site)? >> >> >> 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 hh at hyperhh.de Wed Oct 19 18:00:25 2016 From: hh at hyperhh.de (hh) Date: Thu, 20 Oct 2016 00:00:25 +0200 Subject: Widgets, Types, and the Periodic Table Message-ID: <11BD3AE2-FAF2-4623-8F68-EC6FE394F224@hyperhh.de> Hi Dave. Me and probably others are willing to help you, but me not here. Because = I wish to have the chance to edit the code, = I wish to have the the chance to attach files or pictures. There is a LC Builder subforum http://forums.livecode.com/viewforum.php?f=93 that has, by the way, already some threads to arrays. http://forums.livecode.com/viewtopic.php?f=93&t=27408 Kind regards, Hermann From merakosp at gmail.com Wed Oct 19 18:17:07 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 20 Oct 2016 01:17:07 +0300 Subject: Can't see User Guide In-Reply-To: References: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> <787F7AB4-C968-4A37-8755-1B891AF785EC@mac.com> Message-ID: This turned out to be a nasty bug, and quite hard to track the down the cause. The failure happens at some point while our automated build system builds the docs, and it seems to happen at random, e.g. LC 9.0 DP1 Indy is OK. Moreover, the community edition (in 8.1.1) does not seem to suffer from this bug. However, I agree this is something that has to be fixed. Best, Panos On 19 Oct 2016 22:55, "Graham Samuel" wrote: Thanks Panos - it seems to me that this is too big an issue not to have solved before calling 8.1.1 ?stable?. I have found a version of the guide under Indy 7.1.3, but I don?t see a newbie doing this. Just my two cents Graham > On 19 Oct 2016, at 23:52, panagiotis merakos wrote: > > Hi Graham, > > This is a known issue: http://quality.livecode.com/show_bug.cgi?id=18479 > > Best, > Panos > -- > > On Wed, Oct 19, 2016 at 11:47 PM, Graham Samuel wrote: > >> Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? >> from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see >> this? Has it been replaced by the Developer?s Guide (on the LC web site)? >> >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Oct 19 18:49:12 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 19 Oct 2016 15:49:12 -0700 Subject: error with script opening application browser in 8 In-Reply-To: References: Message-ID: On Wed, Oct 19, 2016 at 2:18 PM, Bob Sneidar wrote: > Works as advertised! Thanks jacque! It worked once for me, but not since. But I've got bigger fish at the moment (make that, bigger demons . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From tfabacher at gmail.com Wed Oct 19 19:14:06 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Thu, 20 Oct 2016 01:14:06 +0200 Subject: FULL MailChimp & FREE PushNotifications from Digital Pomegranate Message-ID: Good News LiveCode Community... Open Source We have wrapped the FULL MailChimp and Mandrill API library in LiveCode. It is over 6,000 lines of code between the two, but we are happy to release them to the community. We are looking for testers before we release them to the public. So if you have a desire to help us test, please email me. We also need Push Notifications for a few of our new Apps. We were going to create our own server, but we found One Signal [ www.onesignal.com ] - FREE Push Notifications Server. Has anyone used One Signal before? We will start to wrap this API in the coming weeks. If you have interest in Push Notification and want work with us, please let me know. Karlan, one of the DP coders who has moved from C# to LiveCode programing, is taking on the project! DOCS https://documentation.onesignal.com/docs SERVER REST API https://documentation.onesignal.com/reference#create-notification WP REST API & App Analytics We will be converting the code to the new background internet posting from tsNet to speed up the usage of the libraries. So new version soon. Remember, you can never get VC money without proper App Analytics. Non-Open Source Projects One line of code to revolutionize your DB Cloud On the non-open source side. We have just about completed a data sync tool that will sync your cloud based DB [SQLite, mySQL, msSQL, Oracle] with a local SQLite DB. Imagine, once you setup the tables on the server. It is just one line of code to keep all your clients data synced between thousands of devices. If you are interested, let me know....We are testing soon. Simple Report Maker If you are also looking for a simple reporting solution with over 25 chart types and full "reporting" output functionality, we will be testing by the end of November. The cool option is we have a web service that will convert the report to a PDF and send/email to whomever. All done with very little coding. We are busy bees making honey!! Best, Todd & the DP Team From terry.judd at unimelb.edu.au Wed Oct 19 19:44:09 2016 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 19 Oct 2016 23:44:09 +0000 Subject: FULL MailChimp & FREE PushNotifications from Digital Pomegranate In-Reply-To: References: Message-ID: <4480B6A4-EC19-4F8D-BBCD-7BEFE58BDA64@unimelb.edu.au> Hi Todd ? I had a look at One Signal a few months back but couldn?t get it to work with LC. That may be no reflection on One Signal though as I?m pretty much in the dark when it comes to push notifications (although I did get some basic AWS stuff working a couple of years ago the last time I flirted with push). I?d be really interested to hear how you get on but don?t think there is much I can reasonable contribute to your effort ? sorry. Regards, Terry... Terry Judd | Senior Lecturer in Medical Education Department of Medical Education The University of Melbourne M: 0435 961 594 | E: terry.judd at unimelb.edu.au Publications On 20/10/2016 10:14 am, "use-livecode on behalf of Todd Fabacher" wrote: Good News LiveCode Community... Open Source We have wrapped the FULL MailChimp and Mandrill API library in LiveCode. It is over 6,000 lines of code between the two, but we are happy to release them to the community. We are looking for testers before we release them to the public. So if you have a desire to help us test, please email me. We also need Push Notifications for a few of our new Apps. We were going to create our own server, but we found One Signal [ www.onesignal.com ] - FREE Push Notifications Server. Has anyone used One Signal before? We will start to wrap this API in the coming weeks. If you have interest in Push Notification and want work with us, please let me know. Karlan, one of the DP coders who has moved from C# to LiveCode programing, is taking on the project! DOCS https://documentation.onesignal.com/docs SERVER REST API https://documentation.onesignal.com/reference#create-notification WP REST API & App Analytics We will be converting the code to the new background internet posting from tsNet to speed up the usage of the libraries. So new version soon. Remember, you can never get VC money without proper App Analytics. Non-Open Source Projects One line of code to revolutionize your DB Cloud On the non-open source side. We have just about completed a data sync tool that will sync your cloud based DB [SQLite, mySQL, msSQL, Oracle] with a local SQLite DB. Imagine, once you setup the tables on the server. It is just one line of code to keep all your clients data synced between thousands of devices. If you are interested, let me know....We are testing soon. Simple Report Maker If you are also looking for a simple reporting solution with over 25 chart types and full "reporting" output functionality, we will be testing by the end of November. The cool option is we have a web service that will convert the report to a PDF and send/email to whomever. All done with very little coding. We are busy bees making honey!! Best, Todd & the DP 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 dochawk at gmail.com Wed Oct 19 20:21:38 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 19 Oct 2016 17:21:38 -0700 Subject: are custom properties not supposed to be sorted in inspectors in 8? In-Reply-To: <1476906204839-4709606.post@n4.nabble.com> References: <1476906204839-4709606.post@n4.nabble.com> Message-ID: On Wed, Oct 19, 2016 at 12:43 PM, mwieder wrote: > http://quality.livecode.com/show_bug.cgi?id=18300 Wow. Isn't this a one-line insertion to fix between collecting them into a field or variable, and displaying it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Wed Oct 19 20:24:28 2016 From: monte at appisle.net (Monte Goulding) Date: Thu, 20 Oct 2016 11:24:28 +1100 Subject: are custom properties not supposed to be sorted in inspectors in 8? In-Reply-To: References: <1476906204839-4709606.post@n4.nabble.com> Message-ID: > On 20 Oct 2016, at 11:21 AM, Dr. Hawkins wrote: > > Isn't this a one-line insertion to fix between collecting them into a field > or variable, and displaying it? Yes probably From dunbarx at aol.com Wed Oct 19 21:04:59 2016 From: dunbarx at aol.com (dunbarx) Date: Wed, 19 Oct 2016 18:04:59 -0700 (PDT) Subject: Widgets, Types, and the Periodic Table In-Reply-To: References: Message-ID: <1476925499731-4709620.post@n4.nabble.com> It so happens that I actually have a periodic table, that is, a wooden display with samples of the elements in appropriate containers. I have 88; from my research, likely the largest collection in the world. it glows in the dark. Oh yes, LiveCode. If I can be of help in either venue, let me know. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Widgets-Types-and-the-Periodic-Table-tp4709610p4709620.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hyperhh.de Thu Oct 20 00:25:47 2016 From: hh at hyperhh.de (hh) Date: Thu, 20 Oct 2016 06:25:47 +0200 Subject: Widgets, Types, and the Periodic Table Message-ID: @Dave I wrote a (long) snippet as answer to your question in the LC-Builder forum. If you prefer to stay here or don't like that then tell me and I'll delete that post. Hope this is approximately what you asked for. @ Craig Sounds impressive. Could you please show as a photograph of that "jewel"? From MikeKerner at roadrunner.com Thu Oct 20 08:53:49 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 20 Oct 2016 08:53:49 -0400 Subject: FULL MailChimp & FREE PushNotifications from Digital Pomegranate In-Reply-To: <4480B6A4-EC19-4F8D-BBCD-7BEFE58BDA64@unimelb.edu.au> References: <4480B6A4-EC19-4F8D-BBCD-7BEFE58BDA64@unimelb.edu.au> Message-ID: We are doing our own push sending but, for ios, we have been unable to get push to work properly from a PC, so onesignal might be an interesting thing to add... On Wed, Oct 19, 2016 at 7:44 PM, Terry Judd wrote: > Hi Todd ? I had a look at One Signal a few months back but couldn?t get it > to work with LC. That may be no reflection on One Signal though as I?m > pretty much in the dark when it comes to push notifications (although I did > get some basic AWS stuff working a couple of years ago the last time I > flirted with push). I?d be really interested to hear how you get on but > don?t think there is much I can reasonable contribute to your effort ? > sorry. > > Regards, > > Terry... > > > Terry Judd | Senior Lecturer in Medical Education > Department of Medical Education au/medical-education> > The University of Melbourne > M: 0435 961 594 | E: terry.judd at unimelb.edu.au tsj at unimelb.edu.au> > Publications XC5s6wwAAAAJ&hl=en> > > > On 20/10/2016 10:14 am, "use-livecode on behalf of Todd Fabacher" < > use-livecode-bounces at lists.runrev.com on behalf of tfabacher at gmail.com> > wrote: > > Good News LiveCode Community... > > Open Source > We have wrapped the FULL MailChimp and Mandrill API library in > LiveCode. It > is over 6,000 lines of code between the two, but we are happy to > release > them to the community. We are looking for testers before we release > them to > the public. So if you have a desire to help us test, please email me. > > We also need Push Notifications for a few of our new Apps. We were > going to > create our own server, but we found One Signal [ www.onesignal.com ] > - FREE > Push Notifications Server. > > Has anyone used One Signal before? We will start to wrap this API in > the > coming weeks. If you have interest in Push Notification and want work > with > us, please let me know. Karlan, one of the DP coders who has moved > from C# > to LiveCode programing, is taking on the project! > > DOCS > https://documentation.onesignal.com/docs > > SERVER REST API > https://documentation.onesignal.com/reference#create-notification > > > WP REST API & App Analytics > We will be converting the code to the new background internet posting > from > tsNet to speed up the usage of the libraries. So new version soon. > Remember, you can never get VC money without proper App Analytics. > > > > Non-Open Source Projects > > One line of code to revolutionize your DB Cloud > On the non-open source side. We have just about completed a data sync > tool > that will sync your cloud based DB [SQLite, mySQL, msSQL, Oracle] with > a > local SQLite DB. Imagine, once you setup the tables on the server. It > is > just one line of code to keep all your clients data synced between > thousands of devices. If you are interested, let me know....We are > testing > soon. > > Simple Report Maker > If you are also looking for a simple reporting solution with over 25 > chart > types and full "reporting" output functionality, we will be testing by > the > end of November. The cool option is we have a web service that will > convert the report to a PDF and send/email to whomever. All done with > very > little coding. > > We are busy bees making honey!! > > Best, > > Todd & the DP Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 20 10:54:07 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Oct 2016 14:54:07 +0000 Subject: error with script opening application browser in 8 In-Reply-To: References: Message-ID: <160F2E4C-739E-4C0C-AB20-1F1917C2DFAC@iotecdigital.com> You fry demons??? ... how do they taste? Bob S On Oct 19, 2016, at 15:49 , Dr. Hawkins > wrote: On Wed, Oct 19, 2016 at 2:18 PM, Bob Sneidar > wrote: Works as advertised! Thanks jacque! It worked once for me, but not since. But I've got bigger fish at the moment (make that, bigger demons . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Oct 20 13:02:20 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 20 Oct 2016 10:02:20 -0700 Subject: error with script opening application browser in 8 In-Reply-To: <160F2E4C-739E-4C0C-AB20-1F1917C2DFAC@iotecdigital.com> References: <160F2E4C-739E-4C0C-AB20-1F1917C2DFAC@iotecdigital.com> Message-ID: On Thu, Oct 20, 2016 at 7:54 AM, Bob Sneidar wrote: > You fry demons??? ... > > how do they taste? > like chicken of course! You just have to marinate them in Holy Water for a couple of days they're too tough to new well and you get one Hell of a stomachache . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Thu Oct 20 13:23:50 2016 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 20 Oct 2016 20:23:50 +0300 Subject: Can't see User Guide In-Reply-To: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> References: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> Message-ID: <3c2237a5-2917-839d-3e1b-741143e6ee93@gmail.com> Aha! Richmond. On 19.10.2016 23:47, Graham Samuel wrote: > Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see this? Has it been replaced by the Developer?s Guide (on the LC web site)? > > > 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 jiml at netrin.com Thu Oct 20 13:26:28 2016 From: jiml at netrin.com (Jim Lambert) Date: Thu, 20 Oct 2016 10:26:28 -0700 Subject: Browser widget question In-Reply-To: References: Message-ID: <333089FB-5372-4E2E-B6FE-2A89C4F48760@netrin.com> >> >> RichardG wrote: > > Wells Fargo will enable it for you if you open 15 savings accounts. ;) Wells Fargo will automatically open those bank accounts for you even if you don?t want them and without your even knowing! ;) Jim Lambert From bobsneidar at iotecdigital.com Thu Oct 20 13:32:56 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Oct 2016 17:32:56 +0000 Subject: Browser widget question In-Reply-To: <333089FB-5372-4E2E-B6FE-2A89C4F48760@netrin.com> References: <333089FB-5372-4E2E-B6FE-2A89C4F48760@netrin.com> Message-ID: What I still don't seem to be able to fathom is, did any of their customers lose money via these exterraneous accounts? Bob S On Oct 20, 2016, at 10:26 , Jim Lambert > wrote: RichardG wrote: Wells Fargo will enable it for you if you open 15 savings accounts. ;) Wells Fargo will automatically open those bank accounts for you even if you don?t want them and without your even knowing! ;) Jim Lambert From bobsneidar at iotecdigital.com Thu Oct 20 13:33:47 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Oct 2016 17:33:47 +0000 Subject: Can't see User Guide In-Reply-To: <3c2237a5-2917-839d-3e1b-741143e6ee93@gmail.com> References: <57B0D18E-D70A-48E8-A63F-EA4A18311ED3@mac.com> <3c2237a5-2917-839d-3e1b-741143e6ee93@gmail.com> Message-ID: <207CFE80-0185-46AB-B0E6-B8AFFAD02972@iotecdigital.com> Same here. Bob S On Oct 20, 2016, at 10:23 , Richmond > wrote: Aha! Richmond. On 19.10.2016 23:47, Graham Samuel wrote: Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see this? Has it been replaced by the Developer?s Guide (on the LC web site)? Graham ________ From ahsoftware at sonic.net Thu Oct 20 13:57:27 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 20 Oct 2016 10:57:27 -0700 (PDT) Subject: error with script opening application browser in 8 In-Reply-To: References: <160F2E4C-739E-4C0C-AB20-1F1917C2DFAC@iotecdigital.com> Message-ID: <1476986247237-4709629.post@n4.nabble.com> Do you get frequent fryer miles with those? Collect enough of those and you get a free fright. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/error-with-script-opening-application-browser-in-8-tp4709570p4709629.html Sent from the Revolution - User mailing list archive at Nabble.com. From ahsoftware at sonic.net Thu Oct 20 13:58:22 2016 From: ahsoftware at sonic.net (mwieder) Date: Thu, 20 Oct 2016 10:58:22 -0700 (PDT) Subject: Widgets, Types, and the Periodic Table In-Reply-To: References: Message-ID: <1476986302133-4709630.post@n4.nabble.com> +1 ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Widgets-Types-and-the-Periodic-Table-tp4709610p4709630.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Oct 20 14:40:43 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Oct 2016 13:40:43 -0500 Subject: error with script opening application browser in 8 In-Reply-To: References: Message-ID: <949bb641-c64f-a181-55d8-ff9b837cb914@hyperactivesw.com> On 10/19/16 5:49 PM, Dr. Hawkins wrote: > On Wed, Oct 19, 2016 at 2:18 PM, Bob Sneidar > wrote: > >> Works as advertised! Thanks jacque! > > > It worked once for me, but not since. But I've got bigger fish at the > moment (make that, bigger demons . . .) The demons are your problem, I'm afraid. But for the plugin, if you downloaded yesterday's final 8.1.1 release like I did then you've got a new plugins folder in the app bundle and you need to apply the fix again. However, Panos suggested another approach in my bug report about it which is to copy the plugin from the app and paste it into the user plugins folder. That allows both write permissions and permanency so you don't need to keep fixing it after each release. On the other hand, it means if there are any updates to the plugin we may not realize it, since the user plugins take precedence over the LC built-in ones. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Fri Oct 21 04:46:55 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 10:46:55 +0200 Subject: Closing a stack and deleting it too Message-ID: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> I seem to be getting unreliable results from ?close stack?. I note that the dictionary says: > If the handler that closes the stack is in the script of the stack (or in the script of an object in the stack) and the stack's destroyStack <> property <> is true, the stack window <> is closed immediately, but the stack is not removed from memory until after the handler? <>completes. I find that if I have a stack with a lot of substacks, on executing ?close stack?, just the mainstack closes, despite the despite having ?purge stack on close? and ?purge window on close? set in the main and all the substacks. If this command worked as I imagined, it would not be necessary, or indeed appropriate, to follow it with a ?delete stack? command. I think this failure to work as expected must be to do with message still waiting to finish, as suggested by the Dictionary entry - it?s probably a ?menuPick? handler, which is the only bit of script actually executing in the stack-to-be-deleted - but in my case apparently it never finishes. Is there a way of purging the message queue so that the ?close? command always does ?delete? as well? If only I understood what ?Close and Remove from Memory? in the IDE actually does. I?ve been trying to find out for ages. Graham From bobsneidar at iotecdigital.com Fri Oct 21 10:37:41 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Oct 2016 14:37:41 +0000 Subject: Closing a stack and deleting it too In-Reply-To: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> References: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> Message-ID: I thought this was an ongoing thread that had been answered, but at the risk of repeating all of you, The trick would be to send "close this stack" in 0 seconds. I've not tried it, so I am not sure if it actually works, but that is the prescribed method. Bob S On Oct 21, 2016, at 01:46 , Graham Samuel > wrote: I seem to be getting unreliable results from ?close stack?. I note that the dictionary says: If the handler that closes the stack is in the script of the stack (or in the script of an object in the stack) and the stack's destroyStack <> property <> is true, the stack window <> is closed immediately, but the stack is not removed from memory until after the handler <>completes. I find that if I have a stack with a lot of substacks, on executing ?close stack?, just the mainstack closes, despite the despite having ?purge stack on close? and ?purge window on close? set in the main and all the substacks. If this command worked as I imagined, it would not be necessary, or indeed appropriate, to follow it with a ?delete stack? command. I think this failure to work as expected must be to do with message still waiting to finish, as suggested by the Dictionary entry - it?s probably a ?menuPick? handler, which is the only bit of script actually executing in the stack-to-be-deleted - but in my case apparently it never finishes. Is there a way of purging the message queue so that the ?close? command always does ?delete? as well? If only I understood what ?Close and Remove from Memory? in the IDE actually does. I?ve been trying to find out for ages. Graham From prothero at earthednet.org Fri Oct 21 10:50:58 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 21 Oct 2016 07:50:58 -0700 Subject: Store to iCloud? Message-ID: Folks, I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. Best, Bill William Prothero http://es.earthednet.org From livfoss at mac.com Fri Oct 21 10:55:56 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 16:55:56 +0200 Subject: Closing a stack and deleting it too In-Reply-To: References: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> Message-ID: <50CC4841-FCF8-44E3-A76F-751B0FDA103F@mac.com> Yes, I?m already trying that. Maybe I did it in an incorrect way. I am trying to go over it very carefully for the nth time. I have certainly seen some oddness in 8.1.1 related to this among other things, but I haven?t got a recipe yet. Thanks for the reminder. Graham > On 21 Oct 2016, at 16:37, Bob Sneidar wrote: > > I thought this was an ongoing thread that had been answered, but at the risk of repeating all of you, The trick would be to send "close this stack" in 0 seconds. I've not tried it, so I am not sure if it actually works, but that is the prescribed method. > > Bob S > > > On Oct 21, 2016, at 01:46 , Graham Samuel > wrote: > > I seem to be getting unreliable results from ?close stack?. I note that the dictionary says: > > If the handler that closes the stack is in the script of the stack (or in the script of an object in the stack) and the stack's destroyStack <> property <> is true, the stack window <> is closed immediately, but the stack is not removed from memory until after the handler <>completes. > > I find that if I have a stack with a lot of substacks, on executing ?close stack?, just the mainstack closes, despite the despite having ?purge stack on close? and ?purge window on close? set in the main and all the substacks. > > If this command worked as I imagined, it would not be necessary, or indeed appropriate, to follow it with a ?delete stack? command. > > I think this failure to work as expected must be to do with message still waiting to finish, as suggested by the Dictionary entry - it?s probably a ?menuPick? handler, which is the only bit of script actually executing in the stack-to-be-deleted - but in my case apparently it never finishes. Is there a way of purging the message queue so that the ?close? command always does ?delete? as well? > > If only I understood what ?Close and Remove from Memory? in the IDE actually does. I?ve been trying to find out for ages. > > 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 21 10:57:40 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Oct 2016 14:57:40 +0000 Subject: Store to iCloud? In-Reply-To: References: Message-ID: On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: /Users//Library/Mobile Documents/com~apple~CloudDocs/ Not sure how to connect to an Icloud drive on Windows, but the process would be similar. Bob S On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: Folks, I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. Best, Bill William Prothero http://es.earthednet.org From prothero at earthednet.org Fri Oct 21 11:15:03 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Fri, 21 Oct 2016 08:15:03 -0700 Subject: Store to iCloud? In-Reply-To: References: Message-ID: <87D616EB-EE17-4343-A9B6-B24585D24FC7@earthednet.org> Bob, Thanks so much! I'll try it. Bill William Prothero http://es.earthednet.org > On Oct 21, 2016, at 7:57 AM, Bob Sneidar wrote: > > On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: > > /Users//Library/Mobile Documents/com~apple~CloudDocs/ > > Not sure how to connect to an Icloud drive on Windows, but the process would be similar. > > Bob S > > > On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: > > Folks, > I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. > > I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. > > Best, > Bill > > William Prothero > http://es.earthednet.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Oct 21 12:00:32 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 18:00:32 +0200 Subject: SpecialFolderPath("resources") workaround for Windows Message-ID: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? TIA Graham From klaus at major-k.de Fri Oct 21 12:09:18 2016 From: klaus at major-k.de (Klaus major-k) Date: Fri, 21 Oct 2016 18:09:18 +0200 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> Message-ID: <0877526C-40AA-466E-957C-FDDF2C8C22E7@major-k.de> Hi Graham, > Am 21.10.2016 um 18:00 schrieb Graham Samuel : > > In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. > This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? on Windows if your exe starts up, "the directory" is the folder where the exe resides in. Store this on "preopenstack" in a variable or custom property and use this one. > TIA > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bobsneidar at iotecdigital.com Fri Oct 21 12:10:47 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Oct 2016 16:10:47 +0000 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> Message-ID: <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> Isn't the resources path for Windows the path to the mainstack? Bob S On Oct 21, 2016, at 09:00 , Graham Samuel > wrote: In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? TIA Graham From bobsneidar at iotecdigital.com Fri Oct 21 12:13:43 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Oct 2016 16:13:43 +0000 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> Message-ID: <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> From the dictionary for SpecialFolderPath: * "resources": In development mode, the current stack's folder. In a standalone, the resources folder where files or folders specified in the Standalone Builder are located. Since you set this in the standalone builder, create a constant with that path. Bob S On Oct 21, 2016, at 09:10 , Bob Sneidar > wrote: Isn't the resources path for Windows the path to the mainstack? Bob S On Oct 21, 2016, at 09:00 , Graham Samuel > wrote: In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? TIA 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 livfoss at mac.com Fri Oct 21 12:37:29 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 18:37:29 +0200 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> Message-ID: <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> I don't understand that Dictionary entry at all. There are no facilities for specifying a resource folder in the Standalone settings. I still don't see where the builder puts my (non-mainstack) resources, nor how my script can refer to it. Can't help feeling I'm being stupid... Graham Sent from my iPad > On 21 Oct 2016, at 18:13, Bob Sneidar wrote: > > From the dictionary for SpecialFolderPath: > > > * "resources": In development mode, the current stack's folder. In a standalone, the resources folder where files or folders specified in the Standalone Builder are located. > > Since you set this in the standalone builder, create a constant with that path. > > Bob S > > > On Oct 21, 2016, at 09:10 , Bob Sneidar > wrote: > > Isn't the resources path for Windows the path to the mainstack? > > Bob S > > > On Oct 21, 2016, at 09:00 , Graham Samuel > wrote: > > In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. > > This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? > > TIA > > 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 revdev at pdslabs.net Fri Oct 21 13:08:59 2016 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 21 Oct 2016 10:08:59 -0700 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> Message-ID: <340d8ef9-1d0c-a791-bb4b-cb38b856eefa@pdslabs.net> Hi Graham, I ran into this same problem just yesterday. I too found that the 'resources' path was empty in the standalone even though it contained the path to the app stack when viewed in the IDE. So I'm using the filename of the stack as my source for a self-made 'resources' folder in the standalone. Phil Davis On 10/21/16 9:37 AM, Graham Samuel wrote: > I don't understand that Dictionary entry at all. There are no facilities for specifying a resource folder in the Standalone settings. I still don't see where the builder puts my (non-mainstack) resources, nor how my script can refer to it. > > Can't help feeling I'm being stupid... > > Graham > > Sent from my iPad > >> On 21 Oct 2016, at 18:13, Bob Sneidar wrote: >> >> From the dictionary for SpecialFolderPath: >> >> >> * "resources": In development mode, the current stack's folder. In a standalone, the resources folder where files or folders specified in the Standalone Builder are located. >> >> Since you set this in the standalone builder, create a constant with that path. >> >> Bob S >> >> >> On Oct 21, 2016, at 09:10 , Bob Sneidar > wrote: >> >> Isn't the resources path for Windows the path to the mainstack? >> >> Bob S >> >> >> On Oct 21, 2016, at 09:00 , Graham Samuel > wrote: >> >> In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(?resources?) on Windows standalone doesn?t generate a path at all. >> >> This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment? >> >> TIA >> >> Graham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis From bobsneidar at iotecdigital.com Fri Oct 21 13:09:19 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Oct 2016 17:09:19 +0000 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> Message-ID: I think they mean the Copy Files tab. Bob S On Oct 21, 2016, at 09:37 , Graham Samuel > wrote: I don't understand that Dictionary entry at all. There are no facilities for specifying a resource folder in the Standalone settings. I still don't see where the builder puts my (non-mainstack) resources, nor how my script can refer to it. Can't help feeling I'm being stupid... Graham Sent from my iPad From bonnmike at gmail.com Fri Oct 21 14:56:14 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 21 Oct 2016 12:56:14 -0600 Subject: Closing a stack and deleting it too In-Reply-To: <50CC4841-FCF8-44E3-A76F-751B0FDA103F@mac.com> References: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> <50CC4841-FCF8-44E3-A76F-751B0FDA103F@mac.com> Message-ID: Make sure if you are doing a send to delete the stack that you don't have it send to itself. An external (hidden?) mainstack would be the way to go, otherwise telling the stack to send the delete request to itself would be a circular type of thing. Can't delete the stack running the script, so send a script "delete this stack" to the stack being deleted, which then can't be deleted because its still running the script to delete itself. On Fri, Oct 21, 2016 at 8:55 AM, Graham Samuel wrote: > Yes, I?m already trying that. Maybe I did it in an incorrect way. I am > trying to go over it very carefully for the nth time. I have certainly seen > some oddness in 8.1.1 related to this among other things, but I haven?t got > a recipe yet. > > Thanks for the reminder. > > Graham > > > On 21 Oct 2016, at 16:37, Bob Sneidar > wrote: > > > > I thought this was an ongoing thread that had been answered, but at the > risk of repeating all of you, The trick would be to send "close this stack" > in 0 seconds. I've not tried it, so I am not sure if it actually works, but > that is the prescribed method. > > > > Bob S > > > > > > On Oct 21, 2016, at 01:46 , Graham Samuel s at mac.com>> wrote: > > > > I seem to be getting unreliable results from ?close stack?. I note that > the dictionary says: > > > > If the handler that closes the stack is in the script of the stack (or > in the script of an object in the stack) and the stack's destroyStack <> > property <> is true, the stack window <> is closed immediately, but the > stack is not removed from memory until after the handler <>completes. > > > > I find that if I have a stack with a lot of substacks, on executing > ?close stack?, just the mainstack closes, despite the despite having ?purge > stack on close? and ?purge window on close? set in the main and all the > substacks. > > > > If this command worked as I imagined, it would not be necessary, or > indeed appropriate, to follow it with a ?delete stack? command. > > > > I think this failure to work as expected must be to do with message > still waiting to finish, as suggested by the Dictionary entry - it?s > probably a ?menuPick? handler, which is the only bit of script actually > executing in the stack-to-be-deleted - but in my case apparently it never > finishes. Is there a way of purging the message queue so that the ?close? > command always does ?delete? as well? > > > > If only I understood what ?Close and Remove from Memory? in the IDE > actually does. I?ve been trying to find out for ages. > > > > 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 livfoss at mac.com Fri Oct 21 15:07:15 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 21:07:15 +0200 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> Message-ID: Thanks for the reply - but the Copy Files tab shows the **source** of the resources (mine for example are in my DropBox account), not the destination. I do now realise from Klaus and Phil that the Standalone maker for Windows will put the resources with the actual .exe file of the application, so like them I will make up my own resources path. Let?s hope it doesn?t change over time like Apple?s did. Graham > On 21 Oct 2016, at 19:09, Bob Sneidar wrote: > > I think they mean the Copy Files tab. > > Bob S > > > On Oct 21, 2016, at 09:37 , Graham Samuel > wrote: > > I don't understand that Dictionary entry at all. There are no facilities for specifying a resource folder in the Standalone settings. I still don't see where the builder puts my (non-mainstack) resources, nor how my script can refer to it. > > Can't help feeling I'm being stupid... > > Graham > > 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 livfoss at mac.com Fri Oct 21 15:10:59 2016 From: livfoss at mac.com (Graham Samuel) Date: Fri, 21 Oct 2016 21:10:59 +0200 Subject: Closing a stack and deleting it too In-Reply-To: References: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> <50CC4841-FCF8-44E3-A76F-751B0FDA103F@mac.com> Message-ID: <047DB65C-0242-4B74-B71F-D6F43311205B@mac.com> Thanks, I will try to see if I am inadvertently doing what you say. The actual deletion code is in a library which is being used by the stack to be deleted (since it?s invoked by a menu item in the stack), although the library itself is in another mainstack. Interesting - I suppose while in use, a handler in the library ?belongs? to the stack which initiated its execution. Amazing how something apparently simple can become so complicated! Graham > On 21 Oct 2016, at 20:56, Mike Bonner wrote: > > Make sure if you are doing a send to delete the stack that you don't have > it send to itself. An external (hidden?) mainstack would be the way to go, > otherwise telling the stack to send the delete request to itself would be a > circular type of thing. Can't delete the stack running the script, so send > a script "delete this stack" to the stack being deleted, which then can't > be deleted because its still running the script to delete itself. > > On Fri, Oct 21, 2016 at 8:55 AM, Graham Samuel wrote: > >> Yes, I?m already trying that. Maybe I did it in an incorrect way. I am >> trying to go over it very carefully for the nth time. I have certainly seen >> some oddness in 8.1.1 related to this among other things, but I haven?t got >> a recipe yet. >> >> Thanks for the reminder. >> >> Graham >> >>> On 21 Oct 2016, at 16:37, Bob Sneidar >> wrote: >>> >>> I thought this was an ongoing thread that had been answered, but at the >> risk of repeating all of you, The trick would be to send "close this stack" >> in 0 seconds. I've not tried it, so I am not sure if it actually works, but >> that is the prescribed method. >>> >>> Bob S >>> >>> >>> On Oct 21, 2016, at 01:46 , Graham Samuel > s at mac.com>> wrote: >>> >>> I seem to be getting unreliable results from ?close stack?. I note that >> the dictionary says: >>> >>> If the handler that closes the stack is in the script of the stack (or >> in the script of an object in the stack) and the stack's destroyStack <> >> property <> is true, the stack window <> is closed immediately, but the >> stack is not removed from memory until after the handler <>completes. >>> >>> I find that if I have a stack with a lot of substacks, on executing >> ?close stack?, just the mainstack closes, despite the despite having ?purge >> stack on close? and ?purge window on close? set in the main and all the >> substacks. >>> >>> If this command worked as I imagined, it would not be necessary, or >> indeed appropriate, to follow it with a ?delete stack? command. >>> >>> I think this failure to work as expected must be to do with message >> still waiting to finish, as suggested by the Dictionary entry - it?s >> probably a ?menuPick? handler, which is the only bit of script actually >> executing in the stack-to-be-deleted - but in my case apparently it never >> finishes. Is there a way of purging the message queue so that the ?close? >> command always does ?delete? as well? >>> >>> If only I understood what ?Close and Remove from Memory? in the IDE >> actually does. I?ve been trying to find out for ages. >>> >>> Graham >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri Oct 21 15:13:58 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 21 Oct 2016 13:13:58 -0600 Subject: Closing a stack and deleting it too In-Reply-To: <047DB65C-0242-4B74-B71F-D6F43311205B@mac.com> References: <390466E1-3B7C-496F-98ED-1BA17A542B0E@mac.com> <50CC4841-FCF8-44E3-A76F-751B0FDA103F@mac.com> <047DB65C-0242-4B74-B71F-D6F43311205B@mac.com> Message-ID: Yep, as a library stack, IIRC the script being run is owned by the object calling it. If however you send the request directly to the library stack (I think you can still do that) it may solve your issue. On Fri, Oct 21, 2016 at 1:10 PM, Graham Samuel wrote: > Thanks, I will try to see if I am inadvertently doing what you say. The > actual deletion code is in a library which is being used by the stack to be > deleted (since it?s invoked by a menu item in the stack), although the > library itself is in another mainstack. Interesting - I suppose while in > use, a handler in the library ?belongs? to the stack which initiated its > execution. Amazing how something apparently simple can become so > complicated! > > Graham > > > On 21 Oct 2016, at 20:56, Mike Bonner wrote: > > > > Make sure if you are doing a send to delete the stack that you don't have > > it send to itself. An external (hidden?) mainstack would be the way to > go, > > otherwise telling the stack to send the delete request to itself would > be a > > circular type of thing. Can't delete the stack running the script, so > send > > a script "delete this stack" to the stack being deleted, which then can't > > be deleted because its still running the script to delete itself. > > > > On Fri, Oct 21, 2016 at 8:55 AM, Graham Samuel wrote: > > > >> Yes, I?m already trying that. Maybe I did it in an incorrect way. I am > >> trying to go over it very carefully for the nth time. I have certainly > seen > >> some oddness in 8.1.1 related to this among other things, but I haven?t > got > >> a recipe yet. > >> > >> Thanks for the reminder. > >> > >> Graham > >> > >>> On 21 Oct 2016, at 16:37, Bob Sneidar > >> wrote: > >>> > >>> I thought this was an ongoing thread that had been answered, but at the > >> risk of repeating all of you, The trick would be to send "close this > stack" > >> in 0 seconds. I've not tried it, so I am not sure if it actually works, > but > >> that is the prescribed method. > >>> > >>> Bob S > >>> > >>> > >>> On Oct 21, 2016, at 01:46 , Graham Samuel livfos > >> s at mac.com>> wrote: > >>> > >>> I seem to be getting unreliable results from ?close stack?. I note that > >> the dictionary says: > >>> > >>> If the handler that closes the stack is in the script of the stack (or > >> in the script of an object in the stack) and the stack's destroyStack <> > >> property <> is true, the stack window <> is closed immediately, but the > >> stack is not removed from memory until after the handler <>completes. > >>> > >>> I find that if I have a stack with a lot of substacks, on executing > >> ?close stack?, just the mainstack closes, despite the despite having > ?purge > >> stack on close? and ?purge window on close? set in the main and all the > >> substacks. > >>> > >>> If this command worked as I imagined, it would not be necessary, or > >> indeed appropriate, to follow it with a ?delete stack? command. > >>> > >>> I think this failure to work as expected must be to do with message > >> still waiting to finish, as suggested by the Dictionary entry - it?s > >> probably a ?menuPick? handler, which is the only bit of script actually > >> executing in the stack-to-be-deleted - but in my case apparently it > never > >> finishes. Is there a way of purging the message queue so that the > ?close? > >> command always does ?delete? as well? > >>> > >>> If only I understood what ?Close and Remove from Memory? in the IDE > >> actually does. I?ve been trying to find out for ages. > >>> > >>> Graham > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Fri Oct 21 15:25:17 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 21 Oct 2016 12:25:17 -0700 Subject: Store to iCloud? In-Reply-To: References: Message-ID: Bob: On my Mac, OS 10.11.6, it looks like the file path is /Users//Library/Mobile Documents/ I don?t see the "com~apple!CloudDocs" folder. Am I missing something? Bill > On Oct 21, 2016, at 7:57 AM, Bob Sneidar wrote: > > On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: > > /Users//Library/Mobile Documents/com~apple~CloudDocs/ > > Not sure how to connect to an Icloud drive on Windows, but the process would be similar. > > Bob S > > > On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: > > Folks, > I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. > > I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. > > Best, > Bill > > William Prothero > http://es.earthednet.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Fri Oct 21 16:15:48 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 21 Oct 2016 13:15:48 -0700 Subject: Store to iCloud? In-Reply-To: References: Message-ID: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> Bob: My bad. It works if I use: "/Users/prothero/Library/Mobile Documents/com~apple~CloudDocs? for the path. It?s weird, because if you go to the folder, you don?t see the path using the finder. But, you can get the path if you duplicate the Mobil Documents folder, and all of the inside folders appear. Thanks again. Bill > On Oct 21, 2016, at 12:25 PM, William Prothero wrote: > > Bob: > On my Mac, OS 10.11.6, it looks like the file path is > /Users//Library/Mobile Documents/ > > I don?t see the "com~apple!CloudDocs" folder. Am I missing something? > Bill > > > >> On Oct 21, 2016, at 7:57 AM, Bob Sneidar wrote: >> >> On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: >> >> /Users//Library/Mobile Documents/com~apple~CloudDocs/ >> >> Not sure how to connect to an Icloud drive on Windows, but the process would be similar. >> >> Bob S >> >> >> On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: >> >> Folks, >> I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. >> >> I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. >> >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Fri Oct 21 18:33:50 2016 From: paul at researchware.com (Paul Dupuis) Date: Fri, 21 Oct 2016 18:33:50 -0400 Subject: SpecialFolderPath("resources") workaround for Windows In-Reply-To: References: <0A362C1D-2B47-4875-8B13-D161C768FCC1@mac.com> <92F9A533-A440-4D93-8FF8-5AADBCE0438D@iotecdigital.com> <7DF39561-E772-4095-B652-8D3C1380DFD2@iotecdigital.com> <0E3FE337-D2D6-4E55-B4AF-F7B092E02D93@mac.com> Message-ID: <580A97CE.4080005@researchware.com> On OSX, any folders/file you have in the "Copy Files" tab of the Standalone builder settings are copied to: Under OSX: HyperRESEARCH.app/Contents/Resources/_MacOS/ i.e. in the _MacOS folder of the Resources folder of the Contents folder inside the .app bundle Under Windows, they are placed in the same folder as the .exe standalone and to the filename property of the mainstack of the standalone (with the file name removed) provides the path. On 10/21/2016 3:07 PM, Graham Samuel wrote: > Thanks for the reply - but the Copy Files tab shows the **source** of the resources (mine for example are in my DropBox account), not the destination. I do now realise from Klaus and Phil that the Standalone maker for Windows will put the resources with the actual .exe file of the application, so like them I will make up my own resources path. Let?s hope it doesn?t change over time like Apple?s did. > > Graham > >> On 21 Oct 2016, at 19:09, Bob Sneidar wrote: >> >> I think they mean the Copy Files tab. >> >> Bob S >> >> >> On Oct 21, 2016, at 09:37 , Graham Samuel > wrote: >> >> I don't understand that Dictionary entry at all. There are no facilities for specifying a resource folder in the Standalone settings. I still don't see where the builder puts my (non-mainstack) resources, nor how my script can refer to it. >> >> Can't help feeling I'm being stupid... >> >> Graham >> >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 21 19:16:43 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 21 Oct 2016 16:16:43 -0700 Subject: error in revDatabaseQuery() causing recursion of parent? Message-ID: I don't have enough to nail this down, and if I file a bug, it will just be closed. But have others seen something like this? I have something to the effect of revDatabaseQuery(,,a[b][c][d], theCommand) I eventually noted that "c" wasn't actually an index variable, but rather cNo or some such. upon hitting this line, which would (I presume) feed either empty or a null as the database number, a bomb to the last line occurs. Unacceptable, but I'm used to that one. Rather than stopping, or returning to the top level routine, however, the top level routine (either this one if I called it directly, or the routine that called it) begins execution again at its beginning. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rjearp99 at gmail.com Fri Oct 21 20:11:58 2016 From: rjearp99 at gmail.com (Earp Robert J.) Date: Fri, 21 Oct 2016 17:11:58 -0700 Subject: Can't see User Guide Message-ID: Same here? LC 8.1.1 OS X 10.12 Bob? On 19.10.2016 23:47, Graham Samuel wrote: > Just launched LC 8.1.1 on a Mac and found that if I choose ?User Guide? from the ?Help? menu I get a one-blank-page PDF. Can anyone else (not) see this? Has it been replaced by the Developer?s Guide (on the LC web site)? > > > Graham Bob Earp White Rock, British Columbia. From hh at hyperhh.de Fri Oct 21 20:35:31 2016 From: hh at hyperhh.de (hh) Date: Sat, 22 Oct 2016 02:35:31 +0200 Subject: Community widgets Message-ID: Made my first 'stable' versions of community widgets: #42: widget SVGText v1.0.0 #43: widget ClockAround v1.0.1 #44: widget BezierClock v1.0.1 #46: widget DigitClock v1.0.1 #47: widget hhPolygon v1.0.0 See 'Community widgets' (in the LC Builder-subforum): http://forums.livecode.com/viewtopic.php?f=93&t=28020 The widgets revealed a display bug on Linux(Mint), I couldn't find a way to work around it. Widget DigitClock works by that on Mint in its unrotated version only. Hope now, that others will contribute too. From rdimola at evergreeninfo.net Sat Oct 22 00:00:58 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 22 Oct 2016 00:00:58 -0400 Subject: error in revDatabaseQuery() causing recursion of parent? In-Reply-To: References: Message-ID: <012401d22c18$e5ddeed0$b199cc70$@net> I don't know if all the database stuff I do has any parallel here but when debug stepping after a breakpoint if I stop execution(click the square) the app take off at some point in the call stack and goes crazy.... sometimes. I can't get a handle on it to submit a bug report yet. By the way I haven't seen the "shadows another variable" bug since I went to LC 8. 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 Dr. Hawkins Sent: Friday, October 21, 2016 7:17 PM To: How to use LiveCode Subject: error in revDatabaseQuery() causing recursion of parent? I don't have enough to nail this down, and if I file a bug, it will just be closed. But have others seen something like this? I have something to the effect of revDatabaseQuery(,,a[b][c][d], theCommand) I eventually noted that "c" wasn't actually an index variable, but rather cNo or some such. upon hitting this line, which would (I presume) feed either empty or a null as the database number, a bomb to the last line occurs. Unacceptable, but I'm used to that one. Rather than stopping, or returning to the top level routine, however, the top level routine (either this one if I called it directly, or the routine that called it) begins execution again at its beginning. -- 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 brahma at hindu.org Sat Oct 22 00:53:42 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 22 Oct 2016 04:53:42 +0000 Subject: 9.0 DP1 Break Point Lock Up Message-ID: Hit this again, change script apply (green tab now in the SE) set break point go to button Entire IDE locks up? no way to "reapply" anything. switching back to 8 for now? this is a total show stopper Monte Gouldingwrote: Brahmanathaswami I did some work on the debugger and it sounds like I broke something there. I?ll look into it. I did notice something like that myself today and was planning to look into it anyway. I found that reapplying the script cleared it when it occured. >On 19 Oct 2016, at 5:41 PM, Sannyasin Brahmanathaswami wrote: >I'm stuck here in 9 dp1? after setting a break point? testing, then unsetting it? the IDE still thinks there is on applied on that line even though the red dot is gone. >Anyone else seeing this? >show stopper. >is there hackaround to *really* clear the break point in memory? >BR From prothero at earthednet.org Sat Oct 22 11:51:37 2016 From: prothero at earthednet.org (William Prothero) Date: Sat, 22 Oct 2016 08:51:37 -0700 Subject: Store to iCloud Drive on iOS? Message-ID: Folks: Is it possible to access iCloud Drive on iOS, without going to the internet? The data are stored locally on the mobile device, but I know the user must approve this access in the mobile settings. It doesn?t sound like something LiveCode supports? Am I right? Anybody know how this is done? I know the dropbox sample stack posted a while back got its data from the dropbox internet storage system, not the storage on the local device. Has anyone done this? Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From dochawk at gmail.com Sat Oct 22 12:04:31 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Oct 2016 09:04:31 -0700 Subject: error in revDatabaseQuery() causing recursion of parent? In-Reply-To: <012401d22c18$e5ddeed0$b199cc70$@net> References: <012401d22c18$e5ddeed0$b199cc70$@net> Message-ID: On Fri, Oct 21, 2016 at 9:00 PM, Ralph DiMola wrote: > I don't know if all the database stuff I do has any parallel here but when > debug stepping after a breakpoint if I stop execution(click the square) the > app take off at some point in the call stack and goes crazy.... sometimes. > I > can't get a handle on it to submit a bug report yet. > I have seen multiple and frustrating instances in 7 & 8 in which aborting in the debugger allows another script (the parent) to take off lie that and even changes the active tab. > > By the way I haven't seen the "shadows another variable" bug since I went > to > LC 8. > It stopped in 7 when I found a few instances of routines declaring locals with the same name as globals that for whatever reason, the compiler happily compiled for years. never once did it flag the correct, err, corectly flag the incorrect, declaration. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Oct 22 12:33:51 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Oct 2016 09:33:51 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> Message-ID: What I still don't see is the ability to handle eps & pdf, and including these in print. Without either these, or the ability to reversibly import pdf (i.e., turn it to live code objects in a way that it indistinguishably turns back to pdf on print to pdf), I need to start planning my transition to another platform. AFAIK, eps is the only type of object other than a livecode text field which could print to an arbitrary density without pixelation (and live code has made major strides on this the last few years). I've made great progress in being able to copy/paste pdf text into fields and capture most of the properties, but it's still labor intensive. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Oct 22 15:05:06 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Oct 2016 12:05:06 -0700 Subject: palette causing reload of a separate stack? Message-ID: I have a control stack mcp which operates the other stacks, etc. Upon using version 8, a line of "palette chStk", where chStk holds the long id of another stack, consistently causes a dialog box of "A stack "mcp" is already in memory. The LiveCode UI . . ., etc." I've tried single-stepping into that pallete line, but I land on the next line, without even hitting the openStack and resumeStack handlers of the library, or the openStack or resumeStack handlers of the opened card. This seems to be a bug, but there must be something more, or we would be flooded with reports. This happens under both 7 & 8, but suddenly cropped up in a section of code that hasn't been touched for months. What else should I be looking at that could be triggering this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Sat Oct 22 17:13:40 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 23 Oct 2016 08:13:40 +1100 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> Message-ID: <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> You could use XPDF to either: - extract PDF text and print from LC fields - extract page images and print those > On 23 Oct. 2016, at 3:33 am, Dr. Hawkins wrote: > > What I still don't see is the ability to handle eps & pdf, and including > these in print. > > Without either these, or the ability to reversibly import pdf (i.e., turn > it to live code objects in a way that it indistinguishably turns back to > pdf on print to pdf), I need to start planning my transition to another > platform. > > AFAIK, eps is the only type of object other than a livecode text field > which could print to an arbitrary density without pixelation (and live code > has made major strides on this the last few years). > > I've made great progress in being able to copy/paste pdf text into fields > and capture most of the properties, but it's still labor intensive. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Oct 22 17:31:49 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Oct 2016 14:31:49 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> Message-ID: On Sat, Oct 22, 2016 at 2:13 PM, Monte Goulding wrote: > You could use XPDF to either: > > - extract PDF text and print from LC fields > - extract page images and print those > I've been using xpdf and similar for decades for various purposes. But what I need to be able to do is take the "official" pdf, put it on the screen, place fields & buttons on it to fill it out, work magic with those, and then send *that* as an output--in a way that there is no detectable variance between the original pdf and what Iput out, other than the extra information. The closest way that I've conceived so far that livecode could possibly do something close is to turn individual pdf pages pages into png or jpg, stick that in the background, hide it for export, and then use a script to, page by page, merge my output with the original pdf, and then assemble those. There are lots of things thatch go wrong in those last two pages of manipulations, as well as getting the alignment right being a nightmare. (if pdfs were as standardized as we like to believe, the alignment would be trivial--but they're not). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Oct 22 19:55:15 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 22 Oct 2016 16:55:15 -0700 Subject: palette causing reload of a separate stack? In-Reply-To: References: Message-ID: On Sat, Oct 22, 2016 at 12:05 PM, Dr. Hawkins wrote: > Upon using version 8, a line of "palette chStk", where chStk holds the > long id of another stack, consistently causes a dialog box of "A stack > "mcp" is already in memory. The LiveCode UI . . ., etc." > Got this one solved. Somehow, a copy of mcp got attached as a sub stack of the chStk . . . so each time chStk got opened as a palette to choose a value, it's substack collided with the real mcp . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Sat Oct 22 20:34:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 23 Oct 2016 00:34:53 +0000 Subject: LC 8.1.1 (all all other versions) Doomed until Deleting livecode7.rev (preferences file) Message-ID: <4489B4A5-D646-4719-9637-CC133C6AAE1E@hindu.org> downloaded 8.1.1 praying that the bug of the disappearing properties inspector is fixed nothing worked? preopenstack failed in the msg box. break points did nothing. reverted to 8.1.1 RC2 same issues. on a hunch deleted /library/preferences/RunRev/livecode7.rev rebooted 8.1.1 everything works now? had to go back and reset all prefs From brahma at hindu.org Sat Oct 22 22:43:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 23 Oct 2016 02:43:57 +0000 Subject: Close stack will not fire "hide group" Message-ID: <9BEC8EE7-ED22-4727-97D4-B8EE11F4A627@hindu.org> I have this in a stack script on closeStack hide group "HomeScreensBottomNav" end closeStack I can test from msg box: group is hidden if I restart the stack, group is still hidden: ergo I have no hidden initialization methods that are turn on the vis for this group. in one button/svg widget in this group there is handler on mouseUp close this stack loadModule "home" end mouseup theoretically this should fire the close stack handler but it doesn't, when I reopen the stack the group is still visible. If I test with this: on closeStack hide group "HomeScreensBottomNav" put "hello" end closeStack If I add this, apply and save the stack, click the button on the bar the stack is close msg box appears "hello" but group is not hidden. Any clues? it is almost as if the hide command is being intercepted by something, prop of the objects is being intercepted, but I have no front scripts that do that. Svasti Astu, Be Well Brahmanathaswami www.himalayanacademy.com From bogdanoff at me.com Sun Oct 23 01:37:40 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 22 Oct 2016 22:37:40 -0700 Subject: Close stack will not fire "hide group" In-Reply-To: <9BEC8EE7-ED22-4727-97D4-B8EE11F4A627@hindu.org> References: <9BEC8EE7-ED22-4727-97D4-B8EE11F4A627@hindu.org> Message-ID: It could be that the stack is closed by the time that the closeStack message arrives. Maybe try: on closeStackRequest hide group ?HomeScreensBottomNav" pass closeStackRequest end closeStackRequest Peter On Oct 22, 2016, at 7:43 PM, Sannyasin Brahmanathaswami wrote: > I have this in a stack script > > on closeStack > hide group "HomeScreensBottomNav" > end closeStack > > I can test from msg box: group is hidden > > if I restart the stack, group is still hidden: ergo I have no hidden initialization methods that are turn on the vis for this group. > > in one button/svg widget in this group there is handler > > on mouseUp > close this stack > loadModule "home" > end mouseup > > theoretically this should fire the close stack handler > > but it doesn't, when I reopen the stack the group is still visible. > > If I test with this: > > on closeStack > hide group "HomeScreensBottomNav" > put "hello" > > end closeStack > > > If I add this, apply and save the stack, click the button on the bar the stack is close msg box appears "hello" > > but group is not hidden. > > Any clues? it is almost as if the hide command is being intercepted by something, prop of the objects is being intercepted, but I have no front scripts that do that. > > Svasti Astu, Be Well > Brahmanathaswami > 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 smudge.andy at googlemail.com Sun Oct 23 08:44:42 2016 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 23 Oct 2016 05:44:42 -0700 (PDT) Subject: Community widgets In-Reply-To: References: Message-ID: <1477226682749-4709669.post@n4.nabble.com> Thanks ..much appreciated. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Community-widgets-tp4709655p4709669.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Sun Oct 23 11:22:10 2016 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 23 Oct 2016 08:22:10 -0700 (PDT) Subject: FULL MailChimp & FREE PushNotifications from Digital Pomegranate In-Reply-To: References: Message-ID: <1477236130803-4709670.post@n4.nabble.com> Hi Todd, Re One line of code to revolutionize your DB Cloud On the non-open source side. We have just about completed a data sync tool that will sync your cloud based DB [SQLite, mySQL, msSQL, Oracle] with a local SQLite DB. Imagine, once you setup the tables on the server. It is just one line of code to keep all your clients data synced between thousands of devices. If you are interested, let me know....We are testing soon. This sounds really fantastic. I am (was?) about to start coding Sqlite to MySql routines for a Latin testing app I am working on at the moment, so I would love to help, get involved with this project. I also have a game which is nearing completion also for Android which would benefit from your project. My testing user base is under 10 for each project so load testing would be a problem from my end. Anyway would love to help any way I can..... ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/FULL-MailChimp-FREE-PushNotifications-from-Digital-Pomegranate-tp4709616p4709670.html Sent from the Revolution - User mailing list archive at Nabble.com. From waprothero at gmail.com Sun Oct 23 19:05:38 2016 From: waprothero at gmail.com (William Prothero) Date: Sun, 23 Oct 2016 16:05:38 -0700 Subject: FULL MailChimp & FREE PushNotifications from Digital Pomegranate In-Reply-To: References: Message-ID: <8905156F-997A-432F-8210-E01DA7DDCE30@gmail.com> Todd: This sound very attractive to me. I need to write to some of the API?s like iCloud and iCloud Drive. Best, Bill > On Oct 19, 2016, at 4:14 PM, Todd Fabacher wrote: > > Good News LiveCode Community... > > Open Source > We have wrapped the FULL MailChimp and Mandrill API library in LiveCode. It > is over 6,000 lines of code between the two, but we are happy to release > them to the community. We are looking for testers before we release them to > the public. So if you have a desire to help us test, please email me. > > We also need Push Notifications for a few of our new Apps. We were going to > create our own server, but we found One Signal [ www.onesignal.com ] - FREE > Push Notifications Server. > > Has anyone used One Signal before? We will start to wrap this API in the > coming weeks. If you have interest in Push Notification and want work with > us, please let me know. Karlan, one of the DP coders who has moved from C# > to LiveCode programing, is taking on the project! > > DOCS > https://documentation.onesignal.com/docs > > SERVER REST API > https://documentation.onesignal.com/reference#create-notification > > > WP REST API & App Analytics > We will be converting the code to the new background internet posting from > tsNet to speed up the usage of the libraries. So new version soon. > Remember, you can never get VC money without proper App Analytics. > > > > Non-Open Source Projects > > One line of code to revolutionize your DB Cloud > On the non-open source side. We have just about completed a data sync tool > that will sync your cloud based DB [SQLite, mySQL, msSQL, Oracle] with a > local SQLite DB. Imagine, once you setup the tables on the server. It is > just one line of code to keep all your clients data synced between > thousands of devices. If you are interested, let me know....We are testing > soon. > > Simple Report Maker > If you are also looking for a simple reporting solution with over 25 chart > types and full "reporting" output functionality, we will be testing by the > end of November. The cool option is we have a web service that will > convert the report to a PDF and send/email to whomever. All done with very > little coding. > > We are busy bees making honey!! > > Best, > > Todd & the DP 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 brahma at hindu.org Mon Oct 24 00:27:31 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 24 Oct 2016 04:27:31 +0000 Subject: Close stack will not fire "hide group" In-Reply-To: References: <9BEC8EE7-ED22-4727-97D4-B8EE11F4A627@hindu.org> Message-ID: It also would not fire from the on closecard which in theory should be intercepted before closestack. Before I saw your answer, I ended up just moving it to the preopencard for the first card of the stack. That works BR. On 10/22/16, 7:37 PM, "use-livecode on behalf of Peter Bogdanoff" wrote: It could be that the stack is closed by the time that the closeStack message arrives. Maybe try: on closeStackRequest hide group ?HomeScreensBottomNav" pass closeStackRequest end closeStackRequest Peter From revolution at jaedworks.com Mon Oct 24 01:37:52 2016 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 23 Oct 2016 22:37:52 -0700 Subject: OT - cross platform zero slashed font In-Reply-To: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> References: <73F64553-A930-4B82-AA3D-9344D3AC513E@gmail.com> Message-ID: At 4:52 PM +0100 10/18/2016, David V Glasgow wrote: >Is there really no cross platform zero slashed (like Monaco 0) font? >Is there one which is substituted by another zero slashed font on >different platforms? If you just need a font where the 0 character has a slash (or dot), we discussed a few last month. People seemed to like: Source Code Pro Hack: http://sourcefoundry.org/hack/ Input Mono: http://input.fontbureau.com/ They all have a slashed or dotted zero. From toolbook at kestner.de Mon Oct 24 05:26:53 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 24 Oct 2016 11:26:53 +0200 Subject: How experimental is OS X 64-Bit mode? Message-ID: <001401d22dd8$c3956760$4ac03620$@kestner.de> Hello, working with LC 8.1.1 I would like to prepare my programs for the next future as long as possible. I wouldn't like to produce a new 64 Bit standalone for all of my programs in a year, if in a year Apple makes 64 Bit mandatory. Since some versions I could create an OS X 64-Bit Mode standalone, but still in 8.1.1 it says it is experimental. What does it mean exactly? Is it experimental, because the last 1% of functions are not fully tested and I could use it safely, if I would have tested it with my current program, or are there any general pitfalls, for that I shouldn't use it? Any experiences? Any recommendations? Thanks Tiemo From toolbook at kestner.de Mon Oct 24 05:42:24 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 24 Oct 2016 11:42:24 +0200 Subject: What do I have to prepare if enabling Hi-DPI scaling for Win standalone? Message-ID: <001b01d22dda$ed93e9e0$c8bbbda0$@kestner.de> Hello, Up to now I haven't enabled the Hi-DPI scaling for Windows standalones and since I don't have a hi-dpi monitor I can't test the difference of my standalones. Do I have to prepare anything different, if I enable the hi-DPI scaling? Is it necessary to exchange all images by images with higher resolution? (180dpi instead of 96 dpi, though dpi actually is a thing for print work?) I assume if I would show my existing program (non-hi-dpi) on a high DPI monitor, all images will look blurred. But will they look sharper, if I keep all images and just enable hi-DPI scaling without any new images? And is it recommended to enable it by default? (If yes, why do we have this option at all and it is not fixed standard?) Any insights and experiences welcome Tiemo From benr_mc at cogapp.com Mon Oct 24 05:52:25 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 24 Oct 2016 10:52:25 +0100 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> Message-ID: Could you output the annotations as PDF, and shell out to the command-line version of PDFtk to overlay your annotation PDF on the original PDF? (Disclaimer: I've not done this myself...) On 22/10/2016 22:31, Dr. Hawkins wrote: > On Sat, Oct 22, 2016 at 2:13 PM, Monte Goulding wrote: > >> You could use XPDF to either: >> >> - extract PDF text and print from LC fields >> - extract page images and print those >> > > I've been using xpdf and similar for decades for various purposes. > > But what I need to be able to do is take the "official" pdf, put it on the > screen, place fields & buttons on it to fill it out, work magic with those, > and then send *that* as an output--in a way that there is no detectable > variance between the original pdf and what Iput out, other than the extra > information. > > The closest way that I've conceived so far that livecode could possibly do > something close is to turn individual pdf pages pages into png or jpg, > stick that in the background, hide it for export, and then use a script to, > page by page, merge my output with the original pdf, and then assemble > those. > > There are lots of things thatch go wrong in those last two pages of > manipulations, as well as getting the alignment right being a nightmare. > (if pdfs were as standardized as we like to believe, the alignment would > be trivial--but they're not). > > > > From livfoss at mac.com Mon Oct 24 06:18:10 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 24 Oct 2016 12:18:10 +0200 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: <001401d22dd8$c3956760$4ac03620$@kestner.de> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> Message-ID: <1959F5AC-E175-4004-BC65-EC7449BEE1A1@mac.com> Can?t answer, but I would also very much like to know. I have been making OSX standalones lately and have also seen ?experimental?, which of course has put me off. Graham > On 24 Oct 2016, at 11:26, Tiemo Hollmann TB wrote: > > Hello, > > working with LC 8.1.1 I would like to prepare my programs for the next > future as long as possible. I wouldn't like to produce a new 64 Bit > standalone for all of my programs in a year, if in a year Apple makes 64 Bit > mandatory. > > Since some versions I could create an OS X 64-Bit Mode standalone, but still > in 8.1.1 it says it is experimental. > > What does it mean exactly? Is it experimental, because the last 1% of > functions are not fully tested and I could use it safely, if I would have > tested it with my current program, or are there any general pitfalls, for > that I shouldn't use it? > > > > Any experiences? Any recommendations? > > > > 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 livfoss at mac.com Mon Oct 24 08:38:52 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 24 Oct 2016 14:38:52 +0200 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: <001401d22dd8$c3956760$4ac03620$@kestner.de> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> Message-ID: <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> While we?re at it (in case the mother ship is listening), HTML5 deployment is still said to be ?highly experimental?. That would prevent me (and I imagine others) from even trying to produce a browser-based app. Is this going to change, and sooner or later? > On 24 Oct 2016, at 11:26, Tiemo Hollmann TB wrote: > > Hello, > > working with LC 8.1.1 I would like to prepare my programs for the next > future as long as possible. I wouldn't like to produce a new 64 Bit > standalone for all of my programs in a year, if in a year Apple makes 64 Bit > mandatory. > > Since some versions I could create an OS X 64-Bit Mode standalone, but still > in 8.1.1 it says it is experimental. > > What does it mean exactly? Is it experimental, because the last 1% of > functions are not fully tested and I could use it safely, if I would have > tested it with my current program, or are there any general pitfalls, for > that I shouldn't use it? > > > > Any experiences? Any recommendations? > > > > 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 peter.brett at livecode.com Mon Oct 24 08:53:49 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 24 Oct 2016 13:53:49 +0100 Subject: [ANN] This Week in LiveCode 56 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #56 here: https://goo.gl/U7bRCg This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From bobsneidar at iotecdigital.com Mon Oct 24 10:59:55 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 14:59:55 +0000 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> Message-ID: <1FF33B60-F371-4B47-ACCE-ED365466725F@iotecdigital.com> So you want to create the PDF from scratch? How about if you were able to create the PDF as a fillable form, then save it in a database so you could recreate it at will? That is what my Forms Generator does. You can then fill it using either Applescript on a Mac, or else by creating the FDF xml file on either platform. If the latter, then the PDF has to be created to look for the FDF on startup. This method will work even if you are using Reader. Applescript on the Mac does have commands for creating objects, but I have never used it. I just fill the forms because using the FDF method means if anyone edits the PDF, saves it, then reopens it, the FDF data will overwrite the saved data, so you have to delete the FDF file after the form is filled, which can take a few seconds. With Applescript I don't have to worry about that. Acrobat for Windows has a C and Java API for doing something similar, but it's my understanding that it is designed to work in a web environment, not as a standalone executable. I looked into it and determined it wouldn't work for me. All the sandboxing in place these days prevents it. Bob S > On Oct 22, 2016, at 14:31 , Dr. Hawkins wrote: > > On Sat, Oct 22, 2016 at 2:13 PM, Monte Goulding wrote: > >> You could use XPDF to either: >> >> - extract PDF text and print from LC fields >> - extract page images and print those >> > > I've been using xpdf and similar for decades for various purposes. > > But what I need to be able to do is take the "official" pdf, put it on the > screen, place fields & buttons on it to fill it out, work magic with those, > and then send *that* as an output--in a way that there is no detectable > variance between the original pdf and what Iput out, other than the extra > information. > > The closest way that I've conceived so far that livecode could possibly do > something close is to turn individual pdf pages pages into png or jpg, > stick that in the background, hide it for export, and then use a script to, > page by page, merge my output with the original pdf, and then assemble > those. > > There are lots of things thatch go wrong in those last two pages of > manipulations, as well as getting the alignment right being a nightmare. > (if pdfs were as standardized as we like to believe, the alignment would > be trivial--but they're not). > > > > > -- > 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 brahma at hindu.org Mon Oct 24 11:05:01 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 24 Oct 2016 15:05:01 +0000 Subject: Eureka Moment: preopencontrol Message-ID: Just discovered "preopencontrol" wow! I wish I had discovered this years ago. dictionary needs help.. there are complete "outs" as we refer to them in our editing world: missing words/phrases can someone please fill in the missing parts? They are mission critical ---------- Sent to a group when you go to the card that contains it and to a [????????? ] when going from a card which it is not placed on to one where it is. ------ BR: OK , Obviously the missing word there is "group" but not so obvious here: -------- For groups with their [??????] set to true, the preOpenControl message is sent immediately after the [?????] is sent to the card being opened. For non-background groups, it is sent after the [??entire phrase missing here??]] ------- From sundown at pacifier.com Mon Oct 24 11:15:08 2016 From: sundown at pacifier.com (JB) Date: Mon, 24 Oct 2016 08:15:08 -0700 Subject: Why pointers are fast Message-ID: <03B3A32B-7145-484B-91DC-9458EF0AE868@pacifier.com> To understand why pointers are fast you need to know a pointer stores the address to a object like a variable in memory and you need to know what that address is doing. Here is another really good lesson on pointers. http://masters-of-the-void.com The tutorial is called Masters of the Void and instead of chapters it uses the word Book. Look at Book 6 ro learn about memory management and pointers. JB From bobsneidar at iotecdigital.com Mon Oct 24 11:16:21 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 15:16:21 +0000 Subject: Store to iCloud Drive on iOS? In-Reply-To: References: Message-ID: iOS has no file system that is accessible by the user. Installed apps are compiled to run "in place" and if they need memory for other things the memory is sandboxed from other apps. Your app can request permission to access another app's data, which that app has to be written to allow, and the user has to grant permission when challenged. You are right, that if Livecode has no functions for this, there is no way to do it, unless you can call an xcode api from your Livecode app. Bob S > On Oct 22, 2016, at 08:51 , William Prothero wrote: > > Folks: > Is it possible to access iCloud Drive on iOS, without going to the internet? The data are stored locally on the mobile device, but I know the user must approve this access in the mobile settings. It doesn?t sound like something LiveCode supports? Am I right? > > Anybody know how this is done? I know the dropbox sample stack posted a while back got its data from the dropbox internet storage system, not the storage on the local device. > > Has anyone done this? > > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 24 11:17:51 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 15:17:51 +0000 Subject: Store to iCloud? In-Reply-To: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> References: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> Message-ID: If you get info on the file or folder, then click the path in the dialog (it doesn't look like a path but click it anyway) then copy it, you can paste it into a text file and it will paste as the full path. Bob S > On Oct 21, 2016, at 13:15 , William Prothero wrote: > > Bob: > My bad. It works if I use: > "/Users/prothero/Library/Mobile Documents/com~apple~CloudDocs? for the path. > > It?s weird, because if you go to the folder, you don?t see the path using the finder. But, you can get the path if you duplicate the Mobil Documents folder, and all of the inside folders appear. > > Thanks again. > Bill > >> On Oct 21, 2016, at 12:25 PM, William Prothero wrote: >> >> Bob: >> On my Mac, OS 10.11.6, it looks like the file path is >> /Users//Library/Mobile Documents/ >> >> I don?t see the "com~apple!CloudDocs" folder. Am I missing something? >> Bill >> >> >> >>> On Oct 21, 2016, at 7:57 AM, Bob Sneidar wrote: >>> >>> On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: >>> >>> /Users//Library/Mobile Documents/com~apple~CloudDocs/ >>> >>> Not sure how to connect to an Icloud drive on Windows, but the process would be similar. >>> >>> Bob S >>> >>> >>> On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: >>> >>> Folks, >>> I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. >>> >>> I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. >>> >>> Best, >>> Bill >>> >>> William Prothero >>> http://es.earthednet.org >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Oct 24 11:19:42 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 15:19:42 +0000 Subject: Why pointers are fast In-Reply-To: <03B3A32B-7145-484B-91DC-9458EF0AE868@pacifier.com> References: <03B3A32B-7145-484B-91DC-9458EF0AE868@pacifier.com> Message-ID: Nice resource. I'm going to go through that just fir kicks and grins. Bob S > On Oct 24, 2016, at 08:15 , JB wrote: > > To understand why pointers are fast you need to know > a pointer stores the address to a object like a variable > in memory and you need to know what that address is > doing. > > Here is another really good lesson on pointers. > > http://masters-of-the-void.com > > The tutorial is called Masters of the Void and instead > of chapters it uses the word Book. Look at Book 6 > ro learn about memory management and pointers. > > JB > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From thatkeith at mac.com Mon Oct 24 11:22:27 2016 From: thatkeith at mac.com (Keith Martin) Date: Mon, 24 Oct 2016 16:22:27 +0100 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: On 24 Oct 2016, at 16:05, Sannyasin Brahmanathaswami wrote: > dictionary needs help.. there are complete "outs" as we refer to them > in our editing world: missing words/phrases > > can someone please fill in the missing parts? They are mission > critical The Dictionary really needs attention, both on the content and the UX front. It's a shame as it lets LiveCode down. :-/ k --- Keith Martin Senior Lecturer, LCC (University of the Arts London) Technical Editor, MacUser magazine (1997-2015) http://PanoramaPhotographer.com http://thatkeith.com +44 (0)7909541365 --- From prothero at earthednet.org Mon Oct 24 11:31:23 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 24 Oct 2016 08:31:23 -0700 Subject: Store to iCloud? In-Reply-To: References: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> Message-ID: <03226304-D157-426F-BD25-01F42CD83A5A@earthednet.org> Bob, Thanks for the info. Trying to implement this on my own is getting deeper into the bowels of Xcode than I want. I looked at the api for Dropbox and fiddled with it a bit, but communicating with these api's is not in my area of expertise. I'd love to see some sample code. I looked at the dropbox stack that was distributed a year or so ago and it didn't work. Perhaps the data sync tools that Todd is working on will get me started or, better yet, solve my problem. Best, Bill William Prothero http://es.earthednet.org > On Oct 24, 2016, at 8:17 AM, Bob Sneidar wrote: > > If you get info on the file or folder, then click the path in the dialog (it doesn't look like a path but click it anyway) then copy it, you can paste it into a text file and it will paste as the full path. > > Bob S > > >> On Oct 21, 2016, at 13:15 , William Prothero wrote: >> >> Bob: >> My bad. It works if I use: >> "/Users/prothero/Library/Mobile Documents/com~apple~CloudDocs? for the path. >> >> It?s weird, because if you go to the folder, you don?t see the path using the finder. But, you can get the path if you duplicate the Mobil Documents folder, and all of the inside folders appear. >> >> Thanks again. >> Bill >> >>> On Oct 21, 2016, at 12:25 PM, William Prothero wrote: >>> >>> Bob: >>> On my Mac, OS 10.11.6, it looks like the file path is >>> /Users//Library/Mobile Documents/ >>> >>> I don?t see the "com~apple!CloudDocs" folder. Am I missing something? >>> Bill >>> >>> >>> >>>> On Oct 21, 2016, at 7:57 AM, Bob Sneidar wrote: >>>> >>>> On a Mac it's fairly easy if you are alreacy connecting to iCloud Drive. Just write a file to: >>>> >>>> /Users//Library/Mobile Documents/com~apple~CloudDocs/ >>>> >>>> Not sure how to connect to an Icloud drive on Windows, but the process would be similar. >>>> >>>> Bob S >>>> >>>> >>>> On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: >>>> >>>> Folks, >>>> I'm wondering if anybody has stored data on Apple's iCloud or iCloud Drive. I have an app where I want the use entered data to be persistent between upgrades, and accessible between multiple devices, but don't want to support a database on my server. >>>> >>>> I am about to look deeper into this, but if anybody has done this, advice would be very much appreciated. >>>> >>>> Best, >>>> Bill >>>> >>>> William Prothero >>>> http://es.earthednet.org >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Oct 24 11:34:43 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Oct 2016 11:34:43 -0400 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: I was looking at the dictionary, about a month ago. The problem, now, is that it is being rendered using the 'bootstrap' javascript framework, so the only way to really work on it is to either learn the ins and outs of the framework or to start over. The good news is that LC updated to the latest version of the framework in 8.1.1, but if I had my way we'd scrap it and go 100% LC, just because more folks could work on it, then. It just looks like a lot of work. See bug 18278. On Mon, Oct 24, 2016 at 11:22 AM, Keith Martin wrote: > On 24 Oct 2016, at 16:05, Sannyasin Brahmanathaswami wrote: > > dictionary needs help.. there are complete "outs" as we refer to them in >> our editing world: missing words/phrases >> >> can someone please fill in the missing parts? They are mission critical >> > > The Dictionary really needs attention, both on the content and the UX > front. It's a shame as it lets LiveCode down. :-/ > > k > > > --- > > Keith Martin > Senior Lecturer, LCC (University of the Arts London) > Technical Editor, MacUser magazine (1997-2015) > http://PanoramaPhotographer.com > http://thatkeith.com > +44 (0)7909541365 > > > --- > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Oct 24 11:41:17 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Oct 2016 11:41:17 -0400 Subject: Store to iCloud? In-Reply-To: <03226304-D157-426F-BD25-01F42CD83A5A@earthednet.org> References: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> <03226304-D157-426F-BD25-01F42CD83A5A@earthednet.org> Message-ID: Are you referring to the phoenix lib? The documentation is pretty much in order. There is also the mergDropbox plugin that LC distributes, and there's a Dropbox 2.0 API that is also out there. We do all of our data transfer between devices and desktops with dropbox, right now. That's across a bunch of apps and a pile of devices. On Mon, Oct 24, 2016 at 11:31 AM, Earthednet-wp wrote: > Bob, > Thanks for the info. Trying to implement this on my own is getting deeper > into the bowels of Xcode than I want. > > I looked at the api for Dropbox and fiddled with it a bit, but > communicating with these api's is not in my area of expertise. I'd love to > see some sample code. I looked at the dropbox stack that was distributed a > year or so ago and it didn't work. > > Perhaps the data sync tools that Todd is working on will get me started > or, better yet, solve my problem. > > Best, > Bill > > William Prothero > http://es.earthednet.org > > > On Oct 24, 2016, at 8:17 AM, Bob Sneidar > wrote: > > > > If you get info on the file or folder, then click the path in the dialog > (it doesn't look like a path but click it anyway) then copy it, you can > paste it into a text file and it will paste as the full path. > > > > Bob S > > > > > >> On Oct 21, 2016, at 13:15 , William Prothero > wrote: > >> > >> Bob: > >> My bad. It works if I use: > >> "/Users/prothero/Library/Mobile Documents/com~apple~CloudDocs? for the > path. > >> > >> It?s weird, because if you go to the folder, you don?t see the path > using the finder. But, you can get the path if you duplicate the Mobil > Documents folder, and all of the inside folders appear. > >> > >> Thanks again. > >> Bill > >> > >>> On Oct 21, 2016, at 12:25 PM, William Prothero < > prothero at earthednet.org> wrote: > >>> > >>> Bob: > >>> On my Mac, OS 10.11.6, it looks like the file path is > >>> /Users//Library/Mobile Documents/ path here> > >>> > >>> I don?t see the "com~apple!CloudDocs" folder. Am I missing something? > >>> Bill > >>> > >>> > >>> > >>>> On Oct 21, 2016, at 7:57 AM, Bob Sneidar > wrote: > >>>> > >>>> On a Mac it's fairly easy if you are alreacy connecting to iCloud > Drive. Just write a file to: > >>>> > >>>> /Users//Library/Mobile > Documents/com~apple~CloudDocs/ > >>>> > >>>> Not sure how to connect to an Icloud drive on Windows, but the > process would be similar. > >>>> > >>>> Bob S > >>>> > >>>> > >>>> On Oct 21, 2016, at 07:50 , Earthednet-wp > wrote: > >>>> > >>>> Folks, > >>>> I'm wondering if anybody has stored data on Apple's iCloud or iCloud > Drive. I have an app where I want the use entered data to be persistent > between upgrades, and accessible between multiple devices, but don't want > to support a database on my server. > >>>> > >>>> I am about to look deeper into this, but if anybody has done this, > advice would be very much appreciated. > >>>> > >>>> Best, > >>>> Bill > >>>> > >>>> William Prothero > >>>> http://es.earthednet.org > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Oct 24 11:46:15 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Oct 2016 11:46:15 -0400 Subject: Store to iCloud Drive on iOS? In-Reply-To: References: Message-ID: Bill, just continuing that discussion on dropbox, what you would do is retrieve the file from dropbox, and then store it with your app (it's just a file). The one thing I haven't tried to do is to use persistent custom properties inside of my apps. I'm more worried about the user deleting the app and wiping the data with it, so even though I keep everything locally, I still want it in the cloud, too. On Mon, Oct 24, 2016 at 11:16 AM, Bob Sneidar wrote: > iOS has no file system that is accessible by the user. Installed apps are > compiled to run "in place" and if they need memory for other things the > memory is sandboxed from other apps. Your app can request permission to > access another app's data, which that app has to be written to allow, and > the user has to grant permission when challenged. > > You are right, that if Livecode has no functions for this, there is no way > to do it, unless you can call an xcode api from your Livecode app. > > Bob S > > > > On Oct 22, 2016, at 08:51 , William Prothero > wrote: > > > > Folks: > > Is it possible to access iCloud Drive on iOS, without going to the > internet? The data are stored locally on the mobile device, but I know the > user must approve this access in the mobile settings. It doesn?t sound like > something LiveCode supports? Am I right? > > > > Anybody know how this is done? I know the dropbox sample stack posted a > while back got its data from the dropbox internet storage system, not the > storage on the local device. > > > > Has anyone done this? > > > > Bill > > > > William Prothero, Ph.D. > > University of California, Santa Barbara, Emeritus > > prothero at earthednet.org > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From prothero at earthednet.org Mon Oct 24 11:48:38 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 24 Oct 2016 08:48:38 -0700 Subject: Store to iCloud? In-Reply-To: References: <85F94682-56ED-4718-A724-2D22C2411048@earthednet.org> <03226304-D157-426F-BD25-01F42CD83A5A@earthednet.org> Message-ID: <1BEBFDA9-937F-409B-9D40-018C3D764C57@earthednet.org> Mike, Thanks! I'll look into it. Best, Bill William Prothero http://es.earthednet.org > On Oct 24, 2016, at 8:41 AM, Mike Kerner wrote: > > Are you referring to the phoenix lib? The documentation is pretty much in > order. There is also the mergDropbox plugin that LC distributes, and > there's a Dropbox 2.0 API that is also out there. We do all of our data > transfer between devices and desktops with dropbox, right now. That's > across a bunch of apps and a pile of devices. > > > On Mon, Oct 24, 2016 at 11:31 AM, Earthednet-wp > wrote: > >> Bob, >> Thanks for the info. Trying to implement this on my own is getting deeper >> into the bowels of Xcode than I want. >> >> I looked at the api for Dropbox and fiddled with it a bit, but >> communicating with these api's is not in my area of expertise. I'd love to >> see some sample code. I looked at the dropbox stack that was distributed a >> year or so ago and it didn't work. >> >> Perhaps the data sync tools that Todd is working on will get me started >> or, better yet, solve my problem. >> >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Oct 24, 2016, at 8:17 AM, Bob Sneidar >> wrote: >>> >>> If you get info on the file or folder, then click the path in the dialog >> (it doesn't look like a path but click it anyway) then copy it, you can >> paste it into a text file and it will paste as the full path. >>> >>> Bob S >>> >>> >>>> On Oct 21, 2016, at 13:15 , William Prothero >> wrote: >>>> >>>> Bob: >>>> My bad. It works if I use: >>>> "/Users/prothero/Library/Mobile Documents/com~apple~CloudDocs? for the >> path. >>>> >>>> It?s weird, because if you go to the folder, you don?t see the path >> using the finder. But, you can get the path if you duplicate the Mobil >> Documents folder, and all of the inside folders appear. >>>> >>>> Thanks again. >>>> Bill >>>> >>>>> On Oct 21, 2016, at 12:25 PM, William Prothero < >> prothero at earthednet.org> wrote: >>>>> >>>>> Bob: >>>>> On my Mac, OS 10.11.6, it looks like the file path is >>>>> /Users//Library/Mobile Documents/> path here> >>>>> >>>>> I don?t see the "com~apple!CloudDocs" folder. Am I missing something? >>>>> Bill >>>>> >>>>> >>>>> >>>>>> On Oct 21, 2016, at 7:57 AM, Bob Sneidar >> wrote: >>>>>> >>>>>> On a Mac it's fairly easy if you are alreacy connecting to iCloud >> Drive. Just write a file to: >>>>>> >>>>>> /Users//Library/Mobile >> Documents/com~apple~CloudDocs/ >>>>>> >>>>>> Not sure how to connect to an Icloud drive on Windows, but the >> process would be similar. >>>>>> >>>>>> Bob S >>>>>> >>>>>> >>>>>> On Oct 21, 2016, at 07:50 , Earthednet-wp > > wrote: >>>>>> >>>>>> Folks, >>>>>> I'm wondering if anybody has stored data on Apple's iCloud or iCloud >> Drive. I have an app where I want the use entered data to be persistent >> between upgrades, and accessible between multiple devices, but don't want >> to support a database on my server. >>>>>> >>>>>> I am about to look deeper into this, but if anybody has done this, >> advice would be very much appreciated. >>>>>> >>>>>> Best, >>>>>> Bill >>>>>> >>>>>> William Prothero >>>>>> http://es.earthednet.org >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > 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 dochawk at gmail.com Mon Oct 24 11:55:41 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Oct 2016 08:55:41 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> Message-ID: On Mon, Oct 24, 2016 at 2:52 AM, Ben Rubinstein wrote: > Could you output the annotations as PDF, and shell out to the command-line > version of PDFtk to overlay your annotation PDF on the original PDF? > That's tentatively the only way I see to do this going forward. Actually, it will need another level of abstraction, to not be locked into a single pfd program such as pdftk, pdftools, etc. I have yet to see a pdf program that doesn't have problems with some pdf document or another; its like they pride themselves on cross-program incompatibility. There is also the issue of licensing on these programs, license changes, the program working differently on different platforms, etc. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Mon Oct 24 12:06:02 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 16:06:02 +0000 Subject: Store to iCloud Drive on iOS? In-Reply-To: References: Message-ID: <24EF69AF-0DA9-4B81-964F-04EFC54BD436@iotecdigital.com> In Forms Generator, I have the users log in, and the first time they do they are prompted for certain critical settings, without which the app won't function. I save those settings in the login table of the database. For your purposes, you could simply create a sqlite table for that purpose. If the user deletes the database then you have grounds to stand on that the user caused his own troubles and needs to restore the backup he is sure not to have made before deleting his own settings. Bob S On Oct 24, 2016, at 08:46 , Mike Kerner > wrote: Bill, just continuing that discussion on dropbox, what you would do is retrieve the file from dropbox, and then store it with your app (it's just a file). The one thing I haven't tried to do is to use persistent custom properties inside of my apps. I'm more worried about the user deleting the app and wiping the data with it, so even though I keep everything locally, I still want it in the cloud, too. From dochawk at gmail.com Mon Oct 24 12:11:29 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Oct 2016 09:11:29 -0700 Subject: [ANN] Release 9.0 DP 1 In-Reply-To: <1FF33B60-F371-4B47-ACCE-ED365466725F@iotecdigital.com> References: <730dd5c2-ec54-2820-2e66-72d5db622615@livecode.com> <0AA7574F-FFC7-4FD2-BF34-9ECF88D8E1A3@appisle.net> <1FF33B60-F371-4B47-ACCE-ED365466725F@iotecdigital.com> Message-ID: On Mon, Oct 24, 2016 at 7:59 AM, Bob Sneidar wrote: > So you want to create the PDF from scratch? How about if you were able to > create the PDF as a fillable form, then save it in a database so you could > recreate it at will? > The last thing I want is a fillable form :) I'm looking to take a (typically) government pdf, do all the processing to figure out the correct info for it, and spit that out as a pdf. > That is what my Forms Generator does. You can then fill it using either > Applescript on a Mac, or else by creating the FDF xml file on either > platform. If the latter, then the PDF has to be created to look for the FDF > on startup. This method will work even if you are using Reader. > Anything dependent on a particular platform is a deal-breaker. (But I won't fight windows on a daily basis for development. Nonetheless, my Windows market is a couple to many times the size of my mac market . . .) Using external scripting to fill it is another non-starter. Simple version that I want: 1. in advance, convert .pdf pages into .eps 2. copy background image into work area 3. put fields on top of this and fill from software 4. save page as pdf I can do this in livecode (or supercard, or hypercard) with .png and jpg. On metacard on some unices, I could do it with a .eps, as I understand it, and I'd be done. But the simplest version with livecode that I'm seeing so far is 1. pre-process pages of source .pdf into something that hopefully pdftk, pdftools, and a couple of others all understand 2. also make a .png to use in development 3. for each and every .png, figure out how much the offset misses by in livecode 4. display the png in the background while working in livecode 5. copy what I'm working with, delete .png, and export 6. hand over control to script 7. script steps through, page by page overlaying a page of my fields onto pages of pre-processed host .pdf 8. return control 9. hope scripts did it correctly. Acrobat for Windows has a C and Java API for doing something similar, but > it's my understanding that it is designed to work in a web environment, not > as a standalone executable. I looked into it and determined it wouldn't > work for me. All the sandboxing in place these days prevents it. > And all of these are far more work than having an environment that can display a .eps as an object . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ali.lloyd at livecode.com Mon Oct 24 12:30:34 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 24 Oct 2016 16:30:34 +0000 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: Reading the source document will tell you what's missing: https://github.com/livecode/livecode/blob/develop/docs/dictionary/message/preOpenControl.lcdoc There are quite a few bad references of the form that should be . I will try and write a little script at some point to clean all of those up. On Mon, Oct 24, 2016 at 4:34 PM Mike Kerner wrote: > I was looking at the dictionary, about a month ago. The problem, now, is > that it is being rendered using the 'bootstrap' javascript framework, so > the only way to really work on it is to either learn the ins and outs of > the framework or to start over. The good news is that LC updated to the > latest version of the framework in 8.1.1, but if I had my way we'd scrap it > and go 100% LC, just because more folks could work on it, then. It just > looks like a lot of work. See bug 18278. > > On Mon, Oct 24, 2016 at 11:22 AM, Keith Martin wrote: > > > On 24 Oct 2016, at 16:05, Sannyasin Brahmanathaswami wrote: > > > > dictionary needs help.. there are complete "outs" as we refer to them in > >> our editing world: missing words/phrases > >> > >> can someone please fill in the missing parts? They are mission critical > >> > > > > The Dictionary really needs attention, both on the content and the UX > > front. It's a shame as it lets LiveCode down. :-/ > > > > k > > > > > > --- > > > > Keith Martin > > Senior Lecturer, LCC (University of the Arts London) > > Technical Editor, MacUser magazine (1997-2015) > > http://PanoramaPhotographer.com > > http://thatkeith.com > > +44 (0)7909541365 <07909%20541365> > > > > > > --- > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Oct 24 12:41:25 2016 From: pete at lcsql.com (Peter Haworth) Date: Mon, 24 Oct 2016 16:41:25 +0000 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: Not surer whether it applies to preopencontrol but I came across a message path anomaly with open control a while back. See QCC report 14091 (still open) On Mon, Oct 24, 2016 at 8:05 AM Sannyasin Brahmanathaswami wrote: > Just discovered "preopencontrol" > > wow! I wish I had discovered this years ago. > > dictionary needs help.. there are complete "outs" as we refer to them in > our editing world: missing words/phrases > > can someone please fill in the missing parts? They are mission critical > > ---------- > Sent to a group when you go to the > card that contains it and to a [????????? ] when going > from a card which it is not placed on to one where it is. > ------ > BR: OK , Obviously the missing word there is "group" > > but not so obvious here: > > -------- > For groups with their [??????] set to true, the preOpenControl message is > sent immediately after the [?????] > is sent to the card being opened. For non-background > groups, it is sent after the [??entire phrase missing here??]] > ------- > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 24 13:20:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Oct 2016 12:20:24 -0500 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: <157f7b51bc0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> For now I just open the LC 7 dictionary when these errors occur. If I had more time I'd help Devin fix them but I'm snowed under. The documentation is one of the easiest entries into the community OSS effort. On October 24, 2016 10:06:06 AM Sannyasin Brahmanathaswami wrote: > dictionary needs help.. there are complete "outs" as we refer to them in > our editing world: missing words/phrases > > can someone please fill in the missing parts? Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Oct 24 13:22:45 2016 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 24 Oct 2016 13:22:45 -0400 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> Message-ID: <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> Hi Graham, HTML5 still doesn?t talk to the outside world. You can?t have it access any databases etc. It is so experimental that I find it to be useless. I?m still waiting for a finished professional HTML5 product to be delivered to us. Until that time arrives I can?t recommend it to anyone. I haven?t tried the 64 bit OS X version yet. I?d been waiting for LiveCode to settle down as a stable platform with the advent of macOS Sierra to work with the latest version of Xcode. Thanks for asking! Rick > On Oct 24, 2016, at 8:38 AM, Graham Samuel wrote: > > While we?re at it (in case the mother ship is listening), HTML5 deployment is still said to be ?highly experimental?. That would prevent me (and I imagine others) from even trying to produce a browser-based app. Is this going to change, and sooner or later? From livfoss at mac.com Mon Oct 24 13:30:32 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 24 Oct 2016 19:30:32 +0200 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> Message-ID: Thanks, that?s pretty clear. I have a couple of ideas for web apps, but I will just leave them on the shelf. As to 64-bit, I imagine the word will arrive from the mother ship fairly soon? Cheers Graham > On 24 Oct 2016, at 19:22, Rick Harrison wrote: > > Hi Graham, > > HTML5 still doesn?t talk to the outside world. You can?t have it > access any databases etc. It is so experimental that I find it > to be useless. I?m still waiting for a finished professional > HTML5 product to be delivered to us. Until that time arrives > I can?t recommend it to anyone. > > I haven?t tried the 64 bit OS X version yet. I?d been waiting > for LiveCode to settle down as a stable platform with the > advent of macOS Sierra to work with the latest version > of Xcode. > > Thanks for asking! > > Rick > >> On Oct 24, 2016, at 8:38 AM, Graham Samuel wrote: >> >> While we?re at it (in case the mother ship is listening), HTML5 deployment is still said to be ?highly experimental?. That would prevent me (and I imagine others) from even trying to produce a browser-based app. Is this going to change, and sooner or later? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Mon Oct 24 15:07:18 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 24 Oct 2016 12:07:18 -0700 (PDT) Subject: [ANN] calendar widget updated Message-ID: <1477336038361-4709700.post@n4.nabble.com> Update of the calendar widget Added the option to use Custom day/month names beside English or System names. Resolved a name conflict by renaming properties of the widget calDayNames calMonthNames Also changed a property to NamesToUse to indicate [ English | System | Custom ] names to use. During the conference a calendar widget was used in the widget course. The original author is Elanor Buchanan. I think it is a wonderful example of what widgets can do. Elanor did a very good job. I extended the calendar to add some useful features. You can choose via the properties inspector the sytem abbreviated names for month names and day names. Thus using the localized names. Or use Custom to use your own day/month names Default English abbreviated names The option to start the week on Mondays which is the case in many countries. Default Sunday Clicking on Month/Year in the title bar brings up the current date The option that the font size adapts to the size of the widget (default) The calendar widget needs a library also written by Elanor Buchanan "datesupport" to install the widget download and unzip http://www.berndniggemann.on-rev.com/calendar/calendar.zip inside the folder there are two folders: community.livecode.elanor.datesupport.1.0.0 community.livecode.elanorb.calendarBN.1.0.0 copy both files to your "extensions" folder in your "My LiveCode" folder. In case you both files are already in the extensions folder overwrite or delete community.livecode.elanorb.calendarBN.1.0.0, replacing the old version with the new one. additionally there is a stack: testCalendarCustom.livecode use it to see some of the syntax and how to set the custom daynames and monthnames. Restart Livecode and you should see in your toolbar a widget "calendarBN" with a calendar icon. You can change a number of properties, please see the dictionary entry API: Choose API: CalendarBN, dictionary entries have been updated. Calendar sends a dateChanged message when the user clicks on a date. You add this script to the widget to react to the message. on dateChanged pDate put pDate into field "myDate" end dateChanged Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700.html Sent from the Revolution - User mailing list archive at Nabble.com. From brahma at hindu.org Mon Oct 24 15:16:34 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 24 Oct 2016 19:16:34 +0000 Subject: Eureka Moment: preopencontrol In-Reply-To: References: Message-ID: <992B919D-FB12-4862-B84E-83109539A1EE@hindu.org> You mean it is rendered inside the LC IDE using bootstrap too? On 10/24/16, 5:34 AM, "use-livecode on behalf of Mike Kerner" wrote: The problem, now, is that it is being rendered using the 'bootstrap' javascript framework, so the only way to really work on it is to either learn the ins and outs of the framework or to start over. From peter.brett at livecode.com Mon Oct 24 15:20:57 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 24 Oct 2016 20:20:57 +0100 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: References: <001401d22dd8$c3956760$4ac03620$@kestner.de> <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> Message-ID: <84551a8e-a9bd-f4cc-c949-e7bf5e9d6494@livecode.com> On 24/10/2016 18:30, Graham Samuel wrote: > Thanks, that?s pretty clear. I have a couple of ideas for web apps, > but I will just leave them on the shelf. As to 64-bit, I imagine the > word will arrive from the mother ship fairly soon? > I believe that within the language development team we very rarely use anything _other_ than 64-bit LiveCode on MacOS, so I'll probably go ahead and remove any suggestion that it's experimental in time for the next build. Note that revvideograbber (and anything else that uses QuickTime) won't -- can't, in fact -- work with the 64-bit MacOS engines. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode From bernd.niggemann at uni-wh.de Mon Oct 24 15:21:04 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 24 Oct 2016 12:21:04 -0700 (PDT) Subject: [ANN] calendar widget updated In-Reply-To: <1477336038361-4709700.post@n4.nabble.com> References: <1477336038361-4709700.post@n4.nabble.com> Message-ID: <1477336864580-4709703.post@n4.nabble.com> forgot to mention: compiled using 8.1.1, works in LC 9.0.0 DP1. http://www.berndniggemann.on-rev.com/calendar/calendar.zip Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709703.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Mon Oct 24 15:29:26 2016 From: cszasz at mac.com (Charles Szasz) Date: Mon, 24 Oct 2016 13:29:26 -0600 Subject: Special Paste Message-ID: I having been trying to implement Paste and Match Style found on Pages app and also on Word, which is called Paste Special, where the text contents of the clipboard are pasted into a document that matches the existing font and font style in the document. I searched the Rev and LC archives and could not find any examples. Does anyone have a script for this? Charles Szasz cszasz at mac.com From roger.e.eller at sealedair.com Mon Oct 24 15:32:33 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Oct 2016 15:32:33 -0400 Subject: [ANN] calendar widget updated In-Reply-To: <1477336864580-4709703.post@n4.nabble.com> References: <1477336038361-4709700.post@n4.nabble.com> <1477336864580-4709703.post@n4.nabble.com> Message-ID: Elanor's .lce file will select in Extensions Manager, but not your .lci file. ~Roger On Mon, Oct 24, 2016 at 3:21 PM, BNig wrote: > forgot to mention: > > compiled using 8.1.1, works in LC 9.0.0 DP1. > > http://www.berndniggemann.on-rev.com/calendar/calendar.zip > > Kind regards > Bernd > From roger.e.eller at sealedair.com Mon Oct 24 15:32:33 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Oct 2016 15:32:33 -0400 Subject: [ANN] calendar widget updated In-Reply-To: <1477336864580-4709703.post@n4.nabble.com> References: <1477336038361-4709700.post@n4.nabble.com> <1477336864580-4709703.post@n4.nabble.com> Message-ID: Elanor's .lce file will select in Extensions Manager, but not your .lci file. ~Roger On Mon, Oct 24, 2016 at 3:21 PM, BNig wrote: > forgot to mention: > > compiled using 8.1.1, works in LC 9.0.0 DP1. > > http://www.berndniggemann.on-rev.com/calendar/calendar.zip > > Kind regards > Bernd > From bernd.niggemann at uni-wh.de Mon Oct 24 15:35:39 2016 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 24 Oct 2016 12:35:39 -0700 (PDT) Subject: [ANN] calendar widget updated In-Reply-To: References: <1477336038361-4709700.post@n4.nabble.com> <1477336864580-4709703.post@n4.nabble.com> Message-ID: <1477337739645-4709706.post@n4.nabble.com> Hi Roger, please remove prior versions from the "extensions" folder in "My Livecode" folder. Then move the unzipped folders to the "extensions" folder in "My Livecode" folder manually. These are the actual folders should work when moved manually. In case everything fails you could use the "Extension Builder" from the "Tools" menu and select the .lcb files in those folders and choose install. It will ask for an icon and you can direct it to calendarSmall.png and calendarLarge.png in community.livecode.elanorb.calendarBN.1.0.0 community.livecode.elanor.datesupport.1.0.0 does not need icons, just cancel the request. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-calendar-widget-updated-tp4709700p4709706.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Mon Oct 24 15:47:08 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 24 Oct 2016 15:47:08 -0400 Subject: [ANN] calendar widget updated In-Reply-To: <1477337739645-4709706.post@n4.nabble.com> References: <1477336038361-4709700.post@n4.nabble.com> <1477336864580-4709703.post@n4.nabble.com> <1477337739645-4709706.post@n4.nabble.com> Message-ID: Ok. Thanks for that clarification. ~Roger On Mon, Oct 24, 2016 at 3:35 PM, BNig wrote: > Hi Roger, > > please remove prior versions from the "extensions" folder in "My Livecode" > folder. > > Then move the unzipped folders to the "extensions" folder in "My Livecode" > folder manually. > > These are the actual folders should work when moved manually. > > In case everything fails you could use the "Extension Builder" from the > "Tools" menu and select the .lcb files in those folders and choose install. > It will ask for an icon and you can direct it to calendarSmall.png and > calendarLarge.png in community.livecode.elanorb.calendarBN.1.0.0 > > community.livecode.elanor.datesupport.1.0.0 does not need icons, just > cancel > the request. > > Kind regards > Bernd > > > From ali.lloyd at livecode.com Mon Oct 24 16:26:34 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 24 Oct 2016 20:26:34 +0000 Subject: Eureka Moment: preopencontrol In-Reply-To: <992B919D-FB12-4862-B84E-83109539A1EE@hindu.org> References: <992B919D-FB12-4862-B84E-83109539A1EE@hindu.org> Message-ID: Yes, in a browser widget. Here's a fix for a bunch of references that were somehow mangled like that one: https://github.com/livecode/livecode/pull/4800/files On Mon, Oct 24, 2016 at 8:16 PM Sannyasin Brahmanathaswami wrote: > You mean it is rendered inside the LC IDE using bootstrap too? > > > > On 10/24/16, 5:34 AM, "use-livecode on behalf of Mike Kerner" < > use-livecode-bounces at lists.runrev.com on behalf of > MikeKerner at roadrunner.com> wrote: > > The problem, now, is > that it is being rendered using the 'bootstrap' javascript framework, > so > the only way to really work on it is to either learn the ins and outs > of > the framework or to start over. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Mon Oct 24 17:12:08 2016 From: livfoss at mac.com (Graham Samuel) Date: Mon, 24 Oct 2016 23:12:08 +0200 Subject: How experimental is OS X 64-Bit mode? In-Reply-To: <84551a8e-a9bd-f4cc-c949-e7bf5e9d6494@livecode.com> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> <84551a8e-a9bd-f4cc-c949-e7bf5e9d6494@livecode.com> Message-ID: Thanks - I?ll recompile the Mac version of the thing I?m working on and check it out. Cheers Graham > On 24 Oct 2016, at 21:20, Peter TB Brett wrote: > > > > On 24/10/2016 18:30, Graham Samuel wrote: >> Thanks, that?s pretty clear. I have a couple of ideas for web apps, >> but I will just leave them on the shelf. As to 64-bit, I imagine the >> word will arrive from the mother ship fairly soon? >> > > I believe that within the language development team we very rarely use anything _other_ than 64-bit LiveCode on MacOS, so I'll probably go ahead and remove any suggestion that it's experimental in time for the next build. > > Note that revvideograbber (and anything else that uses QuickTime) won't -- can't, in fact -- work with the 64-bit MacOS engines. > > Peter > > -- > Dr Peter Brett > LiveCode Technical Project Manager > > lcb-mode for Emacs: https://github.com/peter-b/lcb-mode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From michaell at unimelb.edu.au Mon Oct 24 18:27:36 2016 From: michaell at unimelb.edu.au (Michael Julian Lew) Date: Mon, 24 Oct 2016 22:27:36 +0000 Subject: Clipboard problem Message-ID: <7AF7F827-A7FC-4143-AAD1-DFBCC8FA434B@unimelb.edu.au> I?ve just installed LiveCode 8.1.1 and I?ve come across an anomaly with the clipboard in Mac OS X 10.9.5. When I populate the clipboard with a return-delimited list using this line the results paste correctly into Nisus Writer Pro but paste into Excel with an extra blank line between lines, and when I try to paste into Pro-Fit I get an error ?System error -8754?. If I re-copy the results from Nisus then I can paste elsewhere without any problem. Michael From bobsneidar at iotecdigital.com Mon Oct 24 19:01:42 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Oct 2016 23:01:42 +0000 Subject: Special Paste In-Reply-To: References: Message-ID: <20F3C4A7-FA04-46A2-B180-938BBD563AE4@iotecdigital.com> I believe there is the clipboardData ["html"] and clipboardData ["rtf"]. Bob S > On Oct 24, 2016, at 12:29 , Charles Szasz wrote: > > I having been trying to implement Paste and Match Style found on Pages app and also on Word, which is called Paste Special, where the text contents of the clipboard are pasted into a document that matches the existing font and font style in the document. > > I searched the Rev and LC archives and could not find any examples. Does anyone have a script for this? > > > > 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 dochawk at gmail.com Mon Oct 24 19:25:40 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Oct 2016 16:25:40 -0700 Subject: conversion of field margins from older version to 8 Message-ID: Among the quiet changes in 8 was a significant change in how field margins are rendered, making many of my cards difficult to read. Is there a simple script that can concert from old to new? I suppose that this came about because the default margins and placement were utterly inconsistent across filed sizes, but now I have thousands of fields to deal with . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From iowahengst at mac.com Mon Oct 24 20:46:32 2016 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 24 Oct 2016 19:46:32 -0500 Subject: conversion of field margins from older version to 8 In-Reply-To: References: Message-ID: <9B956946-09A3-4248-A233-C2561669AC7F@mac.com> What about something like this: repeat with z = 1 to the number of fields of this stack set the margins of field z to "8" end repeat be well, randy Randy Hengst www.classroomFocusedSoftware.com > On Oct 24, 2016, at 6:25 PM, Dr. Hawkins wrote: > > Among the quiet changes in 8 was a significant change in how field margins > are rendered, making many of my cards difficult to read. > > Is there a simple script that can concert from old to new? > > I suppose that this came about because the default margins and placement > were utterly inconsistent across filed sizes, but now I have thousands of > fields to deal with . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Oct 24 20:48:57 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Oct 2016 17:48:57 -0700 Subject: conversion of field margins from older version to 8 In-Reply-To: <9B956946-09A3-4248-A233-C2561669AC7F@mac.com> References: <9B956946-09A3-4248-A233-C2561669AC7F@mac.com> Message-ID: On Mon, Oct 24, 2016 at 5:46 PM, Randy Hengst wrote: > What about something like this: > > repeat with z = 1 to the number of fields of this stack > set the margins of field z to "8" > end repeat > Something like that. The problem is that my margins in the label fields have been customized to fit, including for the quirks with file size (as in, increase file size a point, and the upper margin drops, rather than increases, in some case). So I'm hoping that someone else has actually cycled through the quirks, or that the mothership has a cross-reference list of the old and new default margins for various font sizes in fields. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Oct 24 20:57:21 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 24 Oct 2016 17:57:21 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? Message-ID: I still don't have my finger completely on this one, but watching the sluggish shifting back and forth between tabs on the script editor, I think I'm starting to grasp it. I (like I assume many others) have a number of places with blocks like send doIt to stack worker in 0 wait 0 with messages doSomethingElse I'm seeing a situation in which the code hits "DoSomethingElse" before the "doIt" happens. To make it even more confounding, this only happens the first time that block of code is reached in a session (or perhaps the clock starts again after database accesses, I don't have it nailed down yet). I guess I'll add an "if the environment is development wait 500 milliseconds" for the moment, but is anyone else seeing this kind of inconsistency? The pane switching seems somewhat faster in8 than 7, but still unacceptably slow (a large fraction of a second to a second, compared to a few seconds). I also see the entire window go black for a noticeable length of time when resizing the script editor). I don't have enough for the bug report yet, but I could use other observations. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From hh at hyperhh.de Mon Oct 24 21:41:08 2016 From: hh at hyperhh.de (hh) Date: Tue, 25 Oct 2016 03:41:08 +0200 Subject: Special Paste Message-ID: <734CECA2-1B6A-4D22-BB58-48677225F8F8@hyperhh.de> @Bob. After your answer I read Charles' question again. Probably he asks for the other way: how to match the styled text of the 'paste-target' *in LC*? @Charles. If this is correct, then you could try to insert the clipboardData["text"] or use menu Edit > Paste Unformatted. This has no style and thus inherits the style of the current paste-location (that may be also inherited). If you use or need *Unicode* for pasting you could use a plain-text-key of the rawClipboardData. This requires LC 8 or later and is dependent of the current OS (see dictionary entry to rawClipboardData). From stephenREVOLUTION2 at barncard.com Tue Oct 25 02:06:33 2016 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 24 Oct 2016 23:06:33 -0700 Subject: Special Paste In-Reply-To: <20F3C4A7-FA04-46A2-B180-938BBD563AE4@iotecdigital.com> References: <20F3C4A7-FA04-46A2-B180-938BBD563AE4@iotecdigital.com> Message-ID: I've updated my clipboard data exploring stack to include RAW clipboard data. There's suddenly a lot of data in the clip. A good test is a Pages, Web or Word document text copied.. version 8 (legacy!) version go URL "http://fulton.barncard.com/stax/clipboardTest(8).livecode" version 9 go URL "http://fulton.barncard.com/stax/clipboardTest(9.0).livecode" I hope this helps you in your quest. sqb Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Mon, Oct 24, 2016 at 4:01 PM, Bob Sneidar wrote: > I believe there is the clipboardData ["html"] and clipboardData ["rtf"]. > > Bob S > > > > On Oct 24, 2016, at 12:29 , Charles Szasz wrote: > > > > I having been trying to implement Paste and Match Style found on Pages > app and also on Word, which is called Paste Special, where the text > contents of the clipboard are pasted into a document that matches the > existing font and font style in the document. > > > > I searched the Rev and LC archives and could not find any examples. > Does anyone have a script for this? > > > > > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Tue Oct 25 02:40:51 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 25 Oct 2016 08:40:51 +0200 Subject: AW: How experimental is OS X 64-Bit mode? In-Reply-To: <84551a8e-a9bd-f4cc-c949-e7bf5e9d6494@livecode.com> References: <001401d22dd8$c3956760$4ac03620$@kestner.de> <0E700EAC-8F61-48C0-9D01-E5BEC566DA70@mac.com> <6289759A-7AE9-467B-B7B4-E1E3F0231B7F@all-auctions.com> <84551a8e-a9bd-f4cc-c949-e7bf5e9d6494@livecode.com> Message-ID: <002701d22e8a$bb4cc1e0$31e645a0$@kestner.de> Thanks Peter, thats what I wanted to hear Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Peter TB Brett Gesendet: Montag, 24. Oktober 2016 21:21 An: How to use LiveCode Betreff: Re: How experimental is OS X 64-Bit mode? On 24/10/2016 18:30, Graham Samuel wrote: > Thanks, that?s pretty clear. I have a couple of ideas for web apps, > but I will just leave them on the shelf. As to 64-bit, I imagine the > word will arrive from the mother ship fairly soon? > I believe that within the language development team we very rarely use anything _other_ than 64-bit LiveCode on MacOS, so I'll probably go ahead and remove any suggestion that it's experimental in time for the next build. Note that revvideograbber (and anything else that uses QuickTime) won't -- can't, in fact -- work with the 64-bit MacOS engines. Peter -- Dr Peter Brett LiveCode Technical Project Manager lcb-mode for Emacs: https://github.com/peter-b/lcb-mode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Oct 25 04:52:47 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 25 Oct 2016 04:52:47 -0400 Subject: Eureka Moment: preopencontrol In-Reply-To: References: <992B919D-FB12-4862-B84E-83109539A1EE@hindu.org> Message-ID: Right. If you poke around in the IDE for the documentation, you will see that there is a stack that has a tab control for the API or the user guide, and within that control is the browser widget. The documentation is stored in an sqlite database, and the code to do the rendering is in a script-only stack, complete with a css, etc. Then bootstrap is used to do the actual rendering. Bootstrap splits the screen into seven equal columns, which is why when you resize the stack, it seems to resize lumpily. All of the work: the searching, the TOC, etc. is done using bootstrap. What looks like three or four separate widgets/controls in the API is really all done with bootstrap. Reading it isn't hard once you understand a little bit about bootstrap, but fixing it looks like a bear to me. I don't use the framework for anything, so if someone who was familiar with bootstrap looked at it, they might not have any problem making it better. On Mon, Oct 24, 2016 at 4:26 PM, Ali Lloyd wrote: > Yes, in a browser widget. > > Here's a fix for a bunch of references that were somehow mangled like that > one: > https://github.com/livecode/livecode/pull/4800/files > > On Mon, Oct 24, 2016 at 8:16 PM Sannyasin Brahmanathaswami < > brahma at hindu.org> > wrote: > > > You mean it is rendered inside the LC IDE using bootstrap too? > > > > > > > > On 10/24/16, 5:34 AM, "use-livecode on behalf of Mike Kerner" < > > use-livecode-bounces at lists.runrev.com on behalf of > > MikeKerner at roadrunner.com> wrote: > > > > The problem, now, is > > that it is being rendered using the 'bootstrap' javascript framework, > > so > > the only way to really work on it is to either learn the ins and outs > > of > > the framework or to start over. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hh at hyperhh.de Tue Oct 25 07:28:13 2016 From: hh at hyperhh.de (hh) Date: Tue, 25 Oct 2016 13:28:13 +0200 Subject: Special Paste Message-ID: <673616C0-216F-44AD-B3A9-8A6C0FD1BB32@hyperhh.de> @Stephen. This is really a great stack. TMHO, it should become a 'standard' plugin for LC 8/9 (the 'old' clipboardData-version for LC 6/7). In the meantime, please upload it to "Sample Stacks" (livecodeshare)? > Stephen B. wrote: > I've updated my clipboard data exploring stack to include RAW clipboard > data. There's suddenly a lot of data in the clip. A good test is a Pages, > Web or Word document text copied. > version 8 (legacy!) version > go URL "http://fulton.barncard.com/stax/clipboardTest(8).livecode" > version 9 > go URL "http://fulton.barncard.com/stax/clipboardTest(9.0).livecode" From hh at hyperhh.de Tue Oct 25 07:40:29 2016 From: hh at hyperhh.de (hh) Date: Tue, 25 Oct 2016 13:40:29 +0200 Subject: Clipboard problem Message-ID: <7E5DC691-8625-48E1-A2E8-DDC3294C3B0A@hyperhh.de> The problem may come from the Unicode paragraph separator (0x2029). You could use Stephen's stack for inspecting the clipboard, see thread "Special paste". Possibly also MacOS 10.9.6 and later have a better clipboard-'conversion' support ... > Michael J.L. wrote: > I?ve just installed LiveCode 8.1.1 and I?ve come across an anomaly with the clipboard in Mac OS X 10.9.5. > > When I populate the clipboard with a return-delimited list using this line the results paste correctly into Nisus Writer Pro but paste into Excel with an extra blank line between lines, and when I try to paste into Pro-Fit I get an error ?System error -8754?. If I re-copy the results from Nisus then I can paste elsewhere without any problem. From hh at hyperhh.de Tue Oct 25 08:45:59 2016 From: hh at hyperhh.de (hh) Date: Tue, 25 Oct 2016 14:45:59 +0200 Subject: conversion of field margins from older version to 8 Message-ID: The text measurement of LC 8 was a lot improved for using 'modern' fonts. The _only_ disadvantage to see is the 'topmargin-bug' depending also on the font used (has it 'good' font metrics?). With my standard field-settings (LC's default) I use in preopenCard or preopenStack or ... preopenControl ;-) -- adjust to your needs, may depend -- on inherited textFont and textSize -- standard of LC 8 and later is tM=8 if the version > 7 then put 6 into tM else put 4 into tM repeat with i=1 to the num of flds set topMargin of fld i to tM end repeat set topMargin of the templateField to tM or change it _once_ based on old: set topMargin of fld i to 2+the topMargin of fld i or set it based on textSize, textFont and textStyle, or set it based on platform and operating system version, or set it based on printer resolution ... From benr_mc at cogapp.com Tue Oct 25 10:21:32 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 25 Oct 2016 15:21:32 +0100 Subject: override HTTPS certificate failure Message-ID: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> If an "https" site has a misconfigured certificate, most browsers will tell you what the problem is - and generally give you an option (more or less hidden) to ignore the warning and load the resource anyway. Loading the same resource from LC using libURL, the result is "error application verification failure". Is there any way to override the normal test in LC, as one can in a browser, to request that the resource be returned anyway? (The specific issue here is that the certificate has been issued for "www.domain.com", but is being used to certify "internaltempmachine.internal.domain.com", but I suppose the question is quite general.) I'd be most keen to hear if there is a solution using libURL; but if there isn't, but there is a way using tsNet, that would be good to know. TIA, Ben From bobsneidar at iotecdigital.com Tue Oct 25 10:26:13 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Oct 2016 14:26:13 +0000 Subject: Special Paste In-Reply-To: <734CECA2-1B6A-4D22-BB58-48677225F8F8@hyperhh.de> References: <734CECA2-1B6A-4D22-BB58-48677225F8F8@hyperhh.de> Message-ID: <03C47C0F-E381-41B3-9F12-CECA36BE9CC6@iotecdigital.com> Oh right got it backwards. Bob S > On Oct 24, 2016, at 18:41 , hh wrote: > > @Bob. > After your answer I read Charles' question again. Probably he asks > for the other way: how to match the styled text of the 'paste-target' > *in LC*? > > @Charles. If this is correct, then you could try to insert the > clipboardData["text"] or use menu Edit > Paste Unformatted. > This has no style and thus inherits the style of the current > paste-location (that may be also inherited). > > If you use or need *Unicode* for pasting you could use a plain-text-key > of the rawClipboardData. This requires LC 8 or later and is dependent > of the current OS (see dictionary entry to rawClipboardData). > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 25 10:36:40 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Oct 2016 14:36:40 +0000 Subject: override HTTPS certificate failure In-Reply-To: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> Message-ID: +1 there ought to be a way to load the page anyway. We have, like so very many other companies an internal FQDN for our domain, and an external one strictly for the purpose of email. Why the two? Because of issues that crop up in your local DNS when creating multiple subdomains if the external and internal fqdn is the same. This is not uncommon. Most SMB's do this. Now either you create a certificate for every server you have, and expensive proposition for some, or you just create the one for the email domain and live with the little dialogs when remoting into servers and such. Not only that but a LOT of things, "copiers etc.) use self signed certs. No company is going to pay for a cert for every device and wildcard certs are pricey. There *always* needs to be a way to accept the certificate anyway. Bob S On Oct 25, 2016, at 07:21 , Ben Rubinstein > wrote: If an "https" site has a misconfigured certificate, most browsers will tell you what the problem is - and generally give you an option (more or less hidden) to ignore the warning and load the resource anyway. Loading the same resource from LC using libURL, the result is "error application verification failure". Is there any way to override the normal test in LC, as one can in a browser, to request that the resource be returned anyway? (The specific issue here is that the certificate has been issued for "www.domain.com", but is being used to certify "internaltempmachine.internal.domain.com", but I suppose the question is quite general.) I'd be most keen to hear if there is a solution using libURL; but if there isn't, but there is a way using tsNet, that would be good to know. TIA, Ben From lyn.teyla at gmail.com Tue Oct 25 11:18:11 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Tue, 25 Oct 2016 17:18:11 +0200 Subject: override HTTPS certificate failure In-Reply-To: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> Message-ID: Ben Rubinstein wrote: > If an "https" site has a misconfigured certificate, most browsers will tell you what the problem is - and generally give you an option (more or less hidden) to ignore the warning and load the resource anyway. > > Loading the same resource from LC using libURL, the result is "error application verification failure". > > Is there any way to override the normal test in LC, as one can in a browser, to request that the resource be returned anyway? With libURL you?d use: libURLSetSSLVerification false With tsNet you?d use: tsNetVerifySSLPeer false Remember to leave it set to true for production, though. Otherwise, malicious parties could intercept data transmissions whilst presenting their own fake certificates, negating the whole point of encrypting data in transit. Lyn :) From benr_mc at cogapp.com Tue Oct 25 11:32:08 2016 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 25 Oct 2016 16:32:08 +0100 Subject: override HTTPS certificate failure In-Reply-To: References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> Message-ID: <79588cfc-e63c-3486-ec09-4977fb5bd427@cogapp.com> Thanks Lyn, that's exactly what I needed! I should have spotted it myself in the dictionary, but failed. Many thanks, Ben On 25/10/2016 16:18, Lyn Teyla wrote: > Ben Rubinstein wrote: > >> If an "https" site has a misconfigured certificate, most browsers will tell you what the problem is - and generally give you an option (more or less hidden) to ignore the warning and load the resource anyway. >> >> Loading the same resource from LC using libURL, the result is "error application verification failure". >> >> Is there any way to override the normal test in LC, as one can in a browser, to request that the resource be returned anyway? > > With libURL you?d use: > > libURLSetSSLVerification false > > With tsNet you?d use: > > tsNetVerifySSLPeer false > > Remember to leave it set to true for production, though. Otherwise, malicious parties could intercept data transmissions whilst presenting their own fake certificates, negating the whole point of encrypting data in transit. > > Lyn :) From bobsneidar at iotecdigital.com Tue Oct 25 12:10:51 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Oct 2016 16:10:51 +0000 Subject: override HTTPS certificate failure In-Reply-To: References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> Message-ID: <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> True, but isn't the issue that a malformed cert including self signed certs are rejected? A self signed cert is not insecure, it's just less secure than a root signed cert, and only because a background check has been done against the cert owner. Otherwise a self signed cert is just as valid if you know you can trust it, as when connecting to you domain controller or copier for the first time on a LAN. After that, the cert theoretically cannot be spoofed. Bob S On Oct 25, 2016, at 08:18 , Lyn Teyla > wrote: Remember to leave it set to true for production, though. Otherwise, malicious parties could intercept data transmissions whilst presenting their own fake certificates, negating the whole point of encrypting data in transit. Lyn :) From lists at mangomultimedia.com Tue Oct 25 12:25:50 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 25 Oct 2016 11:25:50 -0500 Subject: override HTTPS certificate failure In-Reply-To: <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> Message-ID: On Tue, Oct 25, 2016 at 11:10 AM, Bob Sneidar wrote: > True, but isn't the issue that a malformed cert including self signed > certs are rejected? A self signed cert is not insecure, it's just less > secure than a root signed cert, and only because a background check has > been done against the cert owner. Otherwise a self signed cert is just as > valid if you know you can trust it, as when connecting to you domain > controller or copier for the first time on a LAN. After that, the cert > theoretically cannot be spoofed. > I?m working on a libURL addition that will allow you to specify hosts that should bypass SSL verification without turning it off completely. That way you let the user know a certificate wasn?t verified but allow them to override it. Here are the changes I?ve made on one of my branches: https://github.com/trevordevore/livecode/commit/6a5bc42abebca23e6b8aa611c8f0966b221441c6 I still have to put together a test and file an enhancement request for it before I can submit it though. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From hlowe at me.com Tue Oct 25 12:49:16 2016 From: hlowe at me.com (hlowe) Date: Tue, 25 Oct 2016 09:49:16 -0700 (PDT) Subject: Problems with LC 9.0.0 (dp 1) Message-ID: <1477414156735-4709730.post@n4.nabble.com> I have been using LC 9.0.0 (dp 1) for a about a week. Overall it appears quite stable. I have encountered two issues that impact my work on an iOS app, that you might want to know about: 1. Bug #17779 (which prevented use of Accelerated Rending in LC 8) is fixed in LC 9.0.0 (dp 1). However there appears to be a new (possibly related) bug - http://quality.livecode.com/show_bug.cgi?id=18681. If AcceleratedRendering is set to true then hiding a data grid, updating its contents and then showing the data grid again may not correctly update the data grid?s data display. This occurs in the IDE, even without any associated native scroller in place. Initially I though that sending "Refreshlist" to the data grid was a work around but that appears not to be the case. 2. Using LC 9.0.0 (dp 1) an iPhone app that I am developing runs fine in the iOS emulator but when run on the iPhone the app does not display images copied to the app using the 'Copy Files' option in Standalone Settings. I have confirmed that the images are copied to a folder named "images" within the app bundle but the app displays a grey rectangle instead of the actual images. The images display OK in the emulator but not on the device. The images are image objects within groups and are referenced by setting the path to the image with the image object properties pane. Can anyone confirm this or am I missing something? Henry -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-with-LC-9-0-0-dp-1-tp4709730.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Tue Oct 25 13:18:37 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Oct 2016 10:18:37 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: References: Message-ID: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> Dr. Hawkins wrote: > I (like I assume many others) have a number of places with blocks like > > send doIt to stack worker in 0 > wait 0 with messages > doSomethingElse > > I'm seeing a situation in which the code hits "DoSomethingElse" > before the "doIt" happens. If you want to ensure "doIt" happens before the calling handler continues, why not just remove the "in 0" clause? -- 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 prothero at earthednet.org Tue Oct 25 13:22:48 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 10:22:48 -0700 Subject: Lock cursor fails Message-ID: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> Folks: I know there was a recent post about this, but can?t find it. Anyway, I?m updating an old project and find that ?lock cursor? no longer works. Is there a workaround? I can make an image follow the cursor and approximate the older behavior, but unless I can do something with the cursor, it?s going to be confusing to the user. It is important for my app to get the working. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From prothero at earthednet.org Tue Oct 25 13:28:42 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 10:28:42 -0700 Subject: Lock cursor fails In-Reply-To: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> References: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> Message-ID: <55912A89-240F-42AD-9848-A0E99D30C084@earthednet.org> Ok, it only fails in the IDE. I can live with that. Bill > On Oct 25, 2016, at 10:22 AM, William Prothero wrote: > > Folks: > I know there was a recent post about this, but can?t find it. Anyway, I?m updating an old project and find that ?lock cursor? no longer works. > > Is there a workaround? I can make an image follow the cursor and approximate the older behavior, but unless I can do something with the cursor, it?s going to be confusing to the user. > > It is important for my app to get the working. > > Best, > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 25 13:29:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 25 Oct 2016 10:29:00 -0700 Subject: Lock cursor fails In-Reply-To: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> References: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> Message-ID: <20f5b8a4-1886-1e42-23c8-3816be87c015@fourthworld.com> William Prothero wrote: > I?m updating an old project and find that ?lock cursor? no longer > works. Are you seeing this in standalones or just in the IDE only? If the latter it may be this confirmed issue: http://quality.livecode.com/show_bug.cgi?id=18549 -- 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 prothero at earthednet.org Tue Oct 25 14:06:38 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 11:06:38 -0700 Subject: Lock cursor fails In-Reply-To: <20f5b8a4-1886-1e42-23c8-3816be87c015@fourthworld.com> References: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> <20f5b8a4-1886-1e42-23c8-3816be87c015@fourthworld.com> Message-ID: So far, I only see this in the IDE, on OSX, 10.11.6. It is ok in OSX standalones. I?m now testing on Windows 10 and will get back. Bill > On Oct 25, 2016, at 10:29 AM, Richard Gaskin wrote: > > William Prothero wrote: > > > I?m updating an old project and find that ?lock cursor? no longer > > works. > > Are you seeing this in standalones or just in the IDE only? > > If the latter it may be this confirmed issue: > http://quality.livecode.com/show_bug.cgi?id=18549 > > -- > 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 dochawk at gmail.com Tue Oct 25 14:18:53 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 11:18:53 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> References: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> Message-ID: On Tue, Oct 25, 2016 at 10:18 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: > > > I (like I assume many others) have a number of places with blocks like > > > > send doIt to stack worker in 0 > > wait 0 with messages > > doSomethingElse > > > > I'm seeing a situation in which the code hits "DoSomethingElse" > > before the "doIt" happens. > > If you want to ensure "doIt" happens before the calling handler continues, > why not just remove the "in 0" clause? > > Life is better if it actually happens--but can go on and get cleaned up later if it doesn't. "doIt" actually triggers a sync to the remote server in this case, replacing a temporary, locally issued id with a permanent remote id. However, on a mac, database queries take (at least) a minute to timeout, so if there are lags, loss of connectivity, etc., it is better to move on. Even if the local connection is laggy, better to move on than have the user cursing at the screen because it's frozen . . . But the problem is deeper than my synchronization. The fact that it is possible for doIt to not start means that it is not getting to the queue before LiveCode moves on from the wait 0 with messages--that order should be deterministic; there should be no possibility of the sequence that I'm seeing happening . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Tue Oct 25 14:28:52 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Oct 2016 14:28:52 -0400 Subject: conversion of field margins from older version to 8 In-Reply-To: References: Message-ID: <006201d22eed$a3820620$ea861260$@net> I'm late to the game here. I've been buried converting to LC 8 and have not yet tried to figure this one out yet. This is because the margins on mobile (iOS and Android) are still rendering the same as LC 6/7. For me this only affect the IDE as I am not deploying to desktop. In the IDE the margins are very large, like 10-20% on the top and bottom. I don't know about left and right. I noticed the top/bottom margins immediately because I shade every other line and I see only 75% of the lines in a same sized window. If I do any global margin changes it will probably make mobile go sideways. I wanted to report this as a bug this week but after this thread I'm going to have to rethink this. I tried setting the margins in the message box but could not get the text centered in the shaded areas, all I could do is cut off the top or bottom of the text. I could reduce the margins and see 100% of the lines I saw before but the text is jammed to the top or bottom or out of view. Seeing that mobile was OK I was putting this off to a later date. I just can't figure out this one and if I do how will it affect the mobile presentation? For me this is in the "Riddle me this Batman" territory. 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 Dr. Hawkins Sent: Monday, October 24, 2016 7:26 PM To: How to use LiveCode Subject: conversion of field margins from older version to 8 Among the quiet changes in 8 was a significant change in how field margins are rendered, making many of my cards difficult to read. Is there a simple script that can concert from old to new? I suppose that this came about because the default margins and placement were utterly inconsistent across filed sizes, but now I have thousands of fields to deal with . . . -- 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 merakosp at gmail.com Tue Oct 25 15:04:19 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 25 Oct 2016 22:04:19 +0300 Subject: Lock cursor fails In-Reply-To: References: <37CC9835-96AD-4479-9A68-529524B1D07C@earthednet.org> <20f5b8a4-1886-1e42-23c8-3816be87c015@fourthworld.com> Message-ID: Hi Bill, It is a known issue, and it affects only the IDE ( http://quality.livecode.com/show_bug.cgi?id=18549) Best, Panos -- On Tue, Oct 25, 2016 at 9:06 PM, William Prothero wrote: > So far, I only see this in the IDE, on OSX, 10.11.6. It is ok in OSX > standalones. I?m now testing on Windows 10 and will get back. > Bill > > > On Oct 25, 2016, at 10:29 AM, Richard Gaskin > wrote: > > > > William Prothero wrote: > > > > > I?m updating an old project and find that ?lock cursor? no longer > > > works. > > > > Are you seeing this in standalones or just in the IDE only? > > > > If the latter it may be this confirmed issue: > > http://quality.livecode.com/show_bug.cgi?id=18549 > > > > -- > > 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 monte at appisle.net Tue Oct 25 15:36:41 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 06:36:41 +1100 Subject: override HTTPS certificate failure In-Reply-To: References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> Message-ID: <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> > On 26 Oct. 2016, at 3:25 am, Trevor DeVore wrote: > > I?m working on a libURL addition that will allow you to specify hosts that > should bypass SSL verification without turning it off completely. That way > you let the user know a certificate wasn?t verified but allow them to > override it. Here are the changes I?ve made on one of my branches: > > https://github.com/trevordevore/livecode/commit/6a5bc42abebca23e6b8aa611c8f0966b221441c6 > > I still have to put together a test and file an enhancement request for it > before I can submit it though. That is excellent! I really wish we could kill the global libURLSetSSLVerification with fire! One thing I might as well say now as I?ll say it in review anyway is it would be better to set individual hosts rather than the entire list in one hit to reduce the risk of different user code clobbering each other. It will also be simpler to use: - get url - verification failure - ask user if they want to trust the host anyway - turn off verification for that host Cheers Monte From ahsoftware at sonic.net Tue Oct 25 15:28:58 2016 From: ahsoftware at sonic.net (mwieder) Date: Tue, 25 Oct 2016 12:28:58 -0700 (PDT) Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: References: Message-ID: <1477423738099-4709740.post@n4.nabble.com> That's the way the "send" command works. See the dictionary for details. If you "send" a command it's executed immediately, before anything else in the current handler. If you "send in time" it's executed *after* the current handler finishes. ----- -- Mark Wieder ahsoftware at gmail.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sluggishness-of-8-1-1-on-send-in-0-wait-0-pairs-tp4709715p4709740.html Sent from the Revolution - User mailing list archive at Nabble.com. From lyn.teyla at gmail.com Tue Oct 25 15:41:40 2016 From: lyn.teyla at gmail.com (Lyn Teyla) Date: Tue, 25 Oct 2016 21:41:40 +0200 Subject: override HTTPS certificate failure In-Reply-To: <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> Message-ID: <523637DA-37F0-4D75-A3EF-F60FD65B1569@gmail.com> Bob Sneidar wrote: > True, but isn't the issue that a malformed cert including self signed certs are rejected? A self signed cert is not insecure, it's just less secure than a root signed cert, and only because a background check has been done against the cert owner. Otherwise a self signed cert is just as valid if you know you can trust it, as when connecting to you domain controller or copier for the first time on a LAN. After that, the cert theoretically cannot be spoofed. That only applies if the client app is specifically coded to _also_ perform the following additional steps: 1. When connecting to a secure server and receiving invalid and unknown certificate details, present them to the user and allow them to trust or reject the certificate. 2. If the user elects to trust the certificate, save the certificate details received from the server during that first connection. 3. During subsequent connections, compare the saved certificate details to those received, and only proceed if the details are identical. This is what web browsers, email clients and FTP apps do when instructed by a user to trust an invalid certificate. libURL doesn?t currently offer a handler that allows one to retrieve certificate data, so one would need to utilize raw sockets or call a command line utility such as openssl to obtain the data. Simply setting libURLSetSSLVerification to false (even just for specific hosts) doesn?t do any of that, which is why spoofing could still occur. Lyn From dochawk at gmail.com Tue Oct 25 15:55:05 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 12:55:05 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <1477423738099-4709740.post@n4.nabble.com> References: <1477423738099-4709740.post@n4.nabble.com> Message-ID: On Tue, Oct 25, 2016 at 12:28 PM, mwieder wrote: > That's the way the "send" command works. See the dictionary for details. > > If you "send" a command it's executed immediately, before anything else in > the current handler. > If you "send in time" it's executed *after* the current handler finishes. > *unless* there is an opportunity to execute it, such as (exclusively?) "Wait with messages", at which point the message due is supposed to be checked. send in time is supposed to return a message queue id of the message, meaning it's already supposed to, well, be in the queue -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Tue Oct 25 16:30:24 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 07:30:24 +1100 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: References: <1477423738099-4709740.post@n4.nabble.com> Message-ID: > On 26 Oct. 2016, at 6:55 am, Dr. Hawkins wrote: > > *unless* there is an opportunity to execute it, such as (exclusively?) > "Wait with messages", at which point the message due is supposed to be > checked. > > send in time is supposed to return a message queue id of the message, > meaning it's already supposed to, well, be in the queue Send in time has does not guarantee when a message will be sent. It?s ASAP after the event time. If there is a pending message that should be handled before the message you sent then it will be handled and then you will run out of time because you are only waiting 0. If you need to guarantee that you are waiting until the message is sent then do something like: local sHandled on Foo put false into sHandled send ?Bar? to me in 0 wait until sHandled with messages ? do something else end Foo on Bar put true into sHandled end Bar From bobsneidar at iotecdigital.com Tue Oct 25 16:48:41 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 25 Oct 2016 20:48:41 +0000 Subject: conversion of field margins from older version to 8 In-Reply-To: <006201d22eed$a3820620$ea861260$@net> References: <006201d22eed$a3820620$ea861260$@net> Message-ID: Aren't the fields picking up the text formatting of the stack, unless special formatting has been applied to the field? Does the stack have margin properties?? If so, setting the stack properties should affect all the fields with no special formatting applied. Bob S On Oct 25, 2016, at 11:28 , Ralph DiMola > wrote: I'm late to the game here. I've been buried converting to LC 8 and have not yet tried to figure this one out yet. This is because the margins on mobile (iOS and Android) are still rendering the same as LC 6/7. For me this only affect the IDE as I am not deploying to desktop. In the IDE the margins are very large, like 10-20% on the top and bottom. I don't know about left and right. I noticed the top/bottom margins immediately because I shade every other line and I see only 75% of the lines in a same sized window. If I do any global margin changes it will probably make mobile go sideways. I wanted to report this as a bug this week but after this thread I'm going to have to rethink this. I tried setting the margins in the message box but could not get the text centered in the shaded areas, all I could do is cut off the top or bottom of the text. I could reduce the margins and see 100% of the lines I saw before but the text is jammed to the top or bottom or out of view. Seeing that mobile was OK I was putting this off to a later date. I just can't figure out this one and if I do how will it affect the mobile presentation? For me this is in the "Riddle me this Batman" territory. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From prothero at earthednet.org Tue Oct 25 17:09:17 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 14:09:17 -0700 Subject: How do I codesign an App? Message-ID: Hi, I am rebuilding an app because it throws security violations when downloaded from my web site. It says it is from an unknown developer, and my users can?t launch it. Ok, so how the heck do I codesign the app? I?m using LC 8.1.1. There is a place in standalone preferences for ?signature?, which is set to ????? by default. I have created certificates in the developer?s center for 3rd party apps, that expire in 2017, according to keychain. This is sooo frustrating, as it must be something everybody who develops Mac apps has to do. Or, perhaps I?m missing something very obvious. I had hoped to finish this upgrade today and all that remains is the code signing process. Could someone point me to the place where I can implement this? Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus prothero at earthednet.org From rdimola at evergreeninfo.net Tue Oct 25 17:15:59 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 25 Oct 2016 17:15:59 -0400 Subject: conversion of field margins from older version to 8 In-Reply-To: References: <006201d22eed$a3820620$ea861260$@net> Message-ID: <009c01d22f04$fc6b49b0$f541dd10$@net> The stack does not seem to have this property. I get "no such property" if I try a "put the margins of this card" in the message box although the card does have margins in the inspector. Ralph -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Tuesday, October 25, 2016 4:49 PM To: How to use LiveCode Subject: Re: conversion of field margins from older version to 8 Aren't the fields picking up the text formatting of the stack, unless special formatting has been applied to the field? Does the stack have margin properties?? If so, setting the stack properties should affect all the fields with no special formatting applied. Bob S On Oct 25, 2016, at 11:28 , Ralph DiMola > wrote: I'm late to the game here. I've been buried converting to LC 8 and have not yet tried to figure this one out yet. This is because the margins on mobile (iOS and Android) are still rendering the same as LC 6/7. For me this only affect the IDE as I am not deploying to desktop. In the IDE the margins are very large, like 10-20% on the top and bottom. I don't know about left and right. I noticed the top/bottom margins immediately because I shade every other line and I see only 75% of the lines in a same sized window. If I do any global margin changes it will probably make mobile go sideways. I wanted to report this as a bug this week but after this thread I'm going to have to rethink this. I tried setting the margins in the message box but could not get the text centered in the shaded areas, all I could do is cut off the top or bottom of the text. I could reduce the margins and see 100% of the lines I saw before but the text is jammed to the top or bottom or out of view. Seeing that mobile was OK I was putting this off to a later date. I just can't figure out this one and if I do how will it affect the mobile presentation? For me this is in the "Riddle me this Batman" territory. 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 dochawk at gmail.com Tue Oct 25 17:22:47 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 14:22:47 -0700 Subject: conversion of field margins from older version to 8 In-Reply-To: References: <006201d22eed$a3820620$ea861260$@net> Message-ID: On Tue, Oct 25, 2016 at 1:48 PM, Bob Sneidar wrote: > Aren't the fields picking up the text formatting of the stack, unless > special formatting has been applied to the field? Does the stack have > margin properties?? If so, setting the stack properties should affect all > the fields with no special formatting applied. In many of these cases, I hand-formatted fields to fit them, as the margins were too large. In fact, I set a margin custom property, and ever rev-bump of the code it loops through and resets those. I actually have the defaults for those set by font size and, iirc, font, for the ones I use more commonly. Looping through is easy; it's getting the exact right fit, which goes up *and* down as font size increases in pre-8, is tricky. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 25 17:27:49 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 14:27:49 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: References: <1477423738099-4709740.post@n4.nabble.com> Message-ID: On Tue, Oct 25, 2016 at 1:30 PM, Monte Goulding wrote: > Send in time has does not guarantee when a message will be sent. It?s ASAP > after the event time. If there is a pending message that should be handled > before the message you sent then it will be handled and then you will run > out of time because you are only waiting 0. In this particular case, with certainty there are no pending messages when it this one is sent. It could conceivably be engine messages, but I'm also seeing the reproducible case that it's the first sent message when this bites, while if the code executes again, it doesn't bite subsequently. >If you need to guarantee that you are waiting until the message is sent then do something like: I definitely don't want to guarantee that--that would leaving me waiting for timeouts. I'm more concerned that something just ain't right here, as I have my workaround. Speaking of which, is letting us specify database timeout on mac in the future? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From prothero at earthednet.org Tue Oct 25 17:29:14 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 14:29:14 -0700 Subject: How do I codesign an App? In-Reply-To: References: Message-ID: By the way, I purchased App Wrapper3 a year ago and after discussions with its author, I wasn?t able to get it working correctly. I don?t know if it?s fixed yet, but I hate to spend the money on something that doesn?t work. Shouldn?t Livecode help with this? Bill > On Oct 25, 2016, at 2:09 PM, William Prothero wrote: > > Hi, I am rebuilding an app because it throws security violations when downloaded from my web site. It says it is from an unknown developer, and my users can?t launch it. > > Ok, so how the heck do I codesign the app? I?m using LC 8.1.1. There is a place in standalone preferences for ?signature?, which is set to ????? by default. I have created certificates in the developer?s center for 3rd party apps, that expire in 2017, according to keychain. > > This is sooo frustrating, as it must be something everybody who develops Mac apps has to do. Or, perhaps I?m missing something very obvious. > > I had hoped to finish this upgrade today and all that remains is the code signing process. > > Could someone point me to the place where I can implement this? > > Best, > Bill > > William Prothero, Ph.D. > University of California, Santa Barbara, Emeritus > prothero at earthednet.org > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Oct 25 18:24:18 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 15:24:18 -0700 Subject: More unreproducible oddities in 8--text semi-lock of mousedown Message-ID: I've seen this sporadically as long as I can remember, but it seems to grab a couple of times a day in 8 on mac. The mouse is apparently thought to be down for text selection in the script editor. This makes it difficult to select any other object, and blocks key-commands. I generally eventually get out of it by hopping back and forth between the finder and livecode, until finally allowed to quit in some way or another (if I don't quit, it is near certain that it will happen again in seconds). Has anyone else seen *this *one, or is this another case of the machine being out to get me? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mark at canelasoftware.com Tue Oct 25 18:31:48 2016 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 25 Oct 2016 15:31:48 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> References: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> Message-ID: > On Oct 25, 2016, at 10:18 AM, Richard Gaskin wrote: > > Dr. Hawkins wrote: > > > I (like I assume many others) have a number of places with blocks like > > > > send doIt to stack worker in 0 > > wait 0 with messages > > doSomethingElse > > > > I'm seeing a situation in which the code hits "DoSomethingElse" > > before the "doIt" happens. > > If you want to ensure "doIt" happens before the calling handler continues, why not just remove the "in 0" clause? You might consider using 'dispatch' instead of 'send' if you really want it to execute the moment that line shows up. I read somewhere the dispatch is more performant anyways. Best regards, Mark Talluto livecloud.io canelasoftware.com From dochawk at gmail.com Tue Oct 25 18:47:13 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 15:47:13 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: References: <3fd29bd3-e755-2866-7f38-70880182d67a@fourthworld.com> Message-ID: On Tue, Oct 25, 2016 at 3:31 PM, Mark Talluto wrote: > You might consider using 'dispatch' instead of 'send' if you really want > it to execute the moment that line shows up. I read somewhere the dispatch > is more performant anyways. > > to be clear: I would certainly *like* it to happen right now, but it is more important that the user not have to wait than that this happen immediately. Ultimately, it's switching to a socket system, with asynchronous communication to the server (which probably means I lose the possibility of it happening in an instant, anyway . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From prothero at earthednet.org Tue Oct 25 19:30:16 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 16:30:16 -0700 Subject: How do I codesign an App? In-Reply-To: References: Message-ID: <7B2FBE1F-B7A1-4B32-B61D-AD7716EC1C43@earthednet.org> Well, I purchased a month of App Wrapper 3. The only complaint in the App Wrapper log is that is is not Sandboxed and Apple will reject it. App Wrapper indicates that the app and installer are successfully signed, but that Apple will reject it because it is not sandboxed. My problem is that the file is downloaded from a web site and it won?t launch unless the user unsets their security settings. Is the problem that it is not sandboxed and, if so, how do I sandbox it? I do write to a file outside of the app folder. Do I really need to sandbox the app? Best, Bill > On Oct 25, 2016, at 2:29 PM, William Prothero wrote: > > By the way, I purchased App Wrapper3 a year ago and after discussions with its author, I wasn?t able to get it working correctly. I don?t know if it?s fixed yet, but I hate to spend the money on something that doesn?t work. > > Shouldn?t Livecode help with this? > Bill > >> On Oct 25, 2016, at 2:09 PM, William Prothero wrote: >> >> Hi, I am rebuilding an app because it throws security violations when downloaded from my web site. It says it is from an unknown developer, and my users can?t launch it. >> >> Ok, so how the heck do I codesign the app? I?m using LC 8.1.1. There is a place in standalone preferences for ?signature?, which is set to ????? by default. I have created certificates in the developer?s center for 3rd party apps, that expire in 2017, according to keychain. >> >> This is sooo frustrating, as it must be something everybody who develops Mac apps has to do. Or, perhaps I?m missing something very obvious. >> >> I had hoped to finish this upgrade today and all that remains is the code signing process. >> >> Could someone point me to the place where I can implement this? >> >> Best, >> Bill >> >> William Prothero, Ph.D. >> University of California, Santa Barbara, Emeritus >> prothero at earthednet.org >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Tue Oct 25 19:48:18 2016 From: bodine at bodinetraininggames.com (tbodine) Date: Tue, 25 Oct 2016 16:48:18 -0700 (PDT) Subject: How do I codesign an App? In-Reply-To: <7B2FBE1F-B7A1-4B32-B61D-AD7716EC1C43@earthednet.org> References: <7B2FBE1F-B7A1-4B32-B61D-AD7716EC1C43@earthednet.org> Message-ID: <1477439298060-4709755.post@n4.nabble.com> It is VERY frustrating, though I was able to get codesigning to work earlier this year using AppWrapper 3. But even with successful signing, Apple manages to rub salt into the wound with this bug.... If you codesign for Mac as a third party developer for distribution outside of the app store, then people installing it may still get a message that says "can't be opened because it is from an unidentified developer". Unidentified? WTF! There is a simple workaround for downloaders willing to stick with it. What I did was document the workaround in a pdf and put that right next to my Mac download link. Here it is: https://www.gameshowpresenter.com/MacOpenError.pdf I don't know if the latest MacOS has fixed this bug or not. I assume it's a bug, but it feel like a punishment for those who venture outside the walled garden. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-I-codesign-an-App-tp4709746p4709755.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at hyperhh.de Tue Oct 25 20:13:58 2016 From: hh at hyperhh.de (hh) Date: Wed, 26 Oct 2016 02:13:58 +0200 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? Message-ID: <936D55C3-FA96-47FB-B23C-45CDE96257D3@hyperhh.de> [1] There is also Jacque's recent(?) info: send may also be called with a negative argument in order to overtake the current queue: send doIt to stack worker in -1 millisecs [2] Or try to use "call" that has one big advantage: "call" preserves the target, not "send", not "dispatch" see http://forums.livecode.com/viewtopic.php?p=143367#p143367 > Mike T. wrote: > You might consider using 'dispatch' instead of 'send' if you really want it > to execute the moment that line shows up. I read somewhere the dispatch is > more performant anyways. > > Richard G. wrote: > > > > Dr. Hawkins wrote: > > > I (like I assume many others) have a number of places with blocks like > > > > > > send doIt to stack worker in 0 > > > wait 0 with messages > > > doSomethingElse > > > > > > I'm seeing a situation in which the code hits "DoSomethingElse" > > > before the "doIt" happens. > > > > If you want to ensure "doIt" happens before the calling handler continues, > > why not just remove the "in 0" clause? From hh at hyperhh.de Tue Oct 25 20:20:04 2016 From: hh at hyperhh.de (hh) Date: Wed, 26 Oct 2016 02:20:04 +0200 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? Message-ID: <6CA599B5-9617-4AC1-BE1E-AB09FA8D8460@hyperhh.de> ... [3] Or try to use send doIt to stack worker in 0 millisecs this is 16 times faster than 0 ticks ;-) From monte at appisle.net Tue Oct 25 20:22:01 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 11:22:01 +1100 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <936D55C3-FA96-47FB-B23C-45CDE96257D3@hyperhh.de> References: <936D55C3-FA96-47FB-B23C-45CDE96257D3@hyperhh.de> Message-ID: > On 26 Oct. 2016, at 11:13 am, hh wrote: > > [1] There is also Jacque's recent(?) info: send may also be called with a negative argument in order to overtake the current queue: > send doIt to stack worker in -1 millisecs Actually this does not guarantee that the message will be at the front of the queue. You could send in -100000000 and still not guarantee to be at the front of the queue (although it?s pretty likely ;-) Cheers Monte From lists at mangomultimedia.com Tue Oct 25 20:24:54 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 25 Oct 2016 19:24:54 -0500 Subject: override HTTPS certificate failure In-Reply-To: <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> Message-ID: On Tue, Oct 25, 2016 at 2:36 PM, Monte Goulding wrote: > > > On 26 Oct. 2016, at 3:25 am, Trevor DeVore > wrote: > > > > https://github.com/trevordevore/livecode/commit/ > 6a5bc42abebca23e6b8aa611c8f0966b221441c6 trevordevore/livecode/commit/6a5bc42abebca23e6b8aa611c8f0966b221441c6> > > > > One thing I might as well say now as I?ll say it in review anyway is it > would be better to set individual hosts rather than the entire list in one > hit to reduce the risk of different user code clobbering each other. The intended use of libURLGetServersThatBypassCertificateVerification and libURLSetServersThatBypassCertificateVerification is for getting servers to store with your app prefs and for restoring the saved settings when your app starts up. I still need to add a handler that adds to the list. > It will also be simpler to use: > > - get url > - verification failure > - ask user if they want to trust the host anyway > - turn off verification for that host > In my original implementation in my custom version of libURL I set up a repeat loop around the code that fetches data from the server. My libURL library allows you to define a callback that would be called if an SSL cert error occurred. I would display a dialog that looks similar to the one you see in Safari and let the user decide. The logic looks like this: repeat get url no errors? exit repeat did an ssl error occur? is a callback defined? send the callback did user say bypass? add to list of servers that ignore verification and try again in next repeat loop did user say cancel? exit repeat end repeat It got the job done for what I needed. I am a little hesitant to add it in to libURL as I?m not entirely sure of the implications of the repeat loop. I was going to start with adding the ability to get/set the servers and add a server to the list. That way a developer could check the result themselves and prompt the user. Ideally it would all happen from within libURL though. I?m not sure I have the time to think through all of the implications and do the testing necessary to submit the change to libURL. Thoughts? -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From hh at hyperhh.de Tue Oct 25 20:29:43 2016 From: hh at hyperhh.de (hh) Date: Wed, 26 Oct 2016 02:29:43 +0200 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? Message-ID: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> send in -the seconds seconds ? Job has to be done in 1970 ... When I was a young man with curly hair. Monte, please build a time machine. From lists at mangomultimedia.com Tue Oct 25 20:33:46 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 25 Oct 2016 19:33:46 -0500 Subject: How do I codesign an App? In-Reply-To: <1477439298060-4709755.post@n4.nabble.com> References: <7B2FBE1F-B7A1-4B32-B61D-AD7716EC1C43@earthednet.org> <1477439298060-4709755.post@n4.nabble.com> Message-ID: On Tue, Oct 25, 2016 at 6:48 PM, tbodine wrote: > > But even with successful signing, Apple manages to rub salt into the wound > with this bug.... If you codesign for Mac as a third party developer for > distribution outside of the app store, then people installing it may still > get a message that says "can't be opened because it is from an unidentified > developer". Unidentified? WTF! > You can sign an app that will download from your own website and install without any issues. I?ve done it with a number of apps. Monte and I put together some code that code signs an executable. It is used in the code that packages up an app built with the GLX App Framework. The code could be pulled out and used independently of the framework packager though. It is a simple call that looks like this: signAndStrip thePathToAppBundle, theCertificateName, isMAS It would be great to have the IDE handle this when people build applications but right now the code I have will only run on OS X. Maybe that isn?t a big issue though. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From monte at appisle.net Tue Oct 25 20:46:41 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 11:46:41 +1100 Subject: override HTTPS certificate failure In-Reply-To: References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> Message-ID: <62527B4A-525D-42AE-8D7A-495C308BC08D@appisle.net> > On 26 Oct. 2016, at 11:24 am, Trevor DeVore wrote: > >> One thing I might as well say now as I?ll say it in review anyway is it >> would be better to set individual hosts rather than the entire list in one >> hit to reduce the risk of different user code clobbering each other. > > > The intended use of libURLGetServersThatBypassCertificateVerification and > libURLSetServersThatBypassCertificateVerification is for getting servers to > store with your app prefs and for restoring the saved settings when your > app starts up. I still need to add a handler that adds to the list. Hmm? I?ll still worry that it will be used to clobber others but I can see the utility of setting a full list at startup. > > >> It will also be simpler to use: >> >> - get url >> - verification failure >> - ask user if they want to trust the host anyway >> - turn off verification for that host >> > > In my original implementation in my custom version of libURL I set up a > repeat loop around the code that fetches data from the server. My libURL > library allows you to define a callback that would be called if an SSL > cert error occurred. I would display a dialog that looks similar to the one > you see in Safari and let the user decide. The logic looks like this: > > repeat > get url > no errors? exit repeat > did an ssl error occur? > is a callback defined? > send the callback > did user say bypass? add to list of servers that ignore > verification and try again in next repeat loop > did user say cancel? exit repeat > end repeat > > It got the job done for what I needed. I am a little hesitant to add it in > to libURL as I?m not entirely sure of the implications of the repeat loop. > I was going to start with adding the ability to get/set the servers and add > a server to the list. That way a developer could check the result > themselves and prompt the user. > > Ideally it would all happen from within libURL though. I?m not sure I have > the time to think through all of the implications and do the testing > necessary to submit the change to libURL. > > Thoughts? One of the issues is this will mean the callback is defined globally which could be an issue although if we include a common but overridable dialog in the IDE and as a standalone inclusion it would seem unlikely to be a huge concern. Charles may have some feedback from a tsNet perspective. Particularly with async calls it might be interesting to pop up a modal? I wonder if it should be a bit like ask and answer where it just presents a dialog if there?s one with the correct name instead of a callback? Cheers Monte From monte at appisle.net Tue Oct 25 20:49:47 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 11:49:47 +1100 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> References: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> Message-ID: <1C731A9E-0409-4BF3-8C06-DECB53B42B2A@appisle.net> > On 26 Oct. 2016, at 11:29 am, hh wrote: > > send in -the seconds seconds ? > Job has to be done in 1970 ... When I was a young man with curly hair. > > Monte, please build a time machine. ;-) The issue is this: send ?foo? in 0 ?> insert script taking longer than 1 millisecond here send ?bar? in -1 millisecond ?bar? will be handled after ?foo" From prothero at earthednet.org Tue Oct 25 22:51:55 2016 From: prothero at earthednet.org (William Prothero) Date: Tue, 25 Oct 2016 19:51:55 -0700 Subject: How do I codesign an App? In-Reply-To: References: <7B2FBE1F-B7A1-4B32-B61D-AD7716EC1C43@earthednet.org> <1477439298060-4709755.post@n4.nabble.com> Message-ID: <96E26A4E-37C5-4420-8CCA-4B6721FE5D8E@earthednet.org> Trevor: Thanks a bunch! I haven?t played with the GLX App Framework, but I will and use that code. This is something that really needs to be in the IDE. Its SUCH a common thing to do and can be so frustrating. The other problem I get into is having a bunch of certificates that don?t work and I can?t seem to figure which one to use. I try them all, so? Anyway, the signing code looks like a natural for the IDE. Best, Bill > On Oct 25, 2016, at 5:33 PM, Trevor DeVore wrote: > > On Tue, Oct 25, 2016 at 6:48 PM, tbodine > wrote: > >> >> But even with successful signing, Apple manages to rub salt into the wound >> with this bug.... If you codesign for Mac as a third party developer for >> distribution outside of the app store, then people installing it may still >> get a message that says "can't be opened because it is from an unidentified >> developer". Unidentified? WTF! >> > > You can sign an app that will download from your own website and install > without any issues. I?ve done it with a number of apps. > > Monte and I put together some code that code signs an executable. It is > used in the code that packages up an app built with the GLX App Framework. > The code could be pulled out and used independently of the framework > packager though. It is a simple call that looks like this: > > signAndStrip thePathToAppBundle, theCertificateName, isMAS > > It would be great to have the IDE handle this when people build > applications but right now the code I have will only run on OS X. Maybe > that isn?t a big issue though. > > -- > 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 charles at techstrategies.com.au Tue Oct 25 23:43:23 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Wed, 26 Oct 2016 13:43:23 +1000 Subject: override HTTPS certificate failure In-Reply-To: References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> Message-ID: <98a4c255-cc15-59d0-4593-f6be5753d3cc@techstrategies.com.au> Monte, Trevor, My preference for handling the overriding of HTTPS certificates would be by adding the ability within libUrl to "get" the SSL certificate of a particular site (for example a self-signed one), and then "add" that SSL certificate to a CA store that is utilised by the libUrl library. This would allow you to retrieve the SSL certificates for any self-signed sites and add them to the CA store during your application's startup. Then you can use libUrl as normal (with libUrlSetSSLVerification set to true) and those self-signed sites would be accessible. The advantage of this is that it would provide the same benefit that Trevor is looking to achieve while still providing any application with protection from SSL connections being hijacked even if they are using self-signed certificates, rather than completing disregarding the signing identity of communications. tsNet currently does allow you to specify a separate CA store than the system one. If you are writing an application that connects to a server that is self-signed, then you can download the server's certificate and call tsNetCABundle with that certificate file. This will allow your application to verify that the self-signed certificate is the same as what you downloaded when you make requests against that server. It is on my task list to create another function in tsNet that allows you to retrieve the SSL certificates for a specific connection so that you don't have to download them separately. As a side note (for anyone that needs this right now), tsNet copies the tsNetVerifySSLPeer (and tsNetCABundle) setting that is current at the time a tsNetGet (or any other tsNet* call) function is called and stores it with the request. This means you can change those settings at any time and it won't affect any requests already in progress. So if you want to leave SSL verification on and *just* disable it for one request, you can simply do: tsNetVerifySSLPeer false tsNetGet(....) tsNetVerifySSLPeer true Regards, Charles On 26/10/2016 10:24 AM, Trevor DeVore wrote: > On Tue, Oct 25, 2016 at 2:36 PM, Monte Goulding wrote: > >>> On 26 Oct. 2016, at 3:25 am, Trevor DeVore >> wrote: >>> https://github.com/trevordevore/livecode/commit/ >> 6a5bc42abebca23e6b8aa611c8f0966b221441c6 > trevordevore/livecode/commit/6a5bc42abebca23e6b8aa611c8f0966b221441c6> >> One thing I might as well say now as I?ll say it in review anyway is it >> would be better to set individual hosts rather than the entire list in one >> hit to reduce the risk of different user code clobbering each other. > > The intended use of libURLGetServersThatBypassCertificateVerification and > libURLSetServersThatBypassCertificateVerification is for getting servers to > store with your app prefs and for restoring the saved settings when your > app starts up. I still need to add a handler that adds to the list. > > >> It will also be simpler to use: >> >> - get url >> - verification failure >> - ask user if they want to trust the host anyway >> - turn off verification for that host >> > In my original implementation in my custom version of libURL I set up a > repeat loop around the code that fetches data from the server. My libURL > library allows you to define a callback that would be called if an SSL > cert error occurred. I would display a dialog that looks similar to the one > you see in Safari and let the user decide. The logic looks like this: > > repeat > get url > no errors? exit repeat > did an ssl error occur? > is a callback defined? > send the callback > did user say bypass? add to list of servers that ignore > verification and try again in next repeat loop > did user say cancel? exit repeat > end repeat > > It got the job done for what I needed. I am a little hesitant to add it in > to libURL as I?m not entirely sure of the implications of the repeat loop. > I was going to start with adding the ability to get/set the servers and add > a server to the list. That way a developer could check the result > themselves and prompt the user. > > Ideally it would all happen from within libURL though. I?m not sure I have > the time to think through all of the implications and do the testing > necessary to submit the change to libURL. > > Thoughts? > From dochawk at gmail.com Wed Oct 26 00:26:05 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 25 Oct 2016 21:26:05 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <1C731A9E-0409-4BF3-8C06-DECB53B42B2A@appisle.net> References: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> <1C731A9E-0409-4BF3-8C06-DECB53B42B2A@appisle.net> Message-ID: On Tue, Oct 25, 2016 at 5:49 PM, Monte Goulding wrote: > > send ?foo? in 0 > ?> insert script taking longer than 1 millisecond here > send ?bar? in -1 millisecond > > ?bar? will be handled after ?foo" This leads to the next question. ON a "wait 0 with messages", does this effectively put the next line in the queue as the last (first? random?) entry for the current (next?) millisecond? I had always blithely figured that it would resume once there were no eligible messages, but that doesn't sound like the case. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at appisle.net Wed Oct 26 00:34:26 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 26 Oct 2016 15:34:26 +1100 Subject: override HTTPS certificate failure In-Reply-To: <98a4c255-cc15-59d0-4593-f6be5753d3cc@techstrategies.com.au> References: <3abc690b-3ee1-0924-077c-96a91489ec97@cogapp.com> <7CCE8CC0-FB90-4977-99C7-4A9E359BFC43@iotecdigital.com> <336921EA-5A62-402E-BF0A-C5110D5B0497@appisle.net> <98a4c255-cc15-59d0-4593-f6be5753d3cc@techstrategies.com.au> Message-ID: <4D9FECC2-9E42-4757-83C9-96114917660D@appisle.net> Perhaps this in addition to a callback / dialog? > On 26 Oct. 2016, at 2:43 pm, Charles Warwick wrote: > > Monte, Trevor, > > My preference for handling the overriding of HTTPS certificates would be by adding the ability within libUrl to "get" the SSL certificate of a particular site (for example a self-signed one), and then "add" that SSL certificate to a CA store that is utilised by the libUrl library. > > This would allow you to retrieve the SSL certificates for any self-signed sites and add them to the CA store during your application's startup. Then you can use libUrl as normal (with libUrlSetSSLVerification set to true) and those self-signed sites would be accessible. > > The advantage of this is that it would provide the same benefit that Trevor is looking to achieve while still providing any application with protection from SSL connections being hijacked even if they are using self-signed certificates, rather than completing disregarding the signing identity of communications. > > tsNet currently does allow you to specify a separate CA store than the system one. If you are writing an application that connects to a server that is self-signed, then you can download the server's certificate and call tsNetCABundle with that certificate file. This will allow your application to verify that the self-signed certificate is the same as what you downloaded when you make requests against that server. > > It is on my task list to create another function in tsNet that allows you to retrieve the SSL certificates for a specific connection so that you don't have to download them separately. > > As a side note (for anyone that needs this right now), tsNet copies the tsNetVerifySSLPeer (and tsNetCABundle) setting that is current at the time a tsNetGet (or any other tsNet* call) function is called and stores it with the request. This means you can change those settings at any time and it won't affect any requests already in progress. So if you want to leave SSL verification on and *just* disable it for one request, you can simply do: > > tsNetVerifySSLPeer false > tsNetGet(....) > tsNetVerifySSLPeer true > > Regards, > > Charles > > > > On 26/10/2016 10:24 AM, Trevor DeVore wrote: >> On Tue, Oct 25, 2016 at 2:36 PM, Monte Goulding wrote: >> >>>> On 26 Oct. 2016, at 3:25 am, Trevor DeVore >>> wrote: >>>> https://github.com/trevordevore/livecode/commit/ >>> 6a5bc42abebca23e6b8aa611c8f0966b221441c6 >> trevordevore/livecode/commit/6a5bc42abebca23e6b8aa611c8f0966b221441c6> >>> One thing I might as well say now as I?ll say it in review anyway is it >>> would be better to set individual hosts rather than the entire list in one >>> hit to reduce the risk of different user code clobbering each other. >> >> The intended use of libURLGetServersThatBypassCertificateVerification and >> libURLSetServersThatBypassCertificateVerification is for getting servers to >> store with your app prefs and for restoring the saved settings when your >> app starts up. I still need to add a handler that adds to the list. >> >> >>> It will also be simpler to use: >>> >>> - get url >>> - verification failure >>> - ask user if they want to trust the host anyway >>> - turn off verification for that host >>> >> In my original implementation in my custom version of libURL I set up a >> repeat loop around the code that fetches data from the server. My libURL >> library allows you to define a callback that would be called if an SSL >> cert error occurred. I would display a dialog that looks similar to the one >> you see in Safari and let the user decide. The logic looks like this: >> >> repeat >> get url >> no errors? exit repeat >> did an ssl error occur? >> is a callback defined? >> send the callback >> did user say bypass? add to list of servers that ignore >> verification and try again in next repeat loop >> did user say cancel? exit repeat >> end repeat >> >> It got the job done for what I needed. I am a little hesitant to add it in >> to libURL as I?m not entirely sure of the implications of the repeat loop. >> I was going to start with adding the ability to get/set the servers and add >> a server to the list. That way a developer could check the result >> themselves and prompt the user. >> >> Ideally it would all happen from within libURL though. I?m not sure I have >> the time to think through all of the implications and do the testing >> necessary to submit the change to libURL. >> >> Thoughts? >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Wed Oct 26 01:43:58 2016 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 25 Oct 2016 22:43:58 -0700 Subject: sluggishness of 8.1.1 on send in 0/wait 0 pairs? In-Reply-To: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> References: <3FBD1BD0-BDC5-40E7-8E28-B802DC461B3D@hyperhh.de> Message-ID: <8dafe5b6-d63c-1da9-dfcb-4265895b8fda@sonic.net> On 10/25/2016 05:29 PM, hh wrote: > send in -the seconds seconds ? > Job has to be done in 1970 ... When I was a young man with curly hair. In that case you don't want "send *in*