From richmondmathewson at gmail.com Thu Sep 1 01:18:20 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 01 Sep 2011 08:18:20 +0300 Subject: [OT] Mediocre Britain In-Reply-To: <48F2BD57-F49F-45CC-ADF9-1556DCDE14F0@doctorTimothyMiller.com> References: <4E5A70E5.9040108@gmail.com> <4E3673BC-89A9-4711-B439-4EF2C9BC1AD7@clarkeandclarke.co.uk> <63C23BC2-BE1C-4882-B58F-ADFCA4262A4C@mac.com> <074A6353-2148-4040-AF01-EFCEEA3E5D53@clarkeandclarke.co.uk> <8C6819BC-6C70-4ADE-82F8-5B85BF8225A4@twft.com> <840FB3E9-D5C1-432B-BEE1-0ECF7DDA2274@clarkeandclarke.co.uk> <4E5E0E80.5080805@gmail.com> <48F2BD57-F49F-45CC-ADF9-1556DCDE14F0@doctorTimothyMiller.com> Message-ID: <4E5F159C.6080603@gmail.com> On 09/01/2011 01:28 AM, Timothy Miller wrote: > On Aug 31, 2011, at 3:35 AM, Richmond Mathewson wrote: > >> On 08/31/2011 12:32 PM, Keith Clarke wrote: >>> For any techniques to succeed requires a willingness is that, participant have to closed minds (and the frequently associated clenched fists) can hold nothing value - just a tight grip on empty dogma that provides the ego with the illusion of certainty. >> All these marvellous tools presuppose the above. And to have the above means starting with children when they are 4-5-6 and NOT cramping their precious minds with the Gradgrind school of FACTS, but letting them flower in an environment conducive to their arriving at conclusions by themselves. > *Everyone* has an opinion about how to increase intelligence, motivation or instructional success among school-aged children. No one actually knows how. According to the principle of supply and demand, these opinions have no value. There is an infinite supply of them and no particular demand. > > These are not matters for casual speculation. These are questions that can be resolved by scientific research. At the moment, no one actually knows how to solve these problems. > > Solutions might be devised. Hope springs eternal. Still, there's no reason to suppose a good answer even exists. Kurt Hahn and A.S. Neill certainly had good answers. > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Sep 1 05:53:58 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Sep 2011 02:53:58 -0700 Subject: Collapse (?) An Array? Message-ID: Sorry, I don't know the correct verbiage here... If I script this: put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] And then script this: delete variable theArray[2] I essentially get an array with entries that look like this: A C How can I collapse (?) the array after deleting element 2 so that the array only has two elements remaining? A C Thanks for suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design From dave.cragg at lacscentre.co.uk Thu Sep 1 07:27:47 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Sep 2011 12:27:47 +0100 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> On 1 Sep 2011, at 10:53, Scott Rossi wrote: > Sorry, I don't know the correct verbiage here... > > If I script this: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > > > And then script this: > > delete variable theArray[2] > > > I essentially get an array with entries that look like this: > > A > > C > > How can I collapse (?) the array after deleting element 2 so that the array > only has two elements remaining? > > A > C > Scott I think the array is already collapsed. on mouseUp put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] delete variable theArray[2] repeat for each element el in theArray put el & cr after tOut end repeat put tOut end mouseUp This gives: A C What are you doing to get A C Dave From coiin at verizon.net Thu Sep 1 08:13:46 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 01 Sep 2011 08:13:46 -0400 Subject: Collapse (?) An Array? In-Reply-To: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> Message-ID: <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> Try this in the multiline message box: put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] delete variable theArray[2] put theArray[1] &"*"&theArray[2] &"*"& theArray[3] You'll see that although theArray[2] is deleted, its position is still kept. The way the dictionary describes it suggests that the element would have been removed. On Sep 1, 2011, at 7:27 AM, Dave Cragg wrote: > What are you doing to get > > A > > C From bdrunrev at gmail.com Thu Sep 1 08:34:40 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 1 Sep 2011 13:34:40 +0100 Subject: Sound formats on Android In-Reply-To: <55cbc13531a6cd755a411cbf67b7b6a9@mfelkerco.com> References: <4E5ACED4.3080305@hyperactivesw.com> <4E5D1729.4030601@hyperactivesw.com> <4E5D2668.1030208@hyperactivesw.com> <029501cc680e$6c7bb820$45732860$@net> <2CC651AA-F7B6-4E51-920C-4ABCA162BD69@mac.com> <5F70139A-20BF-470C-BCAC-F7FB439E6A5B@twft.com> <55cbc13531a6cd755a411cbf67b7b6a9@mfelkerco.com> Message-ID: Mike, it was far more work than it should have been getting Livecode 4.6.3 and the Android SDK to work on OS X. I'll give you that :) Have you got the Android VM set up and running before you try to connect Livecode to it? I certainly had the VM identified in the Livecode IDE, but then plugged in my actual Android device, and found that (once I had placed my Android device into USB debug mode) Livecode could deploy a test app via USB directly to the device and run it there. Considering all the (cross-OS) and java jiggery-pokery going on, once I had the SDK & Livecode properly set-up, it was amazingly simple to actually go from working on something within the IDE to deploying it directly to a physical device. What is the problem you are up against, even after following the steps outlined in the relevant lesson? Did you deploy the DX file as mentioned in the forum posts (or was that DX file for OS X only?) Perhaps it is worth contacting Support and asking for a ETA for 4.6.4 rather than fretting too much about this? If 4.6.4 is being released in a couple of weeks, I'd have personally found a better use for my time than debugging the SDK/Livecode interaction. If 4.6.4 is a long way off, then maybe we can identify what is going wrong. Just downloading the Android SDK and updating that, whilst reading some of the diagrams about how Android java development works, and their recommendation to use Eclipse was bringing me out in java-hives. I was so appreciative of the idea that once I got Livecode up and running I wouldn't have to bother about the java/eclipse nastiness that other developers have to go through. (Trust me -- the lowest point in my entire life was doing enterprise java development using Eclipse). And to think that we get iOS development yet don't have to go through the hassle of learning ObjC and XCode too. Way back when, we had many debates on this list regarding demands for the revlet player in the browser (before the browser plugin development was announced, I'd been convinced by Richard that it was going to be huge undertaking). IMO it is worth adjusting one's expectations to what is feasible within a sub-set of Runrev's offerings. I personally have no use for Livecode server-side, and I won't bank on the revlet player because of the efforts of maintaining compatibility across so many different environments (ditto Livecode on Linux). Without Runrev's efforts for Android/iOS I'm sure I would never have contemplated development for either of those platforms. Bernard On Thu, Sep 1, 2011 at 12:57 AM, Admin wrote: > > > Regardless of whether or not it exists, it still did not make > android deployment work. I cannot even test on android systems. > > This > is SERIOUSLY bothering me. First the revlet player causes me to lose my > biggest client due to it being completely broken and now this. Hopefully > it works and this is just a small glitch. > > Mike From dave.cragg at lacscentre.co.uk Thu Sep 1 09:16:52 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Sep 2011 14:16:52 +0100 Subject: Collapse (?) An Array? In-Reply-To: <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> Message-ID: <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> On 1 Sep 2011, at 13:13, Colin Holgate wrote: > Try this in the multiline message box: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > delete variable theArray[2] > put theArray[1] &"*"&theArray[2] &"*"& theArray[3] > > > You'll see that although theArray[2] is deleted, its position is still kept. The way the dictionary describes it suggests that the element would have been removed. I don't really see it as its position being kept. For example, this will produce the same result: put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] delete variable theArray[2] put theArray[1] &"*"&theArray[7] &"*"& theArray[3] It seems using any key on an existing array will produce an empty value. (I don't know if that's how it should behave. I guess the alternative would be throwing an error.) The following suggests the array position has indeed been deleted: put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] delete variable theArray[2] put the keys of theArray Cheers Dave From dave.cragg at lacscentre.co.uk Thu Sep 1 09:27:44 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Sep 2011 14:27:44 +0100 Subject: Collapse (?) An Array? In-Reply-To: <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> Message-ID: <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> On 1 Sep 2011, at 14:16, Dave Cragg wrote: > It seems using any key on an existing array will produce an empty value. (I don't know if that's how it should behave. I guess the alternative would be throwing an error.) Update: it seems the array doesn't even need to exist. This also produces the same result: put "A" into theArray[1] put "B" into theArray[2] put "C" into theArray[3] delete variable theArray[2] put theArray[1] &"*"&otherArray[7] &"*"& theArray[3] Cheers Dave From dunbarx at aol.com Thu Sep 1 09:32:17 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 1 Sep 2011 09:32:17 -0400 (EDT) Subject: Default Button In-Reply-To: References: Message-ID: <8CE36C2B384C5B4-FD8-1AB1A@webmail-m026.sysops.aol.com> I can only get this to work intermittently. The stuff in the dictionary does not happen, and I cannot get a mouseUp message to fire. If I set the default of a certain button I cannot get anything to return that fact. (answer the defaultbutton of this cd) But sometimes it does. Craig Newman -----Original Message----- From: Pete To: How to use LiveCode Sent: Wed, Aug 31, 2011 4:31 pm Subject: Default Button I put a default button a card that has a couple of field controls on it. The field controls all have lockText set to true and traversalOn set to false. Pressing the return key when the card is active does not execute the mouseUp handler for the default button as claimed by the dictionary. Is there some other setting of the card/button/controls that I have to use? Pete Molly's Revenge _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Thu Sep 1 09:48:45 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 01 Sep 2011 08:48:45 -0500 Subject: Collapse =?UTF-8?Q?=28=3F=29=20An=20Array=3F?= In-Reply-To: <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> Message-ID: I totally get what the OP wants, code-wise, I just cannot help make it happen, but perhaps I can put it in my terms and help someone more knowledgeable than me help him. What he is saying, is that when a variable is deleted from within the array, he needs the entire array re-ordered (sorted) and moved up a notch to account for the now deleted variable. So, if A,B,C,D is the array with positions 1,2,3,4 and you delete array variable 2 It will now look like this: A,C,D and the array numbers are now: 1,3,4 He needs it to be A,C,D and 1,2,3 The C is now 2 and the D is now 3, so on and so forth across however large the array is. Now, does one simply re-write the array once the deletion is made? Not sure. Note - if this is for a database and you are dealing with IDs, then DO NOT RE-ORDER ANYTHING - you will break the database (well, not literally until you do a SAVE - then you really will break it). Just leave it as is. Databases can eventually be re-ordered (re-indexed) once they are too large and riddled with holes, but until then, just leave it alone. Mike On Thu, 1 Sep 2011 14:27:44 +0100, Dave Cragg wrote: > On 1 Sep 2011, at 14:16, Dave Cragg wrote: > >> It seems using any key on an existing array will produce an empty value. (I don't know if that's how it should behave. I guess the alternative would be throwing an error.) > > Update: it seems the array doesn't even need to exist. This also produces the same result: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > delete variable theArray[2] > put theArray[1] &"*"&otherArray[7] &"*"& theArray[3] > > Cheers > Dave > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 1 09:54:26 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Sep 2011 06:54:26 -0700 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: <4E5F8E92.9040700@fourthworld.com> Scott Rossi wrote: > If I script this: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > > > And then script this: > > delete variable theArray[2] > > > I essentially get an array with entries that look like this: > > A > > C > > How can I collapse (?) the array after deleting element 2 so that the array > only has two elements remaining? > > A > C The delete is fine; the problem is in the display of the results. If you use: put theArray[1] &"*"&theArray[2] &"*"& theArray[3] ...you'll get the empty entry for theArray[2]. The variable theArray still exists, but there's nothing in that slot. Building the output from the keys of the array will get what you want: put the keys of theArray into tKeys sort lines of tKeys -- if the order is important repeat for each line tKey in tKeys put "*"& theArray[tKey] after tResult end repeat put tResult -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Thu Sep 1 09:58:52 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 01 Sep 2011 09:58:52 -0400 Subject: Collapse (?) An Array? In-Reply-To: References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> Message-ID: I think Mike's explanation over complicated things! I now understand what Dave was saying, and the problem stems from us humans reading a "1" as an index into the array, and not a key of the array. In other languages you could say: put "hello" into theArray[10] and that array would now have ten entries, nine of which haven't been filled in yet. In an LC array, there is only one entry, and its key is "10", and the value is "hello". From dave.cragg at lacscentre.co.uk Thu Sep 1 09:59:55 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 1 Sep 2011 14:59:55 +0100 Subject: Collapse (?) An Array? In-Reply-To: References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> Message-ID: On 1 Sep 2011, at 14:48, Admin wrote: > So, if A,B,C,D is the array with positions 1,2,3,4 > > and you > delete array variable 2 > > It will now look like this: > > A,C,D > > and the > array numbers are now: > > 1,3,4 > > He needs it to be > > A,C,D > > and > > 1,2,3 Looking back, I guess that's what Scott was hoping for. (I'm sure he'll pipe in to confirm.) Unfortunately (or perhaps not), it doesn't work that way. Livecode arrays are associative arrays, and all keys, whether numbers or strings, behave in the same way. Dave From admin at mfelkerco.com Thu Sep 1 10:06:47 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 01 Sep 2011 09:06:47 -0500 Subject: Collapse =?UTF-8?Q?=28=3F=29=20An=20Array=3F?= In-Reply-To: References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> Message-ID: Collin, Perhaps to you I was over complicating things, but as I see it, that is what he was asking for. If you have nothing nice to say . . . Mike P.S. I am not an admin - when I joined the live code summer academy, they auto-assigned this forum name to me - it's not by my choice. On Thu, 1 Sep 2011 14:59:55 +0100, Dave Cragg wrote: > On 1 Sep 2011, at 14:48, Admin wrote: > >> So, if A,B,C,D is the array with positions 1,2,3,4 and you delete array variable 2 It will now look like this: A,C,D and the array numbers are now: 1,3,4 He needs it to be A,C,D and 1,2,3 > > Looking back, I guess that's what Scott was hoping for. (I'm sure he'll pipe in to confirm.) > > Unfortunately (or perhaps not), it doesn't work that way. Livecode arrays are associative arrays, and all keys, whether numbers or strings, behave in the same way. > > Dave > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Thu Sep 1 10:08:43 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Sep 2011 11:08:43 -0300 Subject: Open Externals for Livecode In-Reply-To: References: Message-ID: On Wed, Aug 31, 2011 at 11:03 PM, Trevor DeVore wrote: > On Tue, Aug 30, 2011 at 7:22 PM, Glen Bojsza wrote: > > > There has always been a lot of discussion around open externals and as > such > > I would like to put the first (I think ) step forward. > > > > I would like to make the following contribution. > > > > *The following is complete and available now* - external binaries and > > source > > code for supporting libssh library (www.libssh.org) > > > > Glen sent me the files and I have posted them to GitHub. > > https://github.com/trevordevore/SSH-External-for-LiveCode > Yay!!! I will finally learn how to do callbacks.... :-) > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Sep 1 10:10:26 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Sep 2011 07:10:26 -0700 Subject: Collapse (?) An Array? In-Reply-To: <4E5F8E92.9040700@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > The delete is fine; the problem is in the display of the results. > > If you use: > > put theArray[1] &"*"&theArray[2] &"*"& theArray[3] > > ...you'll get the empty entry for theArray[2]. The variable theArray > still exists, but there's nothing in that slot. Yes, this is the problem. I'm storing data in array form in custom properties, and my problem is after a delete, the remaining elements of the array are not reordered. > Building the output from the keys of the array will get what you want: > > put the keys of theArray into tKeys > sort lines of tKeys -- if the order is important > repeat for each line tKey in tKeys > put "*"& theArray[tKey] after tResult > end repeat > put tResult >From what you're saying, it sounds like I need to put the remaining elements of the array into a temporary variable and then replace the original array. Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Thu Sep 1 10:33:12 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 01 Sep 2011 10:33:12 -0400 Subject: Collapse (?) An Array? In-Reply-To: References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> <6696885C-38B3-4C4A-8DC9-6EC2EA6B47CA@lacscentre.co.uk> <9D8B6D7B-57DC-4EFB-97C9-CD7275079F19@lacscentre.co.uk> Message-ID: Yes, the "I think" part of what I said meant that to me it had over complicated things. Glad to hear that it was easy to understand for the others, and at least I had the personal breakthrough of realizing that anArray[10] doesn't refer to the tenth position of an array. On Sep 1, 2011, at 10:06 AM, Admin wrote: > Perhaps to you I was over complicating things, but as I > see it, that is what he was asking for. From rjb at robelko.com Thu Sep 1 10:30:33 2011 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 1 Sep 2011 16:30:33 +0200 Subject: Default Button In-Reply-To: References: Message-ID: On 31.08.2011 at 17:29 Uhr -0700 Pete apparently wrote: >I put a default button a card that has a couple of field controls on it. > The field controls all have lockText set to true and traversalOn set to >false. Pressing the return key when the card is active does not execute the >mouseUp handler for the default button as claimed by the dictionary. Is >there some other setting of the card/button/controls that I have to use? >Pete Have you tried to place in the card script: on returnKey click at the loc of btn "mydefaultbuttonname" end returnKey Robert From jacque at hyperactivesw.com Thu Sep 1 11:18:54 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Sep 2011 10:18:54 -0500 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: <4E5FA25E.9060007@hyperactivesw.com> On 9/1/11 9:10 AM, Scott Rossi wrote: >> From what you're saying, it sounds like I need to put the remaining elements > of the array into a temporary variable and then replace the original array. If that's what you need, then it might be easier to just combine the array, remove the line you don't want, and then split it again. If any of your values are more than one line, use custom delimiters that don't appear in your data anywhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Sep 1 11:20:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 01 Sep 2011 10:20:23 -0500 Subject: Default Button In-Reply-To: References: Message-ID: <4E5FA2B7.50101@hyperactivesw.com> On 8/31/11 7:29 PM, Pete wrote: > I put a default button a card that has a couple of field controls on it. > The field controls all have lockText set to true and traversalOn set to > false. Pressing the return key when the card is active does not execute the > mouseUp handler for the default button as claimed by the dictionary. Is > there some other setting of the card/button/controls that I have to use? Funny, I never knew about this capability. I've always had to script it with a returnKey handler in the card, I've never seen a default behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Thu Sep 1 12:06:55 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 1 Sep 2011 12:06:55 -0400 (EDT) Subject: Default Button In-Reply-To: <4E5FA2B7.50101@hyperactivesw.com> References: <4E5FA2B7.50101@hyperactivesw.com> Message-ID: <8CE36D84DBA4B20-FD8-1CD2D@webmail-m026.sysops.aol.com> Jacque. Me, too. The dictionary talks a great game, though. It is the unrepeatable intermittent aspect that has me stumped. I DID get an answer to my "answer the defaultButton of this cd" a couple of times, but cannot any longer. As for the dictionary's comments about the defaultButton "changing its size", etc. I never saw any of that. This was all tried in a new mainStack with two rectangle buttons and a single default button. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Thu, Sep 1, 2011 7:22 am Subject: Re: Default Button On 8/31/11 7:29 PM, Pete wrote: > I put a default button a card that has a couple of field controls on it. > The field controls all have lockText set to true and traversalOn set to > false. Pressing the return key when the card is active does not execute the > mouseUp handler for the default button as claimed by the dictionary. Is > there some other setting of the card/button/controls that I have to use? Funny, I never knew about this capability. I've always had to script it with a returnKey handler in the card, I've never seen a default behavior. -- 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 andre at andregarzia.com Thu Sep 1 12:13:25 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 1 Sep 2011 13:13:25 -0300 Subject: Collapse (?) An Array? In-Reply-To: <4E5FA25E.9060007@hyperactivesw.com> References: <4E5FA25E.9060007@hyperactivesw.com> Message-ID: On Thu, Sep 1, 2011 at 12:18 PM, J. Landman Gay wrote: > On 9/1/11 9:10 AM, Scott Rossi wrote: > > From what you're saying, it sounds like I need to put the remaining >>> elements >>> >> of the array into a temporary variable and then replace the original >> array. >> > > If that's what you need, then it might be easier to just combine the array, > remove the line you don't want, and then split it again. If any of your > values are more than one line, use custom delimiters that don't appear in > your data anywhere. > on foldArray @pA combine pA by numtochar(4) split pA by numtochar(4) end foldArray This works right??? > > -- > 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 > -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Sep 1 12:23:32 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 01 Sep 2011 09:23:32 -0700 Subject: Collapse (?) An Array? In-Reply-To: <4E5FA25E.9060007@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: >> From what you're saying, it sounds like I need to put the remaining elements >> of the array into a temporary variable and then replace the original array. > > If that's what you need, then it might be easier to just combine the > array, remove the line you don't want, and then split it again. If any > of your values are more than one line, use custom delimiters that don't > appear in your data anywhere. Funny, the whole reason I'm using arrays to store custom properties is to avoid relying on delimiter characters :-) I'm storing image data which has all kinds of crazy characters and don't want to risk corrupting the images. I was hoping there was some special combine/split/union (collapse!) command that would do what I needed, but rebuilding the array is working fine so far. Thanks to all who responded. And Mike Admin, yes, you understood what I was asking for. Regards, Scott Rossi Creative Director Tactile Media, UX Design From m.schonewille at economy-x-talk.com Thu Sep 1 12:27:22 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 1 Sep 2011 18:27:22 +0200 Subject: Default Button In-Reply-To: <4E5FA2B7.50101@hyperactivesw.com> References: <4E5FA2B7.50101@hyperactivesw.com> Message-ID: Hi, This is what I just did: 1) create new stack 2) drag one default button from the tools palette into your stack 3) edit the script of the button to make it been on mouseUp (and nothing else) 4) compile and close script 5) press return 6) hear beep -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 1 sep 2011, at 17:20, J. Landman Gay wrote: > On 8/31/11 7:29 PM, Pete wrote: >> I put a default button a card that has a couple of field controls on it. >> The field controls all have lockText set to true and traversalOn set to >> false. Pressing the return key when the card is active does not execute the >> mouseUp handler for the default button as claimed by the dictionary. Is >> there some other setting of the card/button/controls that I have to use? > > Funny, I never knew about this capability. I've always had to script it with a returnKey handler in the card, I've never seen a default behavior. From ambassador at fourthworld.com Thu Sep 1 12:37:35 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Sep 2011 09:37:35 -0700 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: <4E5FB4CF.6010207@fourthworld.com> Scott Rossi wrote: > Recently, Richard Gaskin wrote: > >> The delete is fine; the problem is in the display of the results. >> >> If you use: >> >> put theArray[1] &"*"&theArray[2] &"*"& theArray[3] >> >> ...you'll get the empty entry for theArray[2]. The variable theArray >> still exists, but there's nothing in that slot. > > Yes, this is the problem. I'm storing data in array form in custom > properties, and my problem is after a delete, the remaining elements of the > array are not reordered. True, the order of elements in an associative array is not maintained across split and combine, but within the array there is no "order" per se, just a set of slots that point to memory locations. If order is important you'll want to use the sort command on the array keys and access them in that sorted order. >> Building the output from the keys of the array will get what you want: >> >> put the keys of theArray into tKeys >> sort lines of tKeys -- if the order is important >> repeat for each line tKey in tKeys >> put "*"& theArray[tKey] after tResult >> end repeat >> put tResult > >From what you're saying, it sounds like I need to put the remaining elements > of the array into a temporary variable and then replace the original array. Not at all. The array's fine. All you need to do is tailor your output according to your needs. It may be helpful to remember that all arrays in LiveCode are associative arrays. Any keys you use are strings, whether comprised of alphanumeric or strictly numeric characters. The slots in an associative array aren't numbered per se, they're named. Using the keys of the array will show you which names are in use, and they can be sorted to get any output you need. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From gbojsza at gmail.com Thu Sep 1 12:40:24 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 1 Sep 2011 10:40:24 -0600 Subject: Open Externals for Livecode In-Reply-To: References: Message-ID: Thanks Trevor. If anyone has a particular example stack they would like made please email me and I will put it on the list. (Linux or Windows until a Mac library is compiled) I am hopeful that the group will eventually help with this. Glen On Wed, Aug 31, 2011 at 8:03 PM, Trevor DeVore wrote: > On Tue, Aug 30, 2011 at 7:22 PM, Glen Bojsza wrote: > > > There has always been a lot of discussion around open externals and as > such > > I would like to put the first (I think ) step forward. > > > > I would like to make the following contribution. > > > > *The following is complete and available now* - external binaries and > > source > > code for supporting libssh library (www.libssh.org) > > > > Glen sent me the files and I have posted them to GitHub. > > https://github.com/trevordevore/SSH-External-for-LiveCode > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Thu Sep 1 12:46:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Sep 2011 09:46:30 -0700 Subject: Collapse (?) An Array? In-Reply-To: <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> References: <457E3D9F-A7BE-4431-A6B0-CC63D82C3BF4@lacscentre.co.uk> <3BFD2EBC-6205-4DB6-A24B-0749F4B3B8A9@verizon.net> Message-ID: <0E2F2A6B-FE1B-4AA8-9922-27CB872984C2@twft.com> I can put "put theArray[2]" into the message box and get empty, and I do not even HAVE an array called theArray! :-) Bob On Sep 1, 2011, at 5:13 AM, Colin Holgate wrote: > Try this in the multiline message box: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > delete variable theArray[2] > put theArray[1] &"*"&theArray[2] &"*"& theArray[3] > > > You'll see that although theArray[2] is deleted, its position is still kept. The way the dictionary describes it suggests that the element would have been removed. > > > On Sep 1, 2011, at 7:27 AM, Dave Cragg wrote: > >> What are you doing to get >> >> A >> >> C > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Sep 1 12:47:51 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Sep 2011 09:47:51 -0700 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: Try instead: put the keys of theArray into myKeys put "2" is in myKeys See what you get. Bob On Sep 1, 2011, at 2:53 AM, Scott Rossi wrote: > Sorry, I don't know the correct verbiage here... > > If I script this: > > put "A" into theArray[1] > put "B" into theArray[2] > put "C" into theArray[3] > > > And then script this: > > delete variable theArray[2] > > > I essentially get an array with entries that look like this: > > A > > C > > How can I collapse (?) the array after deleting element 2 so that the array > only has two elements remaining? > > A > C > > Thanks for suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Sep 1 12:53:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Sep 2011 09:53:49 -0700 Subject: Collapse (?) An Array? In-Reply-To: References: Message-ID: <561898E9-080F-43C0-8937-F469BD39DD1D@twft.com> No Scott you are missing a bit of information here. Try this: on mouseUp put "This is a test" into theArray[1] put "This is a second test" into theArray[2] put "This is a third test" into theArray[3] delete variable theArray[2] put the keys of theArray end mouseUp What you will get is: 1 3 There is no "empty slot. Now try this: on mouseUp put theBogusArray[1] end mouseUp You will get empty. Referencing a nonexistent element of a nonexistant array returns empty. It does not generate an error. This is what is tripping you up. Bob On Sep 1, 2011, at 7:10 AM, Scott Rossi wrote: > Recently, Richard Gaskin wrote: > >> The delete is fine; the problem is in the display of the results. >> >> If you use: >> >> put theArray[1] &"*"&theArray[2] &"*"& theArray[3] >> >> ...you'll get the empty entry for theArray[2]. The variable theArray >> still exists, but there's nothing in that slot. > > Yes, this is the problem. I'm storing data in array form in custom > properties, and my problem is after a delete, the remaining elements of the > array are not reordered. > > >> Building the output from the keys of the array will get what you want: >> >> put the keys of theArray into tKeys >> sort lines of tKeys -- if the order is important >> repeat for each line tKey in tKeys >> put "*"& theArray[tKey] after tResult >> end repeat >> put tResult > > From what you're saying, it sounds like I need to put the remaining elements > of the array into a temporary variable and then replace the original array. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Sep 1 12:56:11 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Sep 2011 09:56:11 -0700 Subject: Default Button In-Reply-To: <8CE36D84DBA4B20-FD8-1CD2D@webmail-m026.sysops.aol.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8CE36D84DBA4B20-FD8-1CD2D@webmail-m026.sysops.aol.com> Message-ID: I think there are still a few things in the edges and corners of Livecode that have been ignored and worked around, and bug reports not filed. A good example of an popup menu that is on the plugin Settings panel in the Development menu. The popup list, in addition to being the stack file names as opposed to stack names, is also not alphabetized. This has been this way since at least version 2.x of Rev A little thing, probably not worth fixing, but an IDE anomaly that irks me every time I have to do something with plugins. But I don't spend a lot of time configuring plugins. Give a choice between fixing these little things, I'd rather have them continue their building the a new full featured text field or built-in SFTP support. Regarding the default button issue - quite frankly I'd rather have Livecode give me the primitives and give me the ability to work with the messages. So adding a simple script to activate it isn't that big a deal. If the button automatically sent out messages on return, it might require a script somewhere to defeat that automatic behavior. Probably a design decision that didn't get reflected in the docs. sqb On 1 September 2011 09:06, wrote: > Jacque. > > > Me, too. > > > The dictionary talks a great game, though. It is the unrepeatable > intermittent aspect that has me stumped. I DID get an answer to my "answer > the defaultButton of this cd" a couple of times, but cannot any longer. As > for the dictionary's comments about the defaultButton "changing its size", > etc. I never saw any of that. > > > This was all tried in a new mainStack with two rectangle buttons and a > single default button. > > > Craig > > > -----Original Message----- > From: J. Landman Gay > To: How to use LiveCode > Sent: Thu, Sep 1, 2011 7:22 am > Subject: Re: Default Button > > > On 8/31/11 7:29 PM, Pete wrote: > > I put a default button a card that has a couple of field controls on it. > > The field controls all have lockText set to true and traversalOn set to > > false. Pressing the return key when the card is active does not execute > the > > mouseUp handler for the default button as claimed by the dictionary. Is > > there some other setting of the card/button/controls that I have to use? > > Funny, I never knew about this capability. I've always had to script it > with a returnKey handler in the card, I've never seen a default behavior. > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Thu Sep 1 13:09:01 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 1 Sep 2011 10:09:01 -0700 Subject: Default Button In-Reply-To: References: <4E5FA2B7.50101@hyperactivesw.com> Message-ID: Thanks everyone. Jacque, Like you I'm currently using a returnKey handler for the card that sends mouseUp to the button to get round this. Craig, If I "put the defaultbutton of this card", I get the correct output. Also, I'm not seeing anything in the dictionary about the button changing size - is that in the defaultButton entry? Mark, maybe the difference between what you did and what I have is that I have 3 field controls on the card in addition to the default Button. Each of the field controls has lockText set to true and traversalOn set to false. Thing is, the dictionary says the default button behavior only works if there is no active control on the card, but it doesn't define what an active control is so I don't know if the way I defined the field controls qualifies them as being inactive or not. I'm getting the behavior I want by using the card level returnKey handler but wondering whether I should enter a bug report about this. There doesn't seem any point in defining a button as the default button unless it acts as defined in the dictionary, but it would be good to know what qualifies as an "active control" before reporting it as a bug. Pete Molly's Revenge On Thu, Sep 1, 2011 at 9:27 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > This is what I just did: > > 1) create new stack > 2) drag one default button from the tools palette into your stack > 3) edit the script of the button to make it been on mouseUp (and nothing > else) > 4) compile and close script > 5) press return > 6) hear beep > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like > https://www.facebook.com/marksch > > On 1 sep 2011, at 17:20, J. Landman Gay wrote: > > > On 8/31/11 7:29 PM, Pete wrote: > >> I put a default button a card that has a couple of field controls on it. > >> The field controls all have lockText set to true and traversalOn set to > >> false. Pressing the return key when the card is active does not execute > the > >> mouseUp handler for the default button as claimed by the dictionary. Is > >> there some other setting of the card/button/controls that I have to use? > > > > Funny, I never knew about this capability. I've always had to script it > with a returnKey handler in the card, I've never seen a default behavior. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Thu Sep 1 13:17:04 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 1 Sep 2011 10:17:04 -0700 Subject: Default Button In-Reply-To: References: <4E5FA2B7.50101@hyperactivesw.com> <8CE36D84DBA4B20-FD8-1CD2D@webmail-m026.sysops.aol.com> Message-ID: Stephen, I agree with all that, but I think it should be recorded as a bug just so it's on record even though it's definitely a very low priority. Maybe I will put a user note on the dictionary entry so people don't spend an hour or so trying to get it to work the way described (as I did) before writing a simple returnKey handler at the card level to deal with it. But, once again, I'd like to know what the dictionary means by an "active control" before doing any of that. Pete Molly's Revenge On Thu, Sep 1, 2011 at 9:56 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I think there are still a few things in the edges and corners of Livecode > that have been ignored and worked around, and bug reports not filed. > > A good example of an popup menu that is on the plugin Settings panel in > the > Development menu. The popup list, in addition to being the stack file names > as opposed to stack names, is also not alphabetized. This has been this > way since at least version 2.x of Rev > > A little thing, probably not worth fixing, but an IDE anomaly that irks me > every time I have to do something with plugins. But I don't spend a lot of > time configuring plugins. > > Give a choice between fixing these little things, I'd rather have them > continue their building the a new full featured text field or built-in SFTP > support. > > Regarding the default button issue - quite frankly I'd rather have > Livecode > give me the primitives and give me the ability to work with the messages. > So adding a simple script to activate it isn't that big a deal. If the > button automatically sent out messages on return, it might require a script > somewhere to defeat that automatic behavior. > > Probably a design decision that didn't get reflected in the docs. > > sqb > > On 1 September 2011 09:06, wrote: > > > Jacque. > > > > > > Me, too. > > > > > > The dictionary talks a great game, though. It is the unrepeatable > > intermittent aspect that has me stumped. I DID get an answer to my > "answer > > the defaultButton of this cd" a couple of times, but cannot any longer. > As > > for the dictionary's comments about the defaultButton "changing its > size", > > etc. I never saw any of that. > > > > > > This was all tried in a new mainStack with two rectangle buttons and a > > single default button. > > > > > > Craig > > > > > > -----Original Message----- > > From: J. Landman Gay > > To: How to use LiveCode > > Sent: Thu, Sep 1, 2011 7:22 am > > Subject: Re: Default Button > > > > > > On 8/31/11 7:29 PM, Pete wrote: > > > I put a default button a card that has a couple of field controls on > it. > > > The field controls all have lockText set to true and traversalOn set > to > > > false. Pressing the return key when the card is active does not > execute > > the > > > mouseUp handler for the default button as claimed by the dictionary. > Is > > > there some other setting of the card/button/controls that I have to > use? > > > > Funny, I never knew about this capability. I've always had to script it > > with a returnKey handler in the card, I've never seen a default behavior. > > > > -- > > 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 > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 1 13:21:25 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Sep 2011 10:21:25 -0700 Subject: Open Externals for Livecode In-Reply-To: References: Message-ID: Does anyone have a hint on how to properly download those links on gitHub website? No matter how I try to save (option-click save as) the files show up with .html suffixes and changing the suffixes does not make them usable. They appear to not get downloaded as binaries. I usually don't have difficulty with downloads... sqb On 1 September 2011 09:40, Glen Bojsza wrote: > Thanks Trevor. > > If anyone has a particular example stack they would like made please email > me and I will put it on the list. (Linux or Windows until a Mac library is > compiled) > > I am hopeful that the group will eventually help with this. > > Glen > > On Wed, Aug 31, 2011 at 8:03 PM, Trevor DeVore >wrote: > > > On Tue, Aug 30, 2011 at 7:22 PM, Glen Bojsza wrote: > > > > > There has always been a lot of discussion around open externals and as > > such > > > I would like to put the first (I think ) step forward. > > > > > > I would like to make the following contribution. > > > > > > *The following is complete and available now* - external binaries and > > > source > > > code for supporting libssh library (www.libssh.org) > > > > > > > Glen sent me the files and I have posted them to GitHub. > > > > https://github.com/trevordevore/SSH-External-for-LiveCode > > > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dunbarx at aol.com Thu Sep 1 13:45:36 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 1 Sep 2011 13:45:36 -0400 (EDT) Subject: Default Button In-Reply-To: References: <4E5FA2B7.50101@hyperactivesw.com> Message-ID: <8CE36E616E338EC-FD8-1DEB5@webmail-m026.sysops.aol.com> Mark. Try this: Create a new stack, drag an editable field and a defaultButton over. Put this in the button script: on mouseUp beep 3 end mouseUp Press return, get three beeps. Now place a cursor in the field. Hit return, no beeps, as is proper. Now click anywhere in the card area, deselecting the field. Hit return. No beeps Now click the button. Three beeps. Now hit return. Three beeps Are there two levels of "no active control"? AHA. Just tried this all over again, and no beeps of any kind at all, no matter what I do, unless, of course, I click the actual button itself. OXS 10.4.11 LC 4.5.3 Craig -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Thu, Sep 1, 2011 8:29 am Subject: Re: Default Button Hi, This is what I just did: 1) create new stack 2) drag one default button from the tools palette into your stack 3) edit the script of the button to make it been on mouseUp (and nothing else) 4) compile and close script 5) press return 6) hear beep -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 1 sep 2011, at 17:20, J. Landman Gay wrote: > On 8/31/11 7:29 PM, Pete wrote: >> I put a default button a card that has a couple of field controls on it. >> The field controls all have lockText set to true and traversalOn set to >> false. Pressing the return key when the card is active does not execute the >> mouseUp handler for the default button as claimed by the dictionary. Is >> there some other setting of the card/button/controls that I have to use? > > Funny, I never knew about this capability. I've always had to script it with a returnKey handler in the card, I've never seen a default behavior. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Sep 1 13:59:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Sep 2011 10:59:55 -0700 Subject: Default Button In-Reply-To: References: <4E5FA2B7.50101@hyperactivesw.com> Message-ID: <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> I'm going to say that an active control is one that is not disabled and is targeted. I created a new stack, with only one card and one button. In the mouseUp of the button I put: answer "This is the default button" as sheet Hitting the return key triggers the mouseUp in the button. All well and good. Now I create a field and click in the field. Hitting the return key does NOT trigger the mouseUp of the button, AS YOU WOULD EXPECT. Now I tab out of the field so that there is nothing (that I can see) targeted. I hit return and I get the dialog, also as you would expect. NOW I click in the field, then click somewhere in the empty card and hit the return key. I do NOT get the dialog box, the mouseUp is NOT triggered, this is NOT what you would expect! I believe this is the source of your intermittent problems getting this to work. There is something about clicking in the empty space of a card that prevents the engine from sending the return key to the button. If anything, THIS is the bug. Tabbing out of the last field and clicking the card should result in the same condition, but obviously it does not. Let's get tricky. In the card script I put this: on mouseUp put the target end mouseUp NOW I click the card, then hit the return key, and I get the mouseUp in the button triggering every time! Something about trapping the mouseUp message seems to produce the correct condition. Can anyone else verify this experiment? Bob On Sep 1, 2011, at 10:09 AM, Pete wrote: > Thanks everyone. > > Jacque, Like you I'm currently using a returnKey handler for the card that > sends mouseUp to the button to get round this. > > Craig, If I "put the defaultbutton of this card", I get the correct output. > Also, I'm not seeing anything in the dictionary about the button changing > size - is that in the defaultButton entry? > > Mark, maybe the difference between what you did and what I have is that I > have 3 field controls on the card in addition to the default Button. Each > of the field controls has lockText set to true and traversalOn set to false. > Thing is, the dictionary says the default button behavior only works if > there is no active control on the card, but it doesn't define what an active > control is so I don't know if the way I defined the field controls qualifies > them as being inactive or not. > > I'm getting the behavior I want by using the card level returnKey handler > but wondering whether I should enter a bug report about this. There doesn't > seem any point in defining a button as the default button unless it acts as > defined in the dictionary, but it would be good to know what qualifies as an > "active control" before reporting it as a bug. > > Pete > Molly's Revenge > > > > > On Thu, Sep 1, 2011 at 9:27 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi, >> >> This is what I just did: >> >> 1) create new stack >> 2) drag one default button from the tools palette into your stack >> 3) edit the script of the button to make it been on mouseUp (and nothing >> else) >> 4) compile and close script >> 5) press return >> 6) hear beep >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Send me a friend request on Facebook if you like >> https://www.facebook.com/marksch >> >> On 1 sep 2011, at 17:20, J. Landman Gay wrote: >> >>> On 8/31/11 7:29 PM, Pete wrote: >>>> I put a default button a card that has a couple of field controls on it. >>>> The field controls all have lockText set to true and traversalOn set to >>>> false. Pressing the return key when the card is active does not execute >> the >>>> mouseUp handler for the default button as claimed by the dictionary. Is >>>> there some other setting of the card/button/controls that I have to use? >>> >>> Funny, I never knew about this capability. I've always had to script it >> with a returnKey handler in the card, I've never seen a default behavior. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Sep 1 14:01:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 1 Sep 2011 11:01:09 -0700 Subject: Default Button In-Reply-To: <8CE36E616E338EC-FD8-1DEB5@webmail-m026.sysops.aol.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8CE36E616E338EC-FD8-1DEB5@webmail-m026.sysops.aol.com> Message-ID: <80A7F1B1-74B4-4F28-B81D-FBD0347DBEDF@twft.com> Hi Craig, you did almost exactly what I did, except for the trapping of mouseUp in the card script, which seems to fix the issue. Bob On Sep 1, 2011, at 10:45 AM, dunbarx at aol.com wrote: > Mark. > > > Try this: > > > Create a new stack, drag an editable field and a defaultButton over. > > > Put this in the button script: > > > > on mouseUp > beep 3 > end mouseUp > > > > Press return, get three beeps. Now place a cursor in the field. Hit return, no beeps, as is proper. > Now click anywhere in the card area, deselecting the field. Hit return. No beeps > Now click the button. Three beeps. > Now hit return. Three beeps > > > Are there two levels of "no active control"? > > > AHA. > > > Just tried this all over again, and no beeps of any kind at all, no matter what I do, unless, of course, I click the actual button itself. > > > OXS 10.4.11 LC 4.5.3 > > > Craig > > > > > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Thu, Sep 1, 2011 8:29 am > Subject: Re: Default Button > > > Hi, > > This is what I just did: > > 1) create new stack > 2) drag one default button from the tools palette into your stack > 3) edit the script of the button to make it been on mouseUp (and nothing else) > 4) compile and close script > 5) press return > 6) hear beep > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 1 sep 2011, at 17:20, J. Landman Gay wrote: > >> On 8/31/11 7:29 PM, Pete wrote: >>> I put a default button a card that has a couple of field controls on it. >>> The field controls all have lockText set to true and traversalOn set to >>> false. Pressing the return key when the card is active does not execute the >>> mouseUp handler for the default button as claimed by the dictionary. Is >>> there some other setting of the card/button/controls that I have to use? >> >> Funny, I never knew about this capability. I've always had to script it with a > returnKey handler in the card, I've never seen a default behavior. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Thu Sep 1 15:43:59 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 1 Sep 2011 12:43:59 -0700 Subject: Default Button In-Reply-To: <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> Message-ID: I have entered this as a bug - it's #9707. Bob, I can't reproduce what you did with the mouseUp at the card level. Doesn't trigger for me under the circumstances you described. It DOES trigger when I CLICK on the card outside of any controls on it as you'd expect, but not when I hit return subsequent to that. One thing that's different from your experiment is the field controls on my card have their lockText set to true and their traversalOn set to false so they can never be "active" (which I take to mean they receive focus). Don't know if that affects the behavior or not. I'm happy with the workaround I have of putting a returnKey handler at the card level which sends a mouseUp mesage to "the defaultButton of me" and it's now on record as a low priority bug. Pete Molly's Revenge On Thu, Sep 1, 2011 at 10:59 AM, Bob Sneidar wrote: > I'm going to say that an active control is one that is not disabled and is > targeted. I created a new stack, with only one card and one button. In the > mouseUp of the button I put: > > answer "This is the default button" as sheet > > Hitting the return key triggers the mouseUp in the button. All well and > good. Now I create a field and click in the field. Hitting the return key > does NOT trigger the mouseUp of the button, AS YOU WOULD EXPECT. > > Now I tab out of the field so that there is nothing (that I can see) > targeted. I hit return and I get the dialog, also as you would expect. > > NOW I click in the field, then click somewhere in the empty card and hit > the return key. I do NOT get the dialog box, the mouseUp is NOT triggered, > this is NOT what you would expect! > > I believe this is the source of your intermittent problems getting this to > work. There is something about clicking in the empty space of a card that > prevents the engine from sending the return key to the button. If anything, > THIS is the bug. Tabbing out of the last field and clicking the card should > result in the same condition, but obviously it does not. > > Let's get tricky. In the card script I put this: > on mouseUp > put the target > end mouseUp > > NOW I click the card, then hit the return key, and I get the mouseUp in the > button triggering every time! Something about trapping the mouseUp message > seems to produce the correct condition. > > Can anyone else verify this experiment? > > Bob > > > On Sep 1, 2011, at 10:09 AM, Pete wrote: > > > Thanks everyone. > > > > Jacque, Like you I'm currently using a returnKey handler for the card > that > > sends mouseUp to the button to get round this. > > > > Craig, If I "put the defaultbutton of this card", I get the correct > output. > > Also, I'm not seeing anything in the dictionary about the button changing > > size - is that in the defaultButton entry? > > > > Mark, maybe the difference between what you did and what I have is that I > > have 3 field controls on the card in addition to the default Button. > Each > > of the field controls has lockText set to true and traversalOn set to > false. > > Thing is, the dictionary says the default button behavior only works if > > there is no active control on the card, but it doesn't define what an > active > > control is so I don't know if the way I defined the field controls > qualifies > > them as being inactive or not. > > > > I'm getting the behavior I want by using the card level returnKey handler > > but wondering whether I should enter a bug report about this. There > doesn't > > seem any point in defining a button as the default button unless it acts > as > > defined in the dictionary, but it would be good to know what qualifies as > an > > "active control" before reporting it as a bug. > > > > Pete > > Molly's Revenge > > > > > > > > > > On Thu, Sep 1, 2011 at 9:27 AM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > >> Hi, > >> > >> This is what I just did: > >> > >> 1) create new stack > >> 2) drag one default button from the tools palette into your stack > >> 3) edit the script of the button to make it been on mouseUp (and nothing > >> else) > >> 4) compile and close script > >> 5) press return > >> 6) hear beep > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> Send me a friend request on Facebook if you like > >> https://www.facebook.com/marksch > >> > >> On 1 sep 2011, at 17:20, J. Landman Gay wrote: > >> > >>> On 8/31/11 7:29 PM, Pete wrote: > >>>> I put a default button a card that has a couple of field controls on > it. > >>>> The field controls all have lockText set to true and traversalOn set > to > >>>> false. Pressing the return key when the card is active does not > execute > >> the > >>>> mouseUp handler for the default button as claimed by the dictionary. > Is > >>>> there some other setting of the card/button/controls that I have to > use? > >>> > >>> Funny, I never knew about this capability. I've always had to script it > >> with a returnKey handler in the card, I've never seen a default > behavior. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 1 17:12:05 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 1 Sep 2011 17:12:05 -0400 Subject: Default Button In-Reply-To: <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> Message-ID: <020DDD07-83C5-4E73-865E-613B38A9805B@gmail.com> My solution has been to put the following in an invisible button: on returnkey send "mouseup" to btn "myDefaultBtn" end returnkey and then on opencard -- or openstack, or whatever insert the script of btn "myFrontscript" of this card into front end opencard on closecard -- or closestack, or whatever remove the script of btn "myFrontscript" of this card from front end closecard That way, no matter where the focus is, the default button will get triggered with a returnkey hit. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 1, 2011, at 1:59 PM, Bob Sneidar wrote: > I'm going to say that an active control is one that is not disabled and is targeted. I created a new stack, with only one card and one button. In the mouseUp of the button I put: > > answer "This is the default button" as sheet > > Hitting the return key triggers the mouseUp in the button. All well and good. Now I create a field and click in the field. Hitting the return key does NOT trigger the mouseUp of the button, AS YOU WOULD EXPECT. > > Now I tab out of the field so that there is nothing (that I can see) targeted. I hit return and I get the dialog, also as you would expect. > > NOW I click in the field, then click somewhere in the empty card and hit the return key. I do NOT get the dialog box, the mouseUp is NOT triggered, this is NOT what you would expect! > > I believe this is the source of your intermittent problems getting this to work. There is something about clicking in the empty space of a card that prevents the engine from sending the return key to the button. If anything, THIS is the bug. Tabbing out of the last field and clicking the card should result in the same condition, but obviously it does not. > > Let's get tricky. In the card script I put this: > on mouseUp > put the target > end mouseUp > > NOW I click the card, then hit the return key, and I get the mouseUp in the button triggering every time! Something about trapping the mouseUp message seems to produce the correct condition. > > Can anyone else verify this experiment? > > Bob > > > On Sep 1, 2011, at 10:09 AM, Pete wrote: > >> Thanks everyone. >> >> Jacque, Like you I'm currently using a returnKey handler for the card that >> sends mouseUp to the button to get round this. >> >> Craig, If I "put the defaultbutton of this card", I get the correct output. >> Also, I'm not seeing anything in the dictionary about the button changing >> size - is that in the defaultButton entry? >> >> Mark, maybe the difference between what you did and what I have is that I >> have 3 field controls on the card in addition to the default Button. Each >> of the field controls has lockText set to true and traversalOn set to false. >> Thing is, the dictionary says the default button behavior only works if >> there is no active control on the card, but it doesn't define what an active >> control is so I don't know if the way I defined the field controls qualifies >> them as being inactive or not. >> >> I'm getting the behavior I want by using the card level returnKey handler >> but wondering whether I should enter a bug report about this. There doesn't >> seem any point in defining a button as the default button unless it acts as >> defined in the dictionary, but it would be good to know what qualifies as an >> "active control" before reporting it as a bug. >> >> Pete >> Molly's Revenge >> >> >> >> >> On Thu, Sep 1, 2011 at 9:27 AM, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >>> Hi, >>> >>> This is what I just did: >>> >>> 1) create new stack >>> 2) drag one default button from the tools palette into your stack >>> 3) edit the script of the button to make it been on mouseUp (and nothing >>> else) >>> 4) compile and close script >>> 5) press return >>> 6) hear beep >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Send me a friend request on Facebook if you like >>> https://www.facebook.com/marksch >>> >>> On 1 sep 2011, at 17:20, J. Landman Gay wrote: >>> >>>> On 8/31/11 7:29 PM, Pete wrote: >>>>> I put a default button a card that has a couple of field controls on it. >>>>> The field controls all have lockText set to true and traversalOn set to >>>>> false. Pressing the return key when the card is active does not execute >>> the >>>>> mouseUp handler for the default button as claimed by the dictionary. Is >>>>> there some other setting of the card/button/controls that I have to use? >>>> >>>> Funny, I never knew about this capability. I've always had to script it >>> with a returnKey handler in the card, I've never seen a default behavior. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Sep 1 17:26:51 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 01 Sep 2011 17:26:51 -0400 Subject: Default Button In-Reply-To: <020DDD07-83C5-4E73-865E-613B38A9805B@gmail.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8BD1684E-2A28-49E9-B436-D046237C665D@twft.com> <020DDD07-83C5-4E73-865E-613B38A9805B@gmail.com> Message-ID: Need this be a good thing? If you're typing into a multiline field you might not be finished at the time you press the Return key. On Mac at least there's the convention that the Enter key might complete the action, and the Return key is just a line break. Not sure how it is on Windows machines. So pressing Enter on Mac would give the expected behavior of completing the action. Look at the LC script editor as an example of that. On Sep 1, 2011, at 5:12 PM, Peter M. Brigham, MD wrote: > > > That way, no matter where the focus is, the default button will get triggered with a returnkey hit. From jmyepes at mac.com Thu Sep 1 17:41:21 2011 From: jmyepes at mac.com (JosepM) Date: Thu, 1 Sep 2011 14:41:21 -0700 (PDT) Subject: TextLib.rev In-Reply-To: <661188D0-4014-4932-AB81-2CE0BAE64152@gmail.com> References: <661188D0-4014-4932-AB81-2CE0BAE64152@gmail.com> Message-ID: <1314913281811-3784841.post@n4.nabble.com> Thanks for sharing Peter! Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/TextLib-rev-tp3777580p3784841.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Sep 1 17:43:48 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Sep 2011 14:43:48 -0700 Subject: Default Button In-Reply-To: References: Message-ID: <4E5FFC94.2090601@fourthworld.com> Colin Holgate wrote: > Need this be a good thing? If you're typing into a multiline field you might not be finished at the time you press the Return key. On Mac at least there's the convention that the Enter key might complete the action, and the Return key is just a line break. Not sure how it is on Windows machines. So pressing Enter on Mac would give the expected behavior of completing the action. Look at the LC script editor as an example of that. Peter's script traps returnKey, which is not sent when the Return key is hit while an open field has focus; in that circumstance the returnInField message is sent instead. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Thu Sep 1 17:47:47 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 01 Sep 2011 17:47:47 -0400 Subject: Default Button In-Reply-To: <4E5FFC94.2090601@fourthworld.com> References: <4E5FFC94.2090601@fourthworld.com> Message-ID: <95A2F786-BF0D-466E-8112-FCBE457DF2F8@verizon.net> Good to know. As a point of interest, can you still trap for the Enterkey, while editing a field? On Sep 1, 2011, at 5:43 PM, Richard Gaskin wrote: > Peter's script traps returnKey, which is not sent when the Return key is hit while an open field has focus; in that circumstance the returnInField message is sent instead. From ambassador at fourthworld.com Thu Sep 1 17:50:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 01 Sep 2011 14:50:57 -0700 Subject: Default Button In-Reply-To: <95A2F786-BF0D-466E-8112-FCBE457DF2F8@verizon.net> References: <95A2F786-BF0D-466E-8112-FCBE457DF2F8@verizon.net> Message-ID: <4E5FFE41.9040303@fourthworld.com> Colin Holgate wrote: > As a point of interest, can you still trap for the Enterkey, while editing a field? If the focus is on an open field, the enterInField message is sent instead. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Thu Sep 1 17:51:23 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Sep 2011 14:51:23 -0700 Subject: Default Button In-Reply-To: <95A2F786-BF0D-466E-8112-FCBE457DF2F8@verizon.net> References: <4E5FFC94.2090601@fourthworld.com> <95A2F786-BF0D-466E-8112-FCBE457DF2F8@verizon.net> Message-ID: yes On 1 September 2011 14:47, Colin Holgate wrote: > Good to know. As a point of interest, can you still trap for the Enterkey, > while editing a field? > > On Sep 1, 2011, at 5:43 PM, Richard Gaskin wrote: > > > Peter's script traps returnKey, which is not sent when the Return key is > hit while an open field has focus; in that circumstance the returnInField > message is sent instead. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From admin at mfelkerco.com Thu Sep 1 16:39:17 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 01 Sep 2011 15:39:17 -0500 Subject: Default Button In-Reply-To: <8CE36E616E338EC-FD8-1DEB5@webmail-m026.sysops.aol.com> References: <4E5FA2B7.50101@hyperactivesw.com> <8CE36E616E338EC-FD8-1DEB5@webmail-m026.sysops.aol.com> Message-ID: That sounds like when the button has the focus, it works fine, but when it does not have the focus it does not work. When a button has the focus, enter and space bar will effect that control usually (at least in other languages). Mike On Thu, 1 Sep 2011 13:45:36 -0400 (EDT), dunbarx at aol.com wrote: > Mark. > > Try this: > > Create a new stack, drag an editable field and a defaultButton over. > > Put this in the button script: > > on mouseUp > beep 3 > end mouseUp > > Press return, get three beeps. Now place a cursor in the field. Hit return, no beeps, as is proper. > Now click anywhere in the card area, deselecting the field. Hit return. No beeps > Now click the button. Three beeps. > Now hit return. Three beeps > > Are there two levels of "no active control"? > > AHA. > > Just tried this all over again, and no beeps of any kind at all, no matter what I do, unless, of course, I click the actual button itself. > > OXS 10.4.11 LC 4.5.3 > > Craig > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Thu, Sep 1, 2011 8:29 am > Subject: Re: Default Button > > Hi, > > This is what I just did: > > 1) create new stack > 2) drag one default button from the tools palette into your stack > 3) edit the script of the button to make it been on mouseUp (and nothing else) > 4) compile and close script > 5) press return > 6) hear beep > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com [3] > Twitter: http://twitter.com/xtalkprogrammer [4] > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch [5]On 1 sep 2011, at 17:20, J. Landman Gay wrote: > >> On 8/31/11 7:29 PM, Pete wrote: >> >>> I put a default button a card that has a couple of field controls on it. The field controls all have lockText set to true and traversalOn set to false. Pressing the return key when the card is active does not execute the mouseUp handler for the default button as claimed by the dictionary. Is there some other setting of the card/button/controls that I have to use? >> Funny, I never knew about this capability. I've always had to script it with a > > returnKey handler in the card, I've never seen a default behavior. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [6] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [7] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [8] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [9] Links: ------ [1] mailto:m.schonewille at economy-x-talk.com [2] mailto:use-livecode at lists.runrev.com [3] http://economy-x-talk.com [4] http://twitter.com/xtalkprogrammer [5] https://www.facebook.com/marksch [6] mailto:use-livecode at lists.runrev.com [7] http://lists.runrev.com/mailman/listinfo/use-livecode [8] mailto:use-livecode at lists.runrev.com [9] http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Sep 1 18:07:49 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 2 Sep 2011 00:07:49 +0200 Subject: LiveCode.tv Event #37 Message-ID: <7D1DDC21-236D-4DEE-858E-A74F1D9675CA@economy-x-talk.com> Dear LiveCoders, It is a pleasure to announce another edition of the LiveCode.tv event, even though we are having serious difficulties finding people who want to participate. Before making the announcement, I want to urge you all to contact me OFF-LIST with your proposal for a presentation. If you want to support the LiveCode community, share your LiveCode experiences with your fellow LiveCode users! This weekend's event is scheduled for 3 September 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing; check the correct time in your own time zone). In the first of an occasional look at other authoring tools, Colin will give an introduction to Unity 3D. People who want to follow along can watch screen recordings at http://qery.us/yr, and also try the final 3D scene by installing the Unity plugin, at http://qery.us/ys . Mike continues the event talking about Franklin 3D. He will show how to use LiveCode to import assets into Franklin 3D. The European HyperCard User Group (eHUG, http://www.ehug.info) will raffle off the e-book "Take Control of Your 802.11n AirPort Network" courtesy of TidBITS. You can find more info on the TC series at http://www.takecontrolbooks.com. Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: http://bjoernke.com?target=chatrev or enter in the message box: go stack url "http://qery.us/yt" If you would like to participate in the event, please head over to http://blog.livecode.tv and click on Participate at the top of the page for ideas and leave a comment and/or contact Mark or Bj?rnke. An easy way to contact us is through this web form http://qery.us/du See also the following page for the same information: http://livecode.tv -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch From mwieder at ahsoftware.net Thu Sep 1 18:56:43 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Sep 2011 15:56:43 -0700 Subject: Open Externals for Livecode In-Reply-To: References: Message-ID: <49352990156.20110901155643@ahsoftware.net> stephen- Thursday, September 1, 2011, 10:21:25 AM, you wrote: > Does anyone have a hint on how to properly download those links on gitHub > website? > No matter how I try to save (option-click save as) the files show up with > .html suffixes and changing the suffixes does not make them usable. They > appear to not get downloaded as binaries. > I usually don't have difficulty with downloads... You're clicking on the Downloads button, right? Not in the file list? -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Sep 1 19:21:27 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Sep 2011 16:21:27 -0700 Subject: Open Externals for Livecode In-Reply-To: <49352990156.20110901155643@ahsoftware.net> References: <49352990156.20110901155643@ahsoftware.net> Message-ID: I thought that download button was a field indicating the page - didn't expect an ajax-y thing to pop up. Pilot UI error. I don't hang out in github a lot, obviously. On 1 September 2011 15:56, Mark Wieder wrote: > stephen- > > Thursday, September 1, 2011, 10:21:25 AM, you wrote: > > > Does anyone have a hint on how to properly download those links on gitHub > > website? > > > No matter how I try to save (option-click save as) the files show up with > > .html suffixes and changing the suffixes does not make them usable. They > > appear to not get downloaded as binaries. > > > I usually don't have difficulty with downloads... > > You're clicking on the Downloads button, right? Not in the file list? > > -- > -Mark Wieder > mwieder at ahsoftware.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Thu Sep 1 20:35:58 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Sep 2011 17:35:58 -0700 Subject: Open Externals for Livecode In-Reply-To: References: <49352990156.20110901155643@ahsoftware.net> Message-ID: <151358944656.20110901173558@ahsoftware.net> stephen- Thursday, September 1, 2011, 4:21:27 PM, you wrote: > I thought that download button was a field indicating the page - didn't > expect an ajax-y thing to pop up. Pilot UI error. I don't hang out in > github a lot, obviously. Cool. I assume then that it worked out. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Sep 1 20:38:46 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 1 Sep 2011 17:38:46 -0700 Subject: Open Externals for Livecode In-Reply-To: <151358944656.20110901173558@ahsoftware.net> References: <49352990156.20110901155643@ahsoftware.net> <151358944656.20110901173558@ahsoftware.net> Message-ID: I didn't say I got it installed and working yet! On 1 September 2011 17:35, Mark Wieder wrote: > stephen- > > Thursday, September 1, 2011, 4:21:27 PM, you wrote: > > > I thought that download button was a field indicating the page - didn't > > expect an ajax-y thing to pop up. Pilot UI error. I don't hang out in > > github a lot, obviously. > > Cool. I assume then that it worked out. > > -- > -Mark Wieder > mwieder at ahsoftware.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From pepetoo at cox.net Thu Sep 1 20:45:41 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 1 Sep 2011 17:45:41 -0700 Subject: Check Boxes in Windows Standalone In-Reply-To: References: <49352990156.20110901155643@ahsoftware.net> <151358944656.20110901173558@ahsoftware.net> Message-ID: Everyone, I'm using LC 4.5.2 and have noticed my Windows standalone does not do my check boxes. They just don't show up. Anyone else notice the same condition? The OSX version shows them fine. I am running it with XP under Fusion. Could that be the problem? Joe Lewis Wilkins Architect From cszasz at mac.com Thu Sep 1 20:53:47 2011 From: cszasz at mac.com (Charles Szasz) Date: Thu, 01 Sep 2011 20:53:47 -0400 Subject: Saving the name of option button in a Save File Message-ID: I am using the following script to save fields, checkbox and option buttons. Saving the content of fields works but I have been unsuccessful in saving the names of the option buttons, which are school names. FUNCTION gatherData pCard lock screen lock messages push card go to card pCard put empty into tData REPEAT WITH f = 1 to the number of fields put field f into fData replace ":" WITH "!" in fData put the short name of field f & ":" & fData & cr after tData -- END IF END repeat REPEAT WITH b = 1 to the number of buttons IF the style of button b = "checkbox" OR the style of button b = "option" THEN put the short name of button b & ":" & the hilite of button b & cr after tData END IF END repeat pop card return tData END gatherData Charles Szasz cszasz at mac.com From pete at mollysrevenge.com Thu Sep 1 21:39:47 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 1 Sep 2011 18:39:47 -0700 Subject: Saving the name of option button in a Save File In-Reply-To: References: Message-ID: Hi Charles, The style will just be set to "menu", check the menumode for "option" or combobox" Pete Molly's Revenge On Thu, Sep 1, 2011 at 5:53 PM, Charles Szasz wrote: > I am using the following script to save fields, checkbox and option > buttons. Saving the content of fields works but I have been unsuccessful in > saving the names of the option buttons, which are school names. > > FUNCTION gatherData pCard > lock screen > lock messages > push card > go to card pCard > > put empty into tData > REPEAT WITH f = 1 to the number of fields > put field f into fData > replace ":" WITH "!" in fData > put the short name of field f & ":" & fData & cr after tData > -- END IF > END repeat > > REPEAT WITH b = 1 to the number of buttons > IF the style of button b = "checkbox" OR the style of button b = > "option" > THEN > put the short name of button b & ":" & the hilite of button b & cr > after tData > END IF > END repeat > > pop card > return tData > END gatherData > > > 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 pete at mollysrevenge.com Thu Sep 1 21:41:31 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 1 Sep 2011 18:41:31 -0700 Subject: Saving the name of option button in a Save File In-Reply-To: References: Message-ID: Sorry, just noticed you were looking for checkbox not combobox, which is defined by the style property, just the option menus are where you need to check the menumode. Pete Molly's Revenge On Thu, Sep 1, 2011 at 5:53 PM, Charles Szasz wrote: > I am using the following script to save fields, checkbox and option > buttons. Saving the content of fields works but I have been unsuccessful in > saving the names of the option buttons, which are school names. > > FUNCTION gatherData pCard > lock screen > lock messages > push card > go to card pCard > > put empty into tData > REPEAT WITH f = 1 to the number of fields > put field f into fData > replace ":" WITH "!" in fData > put the short name of field f & ":" & fData & cr after tData > -- END IF > END repeat > > REPEAT WITH b = 1 to the number of buttons > IF the style of button b = "checkbox" OR the style of button b = > "option" > THEN > put the short name of button b & ":" & the hilite of button b & cr > after tData > END IF > END repeat > > pop card > return tData > END gatherData > > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From pmbrig at gmail.com Thu Sep 1 22:16:53 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 1 Sep 2011 22:16:53 -0400 Subject: Saving the name of option button in a Save File In-Reply-To: References: Message-ID: <2F89B5BE-F0CD-4954-8672-94B091DE3299@gmail.com> From the user guide: "For menus that retain a state (such as option menus and combo boxes), the button's label property holds the text of the currently chosen menu item." For combo boxes, try getting the label of the button. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 1, 2011, at 8:53 PM, Charles Szasz wrote: > I am using the following script to save fields, checkbox and option buttons. Saving the content of fields works but I have been unsuccessful in saving the names of the option buttons, which are school names. > > FUNCTION gatherData pCard > lock screen > lock messages > push card > go to card pCard > > put empty into tData > REPEAT WITH f = 1 to the number of fields > put field f into fData > replace ":" WITH "!" in fData > put the short name of field f & ":" & fData & cr after tData > -- END IF > END repeat > > REPEAT WITH b = 1 to the number of buttons > IF the style of button b = "checkbox" OR the style of button b = "option" > THEN > put the short name of button b & ":" & the hilite of button b & cr after tData > END IF > END repeat > > pop card > return tData > END gatherData > > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Thu Sep 1 22:20:45 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 1 Sep 2011 22:20:45 -0400 Subject: Saving the name of option button in a Save File In-Reply-To: References: Message-ID: <68743B5F-5601-49AF-A9EB-DB9C3CD89F69@gmail.com> Sorry -- not combobox, option menu, the same thing applies, use the label to get the current choice. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 1, 2011, at 8:53 PM, Charles Szasz wrote: > I am using the following script to save fields, checkbox and option buttons. Saving the content of fields works but I have been unsuccessful in saving the names of the option buttons, which are school names. > > FUNCTION gatherData pCard > lock screen > lock messages > push card > go to card pCard > > put empty into tData > REPEAT WITH f = 1 to the number of fields > put field f into fData > replace ":" WITH "!" in fData > put the short name of field f & ":" & fData & cr after tData > -- END IF > END repeat > > REPEAT WITH b = 1 to the number of buttons > IF the style of button b = "checkbox" OR the style of button b = "option" > THEN > put the short name of button b & ":" & the hilite of button b & cr after tData > END IF > END repeat > > pop card > return tData > END gatherData > > > 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 mwieder at ahsoftware.net Thu Sep 1 22:22:42 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 1 Sep 2011 19:22:42 -0700 Subject: another take on software patents Message-ID: <1232869390.20110901192242@ahsoftware.net> "then I realized the idiot in question was me :-)"... http://www.techdirt.com/articles/20110822/13094215621/what-idiot-wrote-patent-that-might-invalidate-software-patents-oh-wait-that-was-me.shtml -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Thu Sep 1 22:27:01 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 1 Sep 2011 22:27:01 -0400 Subject: Saving the name of option button in a Save File In-Reply-To: References: Message-ID: <179BCE1F-0130-4C5A-8D72-4FD29C6E6076@gmail.com> Instead try this (untested): repeat WITH b = 1 to the number of buttons if the style of btn b <> "menu" then next repeat if the menumode of btn b <> "option" then next repeat put the label of button b & ":" & the hilite of \ button b & cr after tData end repeat -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 1, 2011, at 9:41 PM, Pete wrote: >> REPEAT WITH b = 1 to the number of buttons >> IF the style of button b = "checkbox" OR the style of button b = >> "option" >> THEN >> put the short name of button b & ":" & the hilite of button b & cr >> after tData >> END IF >> END repeat From roger.e.eller at sealedair.com Thu Sep 1 22:48:06 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 1 Sep 2011 22:48:06 -0400 Subject: Android Fonts Message-ID: answer the fontNames returns "1" in android. I need to identify and use a digital clock font. It needs to be a font that is most likely already installed on all Android devices. the fontNames is in the LC dictionary with the android icon, so I kinda expected to see a list of fonts. ?Roger From admin at FlexibleLearning.com Fri Sep 2 03:57:51 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 2 Sep 2011 08:57:51 +0100 Subject: Default Button In-Reply-To: Message-ID: 'Default' determines the button's visual appearance, and on some platforms the change in border will grow the button dimensions a bit. It's behavior should be up to the designer, by Enter and/or Return key stroke, EnterInField and/or ReturnInField key stroke, or indeed none. I have never relied on the engine to trap the default button activation because it only works when nothing else is focussed. Hugh Senior FLCo Perte wrote: Thanks everyone. Jacque, Like you I'm currently using a returnKey handler for the card that sends mouseUp to the button to get round this. Craig, If I "put the defaultbutton of this card", I get the correct output. Also, I'm not seeing anything in the dictionary about the button changing size - is that in the defaultButton entry? Mark, maybe the difference between what you did and what I have is that I have 3 field controls on the card in addition to the default Button. Each of the field controls has lockText set to true and traversalOn set to false. Thing is, the dictionary says the default button behavior only works if there is no active control on the card, but it doesn't define what an active control is so I don't know if the way I defined the field controls qualifies them as being inactive or not. I'm getting the behavior I want by using the card level returnKey handler but wondering whether I should enter a bug report about this. There doesn't seem any point in defining a button as the default button unless it acts as defined in the dictionary, but it would be good to know what qualifies as an "active control" before reporting it as a bug. Pete From jimaultwins at yahoo.com Fri Sep 2 04:11:16 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 2 Sep 2011 01:11:16 -0700 Subject: Default Button In-Reply-To: References: Message-ID: <6A6A7132-5007-451B-A24A-056AEEAE7993@yahoo.com> I think the key is 'focused object', which can change based on user interaction and code execution. A front script could test for the focused object, after trapping the correct key stroke, then taking the desired action. This could also be modified by a user preference or check box, as some of the older programs did (such as word processor) Caution: this is not my area of expertise, so test thoroughly before confusing your users thoroughly :-) Jim Ault Las Vegas On Sep 2, 2011, at 12:57 AM, FlexibleLearning wrote: > 'Default' determines the button's visual appearance, and on some > platforms > the change in border will grow the button dimensions a bit. > > It's behavior should be up to the designer, by Enter and/or Return key > stroke, EnterInField and/or ReturnInField key stroke, or indeed none. > > I have never relied on the engine to trap the default button > activation > because it only works when nothing else is focussed. > > Hugh Senior > FLCo > > > Perte wrote: > > Thanks everyone. > > Jacque, Like you I'm currently using a returnKey handler for the > card that > sends mouseUp to the button to get round this. > > Craig, If I "put the defaultbutton of this card", I get the correct > output. > Also, I'm not seeing anything in the dictionary about the button > changing > size - is that in the defaultButton entry? > > Mark, maybe the difference between what you did and what I have is > that I > have 3 field controls on the card in addition to the default > Button. Each > of the field controls has lockText set to true and traversalOn set > to false. > Thing is, the dictionary says the default button behavior only works > if > there is no active control on the card, but it doesn't define what > an active > control is so I don't know if the way I defined the field controls > qualifies > them as being inactive or not. > > I'm getting the behavior I want by using the card level returnKey > handler > but wondering whether I should enter a bug report about this. There > doesn't > seem any point in defining a button as the default button unless it > acts as > defined in the dictionary, but it would be good to know what > qualifies as an > "active control" before reporting it as a bug. > > Pete From th.douez at gmail.com Fri Sep 2 06:26:39 2011 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 2 Sep 2011 12:26:39 +0200 Subject: [ANN] sunnYperl for Windows - a LiveCode proxy for Perl Message-ID: Hi all, I'm pleased to announce sunnYperl for Windows. It's a LiveCode proxy for Perl and fully compatible with sunnYperl for Mac. You can download a trial version at http://sunny-tdz.com. This version has been linked with ActivePerl 5.14.1. You can get ActivePerl from ActiveState.com for free. If you install ActivePerl, you have to close and reopen your Win session or restart your computer before launching LiveCode. For any installation questions, please contact me off-list. Kind regards, Thierry Douez From rene.micout at numericable.com Fri Sep 2 08:47:42 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 2 Sep 2011 14:47:42 +0200 Subject: [ANN] sunnYperl for Windows - a LiveCode proxy for Perl In-Reply-To: References: Message-ID: <00347E55-9CE3-49BA-ADA5-C06A07596EF9@numericable.com> Hello Thierry, Thank you !! Cela ne peut en aucun cas me concerner (maheureusement) mais je vois que l'?t? a ?t? studieux... That is not for me (sniff !) A bient?t Ren? Le 2 sept. 2011 ? 12:26, Thierry Douez a ?crit : > Hi all, > > > I'm pleased to announce sunnYperl for Windows. > > It's a LiveCode proxy for Perl and > fully compatible with sunnYperl for Mac. > > You can download a trial version at http://sunny-tdz.com. > > > This version has been linked with ActivePerl 5.14.1. > > You can get ActivePerl from ActiveState.com for free. > If you install ActivePerl, you have to close and reopen your Win session > or restart your computer before launching LiveCode. > > For any installation questions, please contact me off-list. > > Kind regards, > > Thierry Douez > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Sep 2 11:21:17 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 11:21:17 -0400 Subject: Copying from MS word into RunRev 4.0 Message-ID: Hi everyone. When I type this word into MS Word: it's Then copy and paste it into a field in RunRev, the apostrophe gets omitted. This is on a windows system. The character in question is not the usual apostrophe, but is the curly apostrophe that MS Word uses. This is quite an issue for me. My work around is to hijack the paste operation, use VB Script to create an invisible Word doc and save that doc as a text file, then use Rev to retrieve the contents of the text file. This works, but takes approximately 1.5 seconds to complete the procedure. Does anyone know if the recent versions of Live Code allow for pasting from an MS Word document without omitting characters? I know it worked fine back with RunRev 2.5, so I know it is possible for it to be done. Well, thanks for you help. Peace, Jonathan -- Do all things with love From ambassador at fourthworld.com Fri Sep 2 11:33:54 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 08:33:54 -0700 Subject: please tell me why this is stupid Message-ID: <4E60F762.4080004@fourthworld.com> I need a lightweight embeddable solution for encrypting socket traffic between two LiveCode-based apps. This is peer-to-peer, so there is no other software involved (no Apache or anything else), just two apps each with an Internet connection, which may be anywhere in the world. For the purposes of this discussion, let's assume that this encryption needs to be super-easy for users to set up, so a standard SSL certificate may not be ideal. And since the communication is only between two apps I would write in LiveCode, we don't need the interoperability advantages of using a standard anyway, so I'm free to explore anything I like, such as the following: The weakest point in client-server communications is sending the authentication data (user name and password). With FTP and Basic HTTP authentication, for example, those are sent as clear text, exposing the system to anyone intercepting the login traffic. So it occurs to me that before the authentication data is sent, the first request to the server app could be to ask for a token. This token would be a hash (probably SHA1) of the client app's IP address, the time in millisecs, and other arbitrary data. This token is sent back to the client, which then uses it as the encryption key for the authentication data, and after authentication it continues to use the token to encrypt all other data sent during the session. Any attempt to send data encrypted with the token from another IP address would be rejected by the server since it doesn't match the IP address used to create the token. Similarly, any attempt to use that token in another session would also fail since the time stamp would no longer be within the time limit for the session. And of course once the data itself it accepted, the user name and password would need to match the server's list of known users to do anything further, now less likely since they were never sent as clear text. For a reasonable level of security, this would seem at first glance to solve the problem. The upside to this approach is that it's dirt-simple to implement. The downside is that it's dirt-simple to implement, so my instincts tell me there's likely something obviously wrong with it that I'm just not seeing at the moment. So please help me out: why is this a stupid idea? TIA - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Fri Sep 2 11:39:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 08:39:01 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: Message-ID: <4E60F895.2060008@fourthworld.com> Jonathan Lynch wrote: > Does anyone know if the recent versions of Live Code allow for pasting from > an MS Word document without omitting characters? I know it worked fine back > with RunRev 2.5, so I know it is possible for it to be done. Odd. I've also discovered a complimenting issue, which may be related: When copying Unicode data from LiveCode fields, pasting into Word renders the text very badly, as though the encoding type is either incorrect or absent in the Clipboard. Anyone know a reliable way to copy Unicode text from a LiveCode field to paste into Word? Is this an engine bug, or a Richard bug? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jonathandlynch at gmail.com Fri Sep 2 11:52:10 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 11:52:10 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <4E60F895.2060008@fourthworld.com> References: <4E60F895.2060008@fourthworld.com> Message-ID: You could probably do the reverse of what I am doing. That is, you could create an HTML file with the proper unicode text, then use VBScript (if you are using Windows) to create an invisible word document and open up the HTML file. Then, do selection.wholestory and selection.copy. Then, close the invisible word document. It would take a second or two, but it would put the unicode text into the clipboard, but formatted by an MS Word document, and thus compatible with MS Word. Did that make sense? On Fri, Sep 2, 2011 at 11:39 AM, Richard Gaskin wrote: > Jonathan Lynch wrote: > >> Does anyone know if the recent versions of Live Code allow for pasting >> from >> an MS Word document without omitting characters? I know it worked fine >> back >> with RunRev 2.5, so I know it is possible for it to be done. >> > > Odd. > > I've also discovered a complimenting issue, which may be related: > > When copying Unicode data from LiveCode fields, pasting into Word renders > the text very badly, as though the encoding type is either incorrect or > absent in the Clipboard. > > Anyone know a reliable way to copy Unicode text from a LiveCode field to > paste into Word? > > Is this an engine bug, or a Richard bug? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Do all things with love From andre at andregarzia.com Fri Sep 2 11:52:33 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 2 Sep 2011 12:52:33 -0300 Subject: please tell me why this is stupid In-Reply-To: <4E60F762.4080004@fourthworld.com> References: <4E60F762.4080004@fourthworld.com> Message-ID: Richard, For the arbitrary data, use some shared secret between both instances, this way, someone in the middle can't fake the requests by simply knowing the IPs and the milliseconds... On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin wrote: > I need a lightweight embeddable solution for encrypting socket traffic > between two LiveCode-based apps. This is peer-to-peer, so there is no other > software involved (no Apache or anything else), just two apps each with an > Internet connection, which may be anywhere in the world. > > For the purposes of this discussion, let's assume that this encryption > needs to be super-easy for users to set up, so a standard SSL certificate > may not be ideal. > > And since the communication is only between two apps I would write in > LiveCode, we don't need the interoperability advantages of using a standard > anyway, so I'm free to explore anything I like, such as the following: > > > The weakest point in client-server communications is sending the > authentication data (user name and password). With FTP and Basic HTTP > authentication, for example, those are sent as clear text, exposing the > system to anyone intercepting the login traffic. > > So it occurs to me that before the authentication data is sent, the first > request to the server app could be to ask for a token. This token would be > a hash (probably SHA1) of the client app's IP address, the time in > millisecs, and other arbitrary data. > > This token is sent back to the client, which then uses it as the encryption > key for the authentication data, and after authentication it continues to > use the token to encrypt all other data sent during the session. > > Any attempt to send data encrypted with the token from another IP address > would be rejected by the server since it doesn't match the IP address used > to create the token. > > Similarly, any attempt to use that token in another session would also fail > since the time stamp would no longer be within the time limit for the > session. > > And of course once the data itself it accepted, the user name and password > would need to match the server's list of known users to do anything further, > now less likely since they were never sent as clear text. > > For a reasonable level of security, this would seem at first glance to > solve the problem. > > The upside to this approach is that it's dirt-simple to implement. > > The downside is that it's dirt-simple to implement, so my instincts tell me > there's likely something obviously wrong with it that I'm just not seeing at > the moment. > > So please help me out: why is this a stupid idea? > > TIA - > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Fri Sep 2 12:07:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 09:07:13 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: Message-ID: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> I did this on a Mac and it works fine. I believe that MS Office clipboard data is specially formatted, and the app has to be running in order to do an on the fly translation of the data. I have noticed in the past that if I copy something from an office product and then launch another program, then paste, I usually get nothing, because the other app wasn't open at the time I copied, so I suspect the translation only gets done when switching between open applications. Bob On Sep 2, 2011, at 8:21 AM, Jonathan Lynch wrote: > Hi everyone. > > When I type this word into MS Word: it's > > Then copy and paste it into a field in RunRev, the apostrophe gets omitted. > This is on a windows system. The character in question is not the usual > apostrophe, but is the curly apostrophe that MS Word uses. > > This is quite an issue for me. My work around is to hijack the paste > operation, use VB Script to create an invisible Word doc and save that doc > as a text file, then use Rev to retrieve the contents of the text file. This > works, but takes approximately 1.5 seconds to complete the procedure. > > Does anyone know if the recent versions of Live Code allow for pasting from > an MS Word document without omitting characters? I know it worked fine back > with RunRev 2.5, so I know it is possible for it to be done. > Well, thanks for you help. > > Peace, > > Jonathan > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Sep 2 12:09:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 09:09:15 -0700 Subject: please tell me why this is stupid In-Reply-To: References: <4E60F762.4080004@fourthworld.com> Message-ID: <060D5A0A-7237-494F-8FB0-F3695A5B3566@twft.com> But you would have to use a presumed shared secret and not store it. It couldn't be something that was chosen by the end user in the process of creating the key, because it would be discoverable. Bob On Sep 2, 2011, at 8:52 AM, Andre Garzia wrote: > Richard, > > For the arbitrary data, use some shared secret between both instances, this > way, someone in the middle can't fake the requests by simply knowing the IPs > and the milliseconds... > > On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin > wrote: > >> I need a lightweight embeddable solution for encrypting socket traffic >> between two LiveCode-based apps. This is peer-to-peer, so there is no other >> software involved (no Apache or anything else), just two apps each with an >> Internet connection, which may be anywhere in the world. >> >> For the purposes of this discussion, let's assume that this encryption >> needs to be super-easy for users to set up, so a standard SSL certificate >> may not be ideal. >> >> And since the communication is only between two apps I would write in >> LiveCode, we don't need the interoperability advantages of using a standard >> anyway, so I'm free to explore anything I like, such as the following: >> >> >> The weakest point in client-server communications is sending the >> authentication data (user name and password). With FTP and Basic HTTP >> authentication, for example, those are sent as clear text, exposing the >> system to anyone intercepting the login traffic. >> >> So it occurs to me that before the authentication data is sent, the first >> request to the server app could be to ask for a token. This token would be >> a hash (probably SHA1) of the client app's IP address, the time in >> millisecs, and other arbitrary data. >> >> This token is sent back to the client, which then uses it as the encryption >> key for the authentication data, and after authentication it continues to >> use the token to encrypt all other data sent during the session. >> >> Any attempt to send data encrypted with the token from another IP address >> would be rejected by the server since it doesn't match the IP address used >> to create the token. >> >> Similarly, any attempt to use that token in another session would also fail >> since the time stamp would no longer be within the time limit for the >> session. >> >> And of course once the data itself it accepted, the user name and password >> would need to match the server's list of known users to do anything further, >> now less likely since they were never sent as clear text. >> >> For a reasonable level of security, this would seem at first glance to >> solve the problem. >> >> The upside to this approach is that it's dirt-simple to implement. >> >> The downside is that it's dirt-simple to implement, so my instincts tell me >> there's likely something obviously wrong with it that I'm just not seeing at >> the moment. >> >> So please help me out: why is this a stupid idea? >> >> TIA - >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Sep 2 12:13:49 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 12:13:49 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: Even with both apps open, it omits apostrophes when i paste from Word to RunRev 4.0 If I paste it into notepad first, then copy and paste from notepad into Rev, it works fine without dropping characters. On Fri, Sep 2, 2011 at 12:07 PM, Bob Sneidar wrote: > I did this on a Mac and it works fine. I believe that MS Office clipboard > data is specially formatted, and the app has to be running in order to do an > on the fly translation of the data. I have noticed in the past that if I > copy something from an office product and then launch another program, then > paste, I usually get nothing, because the other app wasn't open at the time > I copied, so I suspect the translation only gets done when switching between > open applications. > > Bob > > > On Sep 2, 2011, at 8:21 AM, Jonathan Lynch wrote: > > > Hi everyone. > > > > When I type this word into MS Word: it's > > > > Then copy and paste it into a field in RunRev, the apostrophe gets > omitted. > > This is on a windows system. The character in question is not the usual > > apostrophe, but is the curly apostrophe that MS Word uses. > > > > This is quite an issue for me. My work around is to hijack the paste > > operation, use VB Script to create an invisible Word doc and save that > doc > > as a text file, then use Rev to retrieve the contents of the text file. > This > > works, but takes approximately 1.5 seconds to complete the procedure. > > > > Does anyone know if the recent versions of Live Code allow for pasting > from > > an MS Word document without omitting characters? I know it worked fine > back > > with RunRev 2.5, so I know it is possible for it to be done. > > Well, thanks for you help. > > > > Peace, > > > > Jonathan > > > > > > -- > > Do all things with love > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From jonathandlynch at gmail.com Fri Sep 2 12:14:26 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 12:14:26 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: Thanks for testing it, Bob :) On Fri, Sep 2, 2011 at 12:13 PM, Jonathan Lynch wrote: > Even with both apps open, it omits apostrophes when i paste from Word to > RunRev 4.0 > > If I paste it into notepad first, then copy and paste from notepad into > Rev, it works fine without dropping characters. > > > > > On Fri, Sep 2, 2011 at 12:07 PM, Bob Sneidar wrote: > >> I did this on a Mac and it works fine. I believe that MS Office clipboard >> data is specially formatted, and the app has to be running in order to do an >> on the fly translation of the data. I have noticed in the past that if I >> copy something from an office product and then launch another program, then >> paste, I usually get nothing, because the other app wasn't open at the time >> I copied, so I suspect the translation only gets done when switching between >> open applications. >> >> Bob >> >> >> On Sep 2, 2011, at 8:21 AM, Jonathan Lynch wrote: >> >> > Hi everyone. >> > >> > When I type this word into MS Word: it's >> > >> > Then copy and paste it into a field in RunRev, the apostrophe gets >> omitted. >> > This is on a windows system. The character in question is not the usual >> > apostrophe, but is the curly apostrophe that MS Word uses. >> > >> > This is quite an issue for me. My work around is to hijack the paste >> > operation, use VB Script to create an invisible Word doc and save that >> doc >> > as a text file, then use Rev to retrieve the contents of the text file. >> This >> > works, but takes approximately 1.5 seconds to complete the procedure. >> > >> > Does anyone know if the recent versions of Live Code allow for pasting >> from >> > an MS Word document without omitting characters? I know it worked fine >> back >> > with RunRev 2.5, so I know it is possible for it to be done. >> > Well, thanks for you help. >> > >> > Peace, >> > >> > Jonathan >> > >> > >> > -- >> > Do all things with love >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Do all things with love > -- Do all things with love From ambassador at fourthworld.com Fri Sep 2 12:33:55 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 09:33:55 -0700 Subject: please tell me why this is stupid In-Reply-To: References: Message-ID: <4E610573.1020401@fourthworld.com> Andre Garzia wrote: > For the arbitrary data, use some shared secret between both instances, this > way, someone in the middle can't fake the requests by simply knowing the IPs > and the milliseconds... Just to clarify, they not only need to know the IP and milliseconds, but must also spoof the IP and be within a certain time limit. But as for the shared secret, that's the "arbitrary data" I mentioned earlier. Anything else? My instincts say this is too simple to be useful, but my desire to have it done is tempting me to write it anyway. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin > wrote: > >> I need a lightweight embeddable solution for encrypting socket traffic >> between two LiveCode-based apps. This is peer-to-peer, so there is no other >> software involved (no Apache or anything else), just two apps each with an >> Internet connection, which may be anywhere in the world. >> >> For the purposes of this discussion, let's assume that this encryption >> needs to be super-easy for users to set up, so a standard SSL certificate >> may not be ideal. >> >> And since the communication is only between two apps I would write in >> LiveCode, we don't need the interoperability advantages of using a standard >> anyway, so I'm free to explore anything I like, such as the following: >> >> >> The weakest point in client-server communications is sending the >> authentication data (user name and password). With FTP and Basic HTTP >> authentication, for example, those are sent as clear text, exposing the >> system to anyone intercepting the login traffic. >> >> So it occurs to me that before the authentication data is sent, the first >> request to the server app could be to ask for a token. This token would be >> a hash (probably SHA1) of the client app's IP address, the time in >> millisecs, and other arbitrary data. >> >> This token is sent back to the client, which then uses it as the encryption >> key for the authentication data, and after authentication it continues to >> use the token to encrypt all other data sent during the session. >> >> Any attempt to send data encrypted with the token from another IP address >> would be rejected by the server since it doesn't match the IP address used >> to create the token. >> >> Similarly, any attempt to use that token in another session would also fail >> since the time stamp would no longer be within the time limit for the >> session. >> >> And of course once the data itself it accepted, the user name and password >> would need to match the server's list of known users to do anything further, >> now less likely since they were never sent as clear text. >> >> For a reasonable level of security, this would seem at first glance to >> solve the problem. >> >> The upside to this approach is that it's dirt-simple to implement. >> >> The downside is that it's dirt-simple to implement, so my instincts tell me >> there's likely something obviously wrong with it that I'm just not seeing at >> the moment. >> >> So please help me out: why is this a stupid idea? >> >> TIA - From bobs at twft.com Fri Sep 2 12:50:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 09:50:54 -0700 Subject: please tell me why this is stupid In-Reply-To: <4E610573.1020401@fourthworld.com> References: <4E610573.1020401@fourthworld.com> Message-ID: What happens when you change the internet provider on either end? You need a mechanism for re-establishing the link. Bob On Sep 2, 2011, at 9:33 AM, Richard Gaskin wrote: > Andre Garzia wrote: >> For the arbitrary data, use some shared secret between both instances, this >> way, someone in the middle can't fake the requests by simply knowing the IPs >> and the milliseconds... > > Just to clarify, they not only need to know the IP and milliseconds, but must also spoof the IP and be within a certain time limit. > > But as for the shared secret, that's the "arbitrary data" I mentioned earlier. > > Anything else? > > My instincts say this is too simple to be useful, but my desire to have it done is tempting me to write it anyway. ;) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > >> >> On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin >> wrote: >> >>> I need a lightweight embeddable solution for encrypting socket traffic >>> between two LiveCode-based apps. This is peer-to-peer, so there is no other >>> software involved (no Apache or anything else), just two apps each with an >>> Internet connection, which may be anywhere in the world. >>> >>> For the purposes of this discussion, let's assume that this encryption >>> needs to be super-easy for users to set up, so a standard SSL certificate >>> may not be ideal. >>> >>> And since the communication is only between two apps I would write in >>> LiveCode, we don't need the interoperability advantages of using a standard >>> anyway, so I'm free to explore anything I like, such as the following: >>> >>> >>> The weakest point in client-server communications is sending the >>> authentication data (user name and password). With FTP and Basic HTTP >>> authentication, for example, those are sent as clear text, exposing the >>> system to anyone intercepting the login traffic. >>> >>> So it occurs to me that before the authentication data is sent, the first >>> request to the server app could be to ask for a token. This token would be >>> a hash (probably SHA1) of the client app's IP address, the time in >>> millisecs, and other arbitrary data. >>> >>> This token is sent back to the client, which then uses it as the encryption >>> key for the authentication data, and after authentication it continues to >>> use the token to encrypt all other data sent during the session. >>> >>> Any attempt to send data encrypted with the token from another IP address >>> would be rejected by the server since it doesn't match the IP address used >>> to create the token. >>> >>> Similarly, any attempt to use that token in another session would also fail >>> since the time stamp would no longer be within the time limit for the >>> session. >>> >>> And of course once the data itself it accepted, the user name and password >>> would need to match the server's list of known users to do anything further, >>> now less likely since they were never sent as clear text. >>> >>> For a reasonable level of security, this would seem at first glance to >>> solve the problem. >>> >>> The upside to this approach is that it's dirt-simple to implement. >>> >>> The downside is that it's dirt-simple to implement, so my instincts tell me >>> there's likely something obviously wrong with it that I'm just not seeing at >>> the moment. >>> >>> So please help me out: why is this a stupid idea? >>> >>> TIA - > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Sep 2 12:52:48 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 09:52:48 -0700 Subject: please tell me why this is stupid In-Reply-To: References: Message-ID: <4E6109E0.8050709@fourthworld.com> Bob Sneidar wrote: > What happens when you change the internet provider on either end? You need a mechanism for re-establishing the link. The system assumes the ISP won't be changed mid-session; the token is used only for the current session. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Fri Sep 2 12:54:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 09:54:07 -0700 Subject: please tell me why this is stupid In-Reply-To: <4E610573.1020401@fourthworld.com> References: <4E610573.1020401@fourthworld.com> Message-ID: If both ends support OpenSSH then can't you simply get the public key for the machine the first time you connect and store that? But then of course, a wipe and reinstall of the OS hoses that. Apple computers natively support it, but Windows XP does not. (Not sure if Vista or Win7 have caught up yet). Bob On Sep 2, 2011, at 9:33 AM, Richard Gaskin wrote: > Andre Garzia wrote: >> For the arbitrary data, use some shared secret between both instances, this >> way, someone in the middle can't fake the requests by simply knowing the IPs >> and the milliseconds... > > Just to clarify, they not only need to know the IP and milliseconds, but must also spoof the IP and be within a certain time limit. > > But as for the shared secret, that's the "arbitrary data" I mentioned earlier. > > Anything else? > > My instincts say this is too simple to be useful, but my desire to have it done is tempting me to write it anyway. ;) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > >> >> On Fri, Sep 2, 2011 at 12:33 PM, Richard Gaskin >> wrote: >> >>> I need a lightweight embeddable solution for encrypting socket traffic >>> between two LiveCode-based apps. This is peer-to-peer, so there is no other >>> software involved (no Apache or anything else), just two apps each with an >>> Internet connection, which may be anywhere in the world. >>> >>> For the purposes of this discussion, let's assume that this encryption >>> needs to be super-easy for users to set up, so a standard SSL certificate >>> may not be ideal. >>> >>> And since the communication is only between two apps I would write in >>> LiveCode, we don't need the interoperability advantages of using a standard >>> anyway, so I'm free to explore anything I like, such as the following: >>> >>> >>> The weakest point in client-server communications is sending the >>> authentication data (user name and password). With FTP and Basic HTTP >>> authentication, for example, those are sent as clear text, exposing the >>> system to anyone intercepting the login traffic. >>> >>> So it occurs to me that before the authentication data is sent, the first >>> request to the server app could be to ask for a token. This token would be >>> a hash (probably SHA1) of the client app's IP address, the time in >>> millisecs, and other arbitrary data. >>> >>> This token is sent back to the client, which then uses it as the encryption >>> key for the authentication data, and after authentication it continues to >>> use the token to encrypt all other data sent during the session. >>> >>> Any attempt to send data encrypted with the token from another IP address >>> would be rejected by the server since it doesn't match the IP address used >>> to create the token. >>> >>> Similarly, any attempt to use that token in another session would also fail >>> since the time stamp would no longer be within the time limit for the >>> session. >>> >>> And of course once the data itself it accepted, the user name and password >>> would need to match the server's list of known users to do anything further, >>> now less likely since they were never sent as clear text. >>> >>> For a reasonable level of security, this would seem at first glance to >>> solve the problem. >>> >>> The upside to this approach is that it's dirt-simple to implement. >>> >>> The downside is that it's dirt-simple to implement, so my instincts tell me >>> there's likely something obviously wrong with it that I'm just not seeing at >>> the moment. >>> >>> So please help me out: why is this a stupid idea? >>> >>> TIA - > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Sep 2 13:10:54 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Sep 2011 12:10:54 -0500 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: Message-ID: <4E610E1E.9020607@hyperactivesw.com> On 9/2/11 10:21 AM, Jonathan Lynch wrote: > Hi everyone. > > When I type this word into MS Word: it's > > Then copy and paste it into a field in RunRev, the apostrophe gets omitted. > This is on a windows system. The character in question is not the usual > apostrophe, but is the curly apostrophe that MS Word uses. I haven't tried it, but it might be possible to trap the pasteKey message and instead of pasting directly, set the htmltext of the selection to the clipboard["html"]. Maybe Word inserts character entities that LiveCode can read. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave.cragg at lacscentre.co.uk Fri Sep 2 13:42:50 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 2 Sep 2011 18:42:50 +0100 Subject: please tell me why this is stupid In-Reply-To: <4E60F762.4080004@fourthworld.com> References: <4E60F762.4080004@fourthworld.com> Message-ID: <0FF9D032-311D-45CA-9FAA-FB31B524BCE9@lacscentre.co.uk> On 2 Sep 2011, at 16:33, Richard Gaskin wrote: > So it occurs to me that before the authentication data is sent, the first request to the server app could be to ask for a token. This token would be a hash (probably SHA1) of the client app's IP address, the time in millisecs, and other arbitrary data. Why not just a random string as the token? If the client passes in an identifier with the request (e.g. username), the server can store the token alongside the identifier. I do something similar, but just for authentication over a non-secured line. It has two stages: 1a. Client requests "login token" (submits user identifier with request) 1b. Server returns random string (and stores alongside identifier) 2a Client submits credentials that are hashed with the login token. (also sends in same identifier as in 1) 2b. If authenticated, client returns a "service token". This is used in all subsequent service calls to the server. > > So please help me out: why is this a stupid idea? I'd like to know too. Cheers Dave From jonathandlynch at gmail.com Fri Sep 2 13:51:37 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 13:51:37 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <4E610E1E.9020607@hyperactivesw.com> References: <4E610E1E.9020607@hyperactivesw.com> Message-ID: I just tried it, but no success. I copied a bunch of apostrophes from Word, and used a button that puts the clipboarddata["html"] into a field. All the field shows is "

" - all of the apostrophes were omitted, even though I can paste them into Notepad. Do you have any other suggestions? I will try them all. Unfortunately, all elements in the clipboarddata array do not have the missing characters - I tried them. I just worked out a technique using VBScript and IE rather than Word, and it works fine, but is no faster than the method I was using with Word. Are there any externals available that might be useful? On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay wrote: > On 9/2/11 10:21 AM, Jonathan Lynch wrote: > >> Hi everyone. >> >> When I type this word into MS Word: it's >> >> Then copy and paste it into a field in RunRev, the apostrophe gets >> omitted. >> This is on a windows system. The character in question is not the usual >> apostrophe, but is the curly apostrophe that MS Word uses. >> > > I haven't tried it, but it might be possible to trap the pasteKey message > and instead of pasting directly, set the htmltext of the selection to the > clipboard["html"]. Maybe Word inserts character entities that LiveCode can > read. > > -- > 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 > -- Do all things with love From ambassador at fourthworld.com Fri Sep 2 13:55:18 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 10:55:18 -0700 Subject: please tell me why this is stupid In-Reply-To: References: Message-ID: <4E611886.8040705@fourthworld.com> Bob Sneidar wrote: > If both ends support OpenSSH then can't you simply get the public key for the machine the first time you connect and store that? But then of course, a wipe and reinstall of the OS hoses that. Apple computers natively support it, but Windows XP does not. (Not sure if Vista or Win7 have caught up yet). Ah, but there's the rub: this is a consumer app, and one in which once in a while it will be used by the same person on different machines, requiring them to set up certs on each machine. Ever try to explain how to set up an SSL cert to an end-user? ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Fri Sep 2 14:00:46 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 02 Sep 2011 11:00:46 -0700 Subject: please tell me why this is stupid In-Reply-To: <0FF9D032-311D-45CA-9FAA-FB31B524BCE9@lacscentre.co.uk> References: <0FF9D032-311D-45CA-9FAA-FB31B524BCE9@lacscentre.co.uk> Message-ID: <4E6119CE.30708@fourthworld.com> Thanks for chiming in, Dave: > On 2 Sep 2011, at 16:33, Richard Gaskin wrote: > >> So it occurs to me that before the authentication data is sent, the first request to the server app could be to ask for a token. This token would be a hash (probably SHA1) of the client app's IP address, the time in millisecs, and other arbitrary data. > > Why not just a random string as the token? If the client passes in an identifier with the request (e.g. username), the server can store the token alongside the identifier. > > I do something similar, but just for authentication over a non-secured line. It has two stages: > > 1a. Client requests "login token" (submits user identifier with request) > 1b. Server returns random string (and stores alongside identifier) > 2a Client submits credentials that are hashed with the login token. (also sends in same identifier as in 1) > 2b. If authenticated, client returns a "service token". This is used in all subsequent service calls to the server. Looks like we're walking similar paths. I added IP and time stamps to the arbitrary data as additional precautions, but the core principle sounds very much the same. >> >> So please help me out: why is this a stupid idea? > > I'd like to know too. Nice to know I'm in good company on schemes like this. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Fri Sep 2 14:45:23 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 2 Sep 2011 11:45:23 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: That's an interesting method of DRM. Another level of obfuscation. Thanks Microsoft. On 2 September 2011 09:07, Bob Sneidar wrote: > I did this on a Mac and it works fine. I believe that MS Office clipboard > data is specially formatted, and the app has to be running in order to do an > on the fly translation of the data. I have noticed in the past that if I > copy something from an office product and then launch another program, then > paste, I usually get nothing, because the other app wasn't open at the time > I copied, so I suspect the translation only gets done when switching between > open applications. > > Bob > > > On Sep 2, 2011, at 8:21 AM, Jonathan Lynch wrote: > > > Hi everyone. > > > > When I type this word into MS Word: it's > > > > Then copy and paste it into a field in RunRev, the apostrophe gets > omitted. > > This is on a windows system. The character in question is not the usual > > apostrophe, but is the curly apostrophe that MS Word uses. > > > > This is quite an issue for me. My work around is to hijack the paste > > operation, use VB Script to create an invisible Word doc and save that > doc > > as a text file, then use Rev to retrieve the contents of the text file. > This > > works, but takes approximately 1.5 seconds to complete the procedure. > > > > Does anyone know if the recent versions of Live Code allow for pasting > from > > an MS Word document without omitting characters? I know it worked fine > back > > with RunRev 2.5, so I know it is possible for it to be done. > > Well, thanks for you help. > > > > Peace, > > > > Jonathan > > > > > > -- > > Do all things with love > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jonathandlynch at gmail.com Fri Sep 2 14:47:36 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 14:47:36 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> Message-ID: I am thinking that this could be accomplished with a hidden RevBrowser stack that points to an HTML page that has nothing but a single text area. typing ^v ^a ^c into the browser text area would get me the clipboard text in a clean fashion, and be much faster than how I do it now. Will update if I can figure out how to make it work Peace, J On Fri, Sep 2, 2011 at 1:51 PM, Jonathan Lynch wrote: > I just tried it, but no success. > > I copied a bunch of apostrophes from Word, and used a button that puts the > clipboarddata["html"] into a field. All the field shows is "

" - all > of the apostrophes were omitted, even though I can paste them into Notepad. > > Do you have any other suggestions? I will try them all. > > Unfortunately, all elements in the clipboarddata array do not have the > missing characters - I tried them. > > I just worked out a technique using VBScript and IE rather than Word, and > it works fine, but is no faster than the method I was using with Word. > > Are there any externals available that might be useful? > > On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay > wrote: > >> On 9/2/11 10:21 AM, Jonathan Lynch wrote: >> >>> Hi everyone. >>> >>> When I type this word into MS Word: it's >>> >>> Then copy and paste it into a field in RunRev, the apostrophe gets >>> omitted. >>> This is on a windows system. The character in question is not the usual >>> apostrophe, but is the curly apostrophe that MS Word uses. >>> >> >> I haven't tried it, but it might be possible to trap the pasteKey message >> and instead of pasting directly, set the htmltext of the selection to the >> clipboard["html"]. Maybe Word inserts character entities that LiveCode can >> read. >> >> -- >> 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 >> > > > > -- > Do all things with love > -- Do all things with love From jonathandlynch at gmail.com Fri Sep 2 14:48:21 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 14:48:21 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: What is DRM? On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > That's an interesting method of DRM. Another level of obfuscation. Thanks > Microsoft. > > On 2 September 2011 09:07, Bob Sneidar wrote: > > > I did this on a Mac and it works fine. I believe that MS Office clipboard > > data is specially formatted, and the app has to be running in order to do > an > > on the fly translation of the data. I have noticed in the past that if I > > copy something from an office product and then launch another program, > then > > paste, I usually get nothing, because the other app wasn't open at the > time > > I copied, so I suspect the translation only gets done when switching > between > > open applications. > > > > Bob > > > > > > On Sep 2, 2011, at 8:21 AM, Jonathan Lynch wrote: > > > > > Hi everyone. > > > > > > When I type this word into MS Word: it's > > > > > > Then copy and paste it into a field in RunRev, the apostrophe gets > > omitted. > > > This is on a windows system. The character in question is not the usual > > > apostrophe, but is the curly apostrophe that MS Word uses. > > > > > > This is quite an issue for me. My work around is to hijack the paste > > > operation, use VB Script to create an invisible Word doc and save that > > doc > > > as a text file, then use Rev to retrieve the contents of the text file. > > This > > > works, but takes approximately 1.5 seconds to complete the procedure. > > > > > > Does anyone know if the recent versions of Live Code allow for pasting > > from > > > an MS Word document without omitting characters? I know it worked fine > > back > > > with RunRev 2.5, so I know it is possible for it to be done. > > > Well, thanks for you help. > > > > > > Peace, > > > > > > Jonathan > > > > > > > > > -- > > > Do all things with love > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From keith.clarke at clarkeandclarke.co.uk Fri Sep 2 14:48:21 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 19:48:21 +0100 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> Message-ID: It might be worth avoiding pasting into an LC field (LC fields can be awkward when working with formatted text such as HTML/XML as they interpret some tags). It might be worth an experiment to 1) paste the clipboard contents into an LC variable, instead of a field 2) set custom property to the variable and then 3) view the custom property in the Property inspector - to see if you get any characters or blanks That way you'd know if the problem is with the LC paste function (a potential engine bug) or simply a field rendering one (a problem I get with HTML and XML tags all the time). Best, Keith.. On 2 Sep 2011, at 18:51, Jonathan Lynch wrote: > I just tried it, but no success. > > I copied a bunch of apostrophes from Word, and used a button that puts the > clipboarddata["html"] into a field. All the field shows is "

" - all > of the apostrophes were omitted, even though I can paste them into Notepad. > > Do you have any other suggestions? I will try them all. > > Unfortunately, all elements in the clipboarddata array do not have the > missing characters - I tried them. > > I just worked out a technique using VBScript and IE rather than Word, and it > works fine, but is no faster than the method I was using with Word. > > Are there any externals available that might be useful? > > On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay wrote: > >> On 9/2/11 10:21 AM, Jonathan Lynch wrote: >> >>> Hi everyone. >>> >>> When I type this word into MS Word: it's >>> >>> Then copy and paste it into a field in RunRev, the apostrophe gets >>> omitted. >>> This is on a windows system. The character in question is not the usual >>> apostrophe, but is the curly apostrophe that MS Word uses. >>> >> >> I haven't tried it, but it might be possible to trap the pasteKey message >> and instead of pasting directly, set the htmltext of the selection to the >> clipboard["html"]. Maybe Word inserts character entities that LiveCode can >> read. From roger.e.eller at sealedair.com Fri Sep 2 14:42:36 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 2 Sep 2011 14:42:36 -0400 Subject: Android Fonts In-Reply-To: References: Message-ID: On Thu, Sep 1, 2011 at 10:48 PM, Roger Eller wrote: > answer the fontNames returns "1" in android. > > I need to identify and use a digital clock font. It needs to be a font > that is most likely already installed on all Android devices. > > the fontNames is in the LC dictionary with the android icon, so I kinda > expected to see a list of fonts. > > ?Roger > I am only able to get Helvetica and Times to work in my LC apps on Android, regardless of what font is chosen in the IDE. It seems to default to these depending on whether the chosen font was Serif or Sans-Serif. Any other experiences or solutions you may have had would be welcome. ~Roger From jonathandlynch at gmail.com Fri Sep 2 14:59:31 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 14:59:31 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> Message-ID: Hi Keith, The characters are entitely absent from the clipboarddata["html"] and every other element of the clipboard array. Are there other means of accessing the clipboard besides using the clipboarddata or paste operations? On Fri, Sep 2, 2011 at 2:48 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > It might be worth avoiding pasting into an LC field (LC fields can be > awkward when working with formatted text such as HTML/XML as they interpret > some tags). It might be worth an experiment to > 1) paste the clipboard contents into an LC variable, instead of a field > 2) set custom property to the variable and then > 3) view the custom property in the Property inspector - to see if you get > any characters or blanks > > That way you'd know if the problem is with the LC paste function (a > potential engine bug) or simply a field rendering one (a problem I get with > HTML and XML tags all the time). > Best, > Keith.. > > On 2 Sep 2011, at 18:51, Jonathan Lynch wrote: > > > I just tried it, but no success. > > > > I copied a bunch of apostrophes from Word, and used a button that puts > the > > clipboarddata["html"] into a field. All the field shows is "

" - > all > > of the apostrophes were omitted, even though I can paste them into > Notepad. > > > > Do you have any other suggestions? I will try them all. > > > > Unfortunately, all elements in the clipboarddata array do not have the > > missing characters - I tried them. > > > > I just worked out a technique using VBScript and IE rather than Word, and > it > > works fine, but is no faster than the method I was using with Word. > > > > Are there any externals available that might be useful? > > > > On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay >wrote: > > > >> On 9/2/11 10:21 AM, Jonathan Lynch wrote: > >> > >>> Hi everyone. > >>> > >>> When I type this word into MS Word: it's > >>> > >>> Then copy and paste it into a field in RunRev, the apostrophe gets > >>> omitted. > >>> This is on a windows system. The character in question is not the usual > >>> apostrophe, but is the curly apostrophe that MS Word uses. > >>> > >> > >> I haven't tried it, but it might be possible to trap the pasteKey > message > >> and instead of pasting directly, set the htmltext of the selection to > the > >> clipboard["html"]. Maybe Word inserts character entities that LiveCode > can > >> read. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From keith.clarke at clarkeandclarke.co.uk Fri Sep 2 15:03:20 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 20:03:20 +0100 Subject: please tell me why this is stupid In-Reply-To: <4E6119CE.30708@fourthworld.com> References: <0FF9D032-311D-45CA-9FAA-FB31B524BCE9@lacscentre.co.uk> <4E6119CE.30708@fourthworld.com> Message-ID: You might also want to consider a simplification of the trick that Salseforce.com uses (albeit in their case, on top of SSL & username/password authentication) when a user logs in via an unknown machine (my guess is 'unknown IP address'). The successful login is followed by a dialogue to send an authentication code. Clicking the button triggers the server to send a random number string to the user's registered email address (to which they should have access from the machine they're using to login). Once typed-in, some kind of session token/cookie or whatever is created for that machine for subsequent logins. This hand-shaking process could be simplified for your peer-to-peer scenario - or you could add an authentication server into the mix for initial application registration and set-up (which would also help track who is using the app and intercept for updates, etc)? Best, Keith.. On 2 Sep 2011, at 19:00, Richard Gaskin wrote: > Thanks for chiming in, Dave: > >> On 2 Sep 2011, at 16:33, Richard Gaskin wrote: >> >>> So it occurs to me that before the authentication data is sent, the first request to the server app could be to ask for a token. This token would be a hash (probably SHA1) of the client app's IP address, the time in millisecs, and other arbitrary data. >> >> Why not just a random string as the token? If the client passes in an identifier with the request (e.g. username), the server can store the token alongside the identifier. >> >> I do something similar, but just for authentication over a non-secured line. It has two stages: >> >> 1a. Client requests "login token" (submits user identifier with request) >> 1b. Server returns random string (and stores alongside identifier) >> 2a Client submits credentials that are hashed with the login token. (also sends in same identifier as in 1) >> 2b. If authenticated, client returns a "service token". This is used in all subsequent service calls to the server. > > Looks like we're walking similar paths. I added IP and time stamps to the arbitrary data as additional precautions, but the core principle sounds very much the same. > >>> >>> So please help me out: why is this a stupid idea? >> >> I'd like to know too. > > Nice to know I'm in good company on schemes like this. :) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From stephenREVOLUTION2 at barncard.com Fri Sep 2 15:08:45 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 2 Sep 2011 12:08:45 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: Digital Rights Management. Copy protection. On 2 September 2011 11:48, Jonathan Lynch wrote: > What is DRM? > > On Fri, Sep 2, 2011 at 2:45 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > That's an interesting method of DRM. Another level of obfuscation. Thanks > > Microsoft. > > > Stephen Barncard San Francisco Ca. USA more about sqb From keith.clarke at clarkeandclarke.co.uk Fri Sep 2 15:08:48 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 20:08:48 +0100 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> Message-ID: <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> I'm confused, how do you know the characters are missing until you paste the clipboard contents somewhere within LC to render them and see them? If you 'test' by rendering any formatted text into a field, you get the field's behaviour of partial interpretation of some text formatting in your test data. However, if you test by rendering into a custom property (or file) you will not get the field's artefacts added to the clipboard data. I hope that helps. Best, Keith.. On 2 Sep 2011, at 19:59, Jonathan Lynch wrote: > Hi Keith, > > The characters are entitely absent from the clipboarddata["html"] and every > other element of the clipboard array. > > Are there other means of accessing the clipboard besides using the > clipboarddata or paste operations? > > On Fri, Sep 2, 2011 at 2:48 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> It might be worth avoiding pasting into an LC field (LC fields can be >> awkward when working with formatted text such as HTML/XML as they interpret >> some tags). It might be worth an experiment to >> 1) paste the clipboard contents into an LC variable, instead of a field >> 2) set custom property to the variable and then >> 3) view the custom property in the Property inspector - to see if you get >> any characters or blanks >> >> That way you'd know if the problem is with the LC paste function (a >> potential engine bug) or simply a field rendering one (a problem I get with >> HTML and XML tags all the time). >> Best, >> Keith.. >> >> On 2 Sep 2011, at 18:51, Jonathan Lynch wrote: >> >>> I just tried it, but no success. >>> >>> I copied a bunch of apostrophes from Word, and used a button that puts >> the >>> clipboarddata["html"] into a field. All the field shows is "

" - >> all >>> of the apostrophes were omitted, even though I can paste them into >> Notepad. >>> >>> Do you have any other suggestions? I will try them all. >>> >>> Unfortunately, all elements in the clipboarddata array do not have the >>> missing characters - I tried them. >>> >>> I just worked out a technique using VBScript and IE rather than Word, and >> it >>> works fine, but is no faster than the method I was using with Word. >>> >>> Are there any externals available that might be useful? >>> >>> On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay >> wrote: >>> >>>> On 9/2/11 10:21 AM, Jonathan Lynch wrote: >>>> >>>>> Hi everyone. >>>>> >>>>> When I type this word into MS Word: it's >>>>> >>>>> Then copy and paste it into a field in RunRev, the apostrophe gets >>>>> omitted. >>>>> This is on a windows system. The character in question is not the usual >>>>> apostrophe, but is the curly apostrophe that MS Word uses. >>>>> >>>> >>>> I haven't tried it, but it might be possible to trap the pasteKey >> message >>>> and instead of pasting directly, set the htmltext of the selection to >> the >>>> clipboard["html"]. Maybe Word inserts character entities that LiveCode >> can >>>> read. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Sep 2 15:14:31 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 02 Sep 2011 12:14:31 -0700 Subject: [OT] Related to Security Concerns ( was: "please tell me why this is stupid") In-Reply-To: Message-ID: > You might also want to consider a simplification of the trick that > Salseforce.com uses (albeit in their case, on top of SSL & username/password > authentication) when a user logs in via an unknown machine (my guess is > 'unknown IP address'). Apologies for the thread hijacking, just saw this another list and thought it appropriate to concerns about 'net security: "The site said I needed a password with 8 characters? so I picked Snow White and the Seven Dwarves?" Regards, Scott Rossi Creative Director Tactile Media, UX Design From keith.clarke at clarkeandclarke.co.uk Fri Sep 2 15:19:16 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 20:19:16 +0100 Subject: [OT] Related to Security Concerns ( was: "please tell me why this is stupid") In-Reply-To: References: Message-ID: <1DEE8015-E078-42D2-B752-C743DB895511@clarkeandclarke.co.uk> d-d-d-d-d-drum...tshhhhhhh! :-) On 2 Sep 2011, at 20:14, Scott Rossi wrote: > >> You might also want to consider a simplification of the trick that >> Salseforce.com uses (albeit in their case, on top of SSL & username/password >> authentication) when a user logs in via an unknown machine (my guess is >> 'unknown IP address'). > > Apologies for the thread hijacking, just saw this another list and thought > it appropriate to concerns about 'net security: > > "The site said I needed a password with 8 characters? so I picked Snow White > and the Seven Dwarves?" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Sep 2 15:26:26 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 15:26:26 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> Message-ID: I see what you are saying. I just tried the following: * on* mouseUp *put* the clipboarddata["html"] into tHTML *put* the number of chars in tHTML & linefeed & tHTML into field "feedback" * end* mouseUp The output of this script is the following: 7

"

" contains 7 characters, which is what the output counted. If there were hidden characters that did not show up in the field, then the character count should have been higher. I think MS Word does something funny with copying - very annoying. On Fri, Sep 2, 2011 at 3:08 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > I'm confused, how do you know the characters are missing until you paste > the clipboard contents somewhere within LC to render them and see them? > > If you 'test' by rendering any formatted text into a field, you get the > field's behaviour of partial interpretation of some text formatting in your > test data. However, if you test by rendering into a custom property (or > file) you will not get the field's artefacts added to the clipboard data. > > I hope that helps. > Best, > Keith.. > > > On 2 Sep 2011, at 19:59, Jonathan Lynch wrote: > > > Hi Keith, > > > > The characters are entitely absent from the clipboarddata["html"] and > every > > other element of the clipboard array. > > > > Are there other means of accessing the clipboard besides using the > > clipboarddata or paste operations? > > > > On Fri, Sep 2, 2011 at 2:48 PM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> It might be worth avoiding pasting into an LC field (LC fields can be > >> awkward when working with formatted text such as HTML/XML as they > interpret > >> some tags). It might be worth an experiment to > >> 1) paste the clipboard contents into an LC variable, instead of a field > >> 2) set custom property to the variable and then > >> 3) view the custom property in the Property inspector - to see if you > get > >> any characters or blanks > >> > >> That way you'd know if the problem is with the LC paste function (a > >> potential engine bug) or simply a field rendering one (a problem I get > with > >> HTML and XML tags all the time). > >> Best, > >> Keith.. > >> > >> On 2 Sep 2011, at 18:51, Jonathan Lynch wrote: > >> > >>> I just tried it, but no success. > >>> > >>> I copied a bunch of apostrophes from Word, and used a button that puts > >> the > >>> clipboarddata["html"] into a field. All the field shows is "

" - > >> all > >>> of the apostrophes were omitted, even though I can paste them into > >> Notepad. > >>> > >>> Do you have any other suggestions? I will try them all. > >>> > >>> Unfortunately, all elements in the clipboarddata array do not have the > >>> missing characters - I tried them. > >>> > >>> I just worked out a technique using VBScript and IE rather than Word, > and > >> it > >>> works fine, but is no faster than the method I was using with Word. > >>> > >>> Are there any externals available that might be useful? > >>> > >>> On Fri, Sep 2, 2011 at 1:10 PM, J. Landman Gay < > jacque at hyperactivesw.com > >>> wrote: > >>> > >>>> On 9/2/11 10:21 AM, Jonathan Lynch wrote: > >>>> > >>>>> Hi everyone. > >>>>> > >>>>> When I type this word into MS Word: it's > >>>>> > >>>>> Then copy and paste it into a field in RunRev, the apostrophe gets > >>>>> omitted. > >>>>> This is on a windows system. The character in question is not the > usual > >>>>> apostrophe, but is the curly apostrophe that MS Word uses. > >>>>> > >>>> > >>>> I haven't tried it, but it might be possible to trap the pasteKey > >> message > >>>> and instead of pasting directly, set the htmltext of the selection to > >> the > >>>> clipboard["html"]. Maybe Word inserts character entities that LiveCode > >> can > >>>> read. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > Do all things with love > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From jacque at hyperactivesw.com Fri Sep 2 15:28:58 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 02 Sep 2011 14:28:58 -0500 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> Message-ID: <4E612E7A.2030205@hyperactivesw.com> On 9/2/11 2:08 PM, Keith Clarke wrote: > I'm confused, how do you know the characters are missing until you > paste the clipboard contents somewhere within LC to render them and > see them? The clipboardData is already a variable, so examining it to see what was actually copied should show accurate info. But you do make a good point, because looking at the variable contents has to put it into a field somewhere, even if it's only in the variable watcher. It may be the field rendering that's wrong instead of the clipboard content. Jonathan, you could test that with something like this: get the clipboardData["text"] put numToChar() is in it If the message box shows true, then the characters are in there but the field isn't rendering them. You can then do a replace looking for numToChar() and replacing those with regular apostrophes. There was a bug in the database about copying text from Word. It was fixed and closed some time ago, but if the above doesn't work I think you should enter another bug report about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Fri Sep 2 15:38:21 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 15:38:21 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <4E612E7A.2030205@hyperactivesw.com> References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> Message-ID: I tried this: * on* mouseUp *put* the clipboarddata["text"] into ttext *put* chartonum(tTExt) into field "Feedback" * end* mouseUp I ran this after copying a single apostrophe from MS Word, but it came back empty. I do not think it is a problem with the rendering the character. I can paste the character into a textarea in IE, then copy it again and paste it into a field in Rev without any problem. I think that copying from Word does something different than copying from IE. On Fri, Sep 2, 2011 at 3:28 PM, J. Landman Gay wrote: > On 9/2/11 2:08 PM, Keith Clarke wrote: > >> I'm confused, how do you know the characters are missing until you >> paste the clipboard contents somewhere within LC to render them and >> see them? >> > > The clipboardData is already a variable, so examining it to see what was > actually copied should show accurate info. But you do make a good point, > because looking at the variable contents has to put it into a field > somewhere, even if it's only in the variable watcher. It may be the field > rendering that's wrong instead of the clipboard content. > > Jonathan, you could test that with something like this: > > get the clipboardData["text"] > put numToChar() is in it > > If the message box shows true, then the characters are in there but the > field isn't rendering them. You can then do a replace looking for > numToChar() and replacing those with regular apostrophes. > > There was a bug in the database about copying text from Word. It was fixed > and closed some time ago, but if the above doesn't work I think you should > enter another bug report about it. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Do all things with love From baleareninsel at gmx.net Fri Sep 2 15:49:17 2011 From: baleareninsel at gmx.net (Inselfan) Date: Fri, 2 Sep 2011 12:49:17 -0700 (PDT) Subject: DataGrid and my headache Message-ID: <1314992957052-3786924.post@n4.nabble.com> Hola, Working with RR/LC since 1997 (my actual Version: LC 4.5.3). Now I want to start working with something new to me: DataGrid. And it's making me mad. Doing the exercises as described and also made a Data Grid "field" from the Tool-bar with the name DataGrid1. on mouseUp put "state" & tab & "code" & cr & \ "ALABAMA" & tab & "AL" & cr & \ "ALASKA" & tab & "AK" into theText put true into firstLineContainsColumnNames set the dgText[firstLineContainsColumnNames] of group "DataGrid1" to theText end mouseUp gives me a permanent error: button "Button": execution error at line 12 (Chunk: can't find background), char 49 I also can not find all the "dg*" words in the dictionary. Do I miss something, what also has to be installed? It would be so kind, if you'll be able to kick me in the right direction. Thanks a lot Horst -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-and-my-headache-tp3786924p3786924.html Sent from the Revolution - User mailing list archive at Nabble.com. From cmsheffield at gmail.com Fri Sep 2 15:52:16 2011 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 2 Sep 2011 13:52:16 -0600 Subject: slight OT: Apple's Volume Purchase Program Message-ID: <80E07030-B159-48B5-93C8-CC6F09B9846D@gmail.com> Hi all, Sorry for the slight off-topicness of this post, but I'm not getting any responses from Apple and wondered if anyone here has had experience with their Volume Purchasing Program. We (Read Naturally, Inc.) may have an upcoming iPad app and may possible be interested in using the VPP, as our target audience is the education market. Our biggest concern is if the program actually physically limits a school from installing a purchased app on as many devices as they want. The program details, mostly found here http://www.apple.com/itunes/education/faq/, do not explicitly state how this works. So if a school purchases 30 copies (redemption codes) of an app, are they limited to installing that app on only 30 devices? And I know we've got some educators who are LC users. Would you, as an educator, participate in such a program? Is it too big a hassle? To me it seems a lot easier for a teacher to simply purchase the app herself (whether she uses her own Apple ID or one created by her school) and then sync devices with a computer. In which case, couldn't she install on as many devices as she wishes? If anyone has any experience or input on the program I would appreciate hearing from you. Feel free to email me directly if it's too off-topic for the list. Thanks, Chris Sheffield Read Naturally, Inc. www.readnaturally.com From keith.clarke at clarkeandclarke.co.uk Fri Sep 2 15:56:04 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 20:56:04 +0100 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <4E612E7A.2030205@hyperactivesw.com> References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> Message-ID: Jonathan, check that you have the useUnicode property set to true in your handler, as it's clear that the code for curly quotes (2019) is way up above the 127-255 range that numtochar will support without unicode enabled. http://en.wikipedia.org/wiki/Quotation_mark_glyphs I've not had to dig into unicode yet, so I don't know too much more, but it's a recurring theme for community members, so the archives may be useful. Best, Keith.. On 2 Sep 2011, at 20:28, J. Landman Gay wrote: > On 9/2/11 2:08 PM, Keith Clarke wrote: >> I'm confused, how do you know the characters are missing until you >> paste the clipboard contents somewhere within LC to render them and >> see them? > > The clipboardData is already a variable, so examining it to see what was actually copied should show accurate info. But you do make a good point, because looking at the variable contents has to put it into a field somewhere, even if it's only in the variable watcher. It may be the field rendering that's wrong instead of the clipboard content. > > Jonathan, you could test that with something like this: > > get the clipboardData["text"] > put numToChar() is in it > > If the message box shows true, then the characters are in there but the field isn't rendering them. You can then do a replace looking for numToChar() and replacing those with regular apostrophes. > > There was a bug in the database about copying text from Word. It was fixed and closed some time ago, but if the above doesn't work I think you should enter another bug report about it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Sep 2 16:05:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 13:05:01 -0700 Subject: DataGrid and my headache In-Reply-To: <1314992957052-3786924.post@n4.nabble.com> References: <1314992957052-3786924.post@n4.nabble.com> Message-ID: Was this copied and pasted from your code or did you retype it? Check the name of the datagrid just to be certain. Then if you still have a problem, delete the datagrid and try again. Bob On Sep 2, 2011, at 12:49 PM, Inselfan wrote: > Hola, > > Working with RR/LC since 1997 (my actual Version: LC 4.5.3). Now I want to > start working with something new to me: DataGrid. And it's making me mad. > > Doing the exercises as described and also made a Data Grid "field" from the > Tool-bar with the name DataGrid1. > > on mouseUp > put "state" & tab & "code" & cr & \ > "ALABAMA" & tab & "AL" & cr & \ > "ALASKA" & tab & "AK" into theText > put true into firstLineContainsColumnNames > set the dgText[firstLineContainsColumnNames] of group "DataGrid1" to > theText > end mouseUp > > gives me a permanent error: > button "Button": execution error at line 12 (Chunk: can't find background), > char 49 > > I also can not find all the "dg*" words in the dictionary. Do I miss > something, what also has to be installed? > > It would be so kind, if you'll be able to kick me in the right direction. > > Thanks a lot > > Horst > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-and-my-headache-tp3786924p3786924.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 bobs at twft.com Fri Sep 2 16:14:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 13:14:34 -0700 Subject: [OT] Related to Security Concerns ( was: "please tell me why this is stupid") In-Reply-To: References: Message-ID: <23028F44-1044-4425-8880-D54F089D83EF@twft.com> Duly hijacked, massaged into a joke, and sent to family and friends. :-) Bob On Sep 2, 2011, at 12:14 PM, Scott Rossi wrote: > >> You might also want to consider a simplification of the trick that >> Salseforce.com uses (albeit in their case, on top of SSL & username/password >> authentication) when a user logs in via an unknown machine (my guess is >> 'unknown IP address'). > > Apologies for the thread hijacking, just saw this another list and thought > it appropriate to concerns about 'net security: > > "The site said I needed a password with 8 characters? so I picked Snow White > and the Seven Dwarves?" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Sep 2 16:15:14 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 13:15:14 -0700 Subject: slight OT: Apple's Volume Purchase Program In-Reply-To: <80E07030-B159-48B5-93C8-CC6F09B9846D@gmail.com> References: <80E07030-B159-48B5-93C8-CC6F09B9846D@gmail.com> Message-ID: THE HELL YOU SAY! ;-) On Sep 2, 2011, at 12:52 PM, Chris Sheffield wrote: > Sorry for the slight off-topicness of this post, but I'm not getting any responses from Apple From jonathandlynch at gmail.com Fri Sep 2 16:15:35 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 16:15:35 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> Message-ID: Hi Keith, I just tried doing this with the useunicode set to true, but the apostrophe was still absent. On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Jonathan, check that you have the useUnicode property set to true in your > handler, as it's clear that the code for curly quotes (2019) is way up above > the 127-255 range that numtochar will support without unicode enabled. > http://en.wikipedia.org/wiki/Quotation_mark_glyphs > > I've not had to dig into unicode yet, so I don't know too much more, but > it's a recurring theme for community members, so the archives may be useful. > Best, > Keith.. > > On 2 Sep 2011, at 20:28, J. Landman Gay wrote: > > > On 9/2/11 2:08 PM, Keith Clarke wrote: > >> I'm confused, how do you know the characters are missing until you > >> paste the clipboard contents somewhere within LC to render them and > >> see them? > > > > The clipboardData is already a variable, so examining it to see what was > actually copied should show accurate info. But you do make a good point, > because looking at the variable contents has to put it into a field > somewhere, even if it's only in the variable watcher. It may be the field > rendering that's wrong instead of the clipboard content. > > > > Jonathan, you could test that with something like this: > > > > get the clipboardData["text"] > > put numToChar() is in it > > > > If the message box shows true, then the characters are in there but the > field isn't rendering them. You can then do a replace looking for > numToChar() and replacing those with regular apostrophes. > > > > There was a bug in the database about copying text from Word. It was > fixed and closed some time ago, but if the above doesn't work I think you > should enter another bug report about it. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From bobs at twft.com Fri Sep 2 16:18:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 2 Sep 2011 13:18:49 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> Message-ID: microsoftsuks On Sep 2, 2011, at 1:15 PM, Jonathan Lynch wrote: > Hi Keith, > I just tried doing this with the useunicode set to true, but the apostrophe > was still absent. > > On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Jonathan, check that you have the useUnicode property set to true in your >> handler, as it's clear that the code for curly quotes (2019) is way up above >> the 127-255 range that numtochar will support without unicode enabled. >> http://en.wikipedia.org/wiki/Quotation_mark_glyphs >> >> I've not had to dig into unicode yet, so I don't know too much more, but >> it's a recurring theme for community members, so the archives may be useful. >> Best, >> Keith.. >> >> On 2 Sep 2011, at 20:28, J. Landman Gay wrote: >> >>> On 9/2/11 2:08 PM, Keith Clarke wrote: >>>> I'm confused, how do you know the characters are missing until you >>>> paste the clipboard contents somewhere within LC to render them and >>>> see them? >>> >>> The clipboardData is already a variable, so examining it to see what was >> actually copied should show accurate info. But you do make a good point, >> because looking at the variable contents has to put it into a field >> somewhere, even if it's only in the variable watcher. It may be the field >> rendering that's wrong instead of the clipboard content. >>> >>> Jonathan, you could test that with something like this: >>> >>> get the clipboardData["text"] >>> put numToChar() is in it >>> >>> If the message box shows true, then the characters are in there but the >> field isn't rendering them. You can then do a replace looking for >> numToChar() and replacing those with regular apostrophes. >>> >>> There was a bug in the database about copying text from Word. It was >> fixed and closed some time ago, but if the above doesn't work I think you >> should enter another bug report about it. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at 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 clarkeandclarke.co.uk Fri Sep 2 16:24:13 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 2 Sep 2011 21:24:13 +0100 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> Message-ID: <9AF7CC28-9A48-4144-ADF5-F75BDF905A92@clarkeandclarke.co.uk> ...if you have control overt the Word environment, I think I'd look into enforcing straight quotes prior to export. It's an options/preferences setting and I seem to remember it being possible to set all quotes to straight, via a command - so that HTML export doesn't get corrupted. Good luck! Keith.. On 2 Sep 2011, at 21:15, Jonathan Lynch wrote: > Hi Keith, > I just tried doing this with the useunicode set to true, but the apostrophe > was still absent. > > On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Jonathan, check that you have the useUnicode property set to true in your >> handler, as it's clear that the code for curly quotes (2019) is way up above >> the 127-255 range that numtochar will support without unicode enabled. >> http://en.wikipedia.org/wiki/Quotation_mark_glyphs >> >> I've not had to dig into unicode yet, so I don't know too much more, but >> it's a recurring theme for community members, so the archives may be useful. >> Best, >> Keith.. >> >> On 2 Sep 2011, at 20:28, J. Landman Gay wrote: >> >>> On 9/2/11 2:08 PM, Keith Clarke wrote: >>>> I'm confused, how do you know the characters are missing until you >>>> paste the clipboard contents somewhere within LC to render them and >>>> see them? >>> >>> The clipboardData is already a variable, so examining it to see what was >> actually copied should show accurate info. But you do make a good point, >> because looking at the variable contents has to put it into a field >> somewhere, even if it's only in the variable watcher. It may be the field >> rendering that's wrong instead of the clipboard content. >>> >>> Jonathan, you could test that with something like this: >>> >>> get the clipboardData["text"] >>> put numToChar() is in it >>> >>> If the message box shows true, then the characters are in there but the >> field isn't rendering them. You can then do a replace looking for >> numToChar() and replacing those with regular apostrophes. >>> >>> There was a bug in the database about copying text from Word. It was >> fixed and closed some time ago, but if the above doesn't work I think you >> should enter another bug report about it. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Fri Sep 2 17:01:28 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 2 Sep 2011 17:01:28 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <9AF7CC28-9A48-4144-ADF5-F75BDF905A92@clarkeandclarke.co.uk> References: <4E610E1E.9020607@hyperactivesw.com> <86C7B369-CB37-45AC-BC99-EF510B5C95F7@clarkeandclarke.co.uk> <4E612E7A.2030205@hyperactivesw.com> <9AF7CC28-9A48-4144-ADF5-F75BDF905A92@clarkeandclarke.co.uk> Message-ID: Unfortunately, I do not have that control. this is for coworkers to be able to paste specific chunks of text into a message repository. They all work in MS Word, then will copy and past into the application. It would look weird if i told them they have to not use Word because my application can't see all the characters they type. what I am doing now works, I just hate the delay upon pasting. I blame Microsoft, because this is obviously intentional in some fashion. I think it would be good, though, for RunRev to have a way to access to the full text despire Microsoft's attempt to hide it. thanks for all of your thoughts on this, Keith. If you have any more suggestions, I am open to them. Peace, J On Fri, Sep 2, 2011 at 4:24 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...if you have control overt the Word environment, I think I'd look into > enforcing straight quotes prior to export. It's an options/preferences > setting and I seem to remember it being possible to set all quotes to > straight, via a command - so that HTML export doesn't get corrupted. > > Good luck! > Keith.. > > On 2 Sep 2011, at 21:15, Jonathan Lynch wrote: > > > Hi Keith, > > I just tried doing this with the useunicode set to true, but the > apostrophe > > was still absent. > > > > On Fri, Sep 2, 2011 at 3:56 PM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Jonathan, check that you have the useUnicode property set to true in > your > >> handler, as it's clear that the code for curly quotes (2019) is way up > above > >> the 127-255 range that numtochar will support without unicode enabled. > >> http://en.wikipedia.org/wiki/Quotation_mark_glyphs > >> > >> I've not had to dig into unicode yet, so I don't know too much more, but > >> it's a recurring theme for community members, so the archives may be > useful. > >> Best, > >> Keith.. > >> > >> On 2 Sep 2011, at 20:28, J. Landman Gay wrote: > >> > >>> On 9/2/11 2:08 PM, Keith Clarke wrote: > >>>> I'm confused, how do you know the characters are missing until you > >>>> paste the clipboard contents somewhere within LC to render them and > >>>> see them? > >>> > >>> The clipboardData is already a variable, so examining it to see what > was > >> actually copied should show accurate info. But you do make a good point, > >> because looking at the variable contents has to put it into a field > >> somewhere, even if it's only in the variable watcher. It may be the > field > >> rendering that's wrong instead of the clipboard content. > >>> > >>> Jonathan, you could test that with something like this: > >>> > >>> get the clipboardData["text"] > >>> put numToChar() is in it > >>> > >>> If the message box shows true, then the characters are in there but the > >> field isn't rendering them. You can then do a replace looking for > >> numToChar() and replacing those with regular apostrophes. > >>> > >>> There was a bug in the database about copying text from Word. It was > >> fixed and closed some time ago, but if the above doesn't work I think > you > >> should enter another bug report about it. > >>> > >>> -- > >>> Jacqueline Landman Gay | jacque at hyperactivesw.com > >>> HyperActive Software | http://www.hyperactivesw.com > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > Do all things with love > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From pete at mollysrevenge.com Fri Sep 2 19:59:40 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 2 Sep 2011 16:59:40 -0700 Subject: DataGrid and my headache In-Reply-To: <1314992957052-3786924.post@n4.nabble.com> References: <1314992957052-3786924.post@n4.nabble.com> Message-ID: Don't see anything obvious wrong with your code except possible name misspellings, but unfortunately, the dictionary is pretty silent on anything related to the datagrid. However the data grid manual has a section at the end that lists all the properties, commands and functions that are available Pete Molly's Revenge On Fri, Sep 2, 2011 at 12:49 PM, Inselfan wrote: > Hola, > > Working with RR/LC since 1997 (my actual Version: LC 4.5.3). Now I want to > start working with something new to me: DataGrid. And it's making me mad. > > Doing the exercises as described and also made a Data Grid "field" from the > Tool-bar with the name DataGrid1. > > on mouseUp > put "state" & tab & "code" & cr & \ > "ALABAMA" & tab & "AL" & cr & \ > "ALASKA" & tab & "AK" into theText > put true into firstLineContainsColumnNames > set the dgText[firstLineContainsColumnNames] of group "DataGrid1" to > theText > end mouseUp > > gives me a permanent error: > button "Button": execution error at line 12 (Chunk: can't find background), > char 49 > > I also can not find all the "dg*" words in the dictionary. Do I miss > something, what also has to be installed? > > It would be so kind, if you'll be able to kick me in the right direction. > > Thanks a lot > > Horst > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/DataGrid-and-my-headache-tp3786924p3786924.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 pete at mollysrevenge.com Fri Sep 2 19:59:40 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 2 Sep 2011 16:59:40 -0700 Subject: DataGrid and my headache In-Reply-To: <1314992957052-3786924.post@n4.nabble.com> References: <1314992957052-3786924.post@n4.nabble.com> Message-ID: Don't see anything obvious wrong with your code except possible name misspellings, but unfortunately, the dictionary is pretty silent on anything related to the datagrid. However the data grid manual has a section at the end that lists all the properties, commands and functions that are available Pete Molly's Revenge On Fri, Sep 2, 2011 at 12:49 PM, Inselfan wrote: > Hola, > > Working with RR/LC since 1997 (my actual Version: LC 4.5.3). Now I want to > start working with something new to me: DataGrid. And it's making me mad. > > Doing the exercises as described and also made a Data Grid "field" from the > Tool-bar with the name DataGrid1. > > on mouseUp > put "state" & tab & "code" & cr & \ > "ALABAMA" & tab & "AL" & cr & \ > "ALASKA" & tab & "AK" into theText > put true into firstLineContainsColumnNames > set the dgText[firstLineContainsColumnNames] of group "DataGrid1" to > theText > end mouseUp > > gives me a permanent error: > button "Button": execution error at line 12 (Chunk: can't find background), > char 49 > > I also can not find all the "dg*" words in the dictionary. Do I miss > something, what also has to be installed? > > It would be so kind, if you'll be able to kick me in the right direction. > > Thanks a lot > > Horst > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/DataGrid-and-my-headache-tp3786924p3786924.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 jhurley0305 at sbcglobal.net Fri Sep 2 20:14:44 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 2 Sep 2011 17:14:44 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: Message-ID: <4DEB254C-445F-437E-B480-7B3D0042AE2C@sbcglobal.net> > > Message: 10 > Date: Fri, 2 Sep 2011 11:21:17 -0400 > From: Jonathan Lynch > To: use-livecode at lists.runrev.com > Subject: Copying from MS word into RunRev 4.0 > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi everyone. > > When I type this word into MS Word: it's > > Then copy and paste it into a field in RunRev, the apostrophe gets omitted. > This is on a windows system. The character in question is not the usual > apostrophe, but is the curly apostrophe that MS Word uses. > > This is quite an issue for me. My work around is to hijack the paste > operation, use VB Script to create an invisible Word doc and save that doc > as a text file, then use Rev to retrieve the contents of the text file. This > works, but takes approximately 1.5 seconds to complete the procedure. > > Does anyone know if the recent versions of Live Code allow for pasting from > an MS Word document without omitting characters? I know it worked fine back > with RunRev 2.5, so I know it is possible for it to be done. > Well, thanks for you help. > > Peace, > > Jonathan > Jonathan, I have been working on a similar problem. However I work with a Mac, where the apostrophe does come through, but as a char num 213. I have been first saving the Word document in rtf format and using some tips I got from Jacque. Here is my import handler: on mouseUp answer file "Get the RTF file." put "file:" & it into tFIle put url tFile into tText replace "\emdash " with "--" in tText set the rtfText of field "theText" to tText replace numToChar(213) with "'" in field "theTExt"--Here is where the apostrophe is handled. replace numToChar(210) with quote in field "theText" replace numToChar(211) with quote in field "theText" delete line 1 of field "theText""-- Don't ask. end mouseUp You can add your own variants of "replace numToChar..." A very simple way to locate these variants is with something like this in a button script. on mouseUp put field 1 into tList--This would be the Word text you want to check repeat for each char tChar in tList put tChar & tab & charToNum(tChar) & cr after results end repeat put results into field 2 end mouseUp Put the potentially offending Word text into field 1 and read the list of how each character is rendered both as character and as ascii number. Very simple but potentialy revealing. Jim Hurley From mwieder at ahsoftware.net Fri Sep 2 20:40:17 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 2 Sep 2011 17:40:17 -0700 Subject: DataGrid and my headache In-Reply-To: <1314992957052-3786924.post@n4.nabble.com> References: <1314992957052-3786924.post@n4.nabble.com> Message-ID: <18683124093.20110902174017@ahsoftware.net> Horst- Friday, September 2, 2011, 12:49:17 PM, you wrote: > It would be so kind, if you'll be able to kick me in the right > direction. The example is incomplete (aka "wrong"). Try the following... the inserted text is from the more complete example at http://lessons.runrev.com/s/lessons/m/datagrid/l/36470-How-do-I-create-a-Datagrid-dynamically-from-tab-delimited-data on mouseUp pMouseBtnNo local theText local firstLineContainsColumnNames local theColumns put "state" & tab & "code" & cr & \ "ALABAMA" & tab & "AL" & cr & \ "ALASKA" & tab & "AK" into theText --create columns put line 1 of theText into theColumns --no empty column names are allowed, so I insert a space when that happens replace tab & tab with tab & " " & tab in theColumns replace tab with return in theColumns set the dgProp["columns"] of group "DataGrid 1" to theColumns put true into firstLineContainsColumnNames set the dgText[firstLineContainsColumnNames] of group "DataGrid 1" to theText end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From userev at canelasoftware.com Fri Sep 2 20:46:11 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 2 Sep 2011 17:46:11 -0700 Subject: slight OT: Apple's Volume Purchase Program In-Reply-To: <80E07030-B159-48B5-93C8-CC6F09B9846D@gmail.com> References: <80E07030-B159-48B5-93C8-CC6F09B9846D@gmail.com> Message-ID: <4ECDCB6D-4F6D-4304-909B-B9B94ACBB1EB@canelasoftware.com> Hi Chris, Apple's license states that a business can not do multiple installs in the manner you have described. But, the technology does not prohibit it either. It is on the honor system. Thus, your teacher could create an account at school and install your app for a single purchase on every computer on campus. Best regards, Mark Talluto http://www.canelasoftware.com On Sep 2, 2011, at 12:52 PM, Chris Sheffield wrote: > Hi all, > > Sorry for the slight off-topicness of this post, but I'm not getting any responses from Apple and wondered if anyone here has had experience with their Volume Purchasing Program. We (Read Naturally, Inc.) may have an upcoming iPad app and may possible be interested in using the VPP, as our target audience is the education market. Our biggest concern is if the program actually physically limits a school from installing a purchased app on as many devices as they want. The program details, mostly found here http://www.apple.com/itunes/education/faq/, do not explicitly state how this works. So if a school purchases 30 copies (redemption codes) of an app, are they limited to installing that app on only 30 devices? > > And I know we've got some educators who are LC users. Would you, as an educator, participate in such a program? Is it too big a hassle? To me it seems a lot easier for a teacher to simply purchase the app herself (whether she uses her own Apple ID or one created by her school) and then sync devices with a computer. In which case, couldn't she install on as many devices as she wishes? > > If anyone has any experience or input on the program I would appreciate hearing from you. Feel free to email me directly if it's too off-topic for the list. > > Thanks, > > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Sat Sep 3 03:03:39 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 3 Sep 2011 08:03:39 +0100 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: <4DEB254C-445F-437E-B480-7B3D0042AE2C@sbcglobal.net> References: <4DEB254C-445F-437E-B480-7B3D0042AE2C@sbcglobal.net> Message-ID: Jonathan, I've just copied & pasted 'it's' (with a curly single right-hand quote) from Word 2010 (Windows) on my Parallels VM into TextWrangler on my Mac and the curly quote character survives intact. So, for me, Word export and the clipboard are working OK. I repeated this with Word into a new (Mac - I don't have a Win LC development instance) LC stack and new field with the same results (except the field displayed a straight quote). Copying and pasting the single quote from the LC field created some interesting results. Pasting into TextWrangler (and Notepad on Windows) revealed a curly quote (so the Parallels clipboard is OK) but pasting back into Word 2010 (Win) rendered a straight single right hand quote - but that might have been pilot error, as I don't quite understand all Word's pasting options that pop-up?!? ;-) You might want to repeat the above with your LC (Win) instance and to check that on your system, Word, the Windows clipboard and the Windows LC engine are all working OK - and test manually first, to avoid any script-based complications. My gut feel is that this may have something to do with LiveCode's current (variable) support for unicode - especially when using scripts to process the clipboardData. Check out numtochar in the dictionary - if you can set the useUnicode property in the right place, you may be lucky and be able to adapt James' handler to work with the curly single right quote. Again, during testing, it may be sensible to avoid rendering the text in a field but rather use a variable and view via custom properties. Good luck, Keith.. On 3 Sep 2011, at 01:14, James Hurley wrote: >> >> Message: 10 >> Date: Fri, 2 Sep 2011 11:21:17 -0400 >> From: Jonathan Lynch >> To: use-livecode at lists.runrev.com >> Subject: Copying from MS word into RunRev 4.0 >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Hi everyone. >> >> When I type this word into MS Word: it's >> >> Then copy and paste it into a field in RunRev, the apostrophe gets omitted. >> This is on a windows system. The character in question is not the usual >> apostrophe, but is the curly apostrophe that MS Word uses. >> >> This is quite an issue for me. My work around is to hijack the paste >> operation, use VB Script to create an invisible Word doc and save that doc >> as a text file, then use Rev to retrieve the contents of the text file. This >> works, but takes approximately 1.5 seconds to complete the procedure. >> >> Does anyone know if the recent versions of Live Code allow for pasting from >> an MS Word document without omitting characters? I know it worked fine back >> with RunRev 2.5, so I know it is possible for it to be done. >> Well, thanks for you help. >> >> Peace, >> >> Jonathan >> > > Jonathan, > > I have been working on a similar problem. However I work with a Mac, where the apostrophe does come through, but as a char num 213. > > I have been first saving the Word document in rtf format and using some tips I got from Jacque. Here is my import handler: > > on mouseUp > answer file "Get the RTF file." > put "file:" & it into tFIle > put url tFile into tText > replace "\emdash " with "--" in tText > set the rtfText of field "theText" to tText > replace numToChar(213) with "'" in field "theTExt"--Here is where the apostrophe is handled. > replace numToChar(210) with quote in field "theText" > replace numToChar(211) with quote in field "theText" > delete line 1 of field "theText""-- Don't ask. > end mouseUp > > You can add your own variants of "replace numToChar..." > > A very simple way to locate these variants is with something like this in a button script. > > on mouseUp > put field 1 into tList--This would be the Word text you want to check > repeat for each char tChar in tList > put tChar & tab & charToNum(tChar) & cr after results > end repeat > put results into field 2 > end mouseUp > > Put the potentially offending Word text into field 1 and read the list of how each character is rendered both as character and as ascii number. Very simple but potentialy revealing. > > Jim Hurley > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From baleareninsel at gmx.net Sat Sep 3 08:22:16 2011 From: baleareninsel at gmx.net (Inselfan) Date: Sat, 3 Sep 2011 05:22:16 -0700 (PDT) Subject: FIXED Re: DataGrid and my headache In-Reply-To: <1314992957052-3786924.post@n4.nabble.com> References: <1314992957052-3786924.post@n4.nabble.com> Message-ID: <1315052536107-3787813.post@n4.nabble.com> Thanks to all, Mark, your example did the trick and will kick me the right direction :) thank you for that. So I will be able to continue now... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-and-my-headache-tp3786924p3787813.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Sep 3 12:57:08 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 3 Sep 2011 18:57:08 +0200 Subject: LiveCode.tv Event will start soon Message-ID: Hi everybody! The 37th Livecode.tv Event will start in an hour from now. Don't miss it! More info at http://livecode.tv -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch From jeff at siphonophore.com Sat Sep 3 13:17:28 2011 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 3 Sep 2011 13:17:28 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: Message-ID: <14AC3CFD-6304-46FC-881D-D777ADB160E5@siphonophore.com> Jonathan, I think this may be fallout from an old MS/Adobe battle. there have been problems with the how data was formatted on the clipboard by MS and then having issues with pasting into Adobe apps. from all i read on that it was a big finger pointing game with adobe saying MS was not doing apple standard formatting of their data on the clipboard to make it accessible and MS saying it was adobe being stupid on how they looked at data on the clipboard... in my experience its gotten worse with later revs of word... it is a muck... the straight quote does help with similar unicode issues in dreamweaver, but there are some other characters like em dashes that also give out of bounds character codes. cheers jeff On Sep 3, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > I blame Microsoft, because this is obviously intentional in some > fashion. I > think it would be good, though, for RunRev to have a way to access > to the > full text despire Microsoft's attempt to hide it. From pepetoo at cox.net Sat Sep 3 14:58:15 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 3 Sep 2011 11:58:15 -0700 Subject: Checkbox Anomaly in Windows Message-ID: Hi Everyone, Though I've never been able to determine why the check boxes in my application don't show up in the Window's version (I'm using LC4.5.2 and run XP under Fusion), I have been able to cobble something using Graphics, simulating Check Boxes (kind of), that do work. I'd still like to know if anyone else has encountered this problem. Thanks, Joe Lewis Wilkins Architect From coiin at verizon.net Sat Sep 3 17:44:13 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 03 Sep 2011 17:44:13 -0400 Subject: Franklin 3D and LC 4.6.3 (and later) Message-ID: Mike had found that Franklin 3D required 4.6.2 in order to work. I figured it out, the installer stack fails to move the Franklin3D.bundle file into the My LiveCode/Externals folder. Dragging that in manually makes it all work. Not sure if it's something for RunRev to fix, or for the Franklin guys. From m.schonewille at economy-x-talk.com Sat Sep 3 18:38:32 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 4 Sep 2011 00:38:32 +0200 Subject: Checkbox Anomaly in Windows In-Reply-To: References: Message-ID: <1CE59508-8E87-48D0-B584-CC1AE7EC420B@economy-x-talk.com> Joe, No, I haven't seen this particular problem, but some emulators do have problems. For example, Wine doesn't display image objects correctly. I can imagine that Fusion doesn't render some objects correctly if running is running in a simulated environment like Fusion. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 3 sep 2011, at 20:58, Joe Lewis Wilkins wrote: > Hi Everyone, > > Though I've never been able to determine why the check boxes in my application don't show up in the Window's version (I'm using LC4.5.2 and run XP under Fusion), I have been able to cobble something using Graphics, simulating Check Boxes (kind of), that do work. I'd still like to know if anyone else has encountered this problem. > > Thanks, > > Joe Lewis Wilkins > Architect > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Sat Sep 3 18:54:16 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 3 Sep 2011 15:54:16 -0700 Subject: Checkbox Anomaly in Windows In-Reply-To: <1CE59508-8E87-48D0-B584-CC1AE7EC420B@economy-x-talk.com> References: <1CE59508-8E87-48D0-B584-CC1AE7EC420B@economy-x-talk.com> Message-ID: <02B5B292-1D71-4C8A-B9AE-D50DC1B6129A@cox.net> Mark, Thanks for your response. I had thought that might be the problem, though I love my "cobble", since both radio buttons and check boxes on Windows apps are so tiny. Now I've got something that can be seen. I wish I had done the same thing with the radio buttons, though they do come through OK. I have several hundred of them in one stack and never gave this aspect a thought at the time, so I'll live with them. This is for an ADA (Americans with Disabilities Act) application, so my own visual problems are germane. (smile) Thanks again, Joe Lewis Wilkins Architect Sep 3, 2011, at 3:38 PM, Mark Schonewille wrote: > Joe, > > No, I haven't seen this particular problem, but some emulators do have problems. For example, Wine doesn't display image objects correctly. I can imagine that Fusion doesn't render some objects correctly if running is running in a simulated environment like Fusion. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 3 sep 2011, at 20:58, Joe Lewis Wilkins wrote: > >> Hi Everyone, >> >> Though I've never been able to determine why the check boxes in my application don't show up in the Window's version (I'm using LC4.5.2 and run XP under Fusion), I have been able to cobble something using Graphics, simulating Check Boxes (kind of), that do work. I'd still like to know if anyone else has encountered this problem. >> >> Thanks, >> >> Joe Lewis Wilkins >> Architect From matthias_livecode_150811 at m-r-d.de Sun Sep 4 09:48:03 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 4 Sep 2011 15:48:03 +0200 Subject: DataGrid: some questions Message-ID: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Hi, what do i have to do to let my user to add a new row to a DataGrid table? I can edit an existing row(with already text in it), but i cannot add a new line to the grid by clicking into the next empty row. Is that not possible? And is it possible to let a user just enter a number of a specific range eg only 1,2 or 3 and if the user enters other values this is not possible? Can this check be done while the users is entering data into the DataGrid table? And the last quesiton: I want to let the user select between two values (text) in one field of a DataGrid table. Can this be done with a combo box. Or is this only possible when working with DataGrid forms? Regards, Matthias From admin at mfelkerco.com Sun Sep 4 10:26:24 2011 From: admin at mfelkerco.com (Admin) Date: Sun, 04 Sep 2011 09:26:24 -0500 Subject: DataGrid: some questions In-Reply-To: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: _"add a new line to the grid by clicking into the next empty row"_ That would be unwise, since to edit a cell, you would normally click in the cell in question. Better to have a add row button or make a clickable location that when clicked on adds a row above or below that area. Mike On Sun, 4 Sep 2011 15:48:03 +0200, Matthias Rebbe wrote: > Hi, > > what do i have to do to let my user to add a new row to a DataGrid table? I can edit an existing row(with already text in it), but i cannot add a new line to the grid by clicking into the next empty row. > Is that not possible? > > And is it possible to let a user just enter a number of a specific range eg only 1,2 or 3 and if the user enters other values this is not possible? Can this check be done while the users is entering data into the DataGrid table? > > And the last quesiton: I want to let the user select between two values (text) in one field of a DataGrid table. Can this be done with a combo box. Or is this only possible when working with DataGrid forms? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Sun Sep 4 11:53:16 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 4 Sep 2011 17:53:16 +0200 Subject: DataGrid: some questions In-Reply-To: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: On Sun, Sep 4, 2011 at 3:48 PM, Matthias Rebbe wrote: Hi Matthias, > what do i have to do to let my user to add a new row to a DataGrid table? I can edit an existing row(with already text in it), but i cannot add a new line to the grid by clicking into the next empty row. > Is that not possible? Have a look to the lab stack "Experiment 18 - Dg interaction with a control of a column": http://www.aslugontheroad.com/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 > And is it possible to let a user just enter a number of a specific range eg only 1,2 or 3 and if the user enters other values this is not possible? > Can this check be done while the users is entering data into ?the DataGrid table? This is doable by customizing the column behavior script. > And the last quesiton: I want to let the user select ?between two values (text) in one field of a DataGrid table. Can this be done with a combo box. Or is this only possible when working with DataGrid forms? This is doable in dg tables and dg forms As a DGH user, you can follow the lesson I've just uploaded: http://lessons.runrev.com/s/lessons/m/4068/l/28533-How-Do-I-Create-a-Menu-Button-in-a-Column- Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From m.schonewille at economy-x-talk.com Sun Sep 4 12:05:15 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 4 Sep 2011 18:05:15 +0200 Subject: Contacting the LiveCode.tv people Message-ID: <3EA7B0D3-DEEB-468D-9798-6C1748331C6E@economy-x-talk.com> Hello all, Even though we include our contact information in every single e-mail about the LiveCode.tv event, in every blog post on the LiveCode.tv website, while you can also find us everywhere on the internet, particularly on our home pages, on this mailing list, on a number of LiveCode forums and in many other places, people are still saying "but I don't know how to contact you". Dear people, to let us know what your presentation will be about and when you will do your presentation, you can: 1) copy my e-mail address from the headers in this e-mail and send an e-mail to that address 2) go to http://economy-x-talk.com or http://bjoernke.com where you will find Bj?rnke's and my contact info 3) go to http://livecode.tv where you will find our contact info 4) find me on Facebook and send me a message https://www.facebook.com/marksch 5) find me on Twitter and send me a message https://twitter.com/xtalkprogrammer 6) log in on ChatRev and post a message and stay logged in until you get a reply (go to http://www.bjoernke.com/chatrev for more info) 7) Simple type ?go stack url "http://qery.us/yt"? in the message box in LiveCode and log in, post a message and stay logged in until you get a reply 8) do a whois on my website and give me a call or send me a hand-written letter 9) use telepathy. There really is no excuse to say "I don't know how to contact you". Please, write us with your proposals. We are still looking for presenters for the next few weeks. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch From bill at bluewatermaritime.com Sun Sep 4 17:47:27 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 4 Sep 2011 17:47:27 -0400 Subject: full-screen compatible for lion mac os Message-ID: *How to make* all *apps fullscreen* compatible. - SIMBL and Maximizer.bundle Has anyone made a demo stack which can be made into a stand-alone that has the OS lion switch for full-screen compatible? Is this possible in livecode now? From matthias_livecode_150811 at m-r-d.de Sun Sep 4 18:54:33 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 5 Sep 2011 00:54:33 +0200 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: Hi Zryip, thank you very much. > As a DGH user, you can follow the lesson I've just uploaded: > http://lessons.runrev.com/s/lessons/m/4068/l/28533-How-Do-I-Create-a-Menu-Button-in-a-Column- > I followed your instructions in that lesson and it works. But there is a little but.... I entered 2 values for that option menu for example "Meier" and "Schulze". If i now add a line to the DataGrid, the option menu already shows "Meier". But it is not shown in messagebox when putting the dgText of that datagrid to messagebox. I first have to go to that button and have to reselect "Meier". After that i get the value "Meier" shown in message box when putting dgtext to messagebox. So it seems the default value of that option menu is not set/recognized. Any ideas how i can solve that without adding a "please select" into the first line of the menu values?. Regards, Matthias From zryip.theslug at gmail.com Sun Sep 4 19:34:38 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 5 Sep 2011 01:34:38 +0200 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: On Mon, Sep 5, 2011 at 12:54 AM, Matthias Rebbe wrote: > I entered 2 values for that option menu for example ?"Meier" ?and "Schulze". > If i now add a line to the DataGrid, the option menu already shows "Meier". But it is not shown in messagebox ?when putting ?the dgText of that datagrid to messagebox. > I first have to go to that button and have to reselect "Meier". After that i get the value "Meier" shown in message box when putting dgtext to messagebox. So it seems the default value of that option menu is not set/recognized. > > Any ideas how i can solve that without adding a "please select" into the first line of the menu values?. A possible solution could consist to add an empty value on the top of the values defined in the menu button. Empty "Meier" "Schulze" Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From dglass at graymattercomputing.com Sun Sep 4 22:57:56 2011 From: dglass at graymattercomputing.com (David Glass) Date: Sun, 04 Sep 2011 19:57:56 -0700 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: <4E643AB4.5080309@graymattercomputing.com> You could put the option menu's text into the column's text in the row's FillInData handler, I think. On 09/04/2011 3:54 PM, Matthias Rebbe wrote: > I entered 2 values for that option menu for example "Meier" and "Schulze". > If i now add a line to the DataGrid, the option menu already shows "Meier". But it is not shown in messagebox when putting the dgText of that datagrid to messagebox. > I first have to go to that button and have to reselect "Meier". After that i get the value "Meier" shown in message box when putting dgtext to messagebox. So it seems the default value of that option menu is not set/recognized. > > Any ideas how i can solve that without adding a "please select" into the first line of the menu values?. > -- David Glass - Gray Matter Computing graymattercomputing.com Help Desk: http://www.graymattercomputing.com/helpdesk 559-303-4915 From pmbrig at gmail.com Mon Sep 5 00:13:17 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 5 Sep 2011 00:13:17 -0400 Subject: [ANN] ObjectFormats plugin Message-ID: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> I'm making available for general use a plugin I've developed. Here's from the help text: ---------- What it is The ObjectFormats plugin helps you apply stored properties to buttons or fields in any stack. Set up a field or button the way you want it and save its properties in this plugin, then apply the whole set of properties to future fields or buttons with a mouseclick. You can store a list of button and field formats and use them whenever you want. How it works Select a button or a field in any stack with the pointer tool, then click the "save format" button. (The plugin only works for buttons and fields, at least for now.) After naming your format, a number of properties of the selected control will be stored and the format will appear in the list in the main field. Button formats will be indicated with a little oval button icon and field formats will be indicated with a square field icon. Thereafter, if you select a button or a field in any stack and then click on a format in the list, all the stored properties of that format will be applied at once to the selected control. Certain properties will not be stored or changed, for obvious reasons: the name, label, altID, rect, behavior, script, layer, text, icon, etc., of controls will remain untouched, since they are either unique for each control or should otherwise be handled individually. Only properties relevant to the general appearance and functioning of the button or field will be set, like the button or field style, text appearance, border width, margins, blending, locktext, tabstops, colors, autohilite, showborder, etc, where applicable. After you apply a format to an object, the undo button will appear at top right. If you regret your reformatting of the object, click the undo button and the previous properties of the selected object will be restored. Note that only the most recent reformatting operation can be undone. Option-click on the "save format" button to examine the relevant properties of the selected object (without saving them). Option-click on a line in the format list to see the stored properties of that format (without applying them). Shift-click on a format in the list to delete it from the plugin. Command-click on a format to change its name. To use it as a plugin, drop the ObjectFormats.rev file into your plugins folder and restart LiveCode. ----------- Available at: .dmg -- http://db.tt/dCBTN1d .zip -- http://db.tt/Ck6PnYn -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From williamdesmet at gmail.com Mon Sep 5 01:05:28 2011 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 5 Sep 2011 07:05:28 +0200 Subject: full-screen compatible for lion mac os In-Reply-To: References: Message-ID: <8B2DEC99-9A15-4177-83CA-6087053512E3@gmail.com> Hi William, Not exactly the same but you could use: set the fullscreen of this stack tot true. Maybe animate it a little? Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 4 sep. 2011 om 23:47 heeft william humphrey het volgende geschreven: > *How to make* all *apps fullscreen* compatible. - SIMBL and > Maximizer.bundle > > Has anyone made a demo stack which can be made into a stand-alone that has > the OS lion switch for full-screen compatible? Is this possible in livecode > now? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 5 05:56:30 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 05 Sep 2011 12:56:30 +0300 Subject: Syllable OS and Livecode ? Message-ID: <4E649CCE.1090401@gmail.com> Will it? From john at splash21.com Mon Sep 5 07:13:53 2011 From: john at splash21.com (John Craig) Date: Mon, 05 Sep 2011 12:13:53 +0100 Subject: [ANN] Spell With Kyle Message-ID: <4E64AEF1.3060502@splash21.com> I've just submitted an app for iPad to the app store - an educational spelling app for kids. http://youtu.be/pmXzE9TVBaQ It's waiting for review - anyone got an idea of the current likely waiting time for processing? JC From henshaw at me.com Mon Sep 5 07:33:27 2011 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 05 Sep 2011 12:33:27 +0100 Subject: [ANN] Spell With Kyle In-Reply-To: <4E64AEF1.3060502@splash21.com> References: <4E64AEF1.3060502@splash21.com> Message-ID: Its usually a week. Mine seem to go into review on the 6th day, then depending on how complex they are can be approved in anything from a few hours to a day (or rejected!) Andy On 5 Sep 2011, at 12:13, John Craig wrote: > I've just submitted an app for iPad to the app store - an educational spelling app for kids. > http://youtu.be/pmXzE9TVBaQ > > It's waiting for review - anyone got an idea of the current likely waiting time for processing? > > JC > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Mon Sep 5 07:39:08 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 5 Sep 2011 04:39:08 -0700 Subject: [ANN] Spell With Kyle In-Reply-To: <4E64AEF1.3060502@splash21.com> References: <4E64AEF1.3060502@splash21.com> Message-ID: <60D3A0F0-03EA-4A3D-B80D-31574017E7D1@elementarysoftware.com> That is VERY cool! Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Sep 5, 2011, at 4:13 AM, John Craig wrote: > I've just submitted an app for iPad to the app store - an educational spelling app for kids. > http://youtu.be/pmXzE9TVBaQ > > It's waiting for review - anyone got an idea of the current likely waiting time for processing? > > JC > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Mon Sep 5 08:28:39 2011 From: john at splash21.com (John Craig) Date: Mon, 05 Sep 2011 13:28:39 +0100 Subject: [ANN] Spell With Kyle In-Reply-To: References: <4E64AEF1.3060502@splash21.com> Message-ID: <4E64C077.4020001@splash21.com> Thanks, Andy - a week doesn't sound too bad. Hopefully rejection won't become a factor! On 05/09/2011 12:33, Andrew Henshaw wrote: > Its usually a week. > > Mine seem to go into review on the 6th day, then depending on how complex they are can be approved in anything from a few hours to a day (or rejected!) > > Andy > > > On 5 Sep 2011, at 12:13, John Craig wrote: > >> I've just submitted an app for iPad to the app store - an educational spelling app for kids. >> http://youtu.be/pmXzE9TVBaQ >> >> It's waiting for review - anyone got an idea of the current likely waiting time for processing? >> >> JC >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at splash21.com Mon Sep 5 08:31:05 2011 From: john at splash21.com (John Craig) Date: Mon, 05 Sep 2011 13:31:05 +0100 Subject: [ANN] Spell With Kyle In-Reply-To: <60D3A0F0-03EA-4A3D-B80D-31574017E7D1@elementarysoftware.com> References: <4E64AEF1.3060502@splash21.com> <60D3A0F0-03EA-4A3D-B80D-31574017E7D1@elementarysoftware.com> Message-ID: <4E64C109.8010503@splash21.com> Thanks! The coolest part was watching Kyle pick up the iPad afterwards and having another go. The iPad is a kid magnet, and he was tickled by hearing his own voice on it! On 05/09/2011 12:39, Scott Morrow wrote: > That is VERY cool! > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > ------------------------------------------------------ > > > > > > > > On Sep 5, 2011, at 4:13 AM, John Craig wrote: > >> I've just submitted an app for iPad to the app store - an educational spelling app for kids. >> http://youtu.be/pmXzE9TVBaQ >> >> It's waiting for review - anyone got an idea of the current likely waiting time for processing? >> >> JC >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Mon Sep 5 10:02:44 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 5 Sep 2011 10:02:44 -0400 Subject: full-screen compatible for lion mac os In-Reply-To: <8B2DEC99-9A15-4177-83CA-6087053512E3@gmail.com> References: <8B2DEC99-9A15-4177-83CA-6087053512E3@gmail.com> Message-ID: We will never be able to sell an Mac OS application made with livecode in the new app store unless it means the guidelines for lion. This is just one of them. On Mon, Sep 5, 2011 at 1:05 AM, William de Smet wrote: > Hi William, > > Not exactly the same but you could use: set the fullscreen of this stack > tot true. Maybe animate it a little? > > Greetings, > > William > > ----- > Verstuurd vanaf mijn iPhone! > > Op 4 sep. 2011 om 23:47 heeft william humphrey > het volgende geschreven: > > > *How to make* all *apps fullscreen* compatible. - SIMBL and > > Maximizer.bundle > > > > Has anyone made a demo stack which can be made into a stand-alone that > has > > the OS lion switch for full-screen compatible? Is this possible in > livecode > > now? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From mcgrath3 at mac.com Mon Sep 5 10:46:02 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 05 Sep 2011 10:46:02 -0400 Subject: [ANN] ObjectFormats plugin In-Reply-To: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> References: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> Message-ID: <3A84579F-1789-4930-85EB-A2DDBEF4D01E@mac.com> Downloading now... Looks very interesting -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Sep 5, 2011, at 12:13 AM, Peter M. Brigham, MD wrote: > I'm making available for general use a plugin I've developed. Here's from the help text: > > ---------- > > What it is > > The ObjectFormats plugin helps you apply stored properties to buttons or fields in any stack. Set up a field or button the way you want it and save its properties in this plugin, then apply the whole set of properties to future fields or buttons with a mouseclick. You can store a list of button and field formats and use them whenever you want. > > How it works > > Select a button or a field in any stack with the pointer tool, then click the "save format" button. (The plugin only works for buttons and fields, at least for now.) After naming your format, a number of properties of the selected control will be stored and the format will appear in the list in the main field. Button formats will be indicated with a little oval button icon and field formats will be indicated with a square field icon. > > Thereafter, if you select a button or a field in any stack and then click on a format in the list, all the stored properties of that format will be applied at once to the selected control. > > Certain properties will not be stored or changed, for obvious reasons: the name, label, altID, rect, behavior, script, layer, text, icon, etc., of controls will remain untouched, since they are either unique for each control or should otherwise be handled individually. Only properties relevant to the general appearance and functioning of the button or field will be set, like the button or field style, text appearance, border width, margins, blending, locktext, tabstops, colors, autohilite, showborder, etc, where applicable. > > After you apply a format to an object, the undo button will appear at top right. If you regret your reformatting of the object, click the undo button and the previous properties of the selected object will be restored. Note that only the most recent reformatting operation can be undone. > > Option-click on the "save format" button to examine the relevant properties of the selected object (without saving them). Option-click on a line in the format list to see the stored properties of that format (without applying them). Shift-click on a format in the list to delete it from the plugin. Command-click on a format to change its name. > > To use it as a plugin, drop the ObjectFormats.rev file into your plugins folder and restart LiveCode. > > ----------- > > Available at: > .dmg -- http://db.tt/dCBTN1d > .zip -- http://db.tt/Ck6PnYn > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikekann at yahoo.com Mon Sep 5 10:49:17 2011 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 5 Sep 2011 07:49:17 -0700 (PDT) Subject: Dreamhost sale only on September 5 In-Reply-To: Message-ID: <1315234157.84423.YahooMailClassic@web161603.mail.bf1.yahoo.com> http://dreamhost.com/ -- nine dollars for a whole year --- On Wed, 12/8/10, David Bovill wrote: From: David Bovill Subject: revServer Installation on DreamHost To: "How to use Revolution" Date: Wednesday, December 8, 2010, 10:40 AM Has anyone successfully installed rvServer on DreamHost? I'm setting this up for this weekends Live Code TV event, but running into the missing libraries thing: ???- http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 ???- http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 ldd revserver >? ???linux-gate.so.1 =>? (0xffffe000) >? ???libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) >? ???libm.so.6 => /lib32/libm.so.6 (0xf76b9000) >? ???libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) >? ???libpcre.so.0 => not found >? ???libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) >? ???libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) >? ???libcurl.so.4 => not found >? ???libc.so.6 => /lib32/libc.so.6 (0xf7436000) >? ???libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) >? ???/lib/ld-linux.so.2 (0xf76f2000) >? ???libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) > Any suggestions - the more detailed the better so I can write this up for the rest of us :) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Mon Sep 5 11:14:15 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 05 Sep 2011 08:14:15 -0700 Subject: full-screen compatible for lion mac os In-Reply-To: References: Message-ID: <854C9877-AAB6-4E6F-B378-AEDBF89B9CA6@mac.com> You could mimic it but t wouldn't really behave the same. For example, I just added floating window Login Assistant "system window" to InfoWallet. This is a tiny window that floats above all other application windows. However, even that window hides if the user is in full scree mode on Lion. This was a surprise to me but actually makes sense as the full screen feature really wants to remove any other distractions. I can't see how a current LC app could do this as well as the other behaviors in full screen mode in Lion until LC comes out with that as a specific feature. You could get close to mimicking the essentials (hide menus, full screen window, etc.) but it would still be different in at least some behaviors. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Sep 4, 2011, at 2:47 PM, william humphrey wrote: > *How to make* all *apps fullscreen* compatible. - SIMBL and > Maximizer.bundle > > Has anyone made a demo stack which can be made into a stand-alone that has > the OS lion switch for full-screen compatible? Is this possible in livecode > now? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Sep 5 13:06:59 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 5 Sep 2011 14:06:59 -0300 Subject: [BUG] LiveCode server 4.6.3 fails to connect to MySQL UNIX socket file Message-ID: Folks, I've updated the quality centre with a new bug report: http://quality.runrev.com/show_bug.cgi?id=9712 As explained in there, LiveCodeServer tries to connect to /tmp/mysql.sock which is not always the correct location. The mysqld daemon will tell the client what socket file to use but LiveCode server is not using that file. LiveCode Server 3.5 works fine but the new 4.6.x series does not. I call on the users of these lists to vote for this bug report. This bug has a workaround with symbolic links but this linking can't be done for users on shared hosts, so I think it qualifies for a severe bug. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From maarten.koopmans at gmail.com Mon Sep 5 13:45:28 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 5 Sep 2011 19:45:28 +0200 Subject: Launch URL on Android Message-ID: Hi, I am trying to use launch url file:docs/test.pdf or docs:/test.doc - they are included in "Copy Files". put specialFolderPath("engine") & "/" & fileToLoad into loadingURL put "file:" before loadingURL replace " " with "%20" in LoadingURL Results in a popup for me to open it with ? Internet (or Opera)? Has anybody a clue how to view a file on Android? Any feedback (or sample "Hello World" stack that views a file on Android) would be greatly appreciated. --Maarten From stephenREVOLUTION2 at barncard.com Mon Sep 5 14:51:27 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 5 Sep 2011 11:51:27 -0700 Subject: Dreamhost sale only on September 5 In-Reply-To: <1315234157.84423.YahooMailClassic@web161603.mail.bf1.yahoo.com> References: <1315234157.84423.YahooMailClassic@web161603.mail.bf1.yahoo.com> Message-ID: FYI I could never get the old revolution server executable to work at Dreamhost. Livecode server 4.6 is a completely improved and more complete product. I would suggest that one upgrade to the latest version. There are so many new features and it ROCKS!! Andre and I got Livecode Server 4.6.x to work on shared hosting at Dreamhost using the .htaccess method. We could not get it to work consistently with a central installation at root using a higher level server plan (VPS) with root access. The Dreamhost control panel kept getting in the way. Perhaps someone else can get it to work but it's impossible that method without real root access. The* htaccess method* requires a cgi-bin folder for each domain that needs LIvecode with the server code. The licensing model works for this as long as the executables are on the same server, not just a single domain. here's the hierarchy: ()=directory - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *(site root)* *.htaccess file A* *(cgi-bin) * *.htaccess file B* *(livecode-server) * *(drivers)* *(externals)* *livecode-server (executable file)* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *two* htaccess files are used: htaccess file A (at domain root) *Options +ExecCGI FollowSymLinks* *AddHandler livecode-script .lc .irev* *DirectoryIndex index.irev index.lc index.php index.html* *Action livecode-script /cgi-bin/livecode-server/livecode-server* htaccess file B (inside cgi-bin) *Options +ExecCGI* *SetHandler cgi-script* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PERMISSIONS -- (very important) All files = 755 the livecode-server executable comes set at 644 so you need to change it to 755. thanks again to the incredibly helpful Andrea Garzia for really sorting this out for me. I still owe you, bud. sqb On 5 September 2011 07:49, Michael Kann wrote: > http://dreamhost.com/ > > -- nine dollars for a whole year > > --- On Wed, 12/8/10, David Bovill wrote: > > From: David Bovill > Subject: revServer Installation on DreamHost > To: "How to use Revolution" > Date: Wednesday, December 8, 2010, 10:40 AM > > Has anyone successfully installed rvServer on DreamHost? I'm setting this > up > for this weekends Live Code TV event, but running > into > the missing libraries thing: > > - http://forums.runrev.com/phpBB2/viewtopic.php?f=8&t=6147 > - http://forums.runrev.com/phpBB2/viewtopic.php?f=20&t=5543 > > ldd revserver > > linux-gate.so.1 => (0xffffe000) > > libdl.so.2 => /lib32/libdl.so.2 (0xf76dd000) > > libm.so.6 => /lib32/libm.so.6 (0xf76b9000) > > libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf75cb000) > > libpcre.so.0 => not found > > libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf75a7000) > > libjpeg.so.62 => /usr/lib32/libjpeg.so.62 (0xf7588000) > > libcurl.so.4 => not found > > libc.so.6 => /lib32/libc.so.6 (0xf7436000) > > libz.so.1 => /usr/lib32/libz.so.1 (0xf7421000) > > /lib/ld-linux.so.2 (0xf76f2000) > > libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7413000) > > > > Any suggestions - the more detailed the better so I can write this up for > the rest of us :) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From kray at sonsothunder.com Mon Sep 5 16:44:45 2011 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 5 Sep 2011 15:44:45 -0500 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: On Sep 2, 2011, at 11:13 AM, Jonathan Lynch wrote: > Even with both apps open, it omits apostrophes when i paste from Word to > RunRev 4.0 Jonathan... the version is the key - you're using 4.0, not 4.6.3, where this bug has been fixed. I tried duplicating your test, going from Word 2007 on Windows with a field with "it's" in it and then copied to the clipboard and tried to paste into 4.0 - no go. But I did the same thing with 4.6.3, and it worked properly. Not sure if you can upgrade to 4.6.3, but clearly this was fixed sometime between 4.0 and 4.6.3. Just thought you should know... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jonathandlynch at gmail.com Mon Sep 5 17:53:37 2011 From: jonathandlynch at gmail.com (JonathanDLynch) Date: Mon, 5 Sep 2011 17:53:37 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: Thanks Ken :) Sent from my iPhone On Sep 5, 2011, at 4:44 PM, Ken Ray wrote: > > On Sep 2, 2011, at 11:13 AM, Jonathan Lynch wrote: > >> Even with both apps open, it omits apostrophes when i paste from Word to >> RunRev 4.0 > > Jonathan... the version is the key - you're using 4.0, not 4.6.3, where this bug has been fixed. I tried duplicating your test, going from Word 2007 on Windows with a field with "it's" in it and then copied to the clipboard and tried to paste into 4.0 - no go. But I did the same thing with 4.6.3, and it worked properly. > > Not sure if you can upgrade to 4.6.3, but clearly this was fixed sometime between 4.0 and 4.6.3. > > Just thought you should know... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jonathandlynch at gmail.com Mon Sep 5 17:53:37 2011 From: jonathandlynch at gmail.com (JonathanDLynch) Date: Mon, 5 Sep 2011 17:53:37 -0400 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <12F61483-2788-4A07-A4EF-91EC62F65377@twft.com> Message-ID: Thanks Ken :) Sent from my iPhone On Sep 5, 2011, at 4:44 PM, Ken Ray wrote: > > On Sep 2, 2011, at 11:13 AM, Jonathan Lynch wrote: > >> Even with both apps open, it omits apostrophes when i paste from Word to >> RunRev 4.0 > > Jonathan... the version is the key - you're using 4.0, not 4.6.3, where this bug has been fixed. I tried duplicating your test, going from Word 2007 on Windows with a field with "it's" in it and then copied to the clipboard and tried to paste into 4.0 - no go. But I did the same thing with 4.6.3, and it worked properly. > > Not sure if you can upgrade to 4.6.3, but clearly this was fixed sometime between 4.0 and 4.6.3. > > Just thought you should know... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Sep 5 18:00:05 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 5 Sep 2011 18:00:05 -0400 Subject: ObjectFormats plugin In-Reply-To: References: Message-ID: <1EF36CFA-C426-482A-880B-D939993C9080@gmail.com> On Sep 5, 2011, at 3:57 PM, Rolf Kocherhans wrote: > Hello Peter > > Thanks for making your Plugin available to the community ! > I think it is a great Plugin :-) ! > > Unfortunately I can not save anything ? > I can type in a name of a button or a field and when I click save I get the following > error: > > > > Do you know why ? My apologies -- I inadvertently left a utility handler out of the stack script. The handler is in my own backscript, one that automatically loads whenever I run LC, so I had overlooked the fact that it needed to be in the plugin stack script for the plugin to work outside of my environment. This is now fixed. You can download the (now hopefully working) plugin here: .dmg: http://db.tt/dCBTN1d .zip: http://db.tt/Ck6PnYn Please let me know if there are any further problems. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From gandalf at doctorTimothyMiller.com Mon Sep 5 19:36:52 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 5 Sep 2011 16:36:52 -0700 Subject: newbie question about smartphone apps Message-ID: Sorry to disappoint. No OT rants about education today. Nor any inquiries about strange LC behavior arising entirely from my own incompetence. I have the vague notion that LC developers are writing smartphone apps. Until ten minutes ago, it never occurred to me that I would attempt such a thing. Apparently it's possible to make iPhone and Android apps with LC. Apparently, there's a product called LiveCode Mobile, rather similar to LC, for this purpose. Do I have it right so far? If I am able to create a conventional LC stack for my own use, similar to the hypothetical phone app, how much harder is it to develop a smartphone app? Can I install a prototype on my own smart phone for testing purposes? (At the moment, I don't even own a smart phone, so please excuse the newbishness.) I would need professional assistance to get the hypothetical app error-free, attractive, and otherwise ready for prime time before it could be sold in an app store. What's the going rate for a consultant to help me get a final product ready? I assume this is normally an hourly rate. Is it realistic to hope that I could keep consulting fees down by doing much of the prototyping and easy coding myself, even though I am a self-taught amateur? Assuming the app is stable and reasonably functional and attractive and has some legitimate interest and value for at least a few tens of thousands of people (admittedly, I have a narrow purpose and interest group in mind) what are the chances that the powers that be will allow the app to be sold in their app stores? Does it matter much, in terms of acceptance, if me, the producer, is basically a nobody, as long as the app is good? I don't hope to make a lot of money from app purchase fees. Breaking even would be good. To some extent, the hypothetical app would promote another project. Nevertheless, it would be useful in its own right. Thanks in advance. Tim From gregory.lypny at videotron.ca Mon Sep 5 20:11:54 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 05 Sep 2011 20:11:54 -0400 Subject: Question About Windows Standalone Message-ID: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Hello everyone, I?m am Mac user who doesn?t know much, if anything, about Windows. I?ve just built a standalone for Mac and Windows and I?d like to confirm what it is I need to provide to Windows users. The Standalone Builder produced a folder called Windows. Inside of it is a folder called Externals, which is empty because I have none, the executable file, and the stack files I used in the project. Do I give users the entire Windows folder or just the executable? The reason that I ask is that the Mac build hides everything nicely in a package, and I was a little concerned seeing those stack files sitting out in the open. Regards, Gregory From pepetoo at cox.net Mon Sep 5 20:15:51 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 5 Sep 2011 17:15:51 -0700 Subject: newbie question about smartphone apps In-Reply-To: References: Message-ID: <9D8D8308-C7ED-4179-AF6F-CC97941B098A@cox.net> Hi Tim, Though anything but a newbie, I fell behind - way behind some time back, and am just now getting interested in movie some of my LC apps so as to be accessible on iPads; I think following this may be a good first step for both of us: Hopefully more experts on the topic will chime in before too long. Good luck and don't get discouraged. Joe Lewis Wilkins Architect On Sep 5, 2011, at 4:36 PM, Timothy Miller wrote: > Sorry to disappoint. No OT rants about education today. Nor any inquiries about strange LC behavior arising entirely from my own incompetence. > > I have the vague notion that LC developers are writing smartphone apps. Until ten minutes ago, it never occurred to me that I would attempt such a thing. > > Apparently it's possible to make iPhone and Android apps with LC. Apparently, there's a product called LiveCode Mobile, rather similar to LC, for this purpose. Do I have it right so far? > > If I am able to create a conventional LC stack for my own use, similar to the hypothetical phone app, how much harder is it to develop a smartphone app? > > Can I install a prototype on my own smart phone for testing purposes? (At the moment, I don't even own a smart phone, so please excuse the newbishness.) > > I would need professional assistance to get the hypothetical app error-free, attractive, and otherwise ready for prime time before it could be sold in an app store. What's the going rate for a consultant to help me get a final product ready? I assume this is normally an hourly rate. > > Is it realistic to hope that I could keep consulting fees down by doing much of the prototyping and easy coding myself, even though I am a self-taught amateur? > > Assuming the app is stable and reasonably functional and attractive and has some legitimate interest and value for at least a few tens of thousands of people (admittedly, I have a narrow purpose and interest group in mind) what are the chances that the powers that be will allow the app to be sold in their app stores? > > Does it matter much, in terms of acceptance, if me, the producer, is basically a nobody, as long as the app is good? > > I don't hope to make a lot of money from app purchase fees. Breaking even would be good. To some extent, the hypothetical app would promote another project. Nevertheless, it would be useful in its own right. > > Thanks in advance. > > > Tim From pepetoo at cox.net Mon Sep 5 20:23:05 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 5 Sep 2011 17:23:05 -0700 Subject: Question About Windows Standalone In-Reply-To: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: Hi Greg, Since you need everything in the Window's Folder to make your standalone run on Windows, you're going to have to give the users the whole thing. As I recall, this has always been one of the gripes about Windows apps. They're just not very "neat". (smile) Sometimes the Mac versions may have separate "externals" as well, since we can't change the compiled app and need something outside (external) the application itself. Joe Lewis Wilkins Architect On Sep 5, 2011, at 5:11 PM, Gregory Lypny wrote: > Hello everyone, > > I?m am Mac user who doesn?t know much, if anything, about Windows. I?ve just built a standalone for Mac and Windows and I?d like to confirm what it is I need to provide to Windows users. The Standalone Builder produced a folder called Windows. Inside of it is a folder called Externals, which is empty because I have none, the executable file, and the stack files I used in the project. Do I give users the entire Windows folder or just the executable? The reason that I ask is that the Mac build hides everything nicely in a package, and I was a little concerned seeing those stack files sitting out in the open. > > Regards, > > Gregory > From roger.e.eller at sealedair.com Mon Sep 5 20:31:48 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 5 Sep 2011 20:31:48 -0400 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: On Mon, Sep 5, 2011 at 8:23 PM, Joe Lewis Wilkins wrote: > Hi Greg, > > Since you need everything in the Window's Folder to make your standalone > run on Windows, you're going to have to give the users the whole thing. As I > recall, this has always been one of the gripes about Windows apps. They're > just not very "neat". (smile) Sometimes the Mac versions may have separate > "externals" as well, since we can't change the compiled app and need > something outside (external) the application itself. > > Joe Lewis Wilkins > Architect Nope. If the externals folder is empty, then the Windows build isn't using anything there anyway, so that (untidy) folder doesn't have to be included. Btw, Mac .app files are mere folders hiding behind an illusion that they are executables. . ?Roger From pepetoo at cox.net Mon Sep 5 20:45:23 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 5 Sep 2011 17:45:23 -0700 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: Roger, I agree, but I suppose that the app may create externals that need to be saved in that folder in the course of its being used, so I would leave it alone and include it even though it is empty. Joe Lewis Wilkins Architect On Sep 5, 2011, at 5:31 PM, Roger Eller wrote: > On Mon, Sep 5, 2011 at 8:23 PM, Joe Lewis Wilkins wrote: > >> Hi Greg, >> >> Since you need everything in the Window's Folder to make your standalone >> run on Windows, you're going to have to give the users the whole thing. As I >> recall, this has always been one of the gripes about Windows apps. They're >> just not very "neat". (smile) Sometimes the Mac versions may have separate >> "externals" as well, since we can't change the compiled app and need >> something outside (external) the application itself. >> >> Joe Lewis Wilkins >> Architect > > > Nope. If the externals folder is empty, then the Windows build isn't using > anything there anyway, so that (untidy) folder doesn't have to be > included. Btw, Mac .app files are mere folders hiding behind an illusion > that they are executables. . > > ?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 roger.e.eller at sealedair.com Mon Sep 5 20:25:16 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 5 Sep 2011 20:25:16 -0400 Subject: Question About Windows Standalone In-Reply-To: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: On Mon, Sep 5, 2011 at 8:11 PM, Gregory Lypny wrote: > Hello everyone, > > I?m am Mac user who doesn?t know much, if anything, about Windows. I?ve > just built a standalone for Mac and Windows and I?d like to confirm what it > is I need to provide to Windows users. The Standalone Builder produced a > folder called Windows. Inside of it is a folder called Externals, which is > empty because I have none, the executable file, and the stack files I used > in the project. Do I give users the entire Windows folder or just the > executable? The reason that I ask is that the Mac build hides everything > nicely in a package, and I was a little concerned seeing those stack files > sitting out in the open. > > Regards, > > Gregory > If you aren't using any externals or databases, the executable is all that is needed. Adding an icon and an installer would be a nice touch for a typical windows user experience though. ?Roger From roger.e.eller at sealedair.com Mon Sep 5 20:58:33 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 5 Sep 2011 20:58:33 -0400 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: On Mon, Sep 5, 2011 at 8:45 PM, Joe Lewis Wilkins wrote: > Roger, I agree, but I suppose that the app may create externals that need > to be saved in that folder in the course of its being used, so I would leave > it alone and include it even though it is empty. > > Joe Lewis Wilkins > Architect It certainly doesn't hurt anything to leave an empty Externals folder there, but in my experience, unless you have designed your application to use externals or databases, a standalone .EXE is 100 percent self-contained. ?Roger From niconiko at gmail.com Mon Sep 5 21:40:20 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 6 Sep 2011 10:40:20 +0900 Subject: get precise time from internet Message-ID: Hi. Got a few seconds between classes, so I'll post here now instead of searching the archives, in hope that when I get back from classes there may be an answer waiting for me ^_^ Anyone have a script or an idea for a script that'll download the precise time from an internet website (or websiteS, in case one site is down). Thanks. -- Nicolas Cueto From bvg at mac.com Mon Sep 5 21:53:06 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 06 Sep 2011 03:53:06 +0200 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: > the app may create externals that need to be saved in that folder in the course of its being used that is not how externals work. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pmbrig at gmail.com Mon Sep 5 21:59:44 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 5 Sep 2011 21:59:44 -0400 Subject: get precise time from internet In-Reply-To: References: Message-ID: <92BFC7FA-62C5-4F04-8D7C-2FDB759EFA8E@gmail.com> Looks as if you missed the recent thread on this, starting mid-August. The subject in most of the messages was "Re: Retrieving Date and Time From a Remote Computer". Check the archives. Turns out it's not as simple as it sounds. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2011, at 9:40 PM, Nicolas Cueto wrote: > Hi. > > Got a few seconds between classes, so I'll post here now instead of > searching the archives, in hope that when I get back from classes > there may be an answer waiting for me ^_^ > > Anyone have a script or an idea for a script that'll download the > precise time from an internet website (or websiteS, in case one site > is down). > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Sep 5 23:11:23 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 5 Sep 2011 23:11:23 -0400 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: 2011/9/5 Bj?rnke von Gierke > > the app may create externals that need to be saved in that folder in the > course of its being used > > that is not how externals work. > I think Joe may be thinking this folder is for the app to write its own "external data", which is not that folders purpose at all. ?Roger From pepetoo at cox.net Mon Sep 5 23:20:35 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 5 Sep 2011 20:20:35 -0700 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> Bj?rnke, Excuse my ignorance. I guess it's a matter of terminology. So what are they called? TIA, Joe Lewis Wilkins Architect On Sep 5, 2011, at 6:53 PM, Bj?rnke von Gierke wrote: >> the app may create externals that need to be saved in that folder in the course of its being used > > that is not how externals work. > > -- > From jacque at hyperactivesw.com Tue Sep 6 02:00:30 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2011 01:00:30 -0500 Subject: Question About Windows Standalone In-Reply-To: <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> Message-ID: <4E65B6FE.4000709@hyperactivesw.com> On 9/5/11 10:20 PM, Joe Lewis Wilkins wrote: > Bj?rnke, > > Excuse my ignorance. I guess it's a matter of terminology. So what are they called? Externals are like HyperCard XCMDs. They are usually written in a lower-level language, and add a specific functionality to the LiveCode engine. The zip commands are implemented as an external, for example. If a standalone needs to include externals, they are placed in the Externals folder during the build process. If there are no externals used in the standalone, the standalone builder creates the folder anyway but it's empty. The folder isn't needed if your app doesn't use externals and is safe to throw away. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Sep 6 02:24:08 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 09:24:08 +0300 Subject: Question About Windows Standalone In-Reply-To: <4E65B6FE.4000709@hyperactivesw.com> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> <4E65B6FE.4000709@hyperactivesw.com> Message-ID: <4E65BC88.8010300@gmail.com> On 09/06/2011 09:00 AM, J. Landman Gay wrote: > On 9/5/11 10:20 PM, Joe Lewis Wilkins wrote: >> Bj?rnke, >> >> Excuse my ignorance. I guess it's a matter of terminology. So what >> are they called? > > Externals are like HyperCard XCMDs. They are usually written in a > lower-level language, and add a specific functionality to the LiveCode > engine. The zip commands are implemented as an external, for example. > > If a standalone needs to include externals, they are placed in the > Externals folder during the build process. If there are no externals > used in the standalone, the standalone builder creates the folder > anyway but it's empty. The folder isn't needed if your app doesn't use > externals and is safe to throw away. > Presumably (wow, even more naive one coming here), Externals are included inside a Mac App bundle? And, wait-for-it, what about Linux standalones? Certainly, it is a pain in the bottom re Windows standalones, as I would like end-users to unpack their standalone "just like that" and start using it, undistracted by directories labelled "Externals". From jaguayo at telur.es Tue Sep 6 03:07:13 2011 From: jaguayo at telur.es (Joseba Aguayo) Date: Tue, 6 Sep 2011 09:07:13 +0200 Subject: [ANN] ObjectFormats plugin In-Reply-To: References: Message-ID: <9DA95F31-1523-4A4E-AA40-B87E9D236693@telur.es> Hello Peter: Thank you very much for your contributions. Using your plugin frequently. Un saludo. Joseba Aguayo Fern?ndez (jaguayo at telur.es) From tsj at unimelb.edu.au Tue Sep 6 03:38:28 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 6 Sep 2011 07:38:28 +0000 Subject: changing object colour references from hex to rgb Message-ID: <8D8F4D55-3D69-4F95-A90B-DD737CA82FCD@unimelb.edu.au> OK, I want to set the background of some objects to a hex value - easy enough - but then at a later stage I want to compare an RGB colour value with them to see if there is a match. However, if I set the colour using a hex value the queried value for the object remains as a hex value. Is there any way I can force the queried value to report as an RGB triplet, or do I need to programmatically convert them? Terry... From gerry.orkin at gmail.com Tue Sep 6 03:41:48 2011 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 6 Sep 2011 17:41:48 +1000 Subject: newbie question about smartphone apps In-Reply-To: References: Message-ID: > > > Apparently it's possible to make iPhone and Android apps with LC. > Apparently, there's a product called LiveCode Mobile, rather similar to LC, > for this purpose. Do I have it right so far? > Android and iOS development is possible with add-on licenses. It's the same app, just enabled for output to those devices. > If I am able to create a conventional LC stack for my own use, similar to > the hypothetical phone app, how much harder is it to develop a smartphone > app? > In a sense it's easier, as smart phone apps generally do less than desktop apps. That said, each OS has it's own quirks and issues, and of course you have to take into account the user interface and user interaction differences between desktop apps and touch-driven mobile device apps. > Can I install a prototype on my own smart phone for testing purposes? (At > the moment, I don't even own a smart phone, so please excuse the > newbishness.) > Once you have the LC license(s), and the Android and/or iOS development SDKs you can do that, and more. You can also run your apps in simulators on your desktop machines (I think you need a Mac to do iOS development however). Not sure about Android, but you would need to be a registered iOS developer if you wanna do iOS apps - Apple charges $99/year for that. > I would need professional assistance to get the hypothetical app > error-free, attractive, and otherwise ready for prime time before it could > be sold in an app store. What's the going rate for a consultant to help me > get a final product ready? I assume this is normally an hourly rate. > I charge $7.2 million dollars an hour. (I have no idea what people charge...just being silly). I'm no professional, but I have an app on the store :) > Is it realistic to hope that I could keep consulting fees down by doing > much of the prototyping and easy coding myself, even though I am a > self-taught amateur? > Possibly - hard to say without knowing your limitations :) > Assuming the app is stable and reasonably functional and attractive and has > some legitimate interest and value for at least a few tens of thousands of > people (admittedly, I have a narrow purpose and interest group in mind) what > are the chances that the powers that be will allow the app to be sold in > their app stores? > If it complies with the app store rules, it'll be accepted. > Does it matter much, in terms of acceptance, if me, the producer, is > basically a nobody, as long as the app is good? > Worked for me :) Gerry From m.schonewille at economy-x-talk.com Tue Sep 6 03:51:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 09:51:38 +0200 Subject: changing object colour references from hex to rgb In-Reply-To: <8D8F4D55-3D69-4F95-A90B-DD737CA82FCD@unimelb.edu.au> References: <8D8F4D55-3D69-4F95-A90B-DD737CA82FCD@unimelb.edu.au> Message-ID: <2A7D521A-3B9E-4126-ACCA-81DF7C1306A0@economy-x-talk.com> Hi Terry, There might be a way, something like mouseColor for example, but it is easier to convert them: baseConvert(char 2 to 3 of myHex,16,10) & comma & baseConvert(char 4 to 5 of myHex,16,10) & comma & baseConvert(char 6 to 7 of myHex,16,10). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 09:38, Terry Judd wrote: > OK, I want to set the background of some objects to a hex value - easy enough - but then at a later stage I want to compare an RGB colour value with them to see if there is a match. However, if I set the colour using a hex value the queried value for the object remains as a hex value. Is there any way I can force the queried value to report as an RGB triplet, or do I need to programmatically convert them? > > Terry... From tsj at unimelb.edu.au Tue Sep 6 03:56:48 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 6 Sep 2011 07:56:48 +0000 Subject: changing object colour references from hex to rgb In-Reply-To: <2A7D521A-3B9E-4126-ACCA-81DF7C1306A0@economy-x-talk.com> References: <8D8F4D55-3D69-4F95-A90B-DD737CA82FCD@unimelb.edu.au> <2A7D521A-3B9E-4126-ACCA-81DF7C1306A0@economy-x-talk.com> Message-ID: <65A6C21E-88FF-4CD1-BBEE-2FE70DC1F5AC@unimelb.edu.au> Hey thanks Mark, that looks quite straightforward! Best regards, Terry... On 06/09/2011, at 05:51 PM, Mark Schonewille wrote: > Hi Terry, > > There might be a way, something like mouseColor for example, but it is easier to convert them: baseConvert(char 2 to 3 of myHex,16,10) & comma & baseConvert(char 4 to 5 of myHex,16,10) & comma & baseConvert(char 6 to 7 of myHex,16,10). > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 6 sep 2011, at 09:38, Terry Judd wrote: > >> OK, I want to set the background of some objects to a hex value - easy enough - but then at a later stage I want to compare an RGB colour value with them to see if there is a match. However, if I set the colour using a hex value the queried value for the object remains as a hex value. Is there any way I can force the queried value to report as an RGB triplet, or do I need to programmatically convert them? >> >> Terry... > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mazzapaoloitaly at gmail.com Tue Sep 6 04:18:32 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 6 Sep 2011 10:18:32 +0200 Subject: iphone wallpaper image Message-ID: Hello All, is it possible to change the iphone wallpaper image from an iOS Livecode application? All the best Paolo Mazza From sarah.reichelt at gmail.com Tue Sep 6 04:28:35 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 6 Sep 2011 18:28:35 +1000 Subject: iphone wallpaper image In-Reply-To: References: Message-ID: On Tue, Sep 6, 2011 at 6:18 PM, paolo mazza wrote: > Hello All, > is it possible to change ?the iphone wallpaper image from an iOS > Livecode application? Apple does not provide a public API to do that even when using Xcode, so I would assume not. The work-around is to offer to save images to the Camera Roll so users can set the wallpaper manually from there. Cheers, Sarah From pmbrig at gmail.com Tue Sep 6 07:59:40 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 6 Sep 2011 07:59:40 -0400 Subject: [ANN] ObjectFormats plugin In-Reply-To: <9DA95F31-1523-4A4E-AA40-B87E9D236693@telur.es> References: <9DA95F31-1523-4A4E-AA40-B87E9D236693@telur.es> Message-ID: On Sep 6, 2011, at 3:07 AM, Joseba Aguayo wrote: > Hello Peter: > > Thank you very much for your contributions. > Using your plugin frequently. > > Un saludo. Glad it's useful! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From roger.e.eller at sealedair.com Tue Sep 6 08:05:00 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 6 Sep 2011 08:05:00 -0400 Subject: Question About Windows Standalone In-Reply-To: <4E65BC88.8010300@gmail.com> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> <4E65B6FE.4000709@hyperactivesw.com> <4E65BC88.8010300@gmail.com> Message-ID: On Tue, Sep 6, 2011 at 2:24 AM, Richmond Mathewson wrote: > On 09/06/2011 09:00 AM, J. Landman Gay wrote: > >> On 9/5/11 10:20 PM, Joe Lewis Wilkins wrote: >> >>> Bj?rnke, >>> >>> Excuse my ignorance. I guess it's a matter of terminology. So what are >>> they called? >>> >> >> Externals are like HyperCard XCMDs. They are usually written in a >> lower-level language, and add a specific functionality to the LiveCode >> engine. The zip commands are implemented as an external, for example. >> >> If a standalone needs to include externals, they are placed in the >> Externals folder during the build process. If there are no externals used in >> the standalone, the standalone builder creates the folder anyway but it's >> empty. The folder isn't needed if your app doesn't use externals and is safe >> to throw away. >> >> > Presumably (wow, even more naive one coming here), Externals are included > inside a Mac App > bundle? And, wait-for-it, what about Linux standalones? > > Certainly, it is a pain in the bottom re Windows standalones, as I would > like end-users to unpack > their standalone "just like that" and start using it, undistracted by > directories labelled "Externals". Linux, like Windows, has an exposed Externals folder. As I mentioned before, an app bundle on a Mac is really just a folder filled with subfolders. If you copy one to either Windows or Linux, you can easily look around. OS X (the GUI layer above BSD on a Mac) simply hides the content when a folder ends in .app. Anyone that regularly uses Windows will not be distracted by subfolders that are visible. Most people never see the content of the folder because of installers, which put the "bundle" in the proper location, and gives the user a Desktop shortcut icon to launch the app. ?Roger From revlist at azurevision.co.uk Tue Sep 6 08:17:05 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 6 Sep 2011 13:17:05 +0100 Subject: Question About Windows Standalone In-Reply-To: References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> <4CB0947F-9083-43AC-B321-976DDC9C65A1@cox.net> <4E65B6FE.4000709@hyperactivesw.com> <4E65BC88.8010300@gmail.com> Message-ID: <0DFED3AB-8266-42A0-9D15-AB6F2E2246B3@azurevision.co.uk> On 6 Sep 2011, at 13:05, Roger Eller wrote: > As I mentioned before, an app bundle on a Mac is really just a folder filled with subfolders. If you copy one to either Windows or Linux, you can easily look around. On a Mac, right-click and choose 'View package content' to see the folder contents. Ian From m.schonewille at economy-x-talk.com Tue Sep 6 08:19:27 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 14:19:27 +0200 Subject: Question About Windows Standalone In-Reply-To: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> References: <2D7D3DDA-F6E4-40DB-B02D-D823F1078745@videotron.ca> Message-ID: <67187572-0E1D-446A-8DA4-C714359FF36B@economy-x-talk.com> Hi Gregory, You need to send the entire Windows folder to your users. This includes the separate stack files, referenced files if there are any, and the externals folder. You might leave out the externals folder if you really want to. If you prefer to send just one file, you could use the Installer Maker Plugin. This plugin creates one .exe file, which you don't need to compress to send it to your users. The .exe file doesn't need any externals, so you don't need to include that folder, even if your own standalone needs externals (but you need to include the externals when you make the installer). You can find the Installer Maker Plugin here http://qery.us/za -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 02:11, Gregory Lypny wrote: > Hello everyone, > > I?m am Mac user who doesn?t know much, if anything, about Windows. I?ve just built a standalone for Mac and Windows and I?d like to confirm what it is I need to provide to Windows users. The Standalone Builder produced a folder called Windows. Inside of it is a folder called Externals, which is empty because I have none, the executable file, and the stack files I used in the project. Do I give users the entire Windows folder or just the executable? The reason that I ask is that the Mac build hides everything nicely in a package, and I was a little concerned seeing those stack files sitting out in the open. > > Regards, > > Gregory > From mazzapaoloitaly at gmail.com Tue Sep 6 09:03:13 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 6 Sep 2011 15:03:13 +0200 Subject: Purchasing from an iOs App Message-ID: Referring to verse 11.13 of the holy "App Store Review Guidellines" (last edition) , "Apps that link to external mechanisms for?purchases or subscriptions?to be used in the app, such as a ?buy" button that goes to a web site to purchase a digital book, will be rejected" What about a "buy" button that goes to web site to purchase wine or cars ? I mean, restrictions apply only to materials to be used in the app or to any kind of product? All the best Paolo From gregory.lypny at videotron.ca Tue Sep 6 09:51:35 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 06 Sep 2011 09:51:35 -0400 Subject: Question About Windows Standalone In-Reply-To: References: Message-ID: <269D59E5-5FCB-42E1-B203-D3EABEB0B070@videotron.ca> Thanks everyone, I get it. Windows builds pretty much need the whole thing. I don?t like the stack files sitting there though. I think I will turn them into sub-stacks and have users save their data to text files. Regards, Gregory From lists at mangomultimedia.com Tue Sep 6 10:29:26 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 6 Sep 2011 10:29:26 -0400 Subject: DataGrid and my headache In-Reply-To: <18683124093.20110902174017@ahsoftware.net> References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> Message-ID: On Fri, Sep 2, 2011 at 8:40 PM, Mark Wieder wrote: > > The example is incomplete (aka "wrong"). Try the following... the > inserted text is from the more complete example at > Actually the example is not incomplete. The code snippet is from this lesson: http://lessons.runrev.com/s/lessons/m/datagrid/l/7303-How-Do-I-Create-My-First-Data-Grid-Table- The lesson first has you create the columns and then run the code snippet. If you create the columns as described in the lesson then the code snippet works fine (assuming you have a data grid named "DataGrid1"). Horst - the problem is most likely that you created a Data Grid field and the example lesson you are going through works with a data grid table. Try going through the lesson again and create a table. Does it work? -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com From LunchnMeets at aol.com Tue Sep 6 11:40:30 2011 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Tue, 6 Sep 2011 11:40:30 -0400 (EDT) Subject: revPropertyPalette Message-ID: <56d7e.60cdfce8.3b9798ee@aol.com> Hi, I've been having this problem for a long time, but I've just been living with it. Almost every time I open the inspector it asks me to save the revPropertyPalette. I've been doing that but it keeps coming back. What am I doing wrong? Another problem I've been having is I can't seem to ungroup some groups. I tried all sorts of ways of doing that but haven't been successful. Just out of curiosity, am I the only member of this list who only programs in LiveCode? I don't know any other programming language unless you count HyperCard, which I doubt I could still work in. :) Your help is much appreciated. Joe in Orlando. From dunbarx at aol.com Tue Sep 6 12:01:43 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 6 Sep 2011 12:01:43 -0400 (EDT) Subject: revPropertyPalette In-Reply-To: <56d7e.60cdfce8.3b9798ee@aol.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> Message-ID: <8CE3AC567D73DC6-35C4-38ABA@webmail-m139.sysops.aol.com> Hi. There was a thread about this years ago: http://forums.runrev.com/viewtopic.php?f=8&t=232 I cannot find any such file, using relatively modern versions of LC (or Rev). Which version are you using? I think this was either the old name of the property inspector, or a stack associated with it. Before my time, though. I still program in HC. And besides LC, nothing else. Craig Newman -----Original Message----- From: LunchnMeets To: use-livecode Sent: Tue, Sep 6, 2011 7:43 am Subject: revPropertyPalette Hi, I've been having this problem for a long time, but I've just been living with it. Almost every time I open the inspector it asks me to save the revPropertyPalette. I've been doing that but it keeps coming back. What am I doing wrong? Another problem I've been having is I can't seem to ungroup some groups. I tried all sorts of ways of doing that but haven't been successful. Just out of curiosity, am I the only member of this list who only programs in LiveCode? I don't know any other programming language unless you count HyperCard, which I doubt I could still work in. :) Your help is much appreciated. Joe in Orlando. _______________________________________________ use-livecode mailing list use-livecode at 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 Tue Sep 6 12:03:06 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 18:03:06 +0200 Subject: revPropertyPalette In-Reply-To: <56d7e.60cdfce8.3b9798ee@aol.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> Message-ID: Hi Joe, I am having the same problem with revPropertyPalette. I don't expect it to get fixed. In any case, don't save it :-) I don't think that saving it makes sense, if it doesn't make things worse. If you can't ungroup a group, that group probably contains nested groups. Select the group and choose Edit Group from the Object menu. Now you should be able to select the nested groups and ungroup those. Stop editing the group and ungroup the group you were editing. This time it should work. LiveCode is only one of many programming tools I use, but I think there are quite a few people who only use LiveCode, perhaps together with either SuperCard or RealBasic. Quite a few others probably use LiveCode combined with some web programming tools and a few graphing tools. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 17:40, LunchnMeets at aol.com wrote: > Hi, > > I've been having this problem for a long time, but I've just been living > with it. Almost every time I open the inspector it asks me to save the > revPropertyPalette. I've been doing that but it keeps coming back. What am I doing > wrong? > > Another problem I've been having is I can't seem to ungroup some groups. I > tried all sorts of ways of doing that but haven't been successful. > > Just out of curiosity, am I the only member of this list who only programs > in LiveCode? I don't know any other programming language unless you count > HyperCard, which I doubt I could still work in. :) > > Your help is much appreciated. > > Joe in Orlando. From ambassador at fourthworld.com Tue Sep 6 12:13:32 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Sep 2011 09:13:32 -0700 Subject: revPropertyPalette In-Reply-To: <56d7e.60cdfce8.3b9798ee@aol.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> Message-ID: <4E6646AC.4020106@fourthworld.com> Joe wrote: > I've been having this problem for a long time, but I've just been living > with it. Almost every time I open the inspector it asks me to save the > revPropertyPalette. I've been doing that but it keeps coming back. What am I doing > wrong? It seems that the Inspector has somehow been flagged as "modified" during the session. Haven't seen that before. Have you edited it? I would imagine a re-install of LC would take care of it if nothing else does. > Another problem I've been having is I can't seem to ungroup some groups. I > tried all sorts of ways of doing that but haven't been successful. Can you identify the circumstances that differ between those groups you can ungroup and those you can't? > Just out of curiosity, am I the only member of this list who only programs > in LiveCode? I don't know any other programming language unless you count > HyperCard, which I doubt I could still work in. :) Most of my time these days is split between LiveCode and JavaScript/HTML/CSS. Given the ubiquity of the Web and that JavaScript is the only language provided natively in browsers, it's indispensable. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From LunchnMeets at aol.com Tue Sep 6 12:37:24 2011 From: LunchnMeets at aol.com (LunchnMeets at aol.com) Date: Tue, 6 Sep 2011 12:37:24 -0400 (EDT) Subject: revPropertyPalette, Thanks Mark Message-ID: <282cf.6e41301f.3b97a644@aol.com> In a message dated 9/6/11 12:06:27 PM, m.schonewille at economy-x-talk.com writes: > Hi Joe, > > I am having the same problem with revPropertyPalette. I don't expect it to > get fixed. In any case, don't save it :-) I don't think that saving it > makes sense, if it doesn't make things worse. > > If you can't ungroup a group, that group probably contains nested groups. > Select the group and choose Edit Group from the Object menu. Now you should > be able to select the nested groups and ungroup those. Stop editing the > group and ungroup the group you were editing. This time it should work. > > LiveCode is only one of many programming tools I use, but I think there > are quite a few people who only use LiveCode, perhaps together with either > SuperCard or RealBasic. Quite a few others probably use LiveCode combined > with some web programming tools and a few graphing tools. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like > https://www.facebook.com/marksch > > On 6 sep 2011, at 17:40, LunchnMeets at aol.com wrote: > > > Hi, > > > > I've been having this problem for a long time, but I've just been living > > with it. Almost every time I open the inspector it asks me to save the > > revPropertyPalette. I've been doing that but it keeps coming back. What > am I doing > > wrong? > > > > Another problem I've been having is I can't seem to ungroup some groups. > I > > tried all sorts of ways of doing that but haven't been successful. > > > > Just out of curiosity, am I the only member of this list who only > programs > > in LiveCode? I don't know any other programming language unless you > count > > HyperCard, which I doubt I could still work in. :) > > > > Your help is much appreciated. > > > > Joe in Orlando. > Thanks Mark, You were right about me nesting groups within groups. That fixed at least this problem! Joe in Orlando From eric.miclo at wanadoo.fr Tue Sep 6 13:25:32 2011 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Tue, 6 Sep 2011 19:25:32 +0200 Subject: LiveCode 4.6.4 Message-ID: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> Hello, Same application built under Mac OS X Lion 10.7.1: - launches and works when built with LiveCode 4.6.3 - crashes upon launch when built with LiveCode 4.6.4 In the Release notes: " ? Mac The Mac engine supports: ? 10.4.11 (Tiger) on Intel and PowerPC ? 10.5.8 and later (Leopard) on Intel and PowerPC ? 10.6.x (Snow Leopard) on Intel ? 10.7.x (Lion) on Intel (experimental) Note: The engine runs as a 32-bit application regardless of the capabilities of the underlying processor." It seems that the Mac engine under Lion is really experimental? Would be great if it was a way to use or not the experimental engine when building an application. My 2 cents, ?rIC -- My NeXT computer will Be a Mac too! -- From bobs at twft.com Tue Sep 6 13:41:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 10:41:19 -0700 Subject: DataGrid: some questions In-Reply-To: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> Message-ID: <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> It is possible to determine that a click or double-click in the datagrid was not in an active row with data. Just get the dgHilitedLine(s) inside a mouseUp or doubleMouseUp handler. If it's empty the user clicked or double clicked in an empty space in the dataGrid. Trouble is, it works equally well for clicks in the header and scrollbar too. :-) Bob On Sep 4, 2011, at 6:48 AM, Matthias Rebbe wrote: > Hi, > > what do i have to do to let my user to add a new row to a DataGrid table? I can edit an existing row(with already text in it), but i cannot add a new line to the grid by clicking into the next empty row. > Is that not possible? From dunbarx at aol.com Tue Sep 6 13:50:21 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 6 Sep 2011 13:50:21 -0400 (EDT) Subject: Wherefore revPropertyPalette In-Reply-To: <4E6646AC.4020106@fourthworld.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> <4E6646AC.4020106@fourthworld.com> Message-ID: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> If I open a new LC session with any simple stack and call "the stacks", I see the revmenubar, revMessageBox and whatever stack I opened with (I opened the msg box by hand). If I then open the inspector for the stack and call "the stacks" I get a blank line in the middle of the list. I assume that is where the inspector sort of lies. Now I can find files for stacks like the message boxand revTools. But I cannot find anything for "revPropertyPalette". And why the blank line? Shy? Craig Newman -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Tue, Sep 6, 2011 8:15 am Subject: Re: revPropertyPalette Joe wrote: > I've been having this problem for a long time, but I've just been living > with it. Almost every time I open the inspector it asks me to save the > revPropertyPalette. I've been doing that but it keeps coming back. What am I doing > wrong? It seems that the Inspector has somehow been flagged as "modified" during the session. Haven't seen that before. Have you edited it? I would imagine a re-install of LC would take care of it if nothing else does. > Another problem I've been having is I can't seem to ungroup some groups. I > tried all sorts of ways of doing that but haven't been successful. Can you identify the circumstances that differ between those groups you can ungroup and those you can't? > Just out of curiosity, am I the only member of this list who only programs > in LiveCode? I don't know any other programming language unless you count > HyperCard, which I doubt I could still work in. :) Most of my time these days is split between LiveCode and JavaScript/HTML/CSS. Given the ubiquity of the Web and that JavaScript is the only language provided natively in browsers, it's indispensable. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ 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 mollysrevenge.com Tue Sep 6 14:29:22 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Sep 2011 11:29:22 -0700 Subject: DataGrid: some questions In-Reply-To: <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> Message-ID: You can tell if the user clicked in the header by checking "the dgHeader of the target" - it will be empty if the user did not click on the header, the long ID of the group containing all the column headers if the user clicked on the header. If the user clicked on a specific column header rather than the empty area of the header to the right of the columns, the dgHeaderControl of the target contains the long ID of the column header control. Never thought about detecting a click in the scrollbar, not sure how you would rule that out. Personally,I prefer to provide a button for the user to click on to add a new row of data to a datagrid, just seems more user friendly to provide a visual clue as to how to add a row than leave the user to guess that a double click in an empty row of the datagrid is the way to do it. With the button approach, you avoid having to scroll through a bunch of rows to get to the end of data and see an empty row, in fact there won't be an empty row if the total number of rows of data is an exact multiple of the number of visible rows in the datagrid. Pete Molly's Revenge On Tue, Sep 6, 2011 at 10:41 AM, Bob Sneidar wrote: > It is possible to determine that a click or double-click in the datagrid > was not in an active row with data. Just get the dgHilitedLine(s) inside a > mouseUp or doubleMouseUp handler. If it's empty the user clicked or double > clicked in an empty space in the dataGrid. Trouble is, it works equally well > for clicks in the header and scrollbar too. :-) > > Bob > > > On Sep 4, 2011, at 6:48 AM, Matthias Rebbe wrote: > > > Hi, > > > > what do i have to do to let my user to add a new row to a DataGrid table? > I can edit an existing row(with already text in it), but i cannot add a new > line to the grid by clicking into the next empty row. > > Is that not possible? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 6 14:33:33 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Sep 2011 11:33:33 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> Message-ID: <4E66677D.5030809@fourthworld.com> dunbarx wrote: > If I open a new LC session with any simple stack and call "the stacks", I see the revmenubar, revMessageBox and whatever stack I opened with (I opened the msg box by hand). If I then open the inspector for the stack and call "the stacks" I get a blank line in the middle of the list. I assume that is where the inspector sort of lies. Normally the engine uses a blank line to indicate an open menu. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Tue Sep 6 14:38:42 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 21:38:42 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> <4E6646AC.4020106@fourthworld.com> <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> Message-ID: <4E6668B2.8010208@gmail.com> OK, OK; I'm behind in the race ( 4.5 ), but then, even if I had the money, I would feel a bit queer about buying things with numbers after a second fullstop: So: crack open 4.5. dp 4 and the Application browser: no revPropertypalette [and, this is extremely UNsurprising, as I have no stack open which might have properties] open a new, blank stack [ Aha, the brain is suddenly lit up with a strange aura ] and, LO! one is able to open a Properties palette for that stack [ and, any newbies lurking in these parts, pardon the slight sarcasm, but THIS (i.e. props palette) is something one should have stumbled on on day 1 ] back to "Application Browser" and there one can see, at the bottom of the list (ou, a fond [ excusez moi, sans accents ] as they say in France) "revPropertyPalette 1" created 'on-the-fly' as it-were, from some mysteriously hidden template . . . So, those who cannot find "revPropertyPalette" are being, at best, disingenuous . . . Certainly, the 'thing', a.k.a Props palette doth not keep importuning me to save it; and why should it? After all, the blasted thing is just a different way of getting at things on the stack; and those of you who don't appreciate the finer points of the Props Palette ought to take a quick skinny at the equivalent in the "alternative" Metacard interface; Ouch. And no apologies whatsoever to those who eschew the RunRev/Livecode interface in favour of the Metacard one. --------------------------------------------------------------------------------------------------------------------- Federal Regulations Require That Readers Should Be Cautioned That Parts Or All Of This Message May Be Fuelled By Alcohol. --------------------------------------------------------------------------------------------------------------------- AND, the "purport" of this message is: IFF the revPropertyPalette is asking you to save it things ain't as they should be . . . Bubba! From m.schonewille at economy-x-talk.com Tue Sep 6 14:42:34 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 20:42:34 +0200 Subject: Wherefore revPropertyPalette In-Reply-To: <4E66677D.5030809@fourthworld.com> References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> Message-ID: Hi, In this case, the blank line is because the revPropertyPalette is a cloned stack without a stackfile on disk. The revPropertyPalettes exist in memory only, while only one original exists on disk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 20:33, Richard Gaskin wrote: > dunbarx wrote: > >> If I open a new LC session with any simple stack and call "the stacks", I see the revmenubar, revMessageBox and whatever stack I opened with (I opened the msg box by hand). If I then open the inspector for the stack and call "the stacks" I get a blank line in the middle of the list. I assume that is where the inspector sort of lies. > > Normally the engine uses a blank line to indicate an open menu. From dev at digifilm.com Tue Sep 6 14:55:32 2011 From: dev at digifilm.com (debdoot das) Date: Tue, 6 Sep 2011 14:55:32 -0400 Subject: urlProgress error message In-Reply-To: References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> Message-ID: <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> Salutations, Is there a list of all the possible urlProgress error messages. Thanks Debdoot From ambassador at fourthworld.com Tue Sep 6 15:02:48 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 06 Sep 2011 12:02:48 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: References: Message-ID: <4E666E58.8050503@fourthworld.com> Mark Schonewille wrote: > In this case, the blank line is because the revPropertyPalette is a cloned stack without a stackfile on disk. The revPropertyPalettes exist in memory only, while only one original exists on disk. Ah, right: that was "the stacks", and not "the windows". Since there's only one Inspector open at any given time, why do they bother cloning it? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Tue Sep 6 15:08:16 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:08:16 -0700 Subject: [BUG] LiveCode server 4.6.3 fails to connect to MySQL UNIX socket file In-Reply-To: References: Message-ID: I am using On-Rev SQL with a direct connection. I am using 4.6.3. It seem to be working fine for me. Bob On Sep 5, 2011, at 10:06 AM, Andre Garzia wrote: > Folks, > > I've updated the quality centre with a new bug report: > > http://quality.runrev.com/show_bug.cgi?id=9712 > > As explained in there, LiveCodeServer tries to connect to /tmp/mysql.sock > which is not always the correct location. The mysqld daemon will tell the > client what socket file to use but LiveCode server is not using that file. > LiveCode Server 3.5 works fine but the new 4.6.x series does not. > > I call on the users of these lists to vote for this bug report. This bug has > a workaround with symbolic links but this linking can't be done for users on > shared hosts, so I think it qualifies for a severe bug. > > Cheers > andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Tue Sep 6 15:14:41 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Sep 2011 12:14:41 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: <4E666E58.8050503@fourthworld.com> References: <4E666E58.8050503@fourthworld.com> Message-ID: I might be dreaming but I'll swear I've run into situations where I've had multiple inspector windows open at the same time, not for the same object of course. Unfortunately, I can't remember the circumstannces where this has happened. Pete Molly's Revenge On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin wrote: > Mark Schonewille wrote: > >> In this case, the blank line is because the revPropertyPalette is a cloned >> stack without a stackfile on disk. The revPropertyPalettes exist in memory >> only, while only one original exists on disk. >> > > Ah, right: that was "the stacks", and not "the windows". > > Since there's only one Inspector open at any given time, why do they bother > cloning it? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > From bobs at twft.com Tue Sep 6 15:17:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:17:07 -0700 Subject: Copying from MS word into RunRev 4.0 In-Reply-To: References: <4DEB254C-445F-437E-B480-7B3D0042AE2C@sbcglobal.net> Message-ID: <5235B973-D72C-48EB-A479-8C7EFDFC4539@twft.com> No not really. It works for you because Parallels is doing a clipboard translation itself, so the quote survives. It would be the same thing as first pasting into a Rich Text Editor, recopying, and then pasting into Livecode. That always works. Bob On Sep 3, 2011, at 12:03 AM, Keith Clarke wrote: > Jonathan, I've just copied & pasted 'it's' (with a curly single right-hand quote) from Word 2010 (Windows) on my Parallels VM into TextWrangler on my Mac and the curly quote character survives intact. So, for me, Word export and the clipboard are working OK. From richmondmathewson at gmail.com Tue Sep 6 15:19:09 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 22:19:09 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: References: <4E666E58.8050503@fourthworld.com> Message-ID: <4E66722D.1060306@gmail.com> On 09/06/2011 10:14 PM, Pete wrote: > I might be dreaming but I'll swear I've run into situations where I've had > multiple inspector windows open at the same time, not for the same object of > course. Unfortunately, I can't remember the circumstannces where this has > happened. I've never come across that. I suppose unless it can be reduplicated we should doubt your claim. > Pete > Molly's Revenge > > > > > On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin > wrote: > >> Mark Schonewille wrote: >> >>> In this case, the blank line is because the revPropertyPalette is a cloned >>> stack without a stackfile on disk. The revPropertyPalettes exist in memory >>> only, while only one original exists on disk. >>> >> Ah, right: that was "the stacks", and not "the windows". >> >> Since there's only one Inspector open at any given time, why do they bother >> cloning it? >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Sep 6 15:20:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:20:59 -0700 Subject: [ANN] ObjectFormats plugin In-Reply-To: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> References: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> Message-ID: This would be incredibly useful to me if it worked with cards and groups as well. I make extensive use of properties to store things like datagrid column formatting and related tables for a form. Bob On Sep 4, 2011, at 9:13 PM, Peter M. Brigham, MD wrote: > I'm making available for general use a plugin I've developed. Here's from the help text: > > ---------- > > What it is > > The ObjectFormats plugin helps you apply stored properties to buttons or fields in any stack. Set up a field or button the way you want it and save its properties in this plugin, then apply the whole set of properties to future fields or buttons with a mouseclick. You can store a list of button and field formats and use them whenever you want. > > How it works > > Select a button or a field in any stack with the pointer tool, then click the "save format" button. (The plugin only works for buttons and fields, at least for now.) After naming your format, a number of properties of the selected control will be stored and the format will appear in the list in the main field. Button formats will be indicated with a little oval button icon and field formats will be indicated with a square field icon. > > Thereafter, if you select a button or a field in any stack and then click on a format in the list, all the stored properties of that format will be applied at once to the selected control. > > Certain properties will not be stored or changed, for obvious reasons: the name, label, altID, rect, behavior, script, layer, text, icon, etc., of controls will remain untouched, since they are either unique for each control or should otherwise be handled individually. Only properties relevant to the general appearance and functioning of the button or field will be set, like the button or field style, text appearance, border width, margins, blending, locktext, tabstops, colors, autohilite, showborder, etc, where applicable. > > After you apply a format to an object, the undo button will appear at top right. If you regret your reformatting of the object, click the undo button and the previous properties of the selected object will be restored. Note that only the most recent reformatting operation can be undone. > > Option-click on the "save format" button to examine the relevant properties of the selected object (without saving them). Option-click on a line in the format list to see the stored properties of that format (without applying them). Shift-click on a format in the list to delete it from the plugin. Command-click on a format to change its name. > > To use it as a plugin, drop the ObjectFormats.rev file into your plugins folder and restart LiveCode. > > ----------- > > Available at: > .dmg -- http://db.tt/dCBTN1d > .zip -- http://db.tt/Ck6PnYn > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Sep 6 15:21:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 21:21:13 +0200 Subject: Wherefore revPropertyPalette In-Reply-To: <4E666E58.8050503@fourthworld.com> References: <4E666E58.8050503@fourthworld.com> Message-ID: <8E40B2AA-56E4-41DB-A00B-DE7581DCD6C8@economy-x-talk.com> Richard, Very often, I have 2 or 3 inspectors open at a time. Just click the lock button and open an inspector for another object. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 21:02, Richard Gaskin wrote: > Mark Schonewille wrote: >> In this case, the blank line is because the revPropertyPalette is a cloned stack without a stackfile on disk. The revPropertyPalettes exist in memory only, while only one original exists on disk. > > Ah, right: that was "the stacks", and not "the windows". > > Since there's only one Inspector open at any given time, why do they bother cloning it? > From bobs at twft.com Tue Sep 6 15:24:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:24:19 -0700 Subject: LiveCode 4.6.4 In-Reply-To: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> Message-ID: SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, this is not the forum for pre-release versions. Did you get an email telling you where to post beta issues? Bob On Sep 6, 2011, at 10:25 AM, ?ric Miclo wrote: > Hello, > > Same application built under Mac OS X Lion 10.7.1: > > - launches and works when built with LiveCode 4.6.3 > > - crashes upon launch when built with LiveCode 4.6.4 > > In the Release notes: > > " ? Mac > > The Mac engine supports: > > ? 10.4.11 (Tiger) on Intel and PowerPC > > ? 10.5.8 and later (Leopard) on Intel and PowerPC > > ? 10.6.x (Snow Leopard) on Intel > > ? 10.7.x (Lion) on Intel (experimental) > > Note: The engine runs as a 32-bit application regardless of the capabilities of the underlying processor." > > It seems that the Mac engine under Lion is really experimental? > > > Would be great if it was a way to use or not the experimental engine when building an application. > > > My 2 cents, > > ?rIC > > > -- My NeXT computer will Be a Mac too! -- > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Sep 6 15:26:18 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 22:26:18 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: <8E40B2AA-56E4-41DB-A00B-DE7581DCD6C8@economy-x-talk.com> References: <4E666E58.8050503@fourthworld.com> <8E40B2AA-56E4-41DB-A00B-DE7581DCD6C8@economy-x-talk.com> Message-ID: <4E6673DA.1020501@gmail.com> On 09/06/2011 10:21 PM, Mark Schonewille wrote: > Richard, > > Very often, I have 2 or 3 inspectors open at a time. Just click the lock button and open an inspector for another object. Wow; it never ceases to amaze me how one can go on learning new things about Metacard/RunRev/Livecode even after years of using it, just from the Use-List. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 6 sep 2011, at 21:02, Richard Gaskin wrote: > >> Mark Schonewille wrote: >>> In this case, the blank line is because the revPropertyPalette is a cloned stack without a stackfile on disk. The revPropertyPalettes exist in memory only, while only one original exists on disk. >> Ah, right: that was "the stacks", and not "the windows". >> >> Since there's only one Inspector open at any given time, why do they bother cloning it? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Tue Sep 6 15:28:59 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Sep 2011 12:28:59 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: <4E66722D.1060306@gmail.com> References: <4E666E58.8050503@fourthworld.com> <4E66722D.1060306@gmail.com> Message-ID: "reduplicated"? Does that mean I have to duplicate it twice? Pete Molly's Revenge On Tue, Sep 6, 2011 at 12:19 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 09/06/2011 10:14 PM, Pete wrote: > >> I might be dreaming but I'll swear I've run into situations where I've had >> multiple inspector windows open at the same time, not for the same object >> of >> course. Unfortunately, I can't remember the circumstannces where this has >> happened. >> > > I've never come across that. I suppose unless it can be reduplicated we > should > doubt your claim. > > Pete >> Molly's Revenge >> > >> >> >> >> >> On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin >> **wrote: >> >> Mark Schonewille wrote: >>> >>> In this case, the blank line is because the revPropertyPalette is a >>>> cloned >>>> stack without a stackfile on disk. The revPropertyPalettes exist in >>>> memory >>>> only, while only one original exists on disk. >>>> >>>> Ah, right: that was "the stacks", and not "the windows". >>> >>> Since there's only one Inspector open at any given time, why do they >>> bother >>> cloning it? >>> >>> -- >>> Richard Gaskin >>> Fourth World >>> LiveCode training and consulting: http://www.fourthworld.com >>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >>> LiveCode Journal blog: http://LiveCodejournal.com/****blog.irv >>> >>> > >>> >>> >>> ______________________________****_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > From warren at warrensweb.us Tue Sep 6 15:29:45 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 06 Sep 2011 14:29:45 -0500 Subject: LiveCode 4.6.4 In-Reply-To: References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> Message-ID: <4E6674A9.8080801@warrensweb.us> On 09/06/2011 02:24 PM, Bob Sneidar wrote: > SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, this is not the forum for pre-release versions. Did you get an email telling you where to post beta issues? > > Bob Final public release was announced today. Warren From richmondmathewson at gmail.com Tue Sep 6 15:35:30 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 22:35:30 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: References: <4E666E58.8050503@fourthworld.com> <4E66722D.1060306@gmail.com> Message-ID: <4E667602.1060304@gmail.com> On 09/06/2011 10:28 PM, Pete wrote: > "reduplicated"? Does that mean I have to duplicate it twice? > Pete > Molly's Revenge > Beer . . . > > > On Tue, Sep 6, 2011 at 12:19 PM, Richmond Mathewson< > richmondmathewson at gmail.com> wrote: > >> On 09/06/2011 10:14 PM, Pete wrote: >> >>> I might be dreaming but I'll swear I've run into situations where I've had >>> multiple inspector windows open at the same time, not for the same object >>> of >>> course. Unfortunately, I can't remember the circumstannces where this has >>> happened. >>> >> I've never come across that. I suppose unless it can be reduplicated we >> should >> doubt your claim. >> >> Pete >>> Molly's Revenge >>> >>> >>> >>> On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin >>> **wrote: >>> >>> Mark Schonewille wrote: >>>> In this case, the blank line is because the revPropertyPalette is a >>>>> cloned >>>>> stack without a stackfile on disk. The revPropertyPalettes exist in >>>>> memory >>>>> only, while only one original exists on disk. >>>>> >>>>> Ah, right: that was "the stacks", and not "the windows". >>>> Since there's only one Inspector open at any given time, why do they >>>> bother >>>> cloning it? >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World >>>> LiveCode training and consulting: http://www.fourthworld.com >>>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >>>> LiveCode Journal blog: http://LiveCodejournal.com/****blog.irv >>>> >>>> >>>> ______________________________****_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Sep 6 15:40:11 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 6 Sep 2011 15:40:11 -0400 Subject: LiveCode 4.6.4 In-Reply-To: <4E6674A9.8080801@warrensweb.us> References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> <4E6674A9.8080801@warrensweb.us> Message-ID: On Tue, Sep 6, 2011 at 3:29 PM, Warren Samples wrote: > On 09/06/2011 02:24 PM, Bob Sneidar wrote: > >> SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, >> this is not the forum for pre-release versions. Did you get an email telling >> you where to post beta issues? >> >> Bob >> > > > Final public release was announced today. > > Warren > > It looks like the announcement ONLY went to the DEV list though... Odd... :\ ~Roger From bobs at twft.com Tue Sep 6 15:40:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:40:56 -0700 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> Message-ID: <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> I ran into this when I started out trying to make a datagrid operate like a simple spreadsheet. Turns out it is not a simple thing to do. You would have to trap for a returnkey in any cell in the last row, or a tabKey in the last cell of the last row, and call addLine followed by editCellOfIndex (does addLine return the index or line created by chance?). To address clicking, you would have to calculate how many rows down the user clicked from the actual data, and then insert a bunch of blank data, which begins to mess things up tremendously, especially when the user tries to sort! Datagrids should, in my opinion, have a little vertical bar at the beginning of each row to indicate if there is data of any kind in the row. At least you would have a visual indication that there are blank rows there. Alternately, you could modify the datagrid drawing routine to add blank rows to fill up the visual space at the end of the data, but then you would have to modify the sort routines to ignore blank rows, or offer a parameter to the sort function to do so. Also the functions to return how many rows in the data would have to be modified, what gets returned with dgData and dgText, etc. As you can see, the whole problem gets really ugly, so as it turns out, making a datagrid operate like even a simple spreadsheet is anything but simple. What is REALLY needed is for the drawing routine to create the objects to fill in the visible area, but NOT have it effect the actual data itself until something is actually PUT in a row. At least for Table type datagrids anyway. This would probably require a reworking of the datagrid functions quite a bit so I am not holding my breath for this one. :-) You really get a glimpse of what a complicated thing a spreadsheet is in the first place! Bob On Sep 6, 2011, at 11:29 AM, Pete wrote: > You can tell if the user clicked in the header by checking "the dgHeader of > the target" - it will be empty if the user did not click on the header, the > long ID of the group containing all the column headers if the user clicked > on the header. If the user clicked on a specific column header rather than > the empty area of the header to the right of the columns, the > dgHeaderControl of the target contains the long ID of the column header > control. > > Never thought about detecting a click in the scrollbar, not sure how you > would rule that out. > > Personally,I prefer to provide a button for the user to click on to add a > new row of data to a datagrid, just seems more user friendly to provide a > visual clue as to how to add a row than leave the user to guess that a > double click in an empty row of the datagrid is the way to do it. With the > button approach, you avoid having to scroll through a bunch of rows to get > to the end of data and see an empty row, in fact there won't be an empty row > if the total number of rows of data is an exact multiple of the number of > visible rows in the datagrid. > > Pete > Molly's Revenge > > > > > On Tue, Sep 6, 2011 at 10:41 AM, Bob Sneidar wrote: > >> It is possible to determine that a click or double-click in the datagrid >> was not in an active row with data. Just get the dgHilitedLine(s) inside a >> mouseUp or doubleMouseUp handler. If it's empty the user clicked or double >> clicked in an empty space in the dataGrid. Trouble is, it works equally well >> for clicks in the header and scrollbar too. :-) >> >> Bob >> >> >> On Sep 4, 2011, at 6:48 AM, Matthias Rebbe wrote: >> >>> Hi, >>> >>> what do i have to do to let my user to add a new row to a DataGrid table? >> I can edit an existing row(with already text in it), but i cannot add a new >> line to the grid by clicking into the next empty row. >>> Is that not possible? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Sep 6 15:42:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:42:29 -0700 Subject: LiveCode 4.6.4 In-Reply-To: <4E6674A9.8080801@warrensweb.us> References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> <4E6674A9.8080801@warrensweb.us> Message-ID: Oh sorry. I didn't get the email. I usually get 2! :-( Bob On Sep 6, 2011, at 12:29 PM, Warren Samples wrote: > On 09/06/2011 02:24 PM, Bob Sneidar wrote: >> SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, this is not the forum for pre-release versions. Did you get an email telling you where to post beta issues? >> >> Bob > > > Final public release was announced today. > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Sep 6 15:47:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:47:13 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: References: <4E666E58.8050503@fourthworld.com> Message-ID: <504603D2-62E0-49CE-A5C6-56BBBC037744@twft.com> If I use PowerDebug or GLX2 (not sure which one) I can have multiple palettes open for different objects. I think this is a feature, but it causes problems, like endless loop issues and I have to force quit, so I have to be careful using those tools. Bob On Sep 6, 2011, at 12:14 PM, Pete wrote: > I might be dreaming but I'll swear I've run into situations where I've had > multiple inspector windows open at the same time, not for the same object of > course. Unfortunately, I can't remember the circumstannces where this has > happened. > Pete > Molly's Revenge > > > > > On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin > wrote: > >> Mark Schonewille wrote: >> >>> In this case, the blank line is because the revPropertyPalette is a cloned >>> stack without a stackfile on disk. The revPropertyPalettes exist in memory >>> only, while only one original exists on disk. >>> >> >> Ah, right: that was "the stacks", and not "the windows". >> >> Since there's only one Inspector open at any given time, why do they bother >> cloning it? >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Sep 6 15:50:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 12:50:11 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: References: <4E666E58.8050503@fourthworld.com> <4E66722D.1060306@gmail.com> Message-ID: <8F22F691-2B0C-4EEC-AACC-5A957E6ABB45@twft.com> Like when your children have grandchildren, or when you make a bunch of copies of a form, then hand out the original and have to use one of the copies next time you make more. Actually, it's not like either of those things. NVM Bob On Sep 6, 2011, at 12:28 PM, Pete wrote: > "reduplicated"? Does that mean I have to duplicate it twice? > Pete > Molly's Revenge > > From warren at warrensweb.us Tue Sep 6 15:53:00 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 06 Sep 2011 14:53:00 -0500 Subject: LiveCode 4.6.4 In-Reply-To: References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> <4E6674A9.8080801@warrensweb.us> Message-ID: <4E667A1C.3050101@warrensweb.us> On 09/06/2011 02:40 PM, Roger Eller wrote: > It looks like the announcement ONLY went to the DEV list though... Odd... > :\ > > ~Roger Yes, I noticed that, too, but I checked the store and it's available for download in my account. Warren From richmondmathewson at gmail.com Tue Sep 6 15:55:57 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 06 Sep 2011 22:55:57 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: <8F22F691-2B0C-4EEC-AACC-5A957E6ABB45@twft.com> References: <4E666E58.8050503@fourthworld.com> <4E66722D.1060306@gmail.com> <8F22F691-2B0C-4EEC-AACC-5A957E6ABB45@twft.com> Message-ID: <4E667ACD.9070203@gmail.com> On 09/06/2011 10:50 PM, Bob Sneidar wrote: > Like when your children have grandchildren, or when you make a bunch of copies of a form, then hand out the original and have to use one of the copies next time you make more. All I can say is that if computer programming were as easy as fathering children . . . Ehem . . . but I digress . . . :) > > Actually, it's not like either of those things. NVM > > Bob > > > On Sep 6, 2011, at 12:28 PM, Pete wrote: > >> "reduplicated"? Does that mean I have to duplicate it twice? >> Pete >> Molly's Revenge >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Tue Sep 6 16:07:48 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Sep 2011 13:07:48 -0700 Subject: DataGrid: some questions In-Reply-To: <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> Message-ID: Yes, spreadsheets are pretty complex beasts. I've never had a need to implement one in LC but if I did, I think I'd just run Excel (or whatever spreadsheet program is appropriate), store the filename in LC then launch it whenever the user needed to access it. Horses for courses, as they say. Pete Molly's Revenge On Tue, Sep 6, 2011 at 12:40 PM, Bob Sneidar wrote: > I ran into this when I started out trying to make a datagrid operate like a > simple spreadsheet. Turns out it is not a simple thing to do. You would have > to trap for a returnkey in any cell in the last row, or a tabKey in the last > cell of the last row, and call addLine followed by editCellOfIndex (does > addLine return the index or line created by chance?). > > To address clicking, you would have to calculate how many rows down the > user clicked from the actual data, and then insert a bunch of blank data, > which begins to mess things up tremendously, especially when the user tries > to sort! > > Datagrids should, in my opinion, have a little vertical bar at the > beginning of each row to indicate if there is data of any kind in the row. > At least you would have a visual indication that there are blank rows there. > > Alternately, you could modify the datagrid drawing routine to add blank > rows to fill up the visual space at the end of the data, but then you would > have to modify the sort routines to ignore blank rows, or offer a parameter > to the sort function to do so. Also the functions to return how many rows in > the data would have to be modified, what gets returned with dgData and > dgText, etc. > > As you can see, the whole problem gets really ugly, so as it turns out, > making a datagrid operate like even a simple spreadsheet is anything but > simple. What is REALLY needed is for the drawing routine to create the > objects to fill in the visible area, but NOT have it effect the actual data > itself until something is actually PUT in a row. At least for Table type > datagrids anyway. This would probably require a reworking of the datagrid > functions quite a bit so I am not holding my breath for this one. :-) > > You really get a glimpse of what a complicated thing a spreadsheet is in > the first place! > > Bob > > > On Sep 6, 2011, at 11:29 AM, Pete wrote: > > > You can tell if the user clicked in the header by checking "the dgHeader > of > > the target" - it will be empty if the user did not click on the header, > the > > long ID of the group containing all the column headers if the user > clicked > > on the header. If the user clicked on a specific column header rather > than > > the empty area of the header to the right of the columns, the > > dgHeaderControl of the target contains the long ID of the column header > > control. > > > > Never thought about detecting a click in the scrollbar, not sure how you > > would rule that out. > > > > Personally,I prefer to provide a button for the user to click on to add a > > new row of data to a datagrid, just seems more user friendly to provide a > > visual clue as to how to add a row than leave the user to guess that a > > double click in an empty row of the datagrid is the way to do it. With > the > > button approach, you avoid having to scroll through a bunch of rows to > get > > to the end of data and see an empty row, in fact there won't be an empty > row > > if the total number of rows of data is an exact multiple of the number of > > visible rows in the datagrid. > > > > Pete > > Molly's Revenge > > > > > > > > > > On Tue, Sep 6, 2011 at 10:41 AM, Bob Sneidar wrote: > > > >> It is possible to determine that a click or double-click in the datagrid > >> was not in an active row with data. Just get the dgHilitedLine(s) inside > a > >> mouseUp or doubleMouseUp handler. If it's empty the user clicked or > double > >> clicked in an empty space in the dataGrid. Trouble is, it works equally > well > >> for clicks in the header and scrollbar too. :-) > >> > >> Bob > >> > >> > >> On Sep 4, 2011, at 6:48 AM, Matthias Rebbe wrote: > >> > >>> Hi, > >>> > >>> what do i have to do to let my user to add a new row to a DataGrid > table? > >> I can edit an existing row(with already text in it), but i cannot add a > new > >> line to the grid by clicking into the next empty row. > >>> Is that not possible? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From admin at mfelkerco.com Tue Sep 6 16:19:29 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 06 Sep 2011 15:19:29 -0500 Subject: Wherefore revPropertyPalette In-Reply-To: <4E66722D.1060306@gmail.com> References: <4E666E58.8050503@fourthworld.com> <4E66722D.1060306@gmail.com> Message-ID: I have had, on many occasions, the stack property window open, the card property window open and control property window open at the same time. I have had multiple card property windows open at once as well. Mike On Tue, 06 Sep 2011 22:19:09 +0300, Richmond Mathewson wrote: > On 09/06/2011 10:14 PM, Pete wrote: > >> I might be dreaming but I'll swear I've run into situations where I've had multiple inspector windows open at the same time, not for the same object of course. Unfortunately, I can't remember the circumstannces where this has happened. > > I've never come across that. I suppose unless it can be reduplicated we > should > doubt your claim. > >> Pete Molly's Revenge On Tue, Sep 6, 2011 at 12:02 PM, Richard Gaskin wrote: >> >>> Mark Schonewille wrote: >>> >>>> In this case, the blank line is because the revPropertyPalette is a cloned stack without a stackfile on disk. The revPropertyPalettes exist in memory only, while only one original exists on disk. >>> Ah, right: that was "the stacks", and not "the windows". Since there's only one Inspector open at any given time, why do they bother cloning it? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com [1] Webzine for LiveCode developers: http://www.LiveCodeJournal.com [2] LiveCode Journal blog: http://LiveCodejournal.com/ [3]**blog.irv ______________________________**_________________ use-livecode mailing list use-livecode at lists.runrev.com [5] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/ [6]**mailman/listinfo/use-livecode >> _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [10] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [11] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [12] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [13] Links: ------ [1] http://www.fourthworld.com [2] http://www.LiveCodeJournal.com [3] http://LiveCodejournal.com/ [4] http://LiveCodejournal.com/blog.irv [5] mailto:use-livecode at lists.runrev.com [6] http://lists.runrev.com/ [7] http://lists.runrev.com/mailman/listinfo/use-livecode [8] http://www.mollysrevenge.com [9] mailto:ambassador at fourthworld.com [10] mailto:use-livecode at lists.runrev.com [11] http://lists.runrev.com/mailman/listinfo/use-livecode [12] mailto:use-livecode at lists.runrev.com [13] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Tue Sep 6 16:23:01 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 6 Sep 2011 21:23:01 +0100 Subject: Wherefore revPropertyPalette In-Reply-To: Message-ID: The persistent mis-use of this word REALLY annoys me! 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) 'where'. Back to your normal browsing. Hugh Senior FLCo From andre at andregarzia.com Tue Sep 6 16:22:53 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 6 Sep 2011 17:22:53 -0300 Subject: [BUG] LiveCode server 4.6.3 fails to connect to MySQL UNIX socket file In-Reply-To: References: Message-ID: It works on on-rev because they have a symbolic link in place to link from /tmp/mysql.sock to wherever the real file is. Now, if you are on a shared host such as Dreamhost, there is a big chance that this symbolic link does not exist and since you are not root, you will not be allowed to create it, so, you will not be able to connect to mysql. I am lucky that I have my own VPS and know enough of Linux to spot this problem and fix it on my own but this is the kind of silly thing that we should not be facing. If the engine is looking for a specific file we should always have a way to override it, much like we can with revSetDatabaseDriversPath and things like that. Another option was if the mysql.so thing would pick the UNIX socket file from mysqld who will always point to the correct place... actually you need both, you need the engine to look into the configured place in mysqld and also to be able to override it. On Tue, Sep 6, 2011 at 4:08 PM, Bob Sneidar wrote: > I am using On-Rev SQL with a direct connection. I am using 4.6.3. It seem > to be working fine for me. > > Bob > > > On Sep 5, 2011, at 10:06 AM, Andre Garzia wrote: > > > Folks, > > > > I've updated the quality centre with a new bug report: > > > > http://quality.runrev.com/show_bug.cgi?id=9712 > > > > As explained in there, LiveCodeServer tries to connect to /tmp/mysql.sock > > which is not always the correct location. The mysqld daemon will tell the > > client what socket file to use but LiveCode server is not using that > file. > > LiveCode Server 3.5 works fine but the new 4.6.x series does not. > > > > I call on the users of these lists to vote for this bug report. This bug > has > > a workaround with symbolic links but this linking can't be done for users > on > > shared hosts, so I think it qualifies for a severe bug. > > > > Cheers > > andre > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Tue Sep 6 16:32:15 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 06 Sep 2011 16:32:15 -0400 Subject: Question About Windows Standalone In-Reply-To: References: Message-ID: Thanks for the heads-up, Mark. I?ll look into the plug in. Gregory On Tue, Sep 6, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > Hi Gregory, > > You need to send the entire Windows folder to your users. This includes the separate stack files, referenced files if there are any, and the externals folder. You might leave out the externals folder if you really want to. > > If you prefer to send just one file, you could use the Installer Maker Plugin. This plugin creates one .exe file, which you don't need to compress to send it to your users. The .exe file doesn't need any externals, so you don't need to include that folder, even if your own standalone needs externals (but you need to include the externals when you make the installer). You can find the Installer Maker Plugin herehttp://qery.us/za > > -- > Best regards, > > Mark Schonewille From bobs at twft.com Tue Sep 6 16:46:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 13:46:29 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: References: Message-ID: Beer don't know no good speaking. Bob On Sep 6, 2011, at 1:23 PM, FlexibleLearning wrote: > The persistent mis-use of this word REALLY annoys me! > > 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) > 'where'. > > Back to your normal browsing. > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Sep 6 17:06:37 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 6 Sep 2011 17:06:37 -0400 (EDT) Subject: Wherefore revPropertyPalette In-Reply-To: References: Message-ID: <8CE3AF00028E441-35C4-3F98F@webmail-m139.sysops.aol.com> Wherefore is "why". Juliet set the bar. Craig Newman -----Original Message----- From: FlexibleLearning To: use-livecode Sent: Tue, Sep 6, 2011 12:25 pm Subject: Re: Wherefore revPropertyPalette The persistent mis-use of this word REALLY annoys me! 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) 'where'. Back to your normal browsing. Hugh Senior FLCo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Sep 6 17:20:29 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 6 Sep 2011 17:20:29 -0400 Subject: [ANN] ObjectFormats plugin In-Reply-To: References: <30B748B2-514A-49AA-B7DC-9DE3C03AE276@gmail.com> Message-ID: <1DC13EF1-27A2-406D-B46F-61F6351C75AF@gmail.com> Well, no current plans to expand in that direction. The way the plugin works now is it just changes the properties of an existing selected button or field. For it to replicate cards or groups It would have to be able to create a bunch of objects then set their properties. The internal storage of the properties would have to be revamped, and that would take some doing. I won't rule it out for the future but it's not on the horizon for today. Maybe if there is enough demand.... BTW, I have just upgraded it to give the user the option of storing the script and/or the rect of a button or field in addition to properties it saved originally. Available at: .dmg: http://db.tt/oid5wsX .zip: http://db.tt/ADhYSsd -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 6, 2011, at 3:20 PM, Bob Sneidar wrote: > This would be incredibly useful to me if it worked with cards and groups as well. I make extensive use of properties to store things like datagrid column formatting and related tables for a form. > > Bob > > On Sep 4, 2011, at 9:13 PM, Peter M. Brigham, MD wrote: > >> I'm making available for general use a plugin I've developed. From m.schonewille at economy-x-talk.com Tue Sep 6 17:29:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 6 Sep 2011 23:29:38 +0200 Subject: urlProgress error message In-Reply-To: <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> Message-ID: <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> Hi, I think you mean urlStatus and the answer is yes. Just search the LC dictionary for urlStatus. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 6 sep 2011, at 20:55, debdoot das wrote: > Salutations, > > Is there a list of all the possible urlProgress error messages. > > Thanks > Debdoot From pmbrig at gmail.com Tue Sep 6 17:33:26 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 6 Sep 2011 17:33:26 -0400 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> Message-ID: <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> On Sep 6, 2011, at 4:07 PM, Pete wrote: > Yes, spreadsheets are pretty complex beasts. I've never had a need to > implement one in LC but if I did, I think I'd just run Excel (or whatever > spreadsheet program is appropriate), store the filename in LC then launch it > whenever the user needed to access it. Horses for courses, as they say. "You can try to teach a pig to climb trees, but it works better to hire a squirrel." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Tue Sep 6 17:39:55 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Tue, 6 Sep 2011 17:39:55 -0400 Subject: [ANN] ObjectFormats plugin Message-ID: Peter M. Brigham wrote: > BTW, I have just upgraded it to give the user the option of storing the script and/or the rect of a button or field in addition to properties it saved originally. Available at: > .dmg: http://db.tt/oid5wsX > .zip: http://db.tt/ADhYSsd Sorry, wrong links, use these instead: .dmg: http://db.tt/dCBTN1d .zip: http://db.tt/Ck6PnYn -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at mollysrevenge.com Tue Sep 6 17:41:10 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 6 Sep 2011 14:41:10 -0700 Subject: DataGrid: some questions In-Reply-To: <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> Message-ID: Great! Haven't come across that one before. The mental image of pigs climbing trees is quite disturbing! Pete Molly's Revenge On Tue, Sep 6, 2011 at 2:33 PM, Peter M. Brigham, MD wrote: > On Sep 6, 2011, at 4:07 PM, Pete wrote: > > > Yes, spreadsheets are pretty complex beasts. I've never had a need to > > implement one in LC but if I did, I think I'd just run Excel (or whatever > > spreadsheet program is appropriate), store the filename in LC then launch > it > > whenever the user needed to access it. Horses for courses, as they say. > > "You can try to teach a pig to climb trees, but it works better to hire a > squirrel." > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jacque at hyperactivesw.com Tue Sep 6 17:43:24 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2011 16:43:24 -0500 Subject: Wherefore revPropertyPalette In-Reply-To: <4E6668B2.8010208@gmail.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> <4E6646AC.4020106@fourthworld.com> <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E6668B2.8010208@gmail.com> Message-ID: <4E6693FC.8050809@hyperactivesw.com> On 9/6/11 1:38 PM, Richmond Mathewson wrote: > back to "Application Browser" and there one can see, at the bottom of > the list (ou, a fond [ excusez moi, sans accents ] as they say in > France) "revPropertyPalette 1" created 'on-the-fly' > as it-were, from some mysteriously hidden template . . . > > So, those who cannot find "revPropertyPalette" are being, at best, > disingenuous . . . Not really. You only see IDE-related stacks if you have that option turned on in prefs. The default is not to see them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Sep 6 17:50:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 6 Sep 2011 14:50:17 -0700 Subject: DataGrid: some questions In-Reply-To: <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> Message-ID: <8BE2A2B4-3CB6-4DAD-934A-C5CAA6AA1E01@twft.com> Nuts to that! Bob On Sep 6, 2011, at 2:33 PM, Peter M. Brigham, MD wrote: > "You can try to teach a pig to climb trees, but it works better to hire a squirrel." From dev at digifilm.com Tue Sep 6 17:50:12 2011 From: dev at digifilm.com (debdoot das) Date: Tue, 6 Sep 2011 17:50:12 -0400 Subject: urlProgress error message In-Reply-To: <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> Message-ID: Thanks Mark. I was following the iOS release notes. However i did look up urlStatus in the dictionary. I was wondering when urlProgress url, "error", errorMessage if there was a list of errorMessage Regards, Debdoot On Sep 6, 2011, at 5:29 PM, Mark Schonewille wrote: > Hi, > > I think you mean urlStatus and the answer is yes. Just search the LC dictionary for urlStatus. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 6 sep 2011, at 20:55, debdoot das wrote: > >> Salutations, >> >> Is there a list of all the possible urlProgress error messages. >> >> Thanks >> Debdoot > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 6 17:52:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 06 Sep 2011 16:52:28 -0500 Subject: DataGrid: some questions In-Reply-To: References: <39E83A22-2928-4EB9-88C4-98C758BA2CB9@m-r-d.de> <845CCB22-2EFA-487C-AFE1-ED7C9C4FD402@twft.com> <602F2850-049A-4B95-A4E7-2821A2A0CE3A@twft.com> <5EE499E7-63FE-4FC0-A65E-A099B59CF764@gmail.com> Message-ID: <4E66961C.1020300@hyperactivesw.com> On 9/6/11 4:41 PM, Pete wrote: > Great! Haven't come across that one before. The mental image of pigs > climbing trees is quite disturbing! Deep within a forest, this little tortoise begins to climb a tree. After hours of effort, he reaches the top, jumps into the air waving his front legs and crashes to the ground. After recovering, he slowly climbs the tree again, jumps, and falls to the ground. This goes on for hours whilst a couple of birds sitting on a branch nearby watch his sad efforts. Finally, the female bird turns to her mate. "Darling," she chirps, "I think it's time to tell him he's adopted." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dev at digifilm.com Tue Sep 6 18:19:50 2011 From: dev at digifilm.com (debdoot das) Date: Tue, 6 Sep 2011 18:19:50 -0400 Subject: Blocking in iOS and libUrlDownloadToFile In-Reply-To: References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> Message-ID: In relation to blocking. This what the release notes say: libUrlDownloadToFile url, filename Unlike the libUrl command of the same name, this command will block until the download is complete, and will notify progress through the urlProgress message as described above. However I was able to click away in the middle of a download in the simulator resulting in a partially downloaded files. Can anyone please confirm whether this is the way it should be. Regards, Debdoot From chipp at chipp.com Tue Sep 6 20:45:31 2011 From: chipp at chipp.com (Chipp Walters) Date: Tue, 6 Sep 2011 19:45:31 -0500 Subject: Purchasing from an iOs App In-Reply-To: References: Message-ID: My guess is NO, this does not apply. Nope, wait, the wind just changed, YES it does apply, you cannot link in anyway to any website whatsoever. OOPS, my bad, the coin flipped again, the answer is now NO, go ahead and try. If the reviewer's name ends in 'ski' and the review day is Tuesday, chances are you'll get passed. Really, that's about as good a response as any you'll get right now. On Tue, Sep 6, 2011 at 8:03 AM, paolo mazza wrote: > Referring to verse 11.13 of the holy "App Store Review Guidellines" > (last edition) , "Apps that link to external mechanisms for purchases > or subscriptions to be used in the app, such as a ?buy" button that > goes to a web site to purchase a digital book, will be rejected" > > What about a "buy" button that goes to web site to purchase wine or cars ? > > I mean, restrictions apply only to materials to be used in the app or > to any kind of product? > > All the best > > Paolo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From mwieder at ahsoftware.net Tue Sep 6 20:55:26 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 6 Sep 2011 17:55:26 -0700 Subject: DataGrid and my headache In-Reply-To: References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> Message-ID: <70429633265.20110906175526@ahsoftware.net> Trevor- Tuesday, September 6, 2011, 7:29:26 AM, you wrote: > On Fri, Sep 2, 2011 at 8:40 PM, Mark Wieder wrote: >> >> The example is incomplete (aka "wrong"). Try the following... the >> inserted text is from the more complete example at >> > Actually the example is not incomplete. The code snippet is from this > lesson: Sorry, Trevor. I *did* work through the lesson before posting my response. The code in the lesson does *not* work the way it's listed. All it does is clear out the datagrid entries. And I just ran through the steps again to make sure I wasn't mistaken earlier. -- -Mark Wieder mwieder at ahsoftware.net From gandalf at doctorTimothyMiller.com Tue Sep 6 21:27:30 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 6 Sep 2011 18:27:30 -0700 Subject: Wherefore revPropertyPalette In-Reply-To: References: Message-ID: <3D514893-8492-42C6-8B1C-AD78ED8B2C7A@doctorTimothyMiller.com> "O Romeo, Romeo! wherefore art thou Romeo?" The 'wherefore' here means "why?" rather than "where?" What Juliet is asking, in allusion to the feud between her Capulet family and Romeo's Montague clan, is 'Romeo, why are you a Montague?'. Tim On Sep 6, 2011, at 1:23 PM, FlexibleLearning wrote: > The persistent mis-use of this word REALLY annoys me! > > 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) > 'where'. > > Back to your normal browsing. > > Hugh Senior > FLCo From peterwawood at gmail.com Tue Sep 6 22:59:04 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 7 Sep 2011 10:59:04 +0800 Subject: Syllable OS and Livecode ? In-Reply-To: <4E649CCE.1090401@gmail.com> References: <4E649CCE.1090401@gmail.com> Message-ID: <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> Richmond I suspect not, at least not it the short term. The Syllable Desktop OS is not a Linux distro but a whole new operating system. The Syllable Server OS is a Linux distro. I believe that it takes some effort to port a Linux application to the Syllable Desktop and would doubt that RunRev would see that as commercially worthwhile at this time. (That could of course change if Syllable were to dramatically increase in popularity). Regards Peter On 5 Sep 2011, at 17:56, Richmond Mathewson wrote: > Will it? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From eric.miclo at wanadoo.fr Wed Sep 7 00:31:00 2011 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 7 Sep 2011 06:31:00 +0200 Subject: LiveCode 4.6.4 In-Reply-To: References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> Message-ID: <354497FC-CC7A-4D3E-8948-4941ABF50F9C@wanadoo.fr> Hello Bob, I wouldn't have say anything on this list if it hasn't been public. Actually I found the release info on macupdate.com Best regards, ?rIC Miclo Le 6 sept. 2011 ? 21:24, Bob Sneidar a ?crit : > SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, this is not the forum for pre-release versions. Did you get an email telling you where to post beta issues? > > Bob > > > On Sep 6, 2011, at 10:25 AM, ?ric Miclo wrote: > >> Hello, >> >> Same application built under Mac OS X Lion 10.7.1: >> >> - launches and works when built with LiveCode 4.6.3 >> >> - crashes upon launch when built with LiveCode 4.6.4 >> >> In the Release notes: >> >> " ? Mac >> >> The Mac engine supports: >> >> ? 10.4.11 (Tiger) on Intel and PowerPC >> >> ? 10.5.8 and later (Leopard) on Intel and PowerPC >> >> ? 10.6.x (Snow Leopard) on Intel >> >> ? 10.7.x (Lion) on Intel (experimental) >> >> Note: The engine runs as a 32-bit application regardless of the capabilities of the underlying processor." >> >> It seems that the Mac engine under Lion is really experimental? >> >> >> Would be great if it was a way to use or not the experimental engine when building an application. >> >> >> My 2 cents, >> >> ?rIC >> >> >> -- My NeXT computer will Be a Mac too! -- >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- My NeXT computer will Be a Mac too! -- From lists at mangomultimedia.com Wed Sep 7 00:32:33 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 7 Sep 2011 00:32:33 -0400 Subject: DataGrid and my headache In-Reply-To: <70429633265.20110906175526@ahsoftware.net> References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> Message-ID: On Tue, Sep 6, 2011 at 8:55 PM, Mark Wieder wrote: > Sorry, Trevor. I *did* work through the lesson before posting my > response. The code in the lesson does *not* work the way it's listed. > All it does is clear out the datagrid entries. And I just ran through > the steps again to make sure I wasn't mistaken earlier. Odd. I just went through the lesson step-by-step for a third time and it worked just fine. The only change I made was to the name of the data grid in the code (as recommended by the instructions). Did you change the column names to "state" and "code"? -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com From richmondmathewson at gmail.com Wed Sep 7 01:53:59 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 07 Sep 2011 08:53:59 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: References: Message-ID: <4E6706F7.7020007@gmail.com> On 09/06/2011 11:23 PM, FlexibleLearning wrote: > The persistent mis-use of this word REALLY annoys me! > > 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) > 'where'. Indeed, a veritable excess of curmudgeonliness Mr Chips. > Back to your normal browsing. > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 7 01:56:38 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 07 Sep 2011 08:56:38 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: <4E6693FC.8050809@hyperactivesw.com> References: <56d7e.60cdfce8.3b9798ee@aol.com> <4E6646AC.4020106@fourthworld.com> <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E6668B2.8010208@gmail.com> <4E6693FC.8050809@hyperactivesw.com> Message-ID: <4E670796.4000108@gmail.com> On 09/07/2011 12:43 AM, J. Landman Gay wrote: > On 9/6/11 1:38 PM, Richmond Mathewson wrote: > >> back to "Application Browser" and there one can see, at the bottom of >> the list (ou, a fond [ excusez moi, sans accents ] as they say in >> France) "revPropertyPalette 1" created 'on-the-fly' >> as it-were, from some mysteriously hidden template . . . >> >> So, those who cannot find "revPropertyPalette" are being, at best, >> disingenuous . . . > > Not really. You only see IDE-related stacks if you have that option > turned on in prefs. The default is not to see them. > You are right; I have had the "see everything" option turned on since you, Mrs Gay, told me about it back at version 2.0 Beta. From richmondmathewson at gmail.com Wed Sep 7 01:58:32 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 07 Sep 2011 08:58:32 +0300 Subject: Wherefore revPropertyPalette In-Reply-To: <3D514893-8492-42C6-8B1C-AD78ED8B2C7A@doctorTimothyMiller.com> References: <3D514893-8492-42C6-8B1C-AD78ED8B2C7A@doctorTimothyMiller.com> Message-ID: <4E670808.2060102@gmail.com> On 09/07/2011 04:27 AM, Timothy Miller wrote: > "O Romeo, Romeo! wherefore art thou Romeo?" > > The 'wherefore' here means "why?" rather than "where?" > > What Juliet is asking, in allusion to the feud between her Capulet family and Romeo's Montague clan, is 'Romeo, why are you a Montague?'. Give me "Richard II" any day. Mind you, I've always fancied myself as Mercutio . . . :) > > Tim > > > On Sep 6, 2011, at 1:23 PM, FlexibleLearning wrote: > >> The persistent mis-use of this word REALLY annoys me! >> >> 'Wherefore' is 'Why' in modern parlance, and not (nor has ever been) >> 'where'. >> >> Back to your normal browsing. >> >> Hugh Senior >> FLCo > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 7 02:05:28 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 07 Sep 2011 09:05:28 +0300 Subject: Syllable OS and Livecode ? In-Reply-To: <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> References: <4E649CCE.1090401@gmail.com> <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> Message-ID: <4E6709A8.7050104@gmail.com> On 09/07/2011 05:59 AM, Peter W A Wood wrote: > Richmond > > I suspect not, at least not it the short term. The Syllable Desktop OS is not a Linux distro but a whole new operating system. The Syllable Server OS is a Linux distro. I believe that it takes some effort to port a Linux application to the Syllable Desktop and would doubt that RunRev would see that as commercially worthwhile at this time. (That could of course change if Syllable were to dramatically increase in popularity). > > Regards > > Peter > > Thank you. Syllable OS describes itself (err, slight anthropomorphism there) as a "hybrid system", 'how hybrid?' and 'how Linux compatible?' were the first 2 questions that popped into my mind. Trying to get Syllable OS installed in VM Box is a huge headache, and it will either have to be a case of a pre-installed VW thing or my Pentium 2 that has already been ravaged by FreeDOS and the late-lamented Damn Small Linux. The fact that Syllable OS comes with its own Web-Browser sent me signals, of course, that it wasn't a straight-forward Linux variant. However, a couple of reviews say that it is less 'standalone' than systems such as Haiku. I really admire the people who work on Haiku and Syllable OS; they look like Davids battling several Goliaths (in diminishing size); Microsoft, Linux and Apple. From gerry.orkin at gmail.com Wed Sep 7 02:10:33 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 7 Sep 2011 16:10:33 +1000 Subject: Blocking in iOS and libUrlDownloadToFile In-Reply-To: References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> Message-ID: <8F53729F-D7E0-4C02-9930-E6C06054E8CB@gmail.com> You have to prevent the user from interrupting the download - I do that by showing a transparent rect over the whole screen so they can't interact with the app until the download is done. I think by "blocking" they mean you can't request another download until this one is complete. Gerry On 07/09/2011, at 8:19 AM, debdoot das wrote: > In relation to blocking. > > This what the release notes say: > > libUrlDownloadToFile url, filename > > Unlike the libUrl command of the same name, this command will block until the download is complete, and will notify progress through the urlProgress message as described above. > > However I was able to click away in the middle of a download in the simulator resulting in a partially downloaded files. Can anyone please confirm whether this is the way it should be. > > Regards, > Debdoot > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jallijn at gmail.com Wed Sep 7 02:58:47 2011 From: jallijn at gmail.com (John Allijn) Date: Wed, 7 Sep 2011 08:58:47 +0200 Subject: Purchasing from an iOs App In-Reply-To: References: Message-ID: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> My two cents: The ebay app has "buy now" buttons and is highly succesfull.... Regards, John On Sep 7, 2011, at 2:45, Chipp Walters wrote: > My guess is NO, this does not apply. Nope, wait, the wind just changed, YES > it does apply, you cannot link in anyway to any website whatsoever. OOPS, my > bad, the coin flipped again, the answer is now NO, go ahead and try. If the > reviewer's name ends in 'ski' and the review day is Tuesday, chances are > you'll get passed. > > Really, that's about as good a response as any you'll get right now. > > On Tue, Sep 6, 2011 at 8:03 AM, paolo mazza wrote: > >> Referring to verse 11.13 of the holy "App Store Review Guidellines" >> (last edition) , "Apps that link to external mechanisms for purchases >> or subscriptions to be used in the app, such as a ?buy" button that >> goes to a web site to purchase a digital book, will be rejected" >> >> What about a "buy" button that goes to web site to purchase wine or cars ? >> >> I mean, restrictions apply only to materials to be used in the app or >> to any kind of product? >> >> All the best >> >> Paolo >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mazzapaoloitaly at gmail.com Wed Sep 7 03:51:17 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 7 Sep 2011 09:51:17 +0200 Subject: Purchasing from an iOs App In-Reply-To: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> Message-ID: So, according to the present rules of the AppStore, I can have an application with a list of wines and have a button opening a web page in Safari where people can buy the selected wine. (ie www.wineshop.it/store.php?name=mywine&bottles=12 ) . Right? Thanks a lot. Paolo From revlist at azurevision.co.uk Wed Sep 7 04:27:17 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 7 Sep 2011 09:27:17 +0100 Subject: Purchasing from an iOs App In-Reply-To: References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> Message-ID: As far as I'm aware there have never been any restrictions on buying non-digital content. In-app buying of content for the app itself (such as levels for games, books for Kindle or digital magazine issues/subscriptions etc.) is where the 30% kicks in. Ian On 7 Sep 2011, at 08:51, paolo mazza wrote: > So, according to the present rules of the AppStore, I can have an > application with a list of wines and have a button opening a web page > in Safari where people can buy the selected wine. > (ie www.wineshop.it/store.php?name=mywine&bottles=12 ) . > > Right? > > Thanks a lot. > > Paolo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mazzapaoloitaly at gmail.com Wed Sep 7 04:36:49 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Wed, 7 Sep 2011 10:36:49 +0200 Subject: Purchasing from an iOs App In-Reply-To: References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> Message-ID: What about selling pictures ? Are they considered digital content? Consider a photographer selling his pictures ( users will download files of high-resolution image). On Wed, Sep 7, 2011 at 10:27 AM, Ian Wood wrote: > As far as I'm aware there have never been any restrictions on buying non-digital content. In-app buying of content for the app itself (such as levels for games, books for Kindle or digital magazine issues/subscriptions etc.) is where the 30% kicks in. > > Ian > From revlist at azurevision.co.uk Wed Sep 7 05:39:26 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 7 Sep 2011 10:39:26 +0100 Subject: Purchasing from an iOs App In-Reply-To: References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> Message-ID: <60AE5FEC-7692-43A5-B135-1E2B136DFDF9@azurevision.co.uk> If you can purchase photos to view within the app then the 30% will kick in. Ian On 7 Sep 2011, at 09:36, paolo mazza wrote: > What about selling pictures ? Are they considered digital content? > Consider a photographer selling his pictures ( users will download > files of high-resolution image). > > > On Wed, Sep 7, 2011 at 10:27 AM, Ian Wood wrote: >> As far as I'm aware there have never been any restrictions on buying non-digital content. In-app buying of content for the app itself (such as levels for games, books for Kindle or digital magazine issues/subscriptions etc.) is where the 30% kicks in. >> >> Ian >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dev at digifilm.com Wed Sep 7 09:27:15 2011 From: dev at digifilm.com (debdoot das) Date: Wed, 7 Sep 2011 09:27:15 -0400 Subject: Blocking in iOS and libUrlDownloadToFile In-Reply-To: <8F53729F-D7E0-4C02-9930-E6C06054E8CB@gmail.com> References: <8CE3AD491F5A20E-35C4-3B584@webmail-m139.sysops.aol.com> <4E66677D.5030809@fourthworld.com> <932FE096-8EE4-4CBC-AC6E-3D1CFC9798F0@digifilm.com> <19F58658-FDFF-4398-BE40-4DA453BBB962@economy-x-talk.com> <8F53729F-D7E0-4C02-9930-E6C06054E8CB@gmail.com> Message-ID: <64FA1E78-C002-4774-ACF4-87DEC87B4783@digifilm.com> Thanks Gerry. I avoid taking away control from the user but have to it seems. On Sep 7, 2011, at 2:10 AM, Gerry Orkin wrote: > You have to prevent the user from interrupting the download - I do that by showing a transparent rect over the whole screen so they can't interact with the app until the download is done. I think by "blocking" they mean you can't request another download until this one is complete. > > Gerry > > On 07/09/2011, at 8:19 AM, debdoot das wrote: > >> In relation to blocking. >> >> This what the release notes say: >> >> libUrlDownloadToFile url, filename >> >> Unlike the libUrl command of the same name, this command will block until the download is complete, and will notify progress through the urlProgress message as described above. >> >> However I was able to click away in the middle of a download in the simulator resulting in a partially downloaded files. Can anyone please confirm whether this is the way it should be. >> >> Regards, >> Debdoot >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Wed Sep 7 09:42:11 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 7 Sep 2011 10:42:11 -0300 Subject: Syllable OS and Livecode ? In-Reply-To: <4E6709A8.7050104@gmail.com> References: <4E649CCE.1090401@gmail.com> <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> <4E6709A8.7050104@gmail.com> Message-ID: Folks, Talking as the resident OS junkie here. Syllable is a fork of old AtheOS. It a great little OS but its market share is even less than Haiku. A good thing for Syllable is that they carved a little cave for them in the REBOL community. Many Syllable project members are heavy REBOL coders so they have some influence there and if I remember correctly they have a FOSS REBOL clone named ORCA or BARON. It would be suicidal for RunRev to try to port LiveCode to Syllable. Even Syllable server has even less market share than Syllable proper. It is not a Linux system, it is a Linux kernel with another system around it (or this was the plan). There are some really fun OS projects out there that are not Unix based, specially Haiku which is growing at a wonderful pace but they are not viable platforms for LiveCode. One day, when Haiku reaches R1 and get really popular, there will be money to be made there but not before. Cheers andre On Wed, Sep 7, 2011 at 3:05 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 09/07/2011 05:59 AM, Peter W A Wood wrote: > >> Richmond >> >> I suspect not, at least not it the short term. The Syllable Desktop OS is >> not a Linux distro but a whole new operating system. The Syllable Server OS >> is a Linux distro. I believe that it takes some effort to port a Linux >> application to the Syllable Desktop and would doubt that RunRev would see >> that as commercially worthwhile at this time. (That could of course change >> if Syllable were to dramatically increase in popularity). >> >> Regards >> >> Peter >> >> >> > Thank you. > > Syllable OS describes itself (err, slight anthropomorphism there) as a > "hybrid system", > 'how hybrid?' and 'how Linux compatible?' were the first 2 questions that > popped into my > mind. > > Trying to get Syllable OS installed in VM Box is a huge headache, and it > will either have to > be a case of a pre-installed VW thing or my Pentium 2 that has already been > ravaged by FreeDOS and the late-lamented Damn Small Linux. > > The fact that Syllable OS comes with its own Web-Browser sent me signals, > of course, that it wasn't a straight-forward Linux variant. However, a > couple of reviews say that it is less > 'standalone' than systems such as Haiku. > > I really admire the people who work on Haiku and Syllable OS; they look > like Davids battling > several Goliaths (in diminishing size); Microsoft, Linux and Apple. > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Wed Sep 7 11:31:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Sep 2011 08:31:13 -0700 Subject: LiveCode 4.6.4 In-Reply-To: <354497FC-CC7A-4D3E-8948-4941ABF50F9C@wanadoo.fr> References: <39A3E461-FB29-4411-9660-20472EBE23D8@wanadoo.fr> <354497FC-CC7A-4D3E-8948-4941ABF50F9C@wanadoo.fr> Message-ID: Yes sorry. It was only a day before that someone else said it was not public yet, and then for some reason no one on the regular list got an email about it, which I usually do. Bob On Sep 6, 2011, at 9:31 PM, ?ric Miclo wrote: > Hello Bob, > > I wouldn't have say anything on this list if it hasn't been public. > Actually I found the release info on macupdate.com > > Best regards, > > ?rIC Miclo > > Le 6 sept. 2011 ? 21:24, Bob Sneidar a ?crit : > >> SSSHHH! We are not supposed to even KNOW there is a 4.6.4. But seriously, this is not the forum for pre-release versions. Did you get an email telling you where to post beta issues? >> >> Bob >> >> >> On Sep 6, 2011, at 10:25 AM, ?ric Miclo wrote: >> >>> Hello, >>> >>> Same application built under Mac OS X Lion 10.7.1: >>> >>> - launches and works when built with LiveCode 4.6.3 >>> >>> - crashes upon launch when built with LiveCode 4.6.4 >>> >>> In the Release notes: >>> >>> " ? Mac >>> >>> The Mac engine supports: >>> >>> ? 10.4.11 (Tiger) on Intel and PowerPC >>> >>> ? 10.5.8 and later (Leopard) on Intel and PowerPC >>> >>> ? 10.6.x (Snow Leopard) on Intel >>> >>> ? 10.7.x (Lion) on Intel (experimental) >>> >>> Note: The engine runs as a 32-bit application regardless of the capabilities of the underlying processor." >>> >>> It seems that the Mac engine under Lion is really experimental? >>> >>> >>> Would be great if it was a way to use or not the experimental engine when building an application. >>> >>> >>> My 2 cents, >>> >>> ?rIC >>> >>> >>> -- My NeXT computer will Be a Mac too! -- >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- My NeXT computer will Be a Mac too! -- > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Sep 7 11:38:10 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2011 08:38:10 -0700 Subject: DataGrid and my headache In-Reply-To: References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> Message-ID: <131482597312.20110907083810@ahsoftware.net> Trevor- Tuesday, September 6, 2011, 9:32:33 PM, you wrote: > Odd. I just went through the lesson step-by-step for a third time and it > worked just fine. The only change I made was to the name of the data grid in > the code (as recommended by the instructions). Did you change the column > names to "state" and "code"? Ah. No, I didn't. Is it necessary to name them "state" and "code" for this to work? That's already in the first line of the text, so it seems like a redundant step. I did make sure the columns were properly created and work properly with the extra code added. Do the column names "Col 1" and "Col 2" have superpowers? -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Wed Sep 7 11:38:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Sep 2011 08:38:32 -0700 Subject: Syllable OS and Livecode ? In-Reply-To: <4E6709A8.7050104@gmail.com> References: <4E649CCE.1090401@gmail.com> <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> <4E6709A8.7050104@gmail.com> Message-ID: <353BFA12-FD42-48F8-A5C7-122A177A150B@twft.com> More like ants shaking their fists at the construction foreman as he builds a house right on top of their perfectly good anthill. Mind you, I have nothing against anthills, it's just that ants can live in houses too, and everybody wins. :-).... Well maybe not so happy and ending but it's all I could come up with in short notice. Bob On Sep 6, 2011, at 11:05 PM, Richmond Mathewson wrote: > I really admire the people who work on Haiku and Syllable OS; they look like Davids battling > several Goliaths (in diminishing size); Microsoft, Linux and Apple. From bobs at twft.com Wed Sep 7 12:16:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 7 Sep 2011 09:16:49 -0700 Subject: DataGrid and my headache In-Reply-To: <131482597312.20110907083810@ahsoftware.net> References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> <131482597312.20110907083810@ahsoftware.net> Message-ID: I made the same mistake at first. There are column LABELS and column NAMES. They can be different, and it can be a gotcha. It's the column NAMES that are important. It's actually a good thing, as I discovered I could use an array from sqlYoga by calling sqlquery_retrieveAsArray, and then set the datagrid data using set the dgData of group "myDataGrid1" to that array. Any datagrid columns named the same as the sql columns will display the data, but NOT discard the "invisible" data. That remains intact and accessible using the dgDataOfIndex[indexnum] making the datagrid array a kind of sql temporary storage. Now I can reference the unique key which is invisible to the user when I want to update my sql table, along with any other data from the table. In one project I have a datagrid that is a part of a repeating background on several cards that act as forms for various sql tables. In my opencard handler, I get a property of the card containing the sql column names I want to display along with widths and column labels. I set the 3 properties of the datagrid called dgProp["columns"], dgProp["widths"] and dgprop["labels"] from that saved property data, I get the sql data as an array, and I set the dgData of the datagrid to that. I now have a method that will work with any sql table now using the same code in any of my future projects. If you intend to do a lot of work with datagrids, I would get used to using the array functions as opposed to the text functions as soon as possible. Parsing the text with all the repeat loops and what have you turns out to be much more troublesome in the long run. Bob On Sep 7, 2011, at 8:38 AM, Mark Wieder wrote: > Trevor- > > Tuesday, September 6, 2011, 9:32:33 PM, you wrote: > >> Odd. I just went through the lesson step-by-step for a third time and it >> worked just fine. The only change I made was to the name of the data grid in >> the code (as recommended by the instructions). Did you change the column >> names to "state" and "code"? > > Ah. No, I didn't. Is it necessary to name them "state" and "code" for > this to work? That's already in the first line of the text, so it > seems like a redundant step. I did make sure the columns were properly > created and work properly with the extra code added. Do the column > names "Col 1" and "Col 2" have superpowers? > > -- > -Mark Wieder > mwieder at ahsoftware.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 m.schonewille at economy-x-talk.com Wed Sep 7 12:44:56 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Sep 2011 18:44:56 +0200 Subject: scrollerDidScroll Message-ID: <09C7431B-C7F7-42BC-9F5F-F650F4246D8A@economy-x-talk.com> Hi, When a scroll view is scrolled, it sends the message scrollerDidScroll. All scroll views send the same message scrollerDidScroll. If I have two or three scroll views on my card, how can I find out which scroll view sent the message? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch From bill at bluewatermaritime.com Wed Sep 7 13:21:04 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 7 Sep 2011 13:21:04 -0400 Subject: full-screen compatible for lion mac os In-Reply-To: <854C9877-AAB6-4E6F-B378-AEDBF89B9CA6@mac.com> References: <854C9877-AAB6-4E6F-B378-AEDBF89B9CA6@mac.com> Message-ID: Thanks. I guess I will just wait until the mothership finds this important. Right now they seem to be concentrating on IOS and google phones. On Mon, Sep 5, 2011 at 11:14 AM, Bill Vlahos wrote: > You could mimic it but t wouldn't really behave the same. > > For example, I just added floating window Login Assistant "system window" > to InfoWallet. This is a tiny window that floats above all other application > windows. However, even that window hides if the user is in full scree mode > on Lion. This was a surprise to me but actually makes sense as the full > screen feature really wants to remove any other distractions. > > I can't see how a current LC app could do this as well as the other > behaviors in full screen mode in Lion until LC comes out with that as a > specific feature. You could get close to mimicking the essentials (hide > menus, full screen window, etc.) but it would still be different in at least > some behaviors. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On Sep 4, 2011, at 2:47 PM, william humphrey wrote: > > > *How to make* all *apps fullscreen* compatible. - SIMBL and > > Maximizer.bundle > > > > Has anyone made a demo stack which can be made into a stand-alone that > has > > the OS lion switch for full-screen compatible? Is this possible in > livecode > > now? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From m.schonewille at economy-x-talk.com Wed Sep 7 13:36:31 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Sep 2011 19:36:31 +0200 Subject: scrollerDidScroll In-Reply-To: <09C7431B-C7F7-42BC-9F5F-F650F4246D8A@economy-x-talk.com> References: <09C7431B-C7F7-42BC-9F5F-F650F4246D8A@economy-x-talk.com> Message-ID: Hi I'm doing some more tests. I might be doing something wrong, but it would be useful if someone could confirm that it is possible to create more than one scroll view at a time in iOS? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 7 sep 2011, at 18:44, Mark Schonewille wrote: > Hi, > > When a scroll view is scrolled, it sends the message scrollerDidScroll. All scroll views send the same message scrollerDidScroll. If I have two or three scroll views on my card, how can I find out which scroll view sent the message? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch From pete at mollysrevenge.com Wed Sep 7 13:58:26 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 7 Sep 2011 10:58:26 -0700 Subject: DataGrid and my headache In-Reply-To: <131482597312.20110907083810@ahsoftware.net> References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> <131482597312.20110907083810@ahsoftware.net> Message-ID: Hi Mark, I think the issue is that "Col 1", "Col 2", etc are just the default names assigned when you create a new column, nothing special about them. When you *set *the dgText [ firstLineContainsColumnNames ], the datagrid expects the column names to be in the first line of data, so since you didn't rename the columns, it can't find them. If you had "Col 1", and "Col 2" in the first line of data, all would have worked. Alternatively, you can just set the dgText without the [firstLineContainsColumnNames ], omit the column names from the first line and the datagrid puts the data into the columns from left to right, so the first tab delimited item goes into the first column, the second item goes into into column 2, etc. Doesn't matter about column names that way. I prefer to use that method so if I change a column name for some reason, I don't have to go back and change my set dgText statements. The only problem with that method is that if you supply more items in a line of data than there are columns, the datagrid will add extra columns to hold the excess data. Pete Molly's Revenge On Wed, Sep 7, 2011 at 8:38 AM, Mark Wieder wrote: > Trevor- > > Tuesday, September 6, 2011, 9:32:33 PM, you wrote: > > > Odd. I just went through the lesson step-by-step for a third time and it > > worked just fine. The only change I made was to the name of the data grid > in > > the code (as recommended by the instructions). Did you change the column > > names to "state" and "code"? > > Ah. No, I didn't. Is it necessary to name them "state" and "code" for > this to work? That's already in the first line of the text, so it > seems like a redundant step. I did make sure the columns were properly > created and work properly with the extra code added. Do the column > names "Col 1" and "Col 2" have superpowers? > > -- > -Mark Wieder > mwieder at ahsoftware.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 niggemann at uni-wh.de Wed Sep 7 14:52:36 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 7 Sep 2011 11:52:36 -0700 (PDT) Subject: scrollerDidScroll In-Reply-To: References: <09C7431B-C7F7-42BC-9F5F-F650F4246D8A@economy-x-talk.com> Message-ID: <1315421556968-3796940.post@n4.nabble.com> Hi Mark, I got 2 scrollers to work on one card. It worked very well. One was vertically and one was a horizontally. To find out who has send the message use the iphoneControlTarget() function try something like this: on scrollerDidScroll pOffsetX, pOffsetY lock screen local tWhoCalled put iphoneControlTarget() into tWhoCalled if tWhoCalled is sScrollerID then --set the hScroll of group "BigGroup" to pOffsetX set the vScroll of group "BigGroup" to pOffsetY end if if tWhoCalled is sScrolleridT then set the hScroll of group "ThumbsGroup" to pOffsetX --set the vScroll of group "ThumbsGroup" to pOffsetY end if unlock screen --put pOffsetX, pOffsetY into field "Offsets" end scrollerDidScroll Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrollerDidScroll-tp3796617p3796940.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikekann at yahoo.com Wed Sep 7 16:51:46 2011 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 7 Sep 2011 13:51:46 -0700 (PDT) Subject: Plug-ins for browsers In-Reply-To: <1315421556968-3796940.post@n4.nabble.com> Message-ID: <1315428706.9811.YahooMailClassic@web161608.mail.bf1.yahoo.com> The realbasic web edition doesn't seem to need a plug-in, but the LiveCode edition does. Why is that? http://demos.realsoftware.com/cgi-bin/orders/orders.cgi#10198 From m.schonewille at economy-x-talk.com Wed Sep 7 16:58:44 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Sep 2011 22:58:44 +0200 Subject: Plug-ins for browsers In-Reply-To: <1315428706.9811.YahooMailClassic@web161608.mail.bf1.yahoo.com> References: <1315428706.9811.YahooMailClassic@web161608.mail.bf1.yahoo.com> Message-ID: Hi Michael, Because RealStudio uses HTML5 and LiveCode doesn't. HyperStudio will be doing the same as RealStudio http://qery.us/zf . I really hope that LiveCode will forget about the plugin and will develop an LC2HTML5 translator. That would allow me to create (web) apps and mobile apps for many different platforms. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 7 sep 2011, at 22:51, Michael Kann wrote: > The realbasic web edition doesn't seem to need a plug-in, but the LiveCode edition does. Why is that? > > http://demos.realsoftware.com/cgi-bin/orders/orders.cgi#10198 > From m.schonewille at economy-x-talk.com Wed Sep 7 17:17:23 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 7 Sep 2011 23:17:23 +0200 Subject: scrollerDidScroll In-Reply-To: <1315421556968-3796940.post@n4.nabble.com> References: <09C7431B-C7F7-42BC-9F5F-F650F4246D8A@economy-x-talk.com> <1315421556968-3796940.post@n4.nabble.com> Message-ID: <9CAEFA69-9D2D-4778-9ECC-9C88E5719269@economy-x-talk.com> Thank you, Bernd. You saved me a lot of time and made me look at the docs and my code just one more time :-) It works now. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 7 sep 2011, at 20:52, BNig wrote: > Hi Mark, > > I got 2 scrollers to work on one card. It worked very well. One was > vertically and one was a horizontally. > > To find out who has send the message use the iphoneControlTarget() function > > try something like this: > > on scrollerDidScroll pOffsetX, pOffsetY > lock screen > local tWhoCalled > put iphoneControlTarget() into tWhoCalled > if tWhoCalled is sScrollerID then > --set the hScroll of group "BigGroup" to pOffsetX > set the vScroll of group "BigGroup" to pOffsetY > end if > > if tWhoCalled is sScrolleridT then > set the hScroll of group "ThumbsGroup" to pOffsetX > --set the vScroll of group "ThumbsGroup" to pOffsetY > end if > unlock screen > > --put pOffsetX, pOffsetY into field "Offsets" > end scrollerDidScroll > > Kind regards > > Bernd From matthias_livecode_150811 at m-r-d.de Wed Sep 7 18:23:53 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 8 Sep 2011 00:23:53 +0200 Subject: how to bitwise negate a binary file? Message-ID: <6C9FCAD0-47A5-4E62-8D72-E06D874613A6@m-r-d.de> Hi, i have here some binary files, which were negated bitwise. How can i "convert" them back? Is there a livecode function i can use? Or do i have to convert the binary file to hex, convert each byte to decimal, convert each "decimal"byte value with "bitNot", reconvert to hex and then convert to binary again? Any ideas? Regards, Matthias From palcibiades-first at yahoo.co.uk Wed Sep 7 21:04:41 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 8 Sep 2011 02:04:41 +0100 Subject: audio guide app in livecode? Message-ID: <201109080204.41251.palcibiades-first@yahoo.co.uk> Anyone know of an audioguide app in livecode? The kind of thing you get in some museums now. where you walk around entering a number and it plays you a more or less interesting audio clip about the exhibit you are looking at. Peter From mikekann at yahoo.com Wed Sep 7 21:42:54 2011 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 7 Sep 2011 18:42:54 -0700 (PDT) Subject: how to bitwise negate a binary file? In-Reply-To: <6C9FCAD0-47A5-4E62-8D72-E06D874613A6@m-r-d.de> Message-ID: <1315446174.86518.YahooMailClassic@web161620.mail.bf1.yahoo.com> repeat for each char c in negated_binary_file put charToNum(c) into x put numToChar(255-x) after fixed_binary_file end repeat --- On Wed, 9/7/11, Matthias Rebbe wrote: From: Matthias Rebbe Subject: how to bitwise negate a binary file? To: "How to use LiveCode" Date: Wednesday, September 7, 2011, 5:23 PM Hi, i have here some binary files, which were negated bitwise. How can i "convert" them back? Is there a livecode function i can use? Or do i have to convert the binary file to hex, convert each byte to decimal, convert each "decimal"byte value? with "bitNot", reconvert to hex and then convert to binary again? Any ideas? Regards, Matthias _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Wed Sep 7 22:00:55 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 07 Sep 2011 21:00:55 -0500 Subject: audio guide app in =?UTF-8?Q?livecode=3F?= In-Reply-To: <201109080204.41251.palcibiades-first@yahoo.co.uk> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> Message-ID: <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> That should not be very hard to program. Of course, it does depend on the final deployment format. Mike On Thu, 8 Sep 2011 02:04:41 +0100, Peter Alcibiades wrote: > Anyone know of an audioguide app in livecode? The kind of thing you get in > some museums now. where you walk around entering a number and it plays you > a more or less interesting audio clip about the exhibit you are looking at. > > Peter > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Sep 7 22:03:38 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 7 Sep 2011 19:03:38 -0700 Subject: audio guide app in livecode? In-Reply-To: <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> Message-ID: THe programming is the fun part. Getting the right recording to trigger is the hard part. Something that uses the sensory stuff in the phone, can't depend on users to sort it out. On 7 September 2011 19:00, Admin wrote: > > > That should not be very hard to program. Of course, it does depend > on the final deployment format. > > Mike > > On Thu, 8 Sep 2011 02:04:41 > +0100, Peter Alcibiades wrote: > > > Anyone know of an audioguide app in > livecode? The kind of thing you get in > > some museums now. where you > walk around entering a number and it plays you > > a more or less > interesting audio clip about the exhibit you are looking at. > > > > > Peter > > > > _______________________________________________ > > > use-livecode mailing list > > use-livecode at lists.runrev.com [1] > > Please > visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > [2] > > > > Links: > ------ > [1] mailto:use-livecode at lists.runrev.com > [2] > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From chipp at chipp.com Thu Sep 8 00:05:47 2011 From: chipp at chipp.com (Chipp Walters) Date: Wed, 7 Sep 2011 23:05:47 -0500 Subject: Purchasing from an iOs App In-Reply-To: <60AE5FEC-7692-43A5-B135-1E2B136DFDF9@azurevision.co.uk> References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> <60AE5FEC-7692-43A5-B135-1E2B136DFDF9@azurevision.co.uk> Message-ID: Below is reprinted from elsewhere by a LC developer trying to get his app approved. Ian's expertise on the subject notwithstanding, the empirical data below may suggest no URLs of any kind, linkable or not, may not be allowed. On Tuesday, August 23, 2011, Peter Hermsen wrote: > I'm still fighting through getting my first app approved for Apple's App > > Store. I figured I'd share my experiences to help others avoid the app police. > > Background: > > I put together a free app that is an adjunct to a client's website. As such, the app wouldn't do any good without first creating an account on the website. For that reason, I provided a URL where the user could tap to open Safari and sign up for the service. > > The app was designed to allow users to log and view status of personal microloans. It would not manage any cash or credit transactions from within the application. > > Rejection #1: > 11.13 Apps that link to external mechanisms for purchases or subscriptions to be used in the app, such as a ?buy" button that goes to a web site to purchase a digital book, will be rejected > > There weren't any links to purchases or subscriptions. However, because the app was used to view monetary account information, it was rejected because it was assumed to contain payment links. I resubmitted the app with a better explanation of how it worked and that no payments could possibly be made from within the app. > > Rejection #2: > > Received a phone call from the review committee. They said that they were ok with the first part and that they would let it slide. But, since the info button in the app mentioned that in order for it to work, the user needed an account on the web site, and that I provided the link to sign up, it was disallowed because "Apps can't provide a link to an external website to solicit or facilitate enrolling in services. This was due to Apple wanting users to be directed to the iTunes store from apps, and not to external sites." > > OK. I bit the bullet and removed the offending reference to the fact that users had to sign up first. I also removed the link to the website. I also modified the info button so that it no longer navigated to a reference card where links could possibly reside. I also removed that card from the stack, so that there would be no references to what could be construed as a link. Instead, I had the info button pop a dialog box describing the purpose of the app and then put in a statement like "For additional information, please go to http://www.website.com". Mind you, it was in a dialog box and could not possibly be clicked to navigate you away from the app. It was merely informational - in case the user had questions or needed tech support. I resubmitted the gutted version of the app. > > Rejection #3: > 11.13 Apps that link to external mechanisms for purchases or subscriptions to be used in the app, such as a ?buy" button that goes to a web site to purchase a digital book, will be rejected > > Really? There were NO links anywhere within the app to allow any purchases of any type. The reviewer noted that the info screen had a URL in it that could be referenced by a user to do something on the web that Apple disagreed with. So, I changed the wording in the info box to the following: "If you have questions about this app, please refer to the support URL on the iTunes download page." and resubmitted it. I'm currently waiting for approval. If they reject it again, only Android users will get to use the app. > > -------- > > So now I wait. To say that Apple is picky about what can be in apps in their store is the understatement of the century. When you plan on submitting anything for the App Store, make sure it's squeaky clean and doesn't contain even a hint of financial connection or links to anything outside the hallowed walls of Appledom. Then, maybe then, the gods will smile upon you and accept your app. > > Good luck! > > Pete > > ****UPDATE**** > The App Store reviewers accepted the new version of the app. paybaQ Mobile is now online and available in the App Store. Rule of thumb: If it looks like a URL is visible from anywhere in the app, you're better off to remove it prior to submission. I haven't been able to ascertain just what they will let through yet, but there's a much greater likelihood that an app with no visible URLs will get through. I think I'll wait with the next version of the app until the date picker is ready for LC on iOS. > > _______________________________________________ > -- Chipp Walters CEO, Shafer Walters Group, Inc. From mwieder at ahsoftware.net Thu Sep 8 00:40:50 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2011 21:40:50 -0700 Subject: DataGrid and my headache In-Reply-To: References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> <131482597312.20110907083810@ahsoftware.net> Message-ID: <197529556859.20110907214050@ahsoftware.net> Pete- Wednesday, September 7, 2011, 10:58:26 AM, you wrote: > Hi Mark, > I think the issue is that "Col 1", "Col 2", etc are just the default names > assigned when you create a new column, nothing special about them. When > you *set *the dgText [ firstLineContainsColumnNames ], the datagrid expects > the column names to be in the first line of data, so since you didn't rename > the columns, it can't find them. If you had "Col 1", and "Col 2" in the > first line of data, all would have worked. OK - got it. Setting the dgText doesn't apply names to columns, even if firstLineContainsColumnNames is true. It *matches* the names in the first line to already-existing names in the header and puts the data into the matching column, if it exists. That makes some sense, and even offers a lot of flexibility. But it certainly isn't intuitive, and there's no way I could have gotten that from the lessons online. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Sep 8 00:45:01 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 7 Sep 2011 21:45:01 -0700 Subject: DataGrid and my headache In-Reply-To: References: <1314992957052-3786924.post@n4.nabble.com> <18683124093.20110902174017@ahsoftware.net> <70429633265.20110906175526@ahsoftware.net> <131482597312.20110907083810@ahsoftware.net> Message-ID: <151529808390.20110907214501@ahsoftware.net> Bob- Wednesday, September 7, 2011, 9:16:49 AM, you wrote: > If you intend to do a lot of work with datagrids, I would get > used to using the array functions as opposed to the text functions > as soon as possible. Parsing the text with all the repeat loops and > what have you turns out to be much more troublesome in the long run. Yeah, that's what I do, I was just following up on the lesson to see about getting the OP started. The PowerTools widgets display is a datagrid with thumbnail snapshots, openable folders, and drag'n'drop operations. It would be a nightmare trying to do all that without multidimensional arrays behind the datagrid. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Sep 8 00:45:43 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 07 Sep 2011 21:45:43 -0700 Subject: Purchasing from an iOs App In-Reply-To: Message-ID: Recently, Chipp Walters quoted: > Rule of thumb: If it > looks like a URL is visible from anywhere in the app, you're better off to > remove it prior to submission. I haven't been able to ascertain just what > they will let through yet, but there's a much greater likelihood that an app > with no visible URLs will get through. I think I'll wait with the next > version of the app until the date picker is ready for LC on iOS. FWIW, I have a LiveCode app in the store with 2 overt links in it, and it was accepted first try. I imagine the connection to something financial may have lingered in the OP's review notes and the Apple review monkeys continued to over-scrutinize the app. Or maybe the wind was blowing West that day and there was a 3/4 moon. Who knows what the real reason was. While I agree with your sentiment Chipp (it's a crapshoot), I'm not convinced the simple presence of links will be immediate grounds for rejection. If you include links in your app to cheese manufacturers, however, you're on your own. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu Sep 8 01:33:48 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 7 Sep 2011 22:33:48 -0700 Subject: Purchasing from an iOs App In-Reply-To: References: <2C58EA63-AD69-49E4-91A0-8A6D15D1F43E@gmail.com> <60AE5FEC-7692-43A5-B135-1E2B136DFDF9@azurevision.co.uk> Message-ID: That's an appalling experience. Sorry, but with or without Steve Jobs, that is ridiculous and reinforces why I will never buy an iPhone or an iPad. Pete Molly's Revenge On Wed, Sep 7, 2011 at 9:05 PM, Chipp Walters wrote: > Below is reprinted from elsewhere by a LC developer trying to get his app > approved. Ian's expertise on the subject notwithstanding, the empirical > data > below may suggest no URLs of any kind, linkable or not, may not be allowed. > > On Tuesday, August 23, 2011, Peter Hermsen wrote: > > I'm still fighting through getting my first app approved for Apple's App > > > > Store. I figured I'd share my experiences to help others avoid the app > police. > > > > Background: > > > > I put together a free app that is an adjunct to a client's website. As > such, the app wouldn't do any good without first creating an account on the > website. For that reason, I provided a URL where the user could tap to open > Safari and sign up for the service. > > > > The app was designed to allow users to log and view status of personal > microloans. It would not manage any cash or credit transactions from within > the application. > > > > Rejection #1: > > 11.13 Apps that link to external mechanisms for purchases or > subscriptions > to be used in the app, such as a ?buy" button that goes to a web site to > purchase a digital book, will be rejected > > > > There weren't any links to purchases or subscriptions. However, because > the app was used to view monetary account information, it was rejected > because it was assumed to contain payment links. I resubmitted the app with > a better explanation of how it worked and that no payments could possibly > be > made from within the app. > > > > Rejection #2: > > > > Received a phone call from the review committee. They said that they were > ok with the first part and that they would let it slide. But, since the > info > button in the app mentioned that in order for it to work, the user needed > an > account on the web site, and that I provided the link to sign up, it was > disallowed because "Apps can't provide a link to an external website to > solicit or facilitate enrolling in services. This was due to Apple wanting > users to be directed to the iTunes store from apps, and not to external > sites." > > > > OK. I bit the bullet and removed the offending reference to the fact that > users had to sign up first. I also removed the link to the website. I also > modified the info button so that it no longer navigated to a reference card > where links could possibly reside. I also removed that card from the stack, > so that there would be no references to what could be construed as a link. > Instead, I had the info button pop a dialog box describing the purpose of > the app and then put in a statement like "For additional information, > please > go to http://www.website.com". Mind you, it was in a dialog box and could > not possibly be clicked to navigate you away from the app. It was merely > informational - in case the user had questions or needed tech support. I > resubmitted the gutted version of the app. > > > > Rejection #3: > > 11.13 Apps that link to external mechanisms for purchases or > subscriptions > to be used in the app, such as a ?buy" button that goes to a web site to > purchase a digital book, will be rejected > > > > Really? There were NO links anywhere within the app to allow any > purchases > of any type. The reviewer noted that the info screen had a URL in it that > could be referenced by a user to do something on the web that Apple > disagreed with. So, I changed the wording in the info box to the following: > "If you have questions about this app, please refer to the support URL on > the iTunes download page." and resubmitted it. I'm currently waiting for > approval. If they reject it again, only Android users will get to use the > app. > > > > -------- > > > > So now I wait. To say that Apple is picky about what can be in apps in > their store is the understatement of the century. When you plan on > submitting anything for the App Store, make sure it's squeaky clean and > doesn't contain even a hint of financial connection or links to anything > outside the hallowed walls of Appledom. Then, maybe then, the gods will > smile upon you and accept your app. > > > > Good luck! > > > > Pete > > > > ****UPDATE**** > > The App Store reviewers accepted the new version of the app. paybaQ > Mobile is now online and available in the App Store. Rule of thumb: If it > looks like a URL is visible from anywhere in the app, you're better off to > remove it prior to submission. I haven't been able to ascertain just what > they will let through yet, but there's a much greater likelihood that an > app > with no visible URLs will get through. I think I'll wait with the next > version of the app until the date picker is ready for LC on iOS. > > > > _______________________________________________ > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From matthias_livecode_150811 at m-r-d.de Thu Sep 8 04:15:38 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 8 Sep 2011 10:15:38 +0200 Subject: how to bitwise negate a binary file? In-Reply-To: <1315446174.86518.YahooMailClassic@web161620.mail.bf1.yahoo.com> References: <1315446174.86518.YahooMailClassic@web161620.mail.bf1.yahoo.com> Message-ID: <72B80CB9-90B7-43F7-816D-8229D589640B@m-r-d.de> Michael, thanks for your solution. Can?t believe that it is so easy to do that manipulation. I thought char cannot be used with binary files, but it can. Thanks again. Regards, Matthias Am 08.09.2011 um 03:42 schrieb Michael Kann: > repeat for each char c in negated_binary_file > put charToNum(c) into x > put numToChar(255-x) after fixed_binary_file > end repeat > > --- On Wed, 9/7/11, Matthias Rebbe wrote: > > From: Matthias Rebbe > Subject: how to bitwise negate a binary file? > To: "How to use LiveCode" > Date: Wednesday, September 7, 2011, 5:23 PM > > Hi, > > i have here some binary files, which were negated bitwise. How can i "convert" them back? > Is there a livecode function i can use? > > Or do i have to > convert the binary file to hex, > convert each byte to decimal, > convert each "decimal"byte value with "bitNot", > reconvert to hex and then convert to binary again? > > Any ideas? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Sep 8 04:48:58 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Sep 2011 10:48:58 +0200 Subject: LiveCode.tv Event #37 Message-ID: <53A61A7D-7EC4-4768-BED9-62A9C615061A@economy-x-talk.com> Dear LiveCoders, Last Saturday, 9 July, we had another nice on-line gathering of LiveCode fans. This time we had 2 great presentations by Colin and Mike. Colin gave an introduction to Unity 3D. Videos shown during his presentation can be found at http://qery.us/yr and you can also try the final 3D scene by by going to http://qery.us/ys and installing the Unity plugin. You can watch Colin's video here: http://www.ustream.tv/channel/lc-demos Mike continued the event talking about Franklin 3D. He showed how to use LiveCode to import assets into Franklin 3D. You can download Mike's presentation here: http://qery.us/zh The European HyperCard User Group (eHUG, http://www.ehug.info) raffled off an e-book courtesy of TidBITS. The e-book was won by Bernd. You can find more info on the TC series at http://www.takecontrolbooks.com. If you would like to tell about your work with LiveCode, now or later, please head over to http://qery.us/u0 for ideas and contact Mark or Bj?rnke. At http://qery.us/du you can find a web form that makes it really easy to contact us. I hope to see you all at the event next time. We will be making announcements on this mailing list, on the LiveCode forum and at http://livecode.tv where you can (soon) find a copy of this text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch From lists.runrev.com at ohrt.org Thu Sep 8 06:52:53 2011 From: lists.runrev.com at ohrt.org (Julian Ohrt) Date: Thu, 08 Sep 2011 12:52:53 +0200 Subject: How does compiling work? Message-ID: <4E689E85.10402@ohrt.org> Hi! Is there any documentation how compiling of livecode works internally? Is it a compiler which can produce native code (for Windows, Linux, etc.)? Are the scripts packaged within the executable together with an interpreter and interpreted at run time? Or is it more like a virtual machine approach? Could anyone point me to the corresponding references? Pressing a button is nice but I'd like to understand what happens behind the scenes. Thanks, Julian From m.schonewille at economy-x-talk.com Thu Sep 8 06:56:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Sep 2011 12:56:39 +0200 Subject: How does compiling work? In-Reply-To: <4E689E85.10402@ohrt.org> References: <4E689E85.10402@ohrt.org> Message-ID: <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> Hi Julian, It would really help if you told us why you need to know. A LiveCode stack is packaged with the executable and is compiled, rather than interpreted, at runtime. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 8 sep 2011, at 12:52, Julian Ohrt wrote: > Hi! > > Is there any documentation how compiling of livecode works internally? > Is it a compiler which can produce native code (for Windows, Linux, etc.)? Are the scripts packaged within the executable together with an interpreter and interpreted at run time? Or is it more like a virtual machine approach? > > Could anyone point me to the corresponding references? Pressing a button is nice but I'd like to understand what happens behind the scenes. > > Thanks, > Julian From lists.runrev.com at ohrt.org Thu Sep 8 07:13:17 2011 From: lists.runrev.com at ohrt.org (Julian Ohrt) Date: Thu, 08 Sep 2011 13:13:17 +0200 Subject: How does compiling work? In-Reply-To: <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> References: <4E689E85.10402@ohrt.org> <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> Message-ID: <4E68A34D.9090108@ohrt.org> Hi Mark, thanks for your reply. I am doing research about multi- and cross-plattform development tools at university. I am trying to summarize their way of working and concepts, in order to be able to categorize them (and maybe even to compare different tools). If there is any more information you could provide I really would appreciated it. Thanks, Julian On 08.09.2011 12:56, Mark Schonewille wrote: > Hi Julian, > > It would really help if you told us why you need to know. > > A LiveCode stack is packaged with the executable and is compiled, rather than interpreted, at runtime. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like https://www.facebook.com/marksch > > On 8 sep 2011, at 12:52, Julian Ohrt wrote: > >> Hi! >> >> Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, etc.)? Are the scripts packaged within the executable together with an interpreter and interpreted at run time? Or is it more like a virtual machine approach? >> >> Could anyone point me to the corresponding references? Pressing a button is nice but I'd like to understand what happens behind the scenes. >> >> Thanks, >> Julian > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Thu Sep 8 07:36:11 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 8 Sep 2011 13:36:11 +0200 Subject: First App not to be found on searching in the iOS store! Message-ID: Hi there, Since yesterday I have my first iPad app in the Appstore. When using iTunes on my Mac I can simply find my app by using the searchbar. On my iPhone however the app is not found :-(. Did I miss something on iTunesConnect? On the keywords there I entered the Apps name. I cannot edit the keywords. An another strange thing: in iTunes I also see that the main language is set to English in stead of Dutch or is this normal? greetings, William From m.schonewille at economy-x-talk.com Thu Sep 8 07:46:32 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Sep 2011 13:46:32 +0200 Subject: First App not to be found on searching in the iOS store! In-Reply-To: References: Message-ID: Hi William, Give it a few days. The English.lproj folder is in your standalone, which makes all LiveCode apps English. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 8 sep 2011, at 13:36, William de Smet wrote: > Hi there, > > Since yesterday I have my first iPad app in the Appstore. > When using iTunes on my Mac I can simply find my app by using the searchbar. > On my iPhone however the app is not found :-(. > > Did I miss something on iTunesConnect? On the keywords there I entered the > Apps name. I cannot edit the keywords. > > An another strange thing: in iTunes I also see that the main language is set > to English in stead of Dutch or is this normal? > > > greetings, > > William From m.schonewille at economy-x-talk.com Thu Sep 8 07:51:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 8 Sep 2011 13:51:02 +0200 Subject: How does compiling work? In-Reply-To: <4E68A34D.9090108@ohrt.org> References: <4E689E85.10402@ohrt.org> <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> <4E68A34D.9090108@ohrt.org> Message-ID: <819AE6BC-7029-4DD8-87E1-135B6BD798C2@economy-x-talk.com> Hi Julian, Have you asked this question before? `I think I have read exactly the same question earlier. The ONLY people who can provide you with all the information about this are those at RunRev. I have no clue of what you really want to know. You always seem to ask "do you have more info". If you want answers, you'll have to ask specific questions, but keep your e-mails brief. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Send me a friend request on Facebook if you like https://www.facebook.com/marksch On 8 sep 2011, at 13:13, Julian Ohrt wrote: > Hi Mark, > > thanks for your reply. I am doing research about multi- and cross-plattform development tools at university. I am trying to summarize their way of working and concepts, in order to be able to categorize them (and maybe even to compare different tools). > > If there is any more information you could provide I really would appreciated it. > > Thanks, > Julian > From williamdesmet at gmail.com Thu Sep 8 07:59:30 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 8 Sep 2011 13:59:30 +0200 Subject: First App not to be found on searching in the iOS store! In-Reply-To: References: Message-ID: Hi Mark, Thanks as allways :-) groeten, William 2011/9/8 Mark Schonewille > Hi William, > > Give it a few days. > > The English.lproj folder is in your standalone, which makes all LiveCode > apps English. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Send me a friend request on Facebook if you like > https://www.facebook.com/marksch > > On 8 sep 2011, at 13:36, William de Smet wrote: > > > Hi there, > > > > Since yesterday I have my first iPad app in the Appstore. > > When using iTunes on my Mac I can simply find my app by using the > searchbar. > > On my iPhone however the app is not found :-(. > > > > Did I miss something on iTunesConnect? On the keywords there I entered > the > > Apps name. I cannot edit the keywords. > > > > An another strange thing: in iTunes I also see that the main language is > set > > to English in stead of Dutch or is this normal? > > > > > > greetings, > > > > William > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From williamdesmet at gmail.com Thu Sep 8 08:05:08 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 8 Sep 2011 14:05:08 +0200 Subject: How do I refresh the content of a field every 5 seconds? Message-ID: Hi there, I want tot refresh the content of a field every 5 seconds without locking the standalone/stack/IDE. The content comes from another field on another stack. What is the best way to do this? Greetings, William From maarten.koopmans at gmail.com Thu Sep 8 08:17:21 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Thu, 8 Sep 2011 14:17:21 +0200 Subject: Launch URL on Android In-Reply-To: References: Message-ID: Tested a lot, AFAIK this simply doesn't work. Buh 9713 - cast your votes if you have them :-) On Mon, Sep 5, 2011 at 7:45 PM, Maarten Koopmans wrote: > Hi, > > I am trying to use launch url file:docs/test.pdf or docs:/test.doc - > they are included in "Copy Files". > > put specialFolderPath("engine") & "/" & fileToLoad into loadingURL > put "file:" before loadingURL > replace " " with "%20" in LoadingURL > > Results in a popup for me to open it with ? Internet (or Opera)? Has > anybody a clue how to view a file on Android? > > Any feedback (or sample "Hello World" stack that views a file on > Android) would be greatly appreciated. > > --Maarten > From lists.runrev.com at ohrt.org Thu Sep 8 08:36:27 2011 From: lists.runrev.com at ohrt.org (Julian Ohrt) Date: Thu, 08 Sep 2011 14:36:27 +0200 Subject: LiveCode for Android under Windows In-Reply-To: <819AE6BC-7029-4DD8-87E1-135B6BD798C2@economy-x-talk.com> References: <4E689E85.10402@ohrt.org> <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> <4E68A34D.9090108@ohrt.org> <819AE6BC-7029-4DD8-87E1-135B6BD798C2@economy-x-talk.com> Message-ID: <4E68B6CB.4030204@ohrt.org> Hi! Anybody succeeded configuring Android SDK for LiveCode under Windows? When I try it keeps telling me: The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 2.2 (Froyo). My configuration: Windows 7 32bit LiveCode 4.6.3 Android SDK Updater Rev. 12 Installed Android SDK Platforms: 2.0.1 up to 3.2 (API6-13) Already read: http://lessons.runrev.com/m/2571/l/27385 Regards, Julian From revlist at azurevision.co.uk Thu Sep 8 08:48:52 2011 From: revlist at azurevision.co.uk (Ian Wood) Date: Thu, 8 Sep 2011 13:48:52 +0100 Subject: How do I refresh the content of a field every 5 seconds? In-Reply-To: References: Message-ID: Either have a repeat loop which includes a 'wait 5 seconds with messages' line or a handler which ends with 'send "whateverthenameofthishandleris" to me in 5 seconds. Both should do this without locking the interface. Ian On 8 Sep 2011, at 13:05, William de Smet wrote: > Hi there, > > I want tot refresh the content of a field every 5 seconds without locking > the standalone/stack/IDE. > The content comes from another field on another stack. > What is the best way to do this? > > Greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Thu Sep 8 08:52:16 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 08 Sep 2011 07:52:16 -0500 Subject: LiveCode for Android under Windows In-Reply-To: <4E68B6CB.4030204@ohrt.org> References: <4E689E85.10402@ohrt.org> <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> <4E68A34D.9090108@ohrt.org> <819AE6BC-7029-4DD8-87E1-135B6BD798C2@economy-x-talk.com> <4E68B6CB.4030204@ohrt.org> Message-ID: <8456890d06cd93a43c9bd3331cc1f967@mfelkerco.com> Julian, Same here. Mike On Thu, 08 Sep 2011 14:36:27 +0200, Julian Ohrt wrote: > Hi! > > Anybody succeeded configuring Android SDK for LiveCode under Windows? > > When I try it keeps telling me: > The chosen folder is not a valid Android SDK. Please ensure you have > installed it correctly, and enabled support for Android 2.2 (Froyo). > > My configuration: > Windows 7 32bit > LiveCode 4.6.3 > Android SDK Updater Rev. 12 > Installed Android SDK Platforms: 2.0.1 up to 3.2 (API6-13) > > Already read: http://lessons.runrev.com/m/2571/l/27385 [1] > > Regards, > Julian > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [2] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [3] Links: ------ [1] http://lessons.runrev.com/m/2571/l/27385 [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 8 10:00:08 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 08 Sep 2011 07:00:08 -0700 Subject: How does compiling work? In-Reply-To: <4E689E85.10402@ohrt.org> References: <4E689E85.10402@ohrt.org> Message-ID: <4E68CA68.5040202@fourthworld.com> Julian Ohrt wrote: > Is there any documentation how compiling of livecode works internally? > Is it a compiler which can produce native code (for Windows, Linux, > etc.)? Are the scripts packaged within the executable together with an > interpreter and interpreted at run time? Or is it more like a virtual > machine approach? Yes, I think it could be said that LiveCode has more in common with a virtual machine than almost any other metaphor. My understanding of the under-the-hood mechanics is very limited, but that won't stop me from trying. :) There are many layers to code execution and the languages which work at each level, which could be summarized as: - CPU instruction set/Object code: the intructions the processor is able to handle on its own, purely binary code; these are very primitive, consistent largely of moving stuff from one memory location to another, some basic math routines, etc. Most mortals never write machine code directly, relying on assemblers or or compilers to translate their more human-readable code into machine instructions. - Assembler: a way of working directly with the CPU instruction set, but with the advantage of using mnemonic labels for the instructions ("MOVE" rather than "0111010"). Generally speaking, there is usually a one-to-one relationship between Assembler instructions and machine instructions. - C: Designed as a substitute for Assembler, C allows you to execute many hundreds or even thousands of machine instructions with relatively little code, but it's still somewhat close to the CPU in terms of memory management, data types, options for register use, etc. - C++/C#/Objective C: a set of libraries and compilers based on C that implement object-oriented programming, executing many more instructions per line of code and usually involving frameworks that handle many of the common tasks an application will perform. - Scripting: Instructions written in very high-level languages which often completely automate things like memory management, type conversion, garbage collection, etc., triggering a great many machine instructions for each line of code, favoring developer convenience at a small cost to efficiency and memory. At each of these levels, the number of machine instructions triggered by a line of code is generally higher, meaning ever more of the work is done by the system rather than the programmer. Much of the LiveCode engine is written in C++ (with some portions in straight C, I believe), and the LiveCode scripting language is often compiled to an intermediary bytecode, which in the list above might be between C++ and Scripting. Bytecode is very different from true object code, in that object code represents the instructions as the CPU itself expects to handle them, while bytecode still needs an intermediary mechanism (such as the LiveCode engine) to translate it into machine instructions. Bytecode representations are much closer to those in machine instructions than scripts, making the runtime translation of them often as simple as jumping from one register to another from a densely packed and highly optimized lookup table. Moreover, bytecode represents a fairly small subset of the instructions compiled from your script; in many cases they jump directly into compiled object code in the engine, which was written in C++ and compiled to machine code using some of the best modern compilers. So in effect, as Osterhaut puts it in his seminal paper on scripting (see ), good scripting languages are often just a sort of "glue" between true machine-compiled routines. Bytecode makes that glue smaller and more efficient. The scripts you write in LiveCode are what gets saved with the file (at least that's what I see when I look at a saved stack file; I can find the scripts but if the bytecode gets saved with it it's amazingly small because I can't find it at all). It's my understanding that when a stack is opened, its scripts are compiled to bytecode as the stack's object records are unpacked and the message path is set up. This "runtime compilation" involves parsing your script and translating that into binary tokens that execute much more efficiently. When executing, this bytecode is translated to direct machine instructions on the fly, but as you can see with LiveCode's blazing performance, neither the runtime compilation to bytecode nor the translation of the bytecode into machine instructions is particularly costly. And by separating the tasks, the more costly parsing of the script is done only once, which is one of the reasons why LC outperforms fully-interpreted systems (another reason is careful pruning of the lookup table used in that parsing and in the subsequent bytecode jumps, but that's another story). In fact, since so much of the actual execution takes place in the engine's machine-compiled code, performance for many tasks is on par with other systems where you have to wait for a compiler every time you change your code. :) There are exceptions to the general rule that script statements are translated to bytecode in advance of execution. For example, the "do" command and the "value" function both require parsing during execution, since they work with strings whose values cannot be known in advance, and therefore cannot be compiled in advance. But those tokens also make good examples of LiveCode's efficiency: while technically slower than alternative syntax which can be precompiled to bytecode, the time it takes the engine to parse those expressions and translate them into a form which can be executed is usually measured in microseconds, sometimes fractions of microseconds. Along those lines, compare the time it takes LiveCode to compile a script when you push the script editor's "Compile" button to compilation times in almost any other system. With each script compiled to bytecode separately, and with its means of doing so being rather well tuned over a great many years, it's almost instantaneous - you'll never wait for a progress bar when compiling in LiveCode. :) In summary, LiveCode attempts to find a sweet spot between raw performance and developer convenience. You could write faster-executing code in Assembler, but who would want to? Even using languages like C++ will often take orders of magnitude more development time to accomplish similar goals. LiveCode's two-step compilation allows for blazing fast performance with nearly unprecedented return on your development time. IMO, an almost ideal sweet spot indeed. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lists.runrev.com at ohrt.org Thu Sep 8 10:10:35 2011 From: lists.runrev.com at ohrt.org (Julian Ohrt) Date: Thu, 08 Sep 2011 16:10:35 +0200 Subject: LiveCode for Android under Windows In-Reply-To: <8456890d06cd93a43c9bd3331cc1f967@mfelkerco.com> References: <4E689E85.10402@ohrt.org> <34FE2FFE-8BF7-4FCF-802E-01EF6ADEEB03@economy-x-talk.com> <4E68A34D.9090108@ohrt.org> <819AE6BC-7029-4DD8-87E1-135B6BD798C2@economy-x-talk.com> <4E68B6CB.4030204@ohrt.org> <8456890d06cd93a43c9bd3331cc1f967@mfelkerco.com> Message-ID: <4E68CCDB.40406@ohrt.org> Hi Mike, I solved the problem: LiveCode looks for \platforms\android-8\tools\aapt.exe Solution: Copy folder \platform-tools\ to \platforms\android-8\tools\ That's it! :) On 08.09.2011 14:52, Admin wrote: > > > Julian, > > Same here. > > Mike > > On Thu, 08 Sep 2011 14:36:27 +0200, > Julian Ohrt wrote: > >> Hi! >> >> Anybody succeeded configuring Android > SDK for LiveCode under Windows? >> >> When I try it keeps telling me: >> > The chosen folder is not a valid Android SDK. Please ensure you have >> > installed it correctly, and enabled support for Android 2.2 (Froyo). >> > >> My configuration: >> Windows 7 32bit >> LiveCode 4.6.3 >> Android SDK > Updater Rev. 12 >> Installed Android SDK Platforms: 2.0.1 up to 3.2 > (API6-13) >> >> Already read: http://lessons.runrev.com/m/2571/l/27385 > [1] >> >> Regards, >> Julian >> >> > _______________________________________________ >> use-livecode mailing > list >> use-livecode at lists.runrev.com [2] >> Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode [3] > > > > > Links: > ------ > [1] http://lessons.runrev.com/m/2571/l/27385 > [2] > mailto:use-livecode at lists.runrev.com > [3] > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Thu Sep 8 10:20:42 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 8 Sep 2011 22:20:42 +0800 Subject: Syllable OS and Livecode ? In-Reply-To: References: <4E649CCE.1090401@gmail.com> <47D4E950-4A43-4CCF-B4D5-F05518981285@gmail.com> <4E6709A8.7050104@gmail.com> Message-ID: <298757E5-49CF-4EE6-855C-D15F7D8C6935@gmail.com> Andre On 7 Sep 2011, at 21:42, Andre Garzia wrote: > Many Syllable project members are heavy REBOL coders Kaj de Vos, the Syllable lead developer, is a heavy REBOL coder. I'm not sure about the others. > they have a FOSS REBOL clone named ORCA or BARON. Boron is the successor to Orca. It is REBOL-like rather than a complete REBOL clone. The syntax is very REBOL-like but its scope isn't as wide as REBOL. It is seems more responsive than REBOL which is no slouch, but I haven't used it a lot. It does have a few quirks. There is more info at http://urlan.sourceforge.net/boron/ The REBOL-derived Red Language is also available for Syllable (http://www.red-lang.org/) Regards Peter From williamdesmet at gmail.com Thu Sep 8 10:25:13 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 8 Sep 2011 16:25:13 +0200 Subject: How do I refresh the content of a field every 5 seconds? In-Reply-To: References: Message-ID: Of course: ......with messages! Thanks Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 8 sep. 2011 om 14:48 heeft Ian Wood het volgende geschreven: > Either have a repeat loop which includes a 'wait 5 seconds with messages' line or a handler which ends with 'send "whateverthenameofthishandleris" to me in 5 seconds. > > Both should do this without locking the interface. > > Ian > > On 8 Sep 2011, at 13:05, William de Smet wrote: > >> Hi there, >> >> I want tot refresh the content of a field every 5 seconds without locking >> the standalone/stack/IDE. >> The content comes from another field on another stack. >> What is the best way to do this? >> >> Greetings, >> >> William >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Thu Sep 8 12:17:40 2011 From: admin at mfelkerco.com (Mike Felker) Date: Thu, 08 Sep 2011 12:17:40 -0400 Subject: LiveCode for Android under Windows Message-ID: Awesome! Mike Julian Ohrt wrote: >Hi Mike, > >I solved the problem: > >LiveCode looks for >\platforms\android-8\tools\aapt.exe > >Solution: >Copy folder >\platform-tools\ >to >\platforms\android-8\tools\ > >That's it! :) > > > >On 08.09.2011 14:52, Admin wrote: >> >> >> Julian, >> >> Same here. >> >> Mike >> >> On Thu, 08 Sep 2011 14:36:27 +0200, >> Julian Ohrt wrote: >> >>> Hi! >>> >>> Anybody succeeded configuring Android >> SDK for LiveCode under Windows? >>> >>> When I try it keeps telling me: >>> >> The chosen folder is not a valid Android SDK. Please ensure you have >>> >> installed it correctly, and enabled support for Android 2.2 (Froyo). >>> >> >>> My configuration: >>> Windows 7 32bit >>> LiveCode 4.6.3 >>> Android SDK >> Updater Rev. 12 >>> Installed Android SDK Platforms: 2.0.1 up to 3.2 >> (API6-13) >>> >>> Already read: http://lessons.runrev.com/m/2571/l/27385 >> [1] >>> >>> Regards, >>> Julian >>> >>> >> _______________________________________________ >>> use-livecode mailing >> list >>> use-livecode at lists.runrev.com [2] >>> Please visit this url to >> subscribe, unsubscribe and manage your subscription preferences: >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode [3] >> >> >> >> >> Links: >> ------ >> [1] http://lessons.runrev.com/m/2571/l/27385 >> [2] >> mailto:use-livecode at lists.runrev.com >> [3] >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Sep 8 12:25:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Sep 2011 09:25:59 -0700 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> Message-ID: <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> The only thing that comes to mind that an iPhone would be able to use is a barcode. You would have to be able to access the camera, and the older iPhones have crappy cameras so no workie with them. Seems like a non-starter right there, especially if you want the user to actually scan the bar code! Otherwise you would need a proprietary device that detected a minimum physical distance to a sensor node to trigger the appropriate recording, which plugged into the bottom of the iPhone, which means design and manufacturing and all that. Without that it's all academic isn't it? Bob On Sep 7, 2011, at 7:03 PM, stephen barncard wrote: > THe programming is the fun part. Getting the right recording to trigger is > the hard part. Something that uses the sensory stuff in the phone, can't > depend on users to sort it out. > > On 7 September 2011 19:00, Admin wrote: > >> >> >> That should not be very hard to program. Of course, it does depend >> on the final deployment format. >> >> Mike >> >> On Thu, 8 Sep 2011 02:04:41 >> +0100, Peter Alcibiades wrote: >> >>> Anyone know of an audioguide app in >> livecode? The kind of thing you get in >>> some museums now. where you >> walk around entering a number and it plays you >>> a more or less >> interesting audio clip about the exhibit you are looking at. >>> >>> >> Peter >>> >>> _______________________________________________ >>> >> use-livecode mailing list >>> use-livecode at lists.runrev.com [1] >>> Please >> visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> [2] >> >> >> >> Links: >> ------ >> [1] mailto:use-livecode at lists.runrev.com >> [2] >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Sep 8 12:52:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 08 Sep 2011 11:52:57 -0500 Subject: audio guide app in livecode? In-Reply-To: <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> Message-ID: <4E68F2E9.5060804@hyperactivesw.com> Piggybacking: > On Sep 7, 2011, at 7:03 PM, stephen barncard wrote: > >> THe programming is the fun part. Getting the right recording to trigger is >> the hard part. Something that uses the sensory stuff in the phone, can't >> depend on users to sort it out. Mike mentioned that users would type in a number. That would be pretty easy to implement. Just number the audio files as the first word of the file name, read the field entry (or keyups if there is no field), match the number to the file name, and play the audio. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From francois.chaplais at mines-paristech.fr Thu Sep 8 13:00:07 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 8 Sep 2011 19:00:07 +0200 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> Message-ID: Le 8 sept. 2011 ? 04:03, stephen barncard a ?crit : > THe programming is the fun part. Getting the right recording to trigger is > the hard part. Something that uses the sensory stuff in the phone, can't > depend on users to sort it out. > Why? Is the user that stupid? I have seen some of these apps, and they provide for guidance (assuming you are in a museum) a picture of the item (if relevant) and room number plus exhibit number. This should be enough, and it does not require extra equipment. Fran?ois From scott at tactilemedia.com Thu Sep 8 13:17:14 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 08 Sep 2011 10:17:14 -0700 Subject: First App not to be found on searching in the iOS store! In-Reply-To: Message-ID: Recently, William de Smet wrote: > Since yesterday I have my first iPad app in the Appstore. > When using iTunes on my Mac I can simply find my app by using the searchbar. > On my iPhone however the app is not found :-(. I believe iPhone doesn't display apps that run on iPad only. I have an iPod touch here and it doesn't list iPad-only apps (wouldn't make sense to be able to download something that won't run on the device). Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu Sep 8 13:27:31 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 10:27:31 -0700 Subject: audio guide app in livecode? In-Reply-To: <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> Message-ID: I think the original post talked about keying in a number to get the right recording? I know users aren't always the smartest people in the world (including myself as one) but if I see a big number next to an object and the app is telling me to key in a number, I'm pretty sure I could figure that out! I think we sometimes get carried away with trying to squeeze the last drop of blood out of possible technological implementations when a lower tech approach would work just as well, if not better. Pete Molly's Revenge On Thu, Sep 8, 2011 at 9:25 AM, Bob Sneidar wrote: > The only thing that comes to mind that an iPhone would be able to use is a > barcode. You would have to be able to access the camera, and the older > iPhones have crappy cameras so no workie with them. Seems like a non-starter > right there, especially if you want the user to actually scan the bar code! > > Otherwise you would need a proprietary device that detected a minimum > physical distance to a sensor node to trigger the appropriate recording, > which plugged into the bottom of the iPhone, which means design and > manufacturing and all that. Without that it's all academic isn't it? > > Bob > > > On Sep 7, 2011, at 7:03 PM, stephen barncard wrote: > > > THe programming is the fun part. Getting the right recording to trigger > is > > the hard part. Something that uses the sensory stuff in the phone, can't > > depend on users to sort it out. > > > > On 7 September 2011 19:00, Admin wrote: > > > >> > >> > >> That should not be very hard to program. Of course, it does depend > >> on the final deployment format. > >> > >> Mike > >> > >> On Thu, 8 Sep 2011 02:04:41 > >> +0100, Peter Alcibiades wrote: > >> > >>> Anyone know of an audioguide app in > >> livecode? The kind of thing you get in > >>> some museums now. where you > >> walk around entering a number and it plays you > >>> a more or less > >> interesting audio clip about the exhibit you are looking at. > >>> > >>> > >> Peter > >>> > >>> _______________________________________________ > >>> > >> use-livecode mailing list > >>> use-livecode at lists.runrev.com [1] > >>> Please > >> visit this url to subscribe, unsubscribe and manage your subscription > >> preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> [2] > >> > >> > >> > >> Links: > >> ------ > >> [1] mailto:use-livecode at lists.runrev.com > >> [2] > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From devin_asay at byu.edu Thu Sep 8 13:30:38 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 8 Sep 2011 17:30:38 +0000 Subject: How does compiling work? In-Reply-To: <4E68CA68.5040202@fourthworld.com> References: <4E689E85.10402@ohrt.org> <4E68CA68.5040202@fourthworld.com> Message-ID: Great summary, Richard! This is going into my teaching notes file. Devin On Sep 8, 2011, at 8:00 AM, Richard Gaskin wrote: > Julian Ohrt wrote: > >> Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, >> etc.)? Are the scripts packaged within the executable together with an >> interpreter and interpreted at run time? Or is it more like a virtual >> machine approach? > > Yes, I think it could be said that LiveCode has more in common with a virtual machine than almost any other metaphor. > > My understanding of the under-the-hood mechanics is very limited, but that won't stop me from trying. :) > > There are many layers to code execution and the languages which work at each level, which could be summarized as: > > - CPU instruction set/Object code: the intructions the processor is able to handle on its own, purely binary code; these are very primitive, consistent largely of moving stuff from one memory location to another, some basic math routines, etc. Most mortals never write machine code directly, relying on assemblers or or compilers to translate their more human-readable code into machine instructions. > > - Assembler: a way of working directly with the CPU instruction set, but with the advantage of using mnemonic labels for the instructions ("MOVE" rather than "0111010"). Generally speaking, there is usually a one-to-one relationship between Assembler instructions and machine instructions. > > - C: Designed as a substitute for Assembler, C allows you to execute many hundreds or even thousands of machine instructions with relatively little code, but it's still somewhat close to the CPU in terms of memory management, data types, options for register use, etc. > > - C++/C#/Objective C: a set of libraries and compilers based on C that implement object-oriented programming, executing many more instructions per line of code and usually involving frameworks that handle many of the common tasks an application will perform. > > - Scripting: Instructions written in very high-level languages which often completely automate things like memory management, type conversion, garbage collection, etc., triggering a great many machine instructions for each line of code, favoring developer convenience at a small cost to efficiency and memory. > > At each of these levels, the number of machine instructions triggered by a line of code is generally higher, meaning ever more of the work is done by the system rather than the programmer. > > Much of the LiveCode engine is written in C++ (with some portions in straight C, I believe), and the LiveCode scripting language is often compiled to an intermediary bytecode, which in the list above might be between C++ and Scripting. > > Bytecode is very different from true object code, in that object code represents the instructions as the CPU itself expects to handle them, while bytecode still needs an intermediary mechanism (such as the LiveCode engine) to translate it into machine instructions. > > Bytecode representations are much closer to those in machine instructions than scripts, making the runtime translation of them often as simple as jumping from one register to another from a densely packed and highly optimized lookup table. > > Moreover, bytecode represents a fairly small subset of the instructions compiled from your script; in many cases they jump directly into compiled object code in the engine, which was written in C++ and compiled to machine code using some of the best modern compilers. So in effect, as Osterhaut puts it in his seminal paper on scripting (see ), good scripting languages are often just a sort of "glue" between true machine-compiled routines. Bytecode makes that glue smaller and more efficient. > > The scripts you write in LiveCode are what gets saved with the file (at least that's what I see when I look at a saved stack file; I can find the scripts but if the bytecode gets saved with it it's amazingly small because I can't find it at all). > > It's my understanding that when a stack is opened, its scripts are compiled to bytecode as the stack's object records are unpacked and the message path is set up. This "runtime compilation" involves parsing your script and translating that into binary tokens that execute much more efficiently. When executing, this bytecode is translated to direct machine instructions on the fly, but as you can see with LiveCode's blazing performance, neither the runtime compilation to bytecode nor the translation of the bytecode into machine instructions is particularly costly. And by separating the tasks, the more costly parsing of the script is done only once, which is one of the reasons why LC outperforms fully-interpreted systems (another reason is careful pruning of the lookup table used in that parsing and in the subsequent bytecode jumps, but that's another story). > > In fact, since so much of the actual execution takes place in the engine's machine-compiled code, performance for many tasks is on par with other systems where you have to wait for a compiler every time you change your code. :) > > There are exceptions to the general rule that script statements are translated to bytecode in advance of execution. For example, the "do" command and the "value" function both require parsing during execution, since they work with strings whose values cannot be known in advance, and therefore cannot be compiled in advance. > > But those tokens also make good examples of LiveCode's efficiency: while technically slower than alternative syntax which can be precompiled to bytecode, the time it takes the engine to parse those expressions and translate them into a form which can be executed is usually measured in microseconds, sometimes fractions of microseconds. > > Along those lines, compare the time it takes LiveCode to compile a script when you push the script editor's "Compile" button to compilation times in almost any other system. With each script compiled to bytecode separately, and with its means of doing so being rather well tuned over a great many years, it's almost instantaneous - you'll never wait for a progress bar when compiling in LiveCode. :) > > > In summary, LiveCode attempts to find a sweet spot between raw performance and developer convenience. You could write faster-executing code in Assembler, but who would want to? Even using languages like C++ will often take orders of magnitude more development time to accomplish similar goals. LiveCode's two-step compilation allows for blazing fast performance with nearly unprecedented return on your development time. > > IMO, an almost ideal sweet spot indeed. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Humanities Technology and Research Support Center Brigham Young University From stephenREVOLUTION2 at barncard.com Thu Sep 8 14:01:08 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 11:01:08 -0700 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> Message-ID: I wasn't carried away. I was just anticipating what a big client would ask for - a jump on the competition. Something more "high-tech". Overbuilding at least at the concept stage will allow for the placement of hooks for future expansion of the idea in future versions. sqb On 8 September 2011 10:27, Pete wrote: > I think the original post talked about keying in a number to get the right > recording? I know users aren't always the smartest people in the world > (including myself as one) but if I see a big number next to an object and > the app is telling me to key in a number, I'm pretty sure I could figure > that out! > > I think we sometimes get carried away with trying to squeeze the last drop > of blood out of possible technological implementations when a lower tech > approach would work just as well, if not better. > > Pete > Molly's Revenge > > > > > On Thu, Sep 8, 2011 at 9:25 AM, Bob Sneidar wrote: > > > The only thing that comes to mind that an iPhone would be able to use is > a > > barcode. You would have to be able to access the camera, and the older > > iPhones have crappy cameras so no workie with them. Seems like a > non-starter > > right there, especially if you want the user to actually scan the bar > code! > > > > Otherwise you would need a proprietary device that detected a minimum > > physical distance to a sensor node to trigger the appropriate recording, > > which plugged into the bottom of the iPhone, which means design and > > manufacturing and all that. Without that it's all academic isn't it? > > > > Bob > > > > > > On Sep 7, 2011, at 7:03 PM, stephen barncard wrote: > > > > > THe programming is the fun part. Getting the right recording to trigger > > is > > > the hard part. Something that uses the sensory stuff in the phone, > can't > > > depend on users to sort it out. > > > > > > On 7 September 2011 19:00, Admin wrote: > > > > > >> > > >> > > >> That should not be very hard to program. Of course, it does depend > > >> on the final deployment format. > > >> > > >> Mike > > >> > > >> On Thu, 8 Sep 2011 02:04:41 > > >> +0100, Peter Alcibiades wrote: > > >> > > >>> Anyone know of an audioguide app in > > >> livecode? The kind of thing you get in > > >>> some museums now. where you > > >> walk around entering a number and it plays you > > >>> a more or less > > >> interesting audio clip about the exhibit you are looking at. > > >>> > > >>> > > >> Peter > > >>> > > >>> _______________________________________________ > > >>> > > >> use-livecode mailing list > > >>> use-livecode at lists.runrev.com [1] > > >>> Please > > >> visit this url to subscribe, unsubscribe and manage your subscription > > >> preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> [2] > > >> > > >> > > >> > > >> Links: > > >> ------ > > >> [1] mailto:use-livecode at lists.runrev.com > > >> [2] > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > > > > > > > > > -- > > > > > > > > > > > > Stephen Barncard > > > San Francisco Ca. USA > > > > > > more about sqb > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Thu Sep 8 14:02:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 8 Sep 2011 11:02:15 -0700 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> Message-ID: My bad I missed that part. I just read "sensory stuff" in the reply post. Bob On Sep 8, 2011, at 10:27 AM, Pete wrote: > I think the original post talked about keying in a number to get the right > recording? I know users aren't always the smartest people in the world > (including myself as one) but if I see a big number next to an object and > the app is telling me to key in a number, I'm pretty sure I could figure > that out! > > I think we sometimes get carried away with trying to squeeze the last drop > of blood out of possible technological implementations when a lower tech > approach would work just as well, if not better. > > Pete > Molly's Revenge > > > > > On Thu, Sep 8, 2011 at 9:25 AM, Bob Sneidar wrote: > >> The only thing that comes to mind that an iPhone would be able to use is a >> barcode. You would have to be able to access the camera, and the older >> iPhones have crappy cameras so no workie with them. Seems like a non-starter >> right there, especially if you want the user to actually scan the bar code! >> >> Otherwise you would need a proprietary device that detected a minimum >> physical distance to a sensor node to trigger the appropriate recording, >> which plugged into the bottom of the iPhone, which means design and >> manufacturing and all that. Without that it's all academic isn't it? >> >> Bob >> >> >> On Sep 7, 2011, at 7:03 PM, stephen barncard wrote: >> >>> THe programming is the fun part. Getting the right recording to trigger >> is >>> the hard part. Something that uses the sensory stuff in the phone, can't >>> depend on users to sort it out. >>> From jiml at netrin.com Thu Sep 8 14:10:38 2011 From: jiml at netrin.com (Jim Lambert) Date: Thu, 8 Sep 2011 11:10:38 -0700 Subject: How does compiling work? In-Reply-To: References: Message-ID: <75514500-14CF-485B-80FE-FA7F8B5DC798@netrin.com> Richard, A beautifully concise paean to LC's approach! Jim Lambert From williamdesmet at gmail.com Thu Sep 8 14:43:05 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 8 Sep 2011 20:43:05 +0200 Subject: First App not to be found on searching in the iOS store! In-Reply-To: References: Message-ID: Hi Scott, That makes sense and is correct. I find my App on my iPad immediately but on my iPhone it doesn't display an error message or anything while searching. When you open a direct link howeever to find my app it says not available on this iPhone. Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 8 sep. 2011 om 19:17 heeft Scott Rossi het volgende geschreven: > Recently, William de Smet wrote: > >> Since yesterday I have my first iPad app in the Appstore. >> When using iTunes on my Mac I can simply find my app by using the searchbar. >> On my iPhone however the app is not found :-(. > > I believe iPhone doesn't display apps that run on iPad only. I have an iPod > touch here and it doesn't list iPad-only apps (wouldn't make sense to be > able to download something that won't run on the device). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Thu Sep 8 14:56:10 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 8 Sep 2011 11:56:10 -0700 (PDT) Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> Message-ID: <1315508170746-3799715.post@n4.nabble.com> The way the audioguide business works is, you have a special museum type handset. This costs hundreds of dollars to buy, but what it consists of is a keypad, tiny lcd screen and a phone type speaker. The user goes around the museum and sees large numbers attached to exhibits or freestanding. He/she then hits the number, and the track plays. Yes, that is really it. And yes, they cost hundreds each. They come with a charging rack typically so you can plug them in to recharge overnight, and they have a 512Mb compact flash card. Then you get software with them. The way this works is very nice. The software is registered to the individual machine you first install it on. Want another machine? Pay. This software uploads the tracks you have recorded into the handsets. What you do is load one handset, the master, and then this propogates to all the others. The makers of this software do not seem to have thought of virtual machines, because if you install on one of these, you can put it all over the place in as many machines as you like. Well, there you go. My first inclination, when confronted with this, was to say what is wrong with cheap mp3 players? Well, this is where it gets interesting. You get grants for this stuff as a charity and museum. The grants are based on the going rate, which is hugely expensive, because no-one does this stuff themselves, they get consultants in to do it all for them. A museum, which will be state run of course in Europe, can easily spend $100k or so to have 50+ handsets and the right tracks recorded by professional actors. Into this surreal world comes Android. The thing about android phones is they can run apps. It looks to your usual, what is the word, adventurous user? asi if anyone with half a brain could make an app that as J says, only needs to play a track when a number is pressed. Why, I am asking myself, should this cost more than about ?200 including the mobile non-profit Livecode purchase? Some cheap machine they have lying around, and there's a usb port to host it on. What more do you need? So, I'm on the point of saying to the museum, buy me the livecode android version, and away we go. Glad to hear everyone saying in tones very like my own, that this is not rocket science, more like an afternoon. But given pause by the fact that I have never knowingly seen an android phone, so maybe developing an app for one from scratch is a little courageous? If any of you guys have a spare afternoon, I think the museum market is quite interesting. Sometime if there is a long rainy afternoon, I'll tell you about the even more surreal world of museum databases and catalogue software.... Now if you think audioguides are a turnup for the books, wait till you hear about catalogs.... Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3799715.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Sep 8 15:35:54 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 8 Sep 2011 16:35:54 -0300 Subject: [OT] Sensible defaults for Mac OS X Lion Message-ID: Folks, For those struggling with Lion, here are some sensible defaults that came to me while checking Hacker News... https://github.com/mathiasbynens/dotfiles/blob/master/.osx Cheers andre -- http://www.andregarzia.com All We Do Is Code. From pete at mollysrevenge.com Thu Sep 8 16:05:10 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 13:05:10 -0700 Subject: audio guide app in livecode? In-Reply-To: <1315508170746-3799715.post@n4.nabble.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> Message-ID: It does sound very simple on the face of it, which begs the question of why nobody has implemented this much cheaper solution already? Perhaps museums, being very traditional institutions, lag behind technology developments? As I recall, I've always had to pay for this type of guide so perhaps the museums make money on them, or perhaps they are just recouping the costs of the equipment, who knows. I'd think an Android phone (I have one) would be more than capable of doing this, as would an iPhone. Storage might be an issue since Android phones tend not have a huge amount of SD storage available, maybe 16megs, but that should be room for a lot of mp3 files. The interesting thing is to ponder on how to charge for this. I could see a situation where some clever person develops a single app that can deal with as many museums as want to subscribe to the service. Maybe the app is free but you pay to download guides to different museums with the payment being split between the museum and the application developer? No need for wifi, the phone data service can take care of the download. No doubt Apple would throw up on including the ability to buy the guide from within the application though. I think you may be on to a very nice business opportunity here Peter! Pete Molly's Revenge On Thu, Sep 8, 2011 at 11:56 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > The way the audioguide business works is, you have a special museum type > handset. This costs hundreds of dollars to buy, but what it consists of is > a keypad, tiny lcd screen and a phone type speaker. > > The user goes around the museum and sees large numbers attached to exhibits > or freestanding. He/she then hits the number, and the track plays. > > Yes, that is really it. And yes, they cost hundreds each. They come with > a > charging rack typically so you can plug them in to recharge overnight, and > they have a 512Mb compact flash card. > > Then you get software with them. The way this works is very nice. The > software is registered to the individual machine you first install it on. > Want another machine? Pay. This software uploads the tracks you have > recorded into the handsets. What you do is load one handset, the master, > and then this propogates to all the others. The makers of this software do > not seem to have thought of virtual machines, because if you install on one > of these, you can put it all over the place in as many machines as you > like. > Well, there you go. > > My first inclination, when confronted with this, was to say what is wrong > with cheap mp3 players? Well, this is where it gets interesting. You get > grants for this stuff as a charity and museum. The grants are based on the > going rate, which is hugely expensive, because no-one does this stuff > themselves, they get consultants in to do it all for them. A museum, > which > will be state run of course in Europe, can easily spend $100k or so to have > 50+ handsets and the right tracks recorded by professional actors. > > Into this surreal world comes Android. The thing about android phones is > they can run apps. It looks to your usual, what is the word, adventurous > user? asi if anyone with half a brain could make an app that as J says, > only needs to play a track when a number is pressed. Why, I am asking > myself, should this cost more than about ?200 including the mobile > non-profit Livecode purchase? Some cheap machine they have lying around, > and there's a usb port to host it on. What more do you need? > > So, I'm on the point of saying to the museum, buy me the livecode android > version, and away we go. Glad to hear everyone saying in tones very like > my > own, that this is not rocket science, more like an afternoon. But given > pause by the fact that I have never knowingly seen an android phone, so > maybe developing an app for one from scratch is a little courageous? > > If any of you guys have a spare afternoon, I think the museum market is > quite interesting. > > Sometime if there is a long rainy afternoon, I'll tell you about the even > more surreal world of museum databases and catalogue software.... Now if > you think audioguides are a turnup for the books, wait till you hear about > catalogs.... > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3799715.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 pete at mollysrevenge.com Thu Sep 8 16:05:10 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 13:05:10 -0700 Subject: audio guide app in livecode? In-Reply-To: <1315508170746-3799715.post@n4.nabble.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> Message-ID: It does sound very simple on the face of it, which begs the question of why nobody has implemented this much cheaper solution already? Perhaps museums, being very traditional institutions, lag behind technology developments? As I recall, I've always had to pay for this type of guide so perhaps the museums make money on them, or perhaps they are just recouping the costs of the equipment, who knows. I'd think an Android phone (I have one) would be more than capable of doing this, as would an iPhone. Storage might be an issue since Android phones tend not have a huge amount of SD storage available, maybe 16megs, but that should be room for a lot of mp3 files. The interesting thing is to ponder on how to charge for this. I could see a situation where some clever person develops a single app that can deal with as many museums as want to subscribe to the service. Maybe the app is free but you pay to download guides to different museums with the payment being split between the museum and the application developer? No need for wifi, the phone data service can take care of the download. No doubt Apple would throw up on including the ability to buy the guide from within the application though. I think you may be on to a very nice business opportunity here Peter! Pete Molly's Revenge On Thu, Sep 8, 2011 at 11:56 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > The way the audioguide business works is, you have a special museum type > handset. This costs hundreds of dollars to buy, but what it consists of is > a keypad, tiny lcd screen and a phone type speaker. > > The user goes around the museum and sees large numbers attached to exhibits > or freestanding. He/she then hits the number, and the track plays. > > Yes, that is really it. And yes, they cost hundreds each. They come with > a > charging rack typically so you can plug them in to recharge overnight, and > they have a 512Mb compact flash card. > > Then you get software with them. The way this works is very nice. The > software is registered to the individual machine you first install it on. > Want another machine? Pay. This software uploads the tracks you have > recorded into the handsets. What you do is load one handset, the master, > and then this propogates to all the others. The makers of this software do > not seem to have thought of virtual machines, because if you install on one > of these, you can put it all over the place in as many machines as you > like. > Well, there you go. > > My first inclination, when confronted with this, was to say what is wrong > with cheap mp3 players? Well, this is where it gets interesting. You get > grants for this stuff as a charity and museum. The grants are based on the > going rate, which is hugely expensive, because no-one does this stuff > themselves, they get consultants in to do it all for them. A museum, > which > will be state run of course in Europe, can easily spend $100k or so to have > 50+ handsets and the right tracks recorded by professional actors. > > Into this surreal world comes Android. The thing about android phones is > they can run apps. It looks to your usual, what is the word, adventurous > user? asi if anyone with half a brain could make an app that as J says, > only needs to play a track when a number is pressed. Why, I am asking > myself, should this cost more than about ?200 including the mobile > non-profit Livecode purchase? Some cheap machine they have lying around, > and there's a usb port to host it on. What more do you need? > > So, I'm on the point of saying to the museum, buy me the livecode android > version, and away we go. Glad to hear everyone saying in tones very like > my > own, that this is not rocket science, more like an afternoon. But given > pause by the fact that I have never knowingly seen an android phone, so > maybe developing an app for one from scratch is a little courageous? > > If any of you guys have a spare afternoon, I think the museum market is > quite interesting. > > Sometime if there is a long rainy afternoon, I'll tell you about the even > more surreal world of museum databases and catalogue software.... Now if > you think audioguides are a turnup for the books, wait till you hear about > catalogs.... > > Peter > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3799715.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 stephenREVOLUTION2 at barncard.com Thu Sep 8 16:19:07 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 13:19:07 -0700 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> Message-ID: Here's the rub- if one has an idea and the time, a person with even a medium amount of experience with Livecode can do this. - personally I can't learn ANYTHING unless I am actually messing with it. I need a goal to learn. Even if someone beats you to the punch for an 'obvious idea' - you'll be ready with the better and more competitive version later- with the advantage of seeing the shortcomings and flaws in the first to market version. (and users comments in the app store) And you will always have your 'boilerplate' code and methodology that you created - which, if you designed correctly, could be used elsewhere for other applications. On 8 September 2011 13:05, Pete wrote: > It does sound very simple on the face of it, which begs the question of why > nobody has implemented this much cheaper solution already? Perhaps > museums, > being very traditional institutions, lag behind technology developments? > As > I recall, I've always had to pay for this type of guide so perhaps the > museums make money on them, or perhaps they are just recouping the costs of > Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Thu Sep 8 16:20:11 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 13:20:11 -0700 Subject: How does compiling work? In-Reply-To: <4E68CA68.5040202@fourthworld.com> References: <4E689E85.10402@ohrt.org> <4E68CA68.5040202@fourthworld.com> Message-ID: Thanks, Richard. I was hoping you would speak up. This is going into my Script Scrapbook. It is odd that Runrev doesn't tout its technical uniqueness more . LIvecode is a radical departure from other programming languages with provable advantages and measurable productivity. Is their reluctance to explain based on the 'conventional wisdom' that says that technical explanations will only confuse the customer? Would a "how it works" sidebar on the Runrev site be detrimental in any way? It should be noted that the new Livecode Server has a two-pass compiler rather than the single pass for the desktop version. This is a tremendous improvement over the previous version, as it allows the placement of all subroutines below all other activity. I just created a 'one page app' that handles all the stages of display, submitting and responding to an email submission in a single .lc file. All html is encased in livecode handlers that drop in and out of html code. Julian Ohrt wrote: > > Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, >> etc.)? Are the scripts packaged within the executable together with an >> interpreter and interpreted at run time? Or is it more like a virtual >> machine approach? >> > On 8 September 2011 07:00, Richard Gaskin wrote: > > Yes, I think it could be said that LiveCode has more in common with a > virtual machine than almost any other metaphor. > > My understanding of the under-the-hood mechanics is very limited, but that > won't stop me from trying. :) > > There are many layers to code execution and the languages which work at > each level, which could be summarized as: > > - CPU instruction set/Object code: the intructions the processor is able > to handle on its own, purely binary code; these are very primitive, > consistent largely of moving stuff from one memory location to another, some > basic math routines, etc. Most mortals never write machine code directly, > relying on assemblers or or compilers to translate their more human-readable > code into machine instructions. > > .... Stephen Barncard San Francisco Ca. USA more about sqb From pmbrig at gmail.com Thu Sep 8 16:38:31 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 8 Sep 2011 16:38:31 -0400 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> Message-ID: <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> I was at a museum in the Boston area a while back and they had an interesting solution. You call a number on your phone, and the audio menu invites you to enter a number (posted next to each picture), and then you hear the commentary on that particular picture. Simple, low-tech, doesn't even require a smart phone. Only requires a cellular phone connection, which might be a deal-killer for larger museums with internal rooms that are out of cellular signal range. Still, I thought it was pretty clever. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 8, 2011, at 4:05 PM, Pete wrote: > It does sound very simple on the face of it, which begs the question of why > nobody has implemented this much cheaper solution already? Perhaps museums, > being very traditional institutions, lag behind technology developments? As > I recall, I've always had to pay for this type of guide so perhaps the > museums make money on them, or perhaps they are just recouping the costs of > the equipment, who knows. > > I'd think an Android phone (I have one) would be more than capable of doing > this, as would an iPhone. Storage might be an issue since Android phones > tend not have a huge amount of SD storage available, maybe 16megs, but that > should be room for a lot of mp3 files. > > The interesting thing is to ponder on how to charge for this. I could see a > situation where some clever person develops a single app that can deal with > as many museums as want to subscribe to the service. Maybe the app is free > but you pay to download guides to different museums with the payment being > split between the museum and the application developer? No need for wifi, > the phone data service can take care of the download. No doubt Apple would > throw up on including the ability to buy the guide from within the > application though. > > I think you may be on to a very nice business opportunity here Peter! > > Pete > Molly's Revenge > > > > > On Thu, Sep 8, 2011 at 11:56 AM, Peter Alcibiades < > palcibiades-first at yahoo.co.uk> wrote: > >> The way the audioguide business works is, you have a special museum type >> handset. This costs hundreds of dollars to buy, but what it consists of is >> a keypad, tiny lcd screen and a phone type speaker. >> >> The user goes around the museum and sees large numbers attached to exhibits >> or freestanding. He/she then hits the number, and the track plays. >> >> Yes, that is really it. And yes, they cost hundreds each. They come with >> a >> charging rack typically so you can plug them in to recharge overnight, and >> they have a 512Mb compact flash card. >> >> Then you get software with them. The way this works is very nice. The >> software is registered to the individual machine you first install it on. >> Want another machine? Pay. This software uploads the tracks you have >> recorded into the handsets. What you do is load one handset, the master, >> and then this propogates to all the others. The makers of this software do >> not seem to have thought of virtual machines, because if you install on one >> of these, you can put it all over the place in as many machines as you >> like. >> Well, there you go. >> >> My first inclination, when confronted with this, was to say what is wrong >> with cheap mp3 players? Well, this is where it gets interesting. You get >> grants for this stuff as a charity and museum. The grants are based on the >> going rate, which is hugely expensive, because no-one does this stuff >> themselves, they get consultants in to do it all for them. A museum, >> which >> will be state run of course in Europe, can easily spend $100k or so to have >> 50+ handsets and the right tracks recorded by professional actors. >> >> Into this surreal world comes Android. The thing about android phones is >> they can run apps. It looks to your usual, what is the word, adventurous >> user? asi if anyone with half a brain could make an app that as J says, >> only needs to play a track when a number is pressed. Why, I am asking >> myself, should this cost more than about ?200 including the mobile >> non-profit Livecode purchase? Some cheap machine they have lying around, >> and there's a usb port to host it on. What more do you need? >> >> So, I'm on the point of saying to the museum, buy me the livecode android >> version, and away we go. Glad to hear everyone saying in tones very like >> my >> own, that this is not rocket science, more like an afternoon. But given >> pause by the fact that I have never knowingly seen an android phone, so >> maybe developing an app for one from scratch is a little courageous? >> >> If any of you guys have a spare afternoon, I think the museum market is >> quite interesting. >> >> Sometime if there is a long rainy afternoon, I'll tell you about the even >> more surreal world of museum databases and catalogue software.... Now if >> you think audioguides are a turnup for the books, wait till you hear about >> catalogs.... >> >> Peter >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3799715.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 effendi at wanadoo.fr Thu Sep 8 16:40:31 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 8 Sep 2011 22:40:31 +0200 Subject: How does compiling work? Message-ID: <7D0F2670-0150-4F78-8E02-40DF09E54B61@wanadoo.fr> Hi from Beautiful Brittany, > My understanding of the under-the-hood mechanics is very limited, but > that won't stop me from trying. :) Thanks Richard ! I think you did very well !! Best Regards -Francis From stephenREVOLUTION2 at barncard.com Thu Sep 8 17:02:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 14:02:26 -0700 Subject: audio guide app in livecode? In-Reply-To: <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> Message-ID: could one stay on the line, or did a person have to redial every time? very clever. I wonder what the user limit is? The system would need a rotary bank of virtual phone numbers - an exchange or sub-exchange. it could be done with Skype-In numbers... On 8 September 2011 13:38, Peter M. Brigham, MD wrote: > I was at a museum in the Boston area a while back and they had an > interesting solution. You call a number on your phone, and the audio menu > invites you to enter a number (posted next to each picture), and then you > hear the commentary on that particular picture. Simple, low-tech, doesn't > even require a smart phone. Only requires a cellular phone connection, which > might be a deal-killer for larger museums with internal rooms that are out > of cellular signal range. Still, I thought it was pretty clever. > > -- Peter > > Peter M. Brigham > Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Thu Sep 8 17:03:56 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 14:03:56 -0700 Subject: How does compiling work? In-Reply-To: <4E68CA68.5040202@fourthworld.com> References: <4E689E85.10402@ohrt.org> <4E68CA68.5040202@fourthworld.com> Message-ID: Thanks, Richard. I was hoping you would speak up. This is going into my Script Scrapbook. It is odd that Runrev doesn't tout its technical uniqueness more . LIvecode is a radical departure from other programming languages with provable advantages and measurable productivity. Is their reluctance to explain based on the 'conventional wisdom' that says that technical explanations will only confuse the customer? Would a "how it works" sidebar on the Runrev site be detrimental in any way? It should be noted that the new Livecode Server has a two-pass compiler rather than the single pass for the desktop version. This is a tremendous improvement over the previous version, as it allows the placement of all subroutines below all other activity. I just created a 'one page app' that handles all the stages of display, submitting and responding to an email submission in a single .lc file. All html is encased in livecode handlers that drop in and out of html code. Julian Ohrt wrote: > > Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, >> etc.)? Are the scripts packaged within the executable together with an >> interpreter and interpreted at run time? Or is it more like a virtual >> machine approach? >> > On 8 September 2011 07:00, Richard Gaskin wrote: > > Yes, I think it could be said that LiveCode has more in common with a > virtual machine than almost any other metaphor. > > My understanding of the under-the-hood mechanics is very limited, but that > won't stop me from trying. :) > > There are many layers to code execution and the languages which work at > each level, which could be summarized as: > > - CPU instruction set/Object code: the intructions the processor is able > to handle on its own, purely binary code; these are very primitive, > consistent largely of moving stuff from one memory location to another, some > basic math routines, etc. Most mortals never write machine code directly, > relying on assemblers or or compilers to translate their more human-readable > code into machine instructions. > > .... Stephen Barncard San Francisco Ca. USA more about sqb From sc at sahores-conseil.com Thu Sep 8 17:17:00 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 8 Sep 2011 23:17:00 +0200 Subject: How does compiling work? In-Reply-To: <4E68CA68.5040202@fourthworld.com> References: <4E689E85.10402@ohrt.org> <4E68CA68.5040202@fourthworld.com> Message-ID: <1BCDBB53-1F7B-41B4-B8FB-FEAF956EBEEE@sahores-conseil.com> What a precise and useful synthesis you gives ! Thanks, Richard. Le 8 sept. 2011 ? 16:00, Richard Gaskin a ?crit : > Julian Ohrt wrote: > >> Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, >> etc.)? Are the scripts packaged within the executable together with an >> interpreter and interpreted at run time? Or is it more like a virtual >> machine approach? > > Yes, I think it could be said that LiveCode has more in common with a virtual machine than almost any other metaphor. > > My understanding of the under-the-hood mechanics is very limited, but that won't stop me from trying. :) > > There are many layers to code execution and the languages which work at each level, which could be summarized as: > > - CPU instruction set/Object code: the intructions the processor is able to handle on its own, purely binary code; these are very primitive, consistent largely of moving stuff from one memory location to another, some basic math routines, etc. Most mortals never write machine code directly, relying on assemblers or or compilers to translate their more human-readable code into machine instructions. > > - Assembler: a way of working directly with the CPU instruction set, but with the advantage of using mnemonic labels for the instructions ("MOVE" rather than "0111010"). Generally speaking, there is usually a one-to-one relationship between Assembler instructions and machine instructions. > > - C: Designed as a substitute for Assembler, C allows you to execute many hundreds or even thousands of machine instructions with relatively little code, but it's still somewhat close to the CPU in terms of memory management, data types, options for register use, etc. > > - C++/C#/Objective C: a set of libraries and compilers based on C that implement object-oriented programming, executing many more instructions per line of code and usually involving frameworks that handle many of the common tasks an application will perform. > > - Scripting: Instructions written in very high-level languages which often completely automate things like memory management, type conversion, garbage collection, etc., triggering a great many machine instructions for each line of code, favoring developer convenience at a small cost to efficiency and memory. > > At each of these levels, the number of machine instructions triggered by a line of code is generally higher, meaning ever more of the work is done by the system rather than the programmer. > > Much of the LiveCode engine is written in C++ (with some portions in straight C, I believe), and the LiveCode scripting language is often compiled to an intermediary bytecode, which in the list above might be between C++ and Scripting. > > Bytecode is very different from true object code, in that object code represents the instructions as the CPU itself expects to handle them, while bytecode still needs an intermediary mechanism (such as the LiveCode engine) to translate it into machine instructions. > > Bytecode representations are much closer to those in machine instructions than scripts, making the runtime translation of them often as simple as jumping from one register to another from a densely packed and highly optimized lookup table. > > Moreover, bytecode represents a fairly small subset of the instructions compiled from your script; in many cases they jump directly into compiled object code in the engine, which was written in C++ and compiled to machine code using some of the best modern compilers. So in effect, as Osterhaut puts it in his seminal paper on scripting (see ), good scripting languages are often just a sort of "glue" between true machine-compiled routines. Bytecode makes that glue smaller and more efficient. > > The scripts you write in LiveCode are what gets saved with the file (at least that's what I see when I look at a saved stack file; I can find the scripts but if the bytecode gets saved with it it's amazingly small because I can't find it at all). > > It's my understanding that when a stack is opened, its scripts are compiled to bytecode as the stack's object records are unpacked and the message path is set up. This "runtime compilation" involves parsing your script and translating that into binary tokens that execute much more efficiently. When executing, this bytecode is translated to direct machine instructions on the fly, but as you can see with LiveCode's blazing performance, neither the runtime compilation to bytecode nor the translation of the bytecode into machine instructions is particularly costly. And by separating the tasks, the more costly parsing of the script is done only once, which is one of the reasons why LC outperforms fully-interpreted systems (another reason is careful pruning of the lookup table used in that parsing and in the subsequent bytecode jumps, but that's another story). > > In fact, since so much of the actual execution takes place in the engine's machine-compiled code, performance for many tasks is on par with other systems where you have to wait for a compiler every time you change your code. :) > > There are exceptions to the general rule that script statements are translated to bytecode in advance of execution. For example, the "do" command and the "value" function both require parsing during execution, since they work with strings whose values cannot be known in advance, and therefore cannot be compiled in advance. > > But those tokens also make good examples of LiveCode's efficiency: while technically slower than alternative syntax which can be precompiled to bytecode, the time it takes the engine to parse those expressions and translate them into a form which can be executed is usually measured in microseconds, sometimes fractions of microseconds. > > Along those lines, compare the time it takes LiveCode to compile a script when you push the script editor's "Compile" button to compilation times in almost any other system. With each script compiled to bytecode separately, and with its means of doing so being rather well tuned over a great many years, it's almost instantaneous - you'll never wait for a progress bar when compiling in LiveCode. :) > > > In summary, LiveCode attempts to find a sweet spot between raw performance and developer convenience. You could write faster-executing code in Assembler, but who would want to? Even using languages like C++ will often take orders of magnitude more development time to accomplish similar goals. LiveCode's two-step compilation allows for blazing fast performance with nearly unprecedented return on your development time. > > IMO, an almost ideal sweet spot indeed. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From pmbrig at gmail.com Thu Sep 8 17:31:22 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 8 Sep 2011 17:31:22 -0400 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> Message-ID: <1E2E048B-04CB-4EBB-B1DF-1A74417826B8@gmail.com> On Sep 8, 2011, at 5:02 PM, stephen barncard wrote: > could one stay on the line, or did a person have to redial every time? As I recall, I could stay on the line. > very clever. I wonder what the user limit is? The system would need a rotary > bank of virtual phone numbers - an exchange or sub-exchange. > > it could be done with Skype-In numbers... > > On 8 September 2011 13:38, Peter M. Brigham, MD wrote: > >> I was at a museum in the Boston area a while back and they had an >> interesting solution. You call a number on your phone, and the audio menu >> invites you to enter a number (posted next to each picture), and then you >> hear the commentary on that particular picture. Simple, low-tech, doesn't >> even require a smart phone. Only requires a cellular phone connection, which >> might be a deal-killer for larger museums with internal rooms that are out >> of cellular signal range. Still, I thought it was pretty clever. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mkoob at rogers.com Thu Sep 8 17:40:21 2011 From: mkoob at rogers.com (Martin Koob) Date: Thu, 8 Sep 2011 14:40:21 -0700 (PDT) Subject: [livecode server] calculating signature for Amazon S3 Message-ID: <1315518021306-3800217.post@n4.nabble.com> I am trying to do browser based uploads to amazon S3 buckets from and On-rev page. I am having a problem with the signature not matching. To make the signature a JSON policy has to be base64 encoded then that has to be signed with hmacsha1 and which is then base64encoded. I am using scripts from Mark Smith's bin-crypt library to handle the hmac sha1 digest from his site http://marksmith.on-rev.com/revstuff/index.html the function is hmacsha1.b64() I have used the same function to create authenticated S3 URLs so I know that works for that. I also did a test from the following tutorial: http://doc.s3.amazonaws.com/proposals/post.html#Dealing_with_Success I signed the base64 encoded policy using my handler and the resulting string was the same as the one shown. The problem seems to be with livecode's base64encode() function. In the tutorial i tried to encode the policy given with the base64encode() function and the resulting string is the same except for the last character. Another thing I noticed that the base64 encoded string is wrapped at 72 characters, could that be throwing it off? I tried replacing \r and \n with empty in the string but that did not seem to remove the line wraps. Thanks in advance for any suggestions. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-server-calculating-signature-for-Amazon-S3-tp3800217p3800217.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Thu Sep 8 18:00:34 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 15:00:34 -0700 Subject: audio guide app in livecode? In-Reply-To: <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> <33A720E1-C1B0-4289-A4CA-9D2644C869F0@gmail.com> Message-ID: That sounds perfectly adequate for the job, just not as sexy as a smartphone app! Pete Molly's Revenge On Thu, Sep 8, 2011 at 1:38 PM, Peter M. Brigham, MD wrote: > I was at a museum in the Boston area a while back and they had an > interesting solution. You call a number on your phone, and the audio menu > invites you to enter a number (posted next to each picture), and then you > hear the commentary on that particular picture. Simple, low-tech, doesn't > even require a smart phone. Only requires a cellular phone connection, which > might be a deal-killer for larger museums with internal rooms that are out > of cellular signal range. Still, I thought it was pretty clever. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Sep 8, 2011, at 4:05 PM, Pete wrote: > > > It does sound very simple on the face of it, which begs the question of > why > > nobody has implemented this much cheaper solution already? Perhaps > museums, > > being very traditional institutions, lag behind technology developments? > As > > I recall, I've always had to pay for this type of guide so perhaps the > > museums make money on them, or perhaps they are just recouping the costs > of > > the equipment, who knows. > > > > I'd think an Android phone (I have one) would be more than capable of > doing > > this, as would an iPhone. Storage might be an issue since Android phones > > tend not have a huge amount of SD storage available, maybe 16megs, but > that > > should be room for a lot of mp3 files. > > > > The interesting thing is to ponder on how to charge for this. I could > see a > > situation where some clever person develops a single app that can deal > with > > as many museums as want to subscribe to the service. Maybe the app is > free > > but you pay to download guides to different museums with the payment > being > > split between the museum and the application developer? No need for > wifi, > > the phone data service can take care of the download. No doubt Apple > would > > throw up on including the ability to buy the guide from within the > > application though. > > > > I think you may be on to a very nice business opportunity here Peter! > > > > Pete > > Molly's Revenge > > > > > > > > > > On Thu, Sep 8, 2011 at 11:56 AM, Peter Alcibiades < > > palcibiades-first at yahoo.co.uk> wrote: > > > >> The way the audioguide business works is, you have a special museum type > >> handset. This costs hundreds of dollars to buy, but what it consists of > is > >> a keypad, tiny lcd screen and a phone type speaker. > >> > >> The user goes around the museum and sees large numbers attached to > exhibits > >> or freestanding. He/she then hits the number, and the track plays. > >> > >> Yes, that is really it. And yes, they cost hundreds each. They come > with > >> a > >> charging rack typically so you can plug them in to recharge overnight, > and > >> they have a 512Mb compact flash card. > >> > >> Then you get software with them. The way this works is very nice. The > >> software is registered to the individual machine you first install it > on. > >> Want another machine? Pay. This software uploads the tracks you have > >> recorded into the handsets. What you do is load one handset, the > master, > >> and then this propogates to all the others. The makers of this software > do > >> not seem to have thought of virtual machines, because if you install on > one > >> of these, you can put it all over the place in as many machines as you > >> like. > >> Well, there you go. > >> > >> My first inclination, when confronted with this, was to say what is > wrong > >> with cheap mp3 players? Well, this is where it gets interesting. You > get > >> grants for this stuff as a charity and museum. The grants are based on > the > >> going rate, which is hugely expensive, because no-one does this stuff > >> themselves, they get consultants in to do it all for them. A museum, > >> which > >> will be state run of course in Europe, can easily spend $100k or so to > have > >> 50+ handsets and the right tracks recorded by professional actors. > >> > >> Into this surreal world comes Android. The thing about android phones > is > >> they can run apps. It looks to your usual, what is the word, > adventurous > >> user? asi if anyone with half a brain could make an app that as J says, > >> only needs to play a track when a number is pressed. Why, I am asking > >> myself, should this cost more than about ?200 including the mobile > >> non-profit Livecode purchase? Some cheap machine they have lying > around, > >> and there's a usb port to host it on. What more do you need? > >> > >> So, I'm on the point of saying to the museum, buy me the livecode > android > >> version, and away we go. Glad to hear everyone saying in tones very > like > >> my > >> own, that this is not rocket science, more like an afternoon. But given > >> pause by the fact that I have never knowingly seen an android phone, so > >> maybe developing an app for one from scratch is a little courageous? > >> > >> If any of you guys have a spare afternoon, I think the museum market is > >> quite interesting. > >> > >> Sometime if there is a long rainy afternoon, I'll tell you about the > even > >> more surreal world of museum databases and catalogue software.... Now > if > >> you think audioguides are a turnup for the books, wait till you hear > about > >> catalogs.... > >> > >> Peter > >> > >> -- > >> View this message in context: > >> > http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3799715.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Thu Sep 8 18:04:03 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 15:04:03 -0700 Subject: audio guide app in livecode? In-Reply-To: References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <947ea236331ed14c8f8822d185ce6413@mfelkerco.com> <131E26D0-0E42-46E5-B2B4-615E9DA86497@twft.com> <1315508170746-3799715.post@n4.nabble.com> Message-ID: Definitely concur with having to mess with things to see just how they might turn out. On the other hand, I don't see anything mutually exclusive about the "first" and the "best" version of anything. Take the iPad for example. Much as I hate Apple's imperious attitude to what an app can and can't do on an iPad, it seems that none of its competitors have come remotely close to challenging its market share yet. Pete Molly's Revenge On Thu, Sep 8, 2011 at 1:19 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Here's the rub- if one has an idea and the time, a person with even a > medium > amount of experience with Livecode can do this. > > - personally I can't learn ANYTHING unless I am actually messing with it. > I > need a goal to learn. > > Even if someone beats you to the punch for an 'obvious idea' - you'll be > ready with the better and more competitive version later- with the > advantage > of seeing the shortcomings and flaws in the first to market version. (and > users comments in the app store) > > And you will always have your 'boilerplate' code and methodology that you > created - which, if you designed correctly, could be used elsewhere for > other applications. > > On 8 September 2011 13:05, Pete wrote: > > > It does sound very simple on the face of it, which begs the question of > why > > nobody has implemented this much cheaper solution already? Perhaps > > museums, > > being very traditional institutions, lag behind technology developments? > > As > > I recall, I've always had to pay for this type of guide so perhaps the > > museums make money on them, or perhaps they are just recouping the costs > of > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 8 18:29:31 2011 From: jiml at netrin.com (Jim Lambert) Date: Thu, 8 Sep 2011 15:29:31 -0700 Subject: audio guide app in livecode? In-Reply-To: References: Message-ID: I recently attended the Tim Burton exhibition at Los Angeles County Museum Of Art. You can rent an iPod Touch which was locked onto an app that allowed you to plug in numbers corresponding to exhibits. Audio, video, text played. It was well done. The real production expense of these things is neither the programming nor equipment, but the conceptualization in coordination with the exhibitors/museums, design, writing, directing, performances, recording, animating, editing, biz dev/producing, publicity, etc. Rather like mini movies. There are lots of ways to publish now. I'd bet the traditional proprietary equipment method that PeterA described so well is on the way out. One can imagine HTML 5 on a visitor's smartphone tapping from site specific WIFI servers. It's no secret that at least two major US carriers plan to equip large venues, like museums and stadiums, with WiFi just to take the load off their cellular networks. Jim Lambert From pete at mollysrevenge.com Thu Sep 8 19:21:38 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 8 Sep 2011 16:21:38 -0700 Subject: audio guide app in livecode? In-Reply-To: References: Message-ID: That's another variation. But the museum still has to pay for a bunch of iPads. What I had in mind meant they wouldn't have to buy any hardware. Yes, the expense is the making of the movie as it were, but what I had in mind was that the museums would be the ones paying for all that (which I assume they do anyway) and the free smartphone app (or pad computer) would just be the conduit to play the result. The fee to download the guide would pay back the museum and the developer, or you could set it up so the museum kept all the download fees and paid the developer a license fee to use the app. And the museum visitor has something to take away as a memento of the visit. I'm almost talking myself into looking into this further! Pete Molly's Revenge On Thu, Sep 8, 2011 at 3:29 PM, Jim Lambert wrote: > I recently attended the Tim Burton exhibition at Los Angeles County Museum > Of Art. > You can rent an iPod Touch which was locked onto an app that allowed you to > plug in numbers corresponding to exhibits. > Audio, video, text played. > It was well done. > > The real production expense of these things is neither the programming nor > equipment, but the conceptualization in coordination with the > exhibitors/museums, design, writing, directing, performances, recording, > animating, editing, biz dev/producing, publicity, etc. > Rather like mini movies. > > There are lots of ways to publish now. I'd bet the traditional proprietary > equipment method that PeterA described so well is on the way out. > One can imagine HTML 5 on a visitor's smartphone tapping from site specific > WIFI servers. > It's no secret that at least two major US carriers plan to equip large > venues, like museums and stadiums, with WiFi just to take the load off their > cellular networks. > > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jhj at jhj.com Thu Sep 8 19:27:43 2011 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 8 Sep 2011 16:27:43 -0700 Subject: audio guide app in livecode? In-Reply-To: References: Message-ID: <90060A48-1F67-46E5-A175-71278ED4882D@jhj.com> On Sep 8, 2011, at 3:29 PM, Jim Lambert wrote: > I recently attended the Tim Burton exhibition at Los Angeles County Museum Of Art. > You can rent an iPod Touch which was locked onto an app that allowed you to plug in numbers corresponding to exhibits. How do you lock an iPod Touch onto a single app? I could really use that! --Jerry Jensen From niconiko at gmail.com Fri Sep 9 01:09:31 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 9 Sep 2011 14:09:31 +0900 Subject: "send" in 24-hours Message-ID: Hello, Two parts to my quandary, both relating to a school-chime stack I'm making -- it plays a "chime" sound-file at hourly-intervals (more or less) every weekday. First, I recall reading once a warning about overly long "send" values. In my stack's case, the "send A in X seconds" values are either 60 minutes or 24-hours (converted to seconds). What, if any, concerns should I have when using "send" with such large values? Second, I've got my stack to work with this set of time-values: 8:00 12:59 13:02 13:03 Obviously, I haven't tested a "send in 60 minutes" value. But, up to the 13:03-chime, no problems. Now, I want to test the jump in time from one day to the next -- say between the 13:03-chime on Thursday and the 8:00-chime on the next day Friday -- but, obviously, I do not want to wait a whole day for that. I tried changing my PC's day-and-time settings, but no go. If it helps, here is my script for calculating the "send" time difference between 13:03 and 8:00 the next day: put "13:30" into tTimeA convert tTimeA to seconds put "11:40" into tTimeB convert tTimeB to seconds convert tTimeB to dateitems add 24 to item 4 of tTimeB convert tTimeB to seconds put abs(tTimeB - tTimeA) into tNextChimeTimeInSeconds send "play chime" to me in tNextChimeTimeInSeconds seconds set the cpPending of me to the result Thanks. -- Nicolas Cueto From bvlahos at mac.com Fri Sep 9 01:46:09 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 08 Sep 2011 22:46:09 -0700 Subject: "send" in 24-hours In-Reply-To: References: Message-ID: <6D8D575F-D515-444D-BB36-EC4929C55F7B@mac.com> Nicholas, I don't think there are any specific concerns about very long send it times other than the minor ones I'm writing here. 1. You will have a problem when Daylight Savings time kicks in and out because it is counting the seconds not actually paying attention to what time it is. 2. Obviously if the program quits and restarts all pending sends are canceled so at startup you will need to set them. 3. You will want to make sure you are not accumulating unfinished sends. If you end up with more than one send message for the same thing each one will be processed. 4. To avoid these problems you could have a process that cancels all pending messages (say at midnight) and then recreates them. This would avoid the DST changes. It is surprisingly easy to accumulate pending messages. If you know how many you are supposed to have at any one time then check to see if there are more than that. But then you will have to figure out the ones you want to keep from the ones you don't. It is pretty easy to just cancel all of them periodically and then recreate them. 5. You want to avoid what I call "time creep". If you know the specific times of day then calculate the number of seconds from "now" to that time. That way you will avoid potentially adding a second or so on each iteration. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Sep 8, 2011, at 10:09 PM, Nicolas Cueto wrote: > Hello, > > Two parts to my quandary, both relating to a school-chime stack I'm > making -- it plays a "chime" sound-file at hourly-intervals (more or > less) every weekday. > > First, I recall reading once a warning about overly long "send" > values. In my stack's case, the "send A in X seconds" values are > either 60 minutes or 24-hours (converted to seconds). What, if any, > concerns should I have when using "send" with such large values? > > Second, I've got my stack to work with this set of time-values: > > 8:00 > 12:59 > 13:02 > 13:03 > > Obviously, I haven't tested a "send in 60 minutes" value. But, up to > the 13:03-chime, no problems. > > Now, I want to test the jump in time from one day to the next -- say > between the 13:03-chime on Thursday and the 8:00-chime on the next day > Friday -- but, obviously, I do not want to wait a whole day for that. > I tried changing my PC's day-and-time settings, but no go. > > If it helps, here is my script for calculating the "send" time > difference between 13:03 and 8:00 the next day: > > put "13:30" into tTimeA > convert tTimeA to seconds > put "11:40" into tTimeB > convert tTimeB to seconds > convert tTimeB to dateitems > add 24 to item 4 of tTimeB > convert tTimeB to seconds > put abs(tTimeB - tTimeA) into tNextChimeTimeInSeconds > send "play chime" to me in tNextChimeTimeInSeconds seconds > set the cpPending of me to the result > > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Sep 9 01:52:38 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 8 Sep 2011 22:52:38 -0700 Subject: "send" in 24-hours In-Reply-To: References: Message-ID: Here's a technique that I used that provides very accurate and dependable long period timer use 'send in time' with SHORT timings to check the current time. then compare the number obtained against your desired timeout value. It could even be a list of values each being a trigger for an event. Use *send in tim*e values like one per second or even once per minute. This also works great for countdown and count up visible counters. sqb On 8 September 2011 22:09, Nicolas Cueto wrote: > Hello, > > Two parts to my quandary, both relating to a school-chime stack I'm > making -- it plays a "chime" sound-file at hourly-intervals (more or > less) every weekday. > > First, I recall reading once a warning about overly long "send" > values. In my stack's case, the "send A in X seconds" values are > either 60 minutes or 24-hours (converted to seconds). What, if any, > concerns should I have when using "send" with such large values? > > Second, I've got my stack to work with this set of time-values: > > 8:00 > 12:59 > 13:02 > 13:03 > > Obviously, I haven't tested a "send in 60 minutes" value. But, up to > the 13:03-chime, no problems. > > Now, I want to test the jump in time from one day to the next -- say > between the 13:03-chime on Thursday and the 8:00-chime on the next day > Friday -- but, obviously, I do not want to wait a whole day for that. > I tried changing my PC's day-and-time settings, but no go. > > If it helps, here is my script for calculating the "send" time > difference between 13:03 and 8:00 the next day: > > put "13:30" into tTimeA > convert tTimeA to seconds > put "11:40" into tTimeB > convert tTimeB to seconds > convert tTimeB to dateitems > add 24 to item 4 of tTimeB > convert tTimeB to seconds > put abs(tTimeB - tTimeA) into tNextChimeTimeInSeconds > send "play chime" to me in tNextChimeTimeInSeconds seconds > set the cpPending of me to the result > > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From lists.runrev.com at ohrt.org Fri Sep 9 04:42:17 2011 From: lists.runrev.com at ohrt.org (Julian Ohrt) Date: Fri, 09 Sep 2011 10:42:17 +0200 Subject: How does compiling work? In-Reply-To: <4E68CA68.5040202@fourthworld.com> References: <4E689E85.10402@ohrt.org> <4E68CA68.5040202@fourthworld.com> Message-ID: <4E69D169.5010708@ohrt.org> Wow! Thank you very much, Richard! Sounds a little like PHP which -on loading- creates opcode which is executed on the fly; but also allows interpreted code (using the eval() function). Too bad that there is no official "how it works" explanation as Stephen pointed out. Thanks again! Julian On 08.09.2011 16:00, Richard Gaskin wrote: > Julian Ohrt wrote: > >> Is there any documentation how compiling of livecode works internally? >> Is it a compiler which can produce native code (for Windows, Linux, >> etc.)? Are the scripts packaged within the executable together with an >> interpreter and interpreted at run time? Or is it more like a virtual >> machine approach? > > Yes, I think it could be said that LiveCode has more in common with a > virtual machine than almost any other metaphor. > > My understanding of the under-the-hood mechanics is very limited, but > that won't stop me from trying. :) > > There are many layers to code execution and the languages which work at > each level, which could be summarized as: > > - CPU instruction set/Object code: the intructions the processor is able > to handle on its own, purely binary code; these are very primitive, > consistent largely of moving stuff from one memory location to another, > some basic math routines, etc. Most mortals never write machine code > directly, relying on assemblers or or compilers to translate their more > human-readable code into machine instructions. > > - Assembler: a way of working directly with the CPU instruction set, but > with the advantage of using mnemonic labels for the instructions ("MOVE" > rather than "0111010"). Generally speaking, there is usually a > one-to-one relationship between Assembler instructions and machine > instructions. > > - C: Designed as a substitute for Assembler, C allows you to execute > many hundreds or even thousands of machine instructions with relatively > little code, but it's still somewhat close to the CPU in terms of memory > management, data types, options for register use, etc. > > - C++/C#/Objective C: a set of libraries and compilers based on C that > implement object-oriented programming, executing many more instructions > per line of code and usually involving frameworks that handle many of > the common tasks an application will perform. > > - Scripting: Instructions written in very high-level languages which > often completely automate things like memory management, type > conversion, garbage collection, etc., triggering a great many machine > instructions for each line of code, favoring developer convenience at a > small cost to efficiency and memory. > > At each of these levels, the number of machine instructions triggered by > a line of code is generally higher, meaning ever more of the work is > done by the system rather than the programmer. > > Much of the LiveCode engine is written in C++ (with some portions in > straight C, I believe), and the LiveCode scripting language is often > compiled to an intermediary bytecode, which in the list above might be > between C++ and Scripting. > > Bytecode is very different from true object code, in that object code > represents the instructions as the CPU itself expects to handle them, > while bytecode still needs an intermediary mechanism (such as the > LiveCode engine) to translate it into machine instructions. > > Bytecode representations are much closer to those in machine > instructions than scripts, making the runtime translation of them often > as simple as jumping from one register to another from a densely packed > and highly optimized lookup table. > > Moreover, bytecode represents a fairly small subset of the instructions > compiled from your script; in many cases they jump directly into > compiled object code in the engine, which was written in C++ and > compiled to machine code using some of the best modern compilers. So in > effect, as Osterhaut puts it in his seminal paper on scripting (see > ), good > scripting languages are often just a sort of "glue" between true > machine-compiled routines. Bytecode makes that glue smaller and more > efficient. > > The scripts you write in LiveCode are what gets saved with the file (at > least that's what I see when I look at a saved stack file; I can find > the scripts but if the bytecode gets saved with it it's amazingly small > because I can't find it at all). > > It's my understanding that when a stack is opened, its scripts are > compiled to bytecode as the stack's object records are unpacked and the > message path is set up. This "runtime compilation" involves parsing your > script and translating that into binary tokens that execute much more > efficiently. When executing, this bytecode is translated to direct > machine instructions on the fly, but as you can see with LiveCode's > blazing performance, neither the runtime compilation to bytecode nor the > translation of the bytecode into machine instructions is particularly > costly. And by separating the tasks, the more costly parsing of the > script is done only once, which is one of the reasons why LC outperforms > fully-interpreted systems (another reason is careful pruning of the > lookup table used in that parsing and in the subsequent bytecode jumps, > but that's another story). > > In fact, since so much of the actual execution takes place in the > engine's machine-compiled code, performance for many tasks is on par > with other systems where you have to wait for a compiler every time you > change your code. :) > > There are exceptions to the general rule that script statements are > translated to bytecode in advance of execution. For example, the "do" > command and the "value" function both require parsing during execution, > since they work with strings whose values cannot be known in advance, > and therefore cannot be compiled in advance. > > But those tokens also make good examples of LiveCode's efficiency: while > technically slower than alternative syntax which can be precompiled to > bytecode, the time it takes the engine to parse those expressions and > translate them into a form which can be executed is usually measured in > microseconds, sometimes fractions of microseconds. > > Along those lines, compare the time it takes LiveCode to compile a > script when you push the script editor's "Compile" button to compilation > times in almost any other system. With each script compiled to bytecode > separately, and with its means of doing so being rather well tuned over > a great many years, it's almost instantaneous - you'll never wait for a > progress bar when compiling in LiveCode. :) > > > In summary, LiveCode attempts to find a sweet spot between raw > performance and developer convenience. You could write faster-executing > code in Assembler, but who would want to? Even using languages like C++ > will often take orders of magnitude more development time to accomplish > similar goals. LiveCode's two-step compilation allows for blazing fast > performance with nearly unprecedented return on your development time. > > IMO, an almost ideal sweet spot indeed. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 clarkeandclarke.co.uk Fri Sep 9 05:01:05 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 9 Sep 2011 10:01:05 +0100 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: Message-ID: <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Folks, What's the current view on whether to upgrade to Lion for LC development machines yet? Have any of you expert developers upgraded your primary Macs to Lion and got inside the cage - or is it still being treated as a 'foreign beta' OS to be isolated and poked at, cautiously, through the bars, with a longish stick? Only my main MacBook Pro (which I currently use for everything) meets the minimum hardware spec. I also have older hardware MacBook Pro and Mini (which it seems will now peak at Snow Leopard and Snow Leopard Server, respectively). So I'm not sure whether to upgrade my main machine and/or shift development to an older Mac - or just ignore Lion for a while? Best, Keith.. From dixonja at hotmail.co.uk Fri Sep 9 05:05:21 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 9 Sep 2011 10:05:21 +0100 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> References: , <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Message-ID: Keith... I can't speak for others... I'm running Lion on an external drive at the moment on a macBookPro... using a very long stick ..:-) Dixie > Folks, > What's the current view on whether to upgrade to Lion for LC development machines yet? > > Have any of you expert developers upgraded your primary Macs to Lion and got inside the cage - or is it still being treated as a 'foreign beta' OS to be isolated and poked at, cautiously, through the bars, with a longish stick? > Keith.. From keith.clarke at clarkeandclarke.co.uk Fri Sep 9 05:51:47 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 9 Sep 2011 10:51:47 +0100 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: , <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Message-ID: Interesting approach Dixie. I was thinking about maybe creating a Lion partition on my system drive and then creating a Parallels Lion VM but using an external drive may be simpler and indeed, introduce a longer stick! Best, Keith.. On 9 Sep 2011, at 10:05, John Dixon wrote: > Keith... > I can't speak for others... I'm running Lion on an external drive at the moment on a macBookPro... using a very long stick ..:-) > Dixie >> Folks, >> What's the current view on whether to upgrade to Lion for LC development machines yet? >> >> Have any of you expert developers upgraded your primary Macs to Lion and got inside the cage - or is it still being treated as a 'foreign beta' OS to be isolated and poked at, cautiously, through the bars, with a longish stick? > >> Keith.. From gregory.lypny at videotron.ca Fri Sep 9 11:35:36 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 09 Sep 2011 11:35:36 -0400 Subject: Curious Glitch in My FTP App Message-ID: <1C04F887-72EE-4408-8CF5-6925730572AD@videotron.ca> Hello everyone, I created a desktop utility that allows my students to access files on my Mac via FTP. I compiled it for Mac, Windows, and Linux. The app opens with a user ID and password field so that students can create accounts. Most students have been able to create accounts without a problem, but I have had three or four instances of students not being able to sign back in after creating an account. The sign-in process is a simple one where the user ID and password they provide in the app is used to retrieve the account file and authenticate. Seems that for some of my Windows users, nothing happens when they click the Sign In button, that is, there is no error but the app is not picking anything up to authenticate. Here?s an excerpt of an email from one of my students, who refers to the sign-in not working from her PC laptop. When I tried to sign in on my laptop it still didn't work. But when I tried on a Mac I was able to access it. Any thoughts? Gregory From sc at sahores-conseil.com Fri Sep 9 11:56:03 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 9 Sep 2011 17:56:03 +0200 Subject: Curious Glitch in My FTP App In-Reply-To: <1C04F887-72EE-4408-8CF5-6925730572AD@videotron.ca> References: <1C04F887-72EE-4408-8CF5-6925730572AD@videotron.ca> Message-ID: <563DE9D6-928C-4D32-A0BB-347A5B94EBB8@sahores-conseil.com> Could it not be related to urlencode / charset handling troubles ? Le 9 sept. 2011 ? 17:35, Gregory Lypny a ?crit : > Hello everyone, > > I created a desktop utility that allows my students to access files on my Mac via FTP. I compiled it for Mac, Windows, and Linux. The app opens with a user ID and password field so that students can create accounts. Most students have been able to create accounts without a problem, but I have had three or four instances of students not being able to sign back in after creating an account. The sign-in process is a simple one where the user ID and password they provide in the app is used to retrieve the account file and authenticate. Seems that for some of my Windows users, nothing happens when they click the Sign In button, that is, there is no error but the app is not picking anything up to authenticate. Here?s an excerpt of an email from one of my students, who refers to the sign-in not working from her PC laptop. > > When I tried to sign in on my laptop it still didn't work. But when I tried on a Mac I was able to access it. > > Any thoughts? > > Gregory > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From roger.e.eller at sealedair.com Fri Sep 9 12:27:49 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 9 Sep 2011 12:27:49 -0400 Subject: Checksum via FTP??? Message-ID: The following function was posted on the old Use-Revolution list. I was wondering how to do the same after downloading a file via FTP. The server ONLY has an FTP connection, no SMB/CIFS. -- by Chipp Walters (4/27/2007 on Rev List) function getChecksum pFilePath if there is not a file pFilePath then return "" return URLencode(md5digest(URL ("binfile:" & pFilePath))) end getChecksum ~Roger From stephenREVOLUTION2 at barncard.com Fri Sep 9 12:29:14 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 9 Sep 2011 09:29:14 -0700 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Message-ID: Apple's got you there. Mac OS's no longer boot from external drives, at least the last time I tried. You gotta have a machine with slots and extra drive bays to do that. bummer. Also Lion is still download only - no disc. Also -- my opinion - partitioning sucks and is possibly dangerous. Drives are cheap these days, just get another one. sqb On 9 September 2011 02:51, Keith Clarke wrote: > Interesting approach Dixie. I was thinking about maybe creating a Lion > partition on my system drive and then creating a Parallels Lion VM but using > an external drive may be simpler and indeed, introduce a longer stick! > Best, > Keith.. > > On 9 Sep 2011, at 10:05, John Dixon wrote: > > > Keith... > > I can't speak for others... I'm running Lion on an external drive at the > moment on a macBookPro... using a very long stick ..:-) > > Dixie > >> Folks, > >> What's the current view on whether to upgrade to Lion for LC development > machines yet? > >> > >> Have any of you expert developers upgraded your primary Macs to Lion and > got inside the cage - or is it still being treated as a 'foreign beta' OS to > be isolated and poked at, cautiously, through the bars, with a longish > stick? > > > >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dixonja at hotmail.co.uk Fri Sep 9 12:36:07 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 9 Sep 2011 17:36:07 +0100 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: , <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk>, , , Message-ID: Stephen, I have Lion on an external drive and it boots, not had a problem... I've got my startup disk that boots 10.6.8 on 'startup', but if I wish to use lion I just hold down the option key when starting up my mac... To install lion, I loaded 10.6.8 onto an external drive and installed lion on it from iTunes... Dixie > Apple's got you there. Mac OS's no longer boot from external drives, at > least the last time I tried. You gotta have a machine with slots and extra > drive bays to do that. bummer. Also Lion is still download only - no disc. > > Also -- my opinion - partitioning sucks and is possibly dangerous. Drives > are cheap these days, just get another one. > > > sqb > > > > Interesting approach Dixie. I was thinking about maybe creating a Lion > > partition on my system drive and then creating a Parallels Lion VM but using > > an external drive may be simpler and indeed, introduce a longer stick! > > Best, > > Keith.. > > > > On 9 Sep 2011, at 10:05, John Dixon wrote: > > > > > Keith... > > > I can't speak for others... I'm running Lion on an external drive at the > > moment on a macBookPro... using a very long stick ..:-) > > > Dixie > > >> Folks, > > >> What's the current view on whether to upgrade to Lion for LC development > > machines yet? > > >> > > >> Have any of you expert developers upgraded your primary Macs to Lion and > > got inside the cage - or is it still being treated as a 'foreign beta' OS to > > be isolated and poked at, cautiously, through the bars, with a longish > > stick? > > > > > >> Keith.. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Sep 9 12:57:59 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 9 Sep 2011 09:57:59 -0700 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Message-ID: Then apple flip-flopped this one too. I just gave up trying years ago. Not booting from external drives probably made it hard for their own service techs (Mac Store Geniuses) to get things done. THis is good to know. I'm glad I"m wrong. On 9 September 2011 09:36, John Dixon wrote: > > Stephen, > I have Lion on an external drive and it boots, not had a problem... I've > got my startup disk that boots 10.6.8 on 'startup', but if I wish to use > lion I just hold down the option key when starting up my mac... To install > lion, I loaded 10.6.8 onto an external drive and installed lion on it from > iTunes... > Dixie > > > > Apple's got you there. Mac OS's no longer boot from external drives, at > > least the last time I tried. You gotta have a machine with slots and > extra > > drive bays to do that. bummer. Also Lion is still download only - no > disc. > > > > Also -- my opinion - partitioning sucks and is possibly dangerous. Drives > > are cheap these days, just get another one. > > > > > > sqb > > > > >Stephen Barncard > San Francisco Ca. USA more about sqb From coiin at verizon.net Fri Sep 9 13:04:33 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 09 Sep 2011 13:04:33 -0400 Subject: Is it safe to upgrade development machines to Lion yet? In-Reply-To: References: <32D8A6AF-9394-479E-9DC5-0888EE13005C@clarkeandclarke.co.uk> Message-ID: One nice thing is that I can use the same external drive to use Lion on more than one machine, though it does seem to still think it's on the machine it was installed from. It insists on telling me my old MackBook Pro is a MacBook Air. I don't mind, it continues to work ok after that. On Sep 9, 2011, at 12:57 PM, stephen barncard wrote: > THis is good to know. I'm glad I"m wrong. From jiml at netrin.com Fri Sep 9 13:44:23 2011 From: jiml at netrin.com (Jim Lambert) Date: Fri, 9 Sep 2011 10:44:23 -0700 Subject: audio guide app in livecode? In-Reply-To: References: Message-ID: <1ECCA5E2-8619-466B-8659-6E43F4F2D92C@netrin.com> On Sep 9, 2011, at 10:00 AM, use-livecode-request at lists.runrev.com wrote: > How do you lock an iPod Touch onto a single app? I could really use that! I can't recall how they did it. It was awhile ago. I'm thinking they may have put a little case around it to prevent the home button being pressed. JimL From gregory.lypny at videotron.ca Fri Sep 9 13:56:30 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 09 Sep 2011 13:56:30 -0400 Subject: Curious Glitch in My FTP App In-Reply-To: References: Message-ID: Hello Pierre, Thank you for responding. Yes, it may be. The account files are comma-delimited text and are sitting on my remote Mac, which acts as the server. What you do suggest? Clean the line endings? I?ve also been looking for a LiveCode function that tells me the OS os the user but cannot find one. I know it exists! Gregory On Fri, Sep 9, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > Could it not be related to urlencode / charset handling troubles ? From scott at tactilemedia.com Fri Sep 9 14:12:04 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 09 Sep 2011 11:12:04 -0700 Subject: Curious Glitch in My FTP App In-Reply-To: Message-ID: Recently, Gregory Lypny wrote: > I?ve also been looking for a LiveCode function that tells me the OS os the > user but cannot find one. I know it exists! Do you mean platform() ? Or systemVersion() ? Regards, Scott Rossi Creative Director Tactile Media, UX Design From gregory.lypny at videotron.ca Fri Sep 9 14:32:11 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 09 Sep 2011 14:32:11 -0400 Subject: Question About PreOpenStack Message-ID: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> I have a main stack with a PreOpenStack handler and sub-stacks with PreOpenStack handlers. Why is it that when I click a Go button in the main stack that opens a sub-stack, the PreOpenStack handler in the main stack is executed? Gregory From sc at sahores-conseil.com Fri Sep 9 14:34:03 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 9 Sep 2011 20:34:03 +0200 Subject: Curious Glitch in My FTP App In-Reply-To: References: Message-ID: Le 9 sept. 2011 ? 19:56, Gregory Lypny a ?crit : > Hello Pierre, > > Thank you for responding. Yes, it may be. The account files are comma-delimited text and are sitting on my remote Mac, which acts as the server. What you do suggest? Clean the line endings? How are your "account files" handled, by hand (if yes, try how it goes in saving them in different charset (UTF-8, ISO-8859-1 (Latin 1), ... in using TextMate or the excellent free TextWrangler) and different line ending options ((LF, CR, CRLF) to track the problem) or programmatically (if yes, way one test should help too)? > > I?ve also been looking for a LiveCode function that tells me the OS os the user but cannot find one. I know it exists! > > Gregory > > > On Fri, Sep 9, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > >> Could it not be related to urlencode / charset handling troubles ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From palcibiades-first at yahoo.co.uk Fri Sep 9 14:42:41 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 9 Sep 2011 11:42:41 -0700 (PDT) Subject: audio guide app in livecode? In-Reply-To: <90060A48-1F67-46E5-A175-71278ED4882D@jhj.com> References: <201109080204.41251.palcibiades-first@yahoo.co.uk> <90060A48-1F67-46E5-A175-71278ED4882D@jhj.com> Message-ID: <1315593761406-3802486.post@n4.nabble.com> There is a company in the UK who supplied audioguides for museums based on an iPod, and they did this with a special case. The problem you have is that maybe you can find an mp3 player with a speaker (you need to consider disability, and you can't do headphones for hygiene reasons), but then you have a very stealable item. So you need either a really foolproof case or some other way of making them secure. Asking for a deposit adds work for the staff, you don't want to get into that, holding credit cards and so on. Not manageable. Curiously enough, the total uselessness of these museum grade handsets with $5 of electronics in them selling for hundreds is their value. You can't play games on them, you can't put music on them. They are totally useless except for this one purpose, and so none of them get stolen. i will do a post about museum catalogue software packages one of these days. You won't know whether to laugh or cry. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/audio-guide-app-in-livecode-tp3797632p3802486.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Fri Sep 9 14:49:54 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 9 Sep 2011 14:49:54 -0400 (EDT) Subject: Question About PreOpenStack In-Reply-To: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> References: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> Message-ID: <8CE3D3865A3D629-E20-3BA15@webmail-m092.sysops.aol.com> Hi. I don't see this. I made a main stack and a substack. When I open the subStack from the mainStack, I only get an answer from the preOpenstack handler in the subStack stack script. I only get an answer from the PreOpenstack handler in the mainStack stack script. You are not passing "PreOpenstack" in the substack handler are you? Craig Newman -----Original Message----- From: Gregory Lypny To: LiveCode Sent: Fri, Sep 9, 2011 10:34 am Subject: Question About PreOpenStack I have a main stack with a PreOpenStack handler and sub-stacks with PreOpenStack handlers. Why is it that when I click a Go button in the main stack that opens a sub-stack, the PreOpenStack handler in the main stack is executed? Gregory _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Sep 9 14:57:48 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 9 Sep 2011 20:57:48 +0200 Subject: Question About PreOpenStack In-Reply-To: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> References: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> Message-ID: <19A9F817-5A45-4F33-90D2-8922E74211C9@economy-x-talk.com> Hi Gregory, That's called the message hierarchy. This is discussed in the user manual. Messages go from front scripts to button/field to background, card, substack, mainstack, stack in use to back scripts. -- 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 9 sep. 2011 om 20:32 heeft Gregory Lypny het volgende geschreven: > I have a main stack with a PreOpenStack handler and sub-stacks with PreOpenStack handlers. Why is it that when I click a Go button in the main stack that opens a sub-stack, the PreOpenStack handler in the main stack is executed? > > Gregory > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Sep 9 15:09:57 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 09 Sep 2011 12:09:57 -0700 Subject: Question About PreOpenStack In-Reply-To: <46C36402-9156-48CE-AD33-0A2DBCA3D88C@videotron.ca> Message-ID: Recently, Gregory Lypny wrote: > I have a main stack with a PreOpenStack handler and sub-stacks with > PreOpenStack handlers. Why is it that when I click a Go button in the main > stack that opens a sub-stack, the PreOpenStack handler in the main stack is > executed? Messages from substacks automatically "fall through" to the script of the mainstack. If you don't want this behavior, you can: 1) put empty preOpenStack handers in your substacks 2) add a "check" to the mainstack script (ie, if the owner of me is empty then doMyStuff) 3) move your preOpenStack handlers from the script of your mainstack into the card script of the first card of your mainstack Regards, Scott Rossi Creative Director Tactile Media, UX Design From josh at dvcreators.net Fri Sep 9 17:03:43 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 9 Sep 2011 14:03:43 -0700 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? Message-ID: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Just wondering what best practices are when wanting to reference an image (or button or other non-text field control) in a Data Grid form. img "blueCircle" of grp x of grp "DataGrid" works, but x does not seem to correlate with either the index or line number. So, does anyone know: 1. what x is? 2. how to get x (the group number of the group containing the image) when the image is clicked on? 3. Any other way to easily reference a control in a Data Grid form? Thanks in advance! From mwieder at ahsoftware.net Fri Sep 9 17:09:34 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Sep 2011 14:09:34 -0700 Subject: Question About PreOpenStack In-Reply-To: References: Message-ID: <156106563109.20110909140934@ahsoftware.net> Scott- Friday, September 9, 2011, 12:09:57 PM, you wrote: > 3) move your preOpenStack handlers from the script of your mainstack into > the card script of the first card of your mainstack Indeed, the documentation states that the preOpenStack message is "sent to the destination card when you open a stack." The preferred place for preOpenStack, openStack, etc handlers is in the first card of the stack *unless* you want all the substacks to trigger the message as well. -- -Mark Wieder mwieder at ahsoftware.net From zryip.theslug at gmail.com Fri Sep 9 17:36:27 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 9 Sep 2011 23:36:27 +0200 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? In-Reply-To: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> References: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Message-ID: On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker wrote: > Just wondering what best practices are when wanting to reference an image (or button or other non-text field control) in a Data Grid form. > > > img "blueCircle" of grp x of grp "DataGrid" > > works, but x does not seem to correlate with either the index or line number. > > > So, does anyone know: > > 1. what x is? > > 2. how to get x (the group number of the group containing the image) when the image is clicked on? > > 3. Any other way to easily reference a control in a Data Grid form? > > Thanks in advance! Hi Josh, Have a look to the dgDataControlOfIndex property in the datagrid API: http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-Data-Grid-API Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Fri Sep 9 17:38:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 16:38:48 -0500 Subject: Checksum via FTP??? In-Reply-To: References: Message-ID: <4E6A8768.1070803@hyperactivesw.com> On 9/9/11 11:27 AM, Roger Eller wrote: > The following function was posted on the old Use-Revolution list. I was > wondering how to do the same after downloading a file via FTP. The server > ONLY has an FTP connection, no SMB/CIFS. > > -- by Chipp Walters (4/27/2007 on Rev List) > function getChecksum pFilePath > if there is not a file pFilePath then return "" > return URLencode(md5digest(URL ("binfile:"& pFilePath))) > end getChecksum This reads a file on disk, so it shouldn't matter how the file got there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Sep 9 17:40:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 16:40:57 -0500 Subject: Question About PreOpenStack In-Reply-To: References: Message-ID: <4E6A87E9.6050402@hyperactivesw.com> On 9/9/11 2:09 PM, Scott Rossi wrote: > Recently, Gregory Lypny wrote: > >> I have a main stack with a PreOpenStack handler and sub-stacks with >> PreOpenStack handlers. Why is it that when I click a Go button in the main >> stack that opens a sub-stack, the PreOpenStack handler in the main stack is >> executed? > > Messages from substacks automatically "fall through" to the script of the > mainstack. If you don't want this behavior, you can: Except it should go card -> substack stack script -> mainstack stack script. I thought. Greg says it doesn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jonathandlynch at gmail.com Fri Sep 9 17:59:13 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 9 Sep 2011 17:59:13 -0400 Subject: Question About PreOpenStack In-Reply-To: <4E6A87E9.6050402@hyperactivesw.com> References: <4E6A87E9.6050402@hyperactivesw.com> Message-ID: I always put empty preopenstack, openstack, preopencard, and opencard handlers for my substacks. I also put in a closestack handler in the substack that tells the substack to close. This seems like it should just be a standard thing to do when making substacks. This will prevent any stray messages from traveling up to the mainstack and causing problems. On Fri, Sep 9, 2011 at 5:40 PM, J. Landman Gay wrote: > On 9/9/11 2:09 PM, Scott Rossi wrote: > >> Recently, Gregory Lypny wrote: >> >> I have a main stack with a PreOpenStack handler and sub-stacks with >>> PreOpenStack handlers. Why is it that when I click a Go button in the >>> main >>> stack that opens a sub-stack, the PreOpenStack handler in the main stack >>> is >>> executed? >>> >> >> Messages from substacks automatically "fall through" to the script of the >> mainstack. If you don't want this behavior, you can: >> > > Except it should go card -> substack stack script -> mainstack stack > script. I thought. > > Greg says it doesn't. > > -- > 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 > -- Do all things with love From pmbrig at gmail.com Fri Sep 9 18:18:34 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 9 Sep 2011 18:18:34 -0400 Subject: Question About PreOpenStack In-Reply-To: References: <4E6A87E9.6050402@hyperactivesw.com> Message-ID: The other way of handling this is to have a mainstack that is really just a splash stack + library, it doesn't even have to show itself on startup (put "on preopenstack; hide this stack; end preopenstack" into the script of card 1 of the mainstack). Then put whatever you want for preopenstack behaviors in individual substacks, and don't put anything in the mainstack script except your library of handlers that need to be available in all stacks. Of course if there is default preopenstack behavior you need to have operating for all the substacks, you can put that in the mainstack script. Any substack that has its own preopenstack handler will trap the message (unless you pass it), and any stack without its own preopenstack handler will not intercept the preopenstack message and the mainstack script will catch it and handle the default action. If you're planning on making a standalone, you don't want your library in the mainstack -- in that case a truly minimal mainstack script is called for, and the library of common handlers should be in a separate library stack that is put in use by the mainstack when it opens. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 9, 2011, at 5:59 PM, Jonathan Lynch wrote: > I always put empty preopenstack, openstack, preopencard, > and opencard handlers for my substacks. I also put in a closestack handler > in the substack that tells the substack to close. This seems like it should > just be a standard thing to do when making substacks. This will prevent any > stray messages from traveling up to the mainstack and causing problems. > > On Fri, Sep 9, 2011 at 5:40 PM, J. Landman Gay wrote: > >> On 9/9/11 2:09 PM, Scott Rossi wrote: >> >>> Recently, Gregory Lypny wrote: >>> >>> I have a main stack with a PreOpenStack handler and sub-stacks with >>>> PreOpenStack handlers. Why is it that when I click a Go button in the >>>> main >>>> stack that opens a sub-stack, the PreOpenStack handler in the main stack >>>> is >>>> executed? >>>> >>> >>> Messages from substacks automatically "fall through" to the script of the >>> mainstack. If you don't want this behavior, you can: >>> >> >> Except it should go card -> substack stack script -> mainstack stack >> script. I thought. >> >> Greg says it doesn't. >> >> -- >> 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 >> > > > > -- > Do all things with love > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Sep 9 19:08:48 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 9 Sep 2011 19:08:48 -0400 Subject: Checksum via FTP??? In-Reply-To: <4E6A8768.1070803@hyperactivesw.com> References: <4E6A8768.1070803@hyperactivesw.com> Message-ID: On Fri, Sep 9, 2011 at 5:38 PM, J. Landman Gay wrote: > On 9/9/11 11:27 AM, Roger Eller wrote: > >> The following function was posted on the old Use-Revolution list. I was >> wondering how to do the same after downloading a file via FTP. The server >> ONLY has an FTP connection, no SMB/CIFS. >> >> -- by Chipp Walters (4/27/2007 on Rev List) >> function getChecksum pFilePath >> if there is not a file pFilePath then return "" >> return URLencode(md5digest(URL ("binfile:"& pFilePath))) >> end getChecksum >> > > This reads a file on disk, so it shouldn't matter how the file got there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > Sorry, I am rarely clear enough with my questions. Ok, if I get a file from a file server that only has FTP connectivity, I can use this function to return a value from the locally downloaded version of the file. Unless I can also get this value from the source file which is on the server, with ONLY FTP connectivity, I cannot compare them to validate a complete and uncorrupt download. Could I also do something like this: (I probably should try it) get URLencode(md5digest(URL ("ftp://user:pass@"& pFilePath))) ? ~Roger From josh at dvcreators.net Fri Sep 9 19:34:27 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 9 Sep 2011 16:34:27 -0700 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? In-Reply-To: References: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Message-ID: On Sep 9, 2011, at 2:36 PM, zryip theSlug wrote: > On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker wrote: >> Just wondering what best practices are when wanting to reference an image (or button or other non-text field control) in a Data Grid form. >> >> >> img "blueCircle" of grp x of grp "DataGrid" >> >> works, but x does not seem to correlate with either the index or line number. >> >> >> So, does anyone know: >> >> 1. what x is? >> >> 2. how to get x (the group number of the group containing the image) when the image is clicked on? >> >> 3. Any other way to easily reference a control in a Data Grid form? >> >> Thanks in advance! > > Hi Josh, > > Have a look to the dgDataControlOfIndex property in the datagrid API: > http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-Data-Grid-API > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc Thanks for the reply Zryip! I can't get dgDataControlOfIndex to work, anyone know of any code examples? hide btn "blueCircle" of dgDataControlOfIndex[2] and hide btn "blueCircle" of grp dgDataControlOfIndex[2] both result in errors, so I'm going to hack a solution based on the long id of the graphic with cached controls on. Thanks for trying though! From bobs at twft.com Fri Sep 9 19:36:58 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Sep 2011 16:36:58 -0700 Subject: Question About PreOpenStack In-Reply-To: References: Message-ID: <83650304-F450-443B-8A33-924939267B92@twft.com> Really?? I was under the impression that preOpenStack would not fire from the first card because the stack was not open yet. You learn something new every day! Bob On Sep 9, 2011, at 12:09 PM, Scott Rossi wrote: > 3) move your preOpenStack handlers from the script of your mainstack into > the card script of the first card of your mainstack > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From zryip.theslug at gmail.com Fri Sep 9 19:41:09 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 10 Sep 2011 01:41:09 +0200 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? In-Reply-To: References: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Message-ID: On Sat, Sep 10, 2011 at 1:34 AM, Josh Mellicker wrote: > > On Sep 9, 2011, at 2:36 PM, zryip theSlug wrote: > >> On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker wrote: >>> Just wondering what best practices are when wanting to reference an image (or button or other non-text field control) in a Data Grid form. >>> >>> >>> img "blueCircle" of grp x of grp "DataGrid" >>> >>> works, but x does not seem to correlate with either the index or line number. >>> >>> >>> So, does anyone know: >>> >>> 1. what x is? >>> >>> 2. how to get x (the group number of the group containing the image) when the image is clicked on? >>> >>> 3. Any other way to easily reference a control in a Data Grid form? >>> >>> Thanks in advance! >> >> Hi Josh, >> >> Have a look to the dgDataControlOfIndex property in the datagrid API: >> http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-Data-Grid-API >> >> >> Best regards, >> -- >> -Zryip TheSlug- wish you the best! 8) >> http://www.aslugontheroad.co.cc > > > > Thanks for the reply Zryip! > > I can't get dgDataControlOfIndex to work, anyone know of any code examples? > > > hide btn "blueCircle" of dgDataControlOfIndex[2] > > and > > hide btn "blueCircle" of grp dgDataControlOfIndex[2] > > both result in errors, so I'm going to hack a solution based on the long id of the graphic with cached controls on. Thanks for trying though! dgDataControlOfIndex is a datagrid property. Try: hide btn "blueCircle" of the dgDataControlOfIndex[2] of grp "myDataGrid" Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From livecode.list at gmail.com Fri Sep 9 19:50:54 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Fri, 9 Sep 2011 16:50:54 -0700 Subject: List of handlers Message-ID: Hey all, is there a way to get a list of handlers within a control? Or see if a handler/function exists? Thanks! From bobs at twft.com Fri Sep 9 19:52:04 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 9 Sep 2011 16:52:04 -0700 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? In-Reply-To: References: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Message-ID: Everything about a datagrid is referenced as a property of the group. I sometimes forget this and don't reference the datagrid using 'of group "myDataGrid1"' or whatever I named it. Bob On Sep 9, 2011, at 4:34 PM, Josh Mellicker wrote: > Thanks for the reply Zryip! > > I can't get dgDataControlOfIndex to work, anyone know of any code examples? > > > hide btn "blueCircle" of dgDataControlOfIndex[2] From roger.e.eller at sealedair.com Fri Sep 9 20:05:59 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 9 Sep 2011 20:05:59 -0400 Subject: List of handlers In-Reply-To: References: Message-ID: On Fri, Sep 9, 2011 at 7:50 PM, Chip Thomas wrote: > Hey all, is there a way to get a list of handlers within a control? > > Or see if a handler/function exists? > > Thanks! put the script of into tHandList filter tHandList with "*on" & space & "*" -- just for readability... could also be "*on *" answer tHandList put the script of into tFuncList filter tFuncList with "*function" & space & "*" -- just for readability... could also be "*function *" answer tFuncList ?Roger From revdev at pdslabs.net Fri Sep 9 20:33:26 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Sep 2011 17:33:26 -0700 Subject: List of handlers In-Reply-To: References: Message-ID: <4E6AB056.5070304@pdslabs.net> Or try this: put script of into tList filter tList with "end " -- EVERY handler ends this way replace (cr & "end ") with cr in tList -- remove 'end' from each line sort lines of tList -- if you like put tList Phil Davis On 9/9/11 5:05 PM, Roger Eller wrote: > On Fri, Sep 9, 2011 at 7:50 PM, Chip Thomas wrote: > >> Hey all, is there a way to get a list of handlers within a control? >> >> Or see if a handler/function exists? >> >> Thanks! > > put the script of into tHandList > filter tHandList with "*on"& space& "*" -- just for readability... could > also be "*on *" > answer tHandList > > put the script of into tFuncList > filter tFuncList with "*function"& space& "*" -- just for readability... > could also be "*function *" > answer tFuncList > > ?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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mwieder at ahsoftware.net Fri Sep 9 20:40:08 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Sep 2011 17:40:08 -0700 Subject: Checksum via FTP??? In-Reply-To: References: <4E6A8768.1070803@hyperactivesw.com> Message-ID: <190119196796.20110909174008@ahsoftware.net> Roger- Store a text file on the ftp server with just the checksum in it. Then after you've computed the checksum of the downloaded file, compare it with the contents of the text file on the server. -- -Mark Wieder mwieder at ahsoftware.net From mkoob at rogers.com Fri Sep 9 21:05:56 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 9 Sep 2011 18:05:56 -0700 (PDT) Subject: Removing linebreaks from base64encoded string Message-ID: <1315616756704-3803116.post@n4.nabble.com> I am trying to remove the line breaks from a base64 encoded string. In a livecode stack I tried put base64encode(tJSONstring) into tEncodedext replace "\r\n" with "" in tEncodedtext That had no effect. If I tried, replace return with "" in tEncodedtext That did remove the linebreaks. With LiveCode Server (on-rev 3.5 engine) put base64encode(tJSONstring) into tEncodedext replace "\r\n" with "" in tEncodedtext has no effect. and replace return with "" in tEncodedtext also has no effect. Is there another way to remove line breaks in this string? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Removing-linebreaks-from-base64encoded-string-tp3803116p3803116.html Sent from the Revolution - User mailing list archive at Nabble.com. From josh at dvcreators.net Fri Sep 9 21:27:29 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 9 Sep 2011 18:27:29 -0700 Subject: How do I reference an image in a group in a Data Grid form from outside the grid? In-Reply-To: References: <9B29FF6F-D3B4-4663-A120-513A07C61B63@dvcreators.net> Message-ID: On Sep 9, 2011, at 4:41 PM, zryip theSlug wrote: > > dgDataControlOfIndex is a datagrid property. > > Try: > hide btn "blueCircle" of the dgDataControlOfIndex[2] of grp "myDataGrid" > Thanks for your help, problem solved! The problem wasn't actually that I forgot the group (i did in the email but not my code), the problem was that I was deleting a group from a Data Grid in a script contained in a button in the group being deleted, which is a Thing Not To Do To Avoid Needless Suffering! Changed it to "dispatch" and all is well! Thanks! From mikekann at yahoo.com Fri Sep 9 21:36:19 2011 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 9 Sep 2011 18:36:19 -0700 (PDT) Subject: Removing linebreaks from base64encoded string In-Reply-To: <1315616756704-3803116.post@n4.nabble.com> Message-ID: <1315618579.85780.YahooMailClassic@web161601.mail.bf1.yahoo.com> repeat for each line k of bad_ base_64_encoded_string ?? put char 1 to 72 of k after good_ base_64_encoded_string end repeat --- On Fri, 9/9/11, Martin Koob wrote: From: Martin Koob Subject: Removing linebreaks from base64encoded string To: use-revolution at lists.runrev.com Date: Friday, September 9, 2011, 8:05 PM I am trying to remove the line breaks from a base64 encoded string.??? In a livecode stack I tried put base64encode(tJSONstring) into tEncodedext replace "\r\n" with "" in tEncodedtext That had no effect. If I tried, replace return with "" in tEncodedtext That did remove the linebreaks. With LiveCode Server (on-rev 3.5 engine) put base64encode(tJSONstring) into tEncodedext replace "\r\n" with "" in tEncodedtext has no effect. and replace return with "" in tEncodedtext also has no effect. Is there another way to remove line breaks in this string? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Removing-linebreaks-from-base64encoded-string-tp3803116p3803116.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 pepetoo at cox.net Fri Sep 9 21:45:11 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 9 Sep 2011 18:45:11 -0700 Subject: List of handlers - snake In-Reply-To: References: Message-ID: <80E714E8-2552-441D-BB6F-86A0519A70EB@cox.net> Hi everyone, While you're on this exploration topic, in HyperCard we had a routine with the word "snake" in it as I recall. It could be used from the message box and it would take you through all of the open stacks, including the stacks in use, and the objects within the stacks, one by one, opening any script that contained the word or phrase for which you started searching. You could edit the newly opened script, close it, and the search would continue until ever instance of the word or phrase had been exposed. I've not noticed a similar routine in LC. It was my favorite debugging tool. I believe it could also be called from within a script. It was absolutely super. It may have been an XCMD. It would be wonderful if we had such a critter in LC. Joe Lewis Wilkins Architect On Sep 9, 2011, at 5:05 PM, Roger Eller wrote: > On Fri, Sep 9, 2011 at 7:50 PM, Chip Thomas wrote: > >> Hey all, is there a way to get a list of handlers within a control? >> >> Or see if a handler/function exists? >> >> Thanks! > > > put the script of into tHandList > filter tHandList with "*on" & space & "*" -- just for readability... could > also be "*on *" > answer tHandList > > put the script of into tFuncList > filter tFuncList with "*function" & space & "*" -- just for readability... > could also be "*function *" > answer tFuncList > > ?Roger From pmbrig at gmail.com Fri Sep 9 22:09:44 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 9 Sep 2011 22:09:44 -0400 Subject: List of handlers In-Reply-To: <4E6AB056.5070304@pdslabs.net> References: <4E6AB056.5070304@pdslabs.net> Message-ID: <6A7BCFB2-B03F-4734-9473-1ACBDD814D07@gmail.com> The filter with "end*" will pick up "end if" and "end repeat" and "end try" as well. -- first: replace "end if" with empty in tList replace "end repeat" with empty in tList replace "end try" with empty in tList -- then filter tList with "end*" replace cr & "end " with cr in tList -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 9, 2011, at 8:33 PM, Phil Davis wrote: > Or try this: > > put script of into tList > filter tList with "end " -- EVERY handler ends this way > replace (cr & "end ") with cr in tList -- remove 'end' from each line > sort lines of tList -- if you like > put tList > > > Phil Davis > > > On 9/9/11 5:05 PM, Roger Eller wrote: >> On Fri, Sep 9, 2011 at 7:50 PM, Chip Thomas wrote: >> >>> Hey all, is there a way to get a list of handlers within a control? >>> >>> Or see if a handler/function exists? >>> >>> Thanks! >> >> put the script of into tHandList >> filter tHandList with "*on"& space& "*" -- just for readability... could >> also be "*on *" >> answer tHandList >> >> put the script of into tFuncList >> filter tFuncList with "*function"& space& "*" -- just for readability... >> could also be "*function *" >> answer tFuncList >> >> ?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 >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.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 pmbrig at gmail.com Fri Sep 9 22:14:27 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 9 Sep 2011 22:14:27 -0400 Subject: List of handlers In-Reply-To: <4E6AB056.5070304@pdslabs.net> References: <4E6AB056.5070304@pdslabs.net> Message-ID: On Sep 9, 2011, at 8:33 PM, I wrote: > The filter with "end*" will pick up "end if" and "end repeat" and "end try" as well. > -- first: > replace "end if" with empty in tList > replace "end repeat" with empty in tList > replace "end try" with empty in tList > -- then > filter tList with "end*" > replace cr & "end " with cr in tList I forgot: you have to append a cr to the beginning of tList first: filter tList with "end*" replace cr & "end " with cr in (cr &tList) -- will catch first line delete char 1 of tList -- it's a cr -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Fri Sep 9 22:24:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 21:24:40 -0500 Subject: Question About PreOpenStack In-Reply-To: References: <4E6A87E9.6050402@hyperactivesw.com> Message-ID: <4E6ACA68.1020300@hyperactivesw.com> There has been some good info about how to block a preOpenStack handler from falling through to the mainstack, but I'm not sure that was the question. Gregory will have to verify, but as I understood it, he has a valid preOpenStack handler in a substack but it isn't executing. Instead, he gets the mainstack's handler. I can think of two reasons this might happen. One is as Craig mentioned: the preOpenStack handler in the substack is passing the message, so it moves on to the mainstack. In this case, both would execute. Another reason it might happen is if you've already opened the substack during this session, moved to another card, and then closed it. LiveCode preserves the card position the next time you open the stack in the same session. If the preOpenStack handler is in the first card of the substack, and it opens at card 2, then the mainstack's handler will catch the message because there isn't a handler on card 2 for it. That's all I can think of that would cause the substack to miss catching the system message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Fri Sep 9 22:26:10 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 09 Sep 2011 22:26:10 -0400 Subject: Removing linebreaks from base64encoded string In-Reply-To: <1315616756704-3803116.post@n4.nabble.com> References: <1315616756704-3803116.post@n4.nabble.com> Message-ID: <1D9865E3-0F4B-4BBF-84FF-DE3C9A7FCCA8@verizon.net> Base64 shouldn't have any returns or line breaks in it, should it? On Sep 9, 2011, at 9:05 PM, Martin Koob wrote: > I am trying to remove the line breaks from a base64 encoded string. From jacque at hyperactivesw.com Fri Sep 9 22:28:19 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 21:28:19 -0500 Subject: Checksum via FTP??? In-Reply-To: References: <4E6A8768.1070803@hyperactivesw.com> Message-ID: <4E6ACB43.2080302@hyperactivesw.com> On 9/9/11 6:08 PM, Roger Eller wrote: > Could I also do something like this: (I probably should try it) > > get URLencode(md5digest(URL ("ftp://user:pass@"& pFilePath))) ? I get it now. I tried FTP file retrieval a while back and had variable luck, I think it depends on how your server is set up. The details have faded now, but I think I was able to retrieve files by FTP as long as they weren't in the web directory. If you can put your file outside of public_html on the server it might work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikekann at yahoo.com Fri Sep 9 22:34:55 2011 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 9 Sep 2011 19:34:55 -0700 (PDT) Subject: Removing linebreaks from base64encoded string In-Reply-To: <1D9865E3-0F4B-4BBF-84FF-DE3C9A7FCCA8@verizon.net> Message-ID: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> >From the dictionary (4.0): Base 64-encoded data is wrapped at 72 characters, so each line of the encoded data is 72 characters or (for the last or only line) fewer. --- On Fri, 9/9/11, Colin Holgate wrote: From: Colin Holgate Subject: Re: Removing linebreaks from base64encoded string To: "How to use LiveCode" Date: Friday, September 9, 2011, 9:26 PM Base64 shouldn't have any returns or line breaks in it, should it? On Sep 9, 2011, at 9:05 PM, Martin Koob wrote: > I am trying to remove the line breaks from a base64 encoded string.??? _______________________________________________ use-livecode mailing list use-livecode at 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 Sep 9 23:01:36 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 22:01:36 -0500 Subject: Removing linebreaks from base64encoded string In-Reply-To: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> References: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> Message-ID: <4E6AD310.2080400@hyperactivesw.com> On 9/9/11 9:34 PM, Michael Kann wrote: >> From the dictionary (4.0): > So removing line breaks would wreck the encoding, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Sep 9 23:50:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Sep 2011 20:50:53 -0700 Subject: Removing linebreaks from base64encoded string In-Reply-To: <4E6AD310.2080400@hyperactivesw.com> References: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> <4E6AD310.2080400@hyperactivesw.com> Message-ID: <8130642140.20110909205053@ahsoftware.net> Jacque- Friday, September 9, 2011, 8:01:36 PM, you wrote: > So removing line breaks would wreck the encoding, right? It should. Martin, what are you trying to accomplish here? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Sep 9 23:53:41 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 9 Sep 2011 20:53:41 -0700 Subject: Question About PreOpenStack In-Reply-To: <4E6ACA68.1020300@hyperactivesw.com> References: <4E6A87E9.6050402@hyperactivesw.com> <4E6ACA68.1020300@hyperactivesw.com> Message-ID: <110130809312.20110909205341@ahsoftware.net> Jacque- Friday, September 9, 2011, 7:24:40 PM, you wrote: > There has been some good info about how to block a preOpenStack handler > from falling through to the mainstack, but I'm not sure that was the > question. Gregory will have to verify, but as I understood it, he has a > valid preOpenStack handler in a substack but it isn't executing. > Instead, he gets the mainstack's handler. I went back and read the original posting. It's not clear to me that the preOpenStack handler in the substack isn't firing, just that the preOpenStack handler in the mainstack *is* firing. -- -Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Fri Sep 9 23:56:52 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Sep 2011 20:56:52 -0700 Subject: List of handlers In-Reply-To: <6A7BCFB2-B03F-4734-9473-1ACBDD814D07@gmail.com> References: <4E6AB056.5070304@pdslabs.net> <6A7BCFB2-B03F-4734-9473-1ACBDD814D07@gmail.com> Message-ID: <4E6AE004.8070706@pdslabs.net> Hi Peter, Actually the 'filter' command I described will only include the 'end' statements that start at char 1 of a line. Normally, only 'end ' statements would be in that category. (I'm assuming the coder used a script editor like LC's which indents for readability.) But if the script code outside of any handler, then your scenario could certainly happen. Phil On 9/9/11 7:09 PM, Peter M. Brigham, MD wrote: > The filter with "end*" will pick up "end if" and "end repeat" and "end try" as well. > -- first: > replace "end if" with empty in tList > replace "end repeat" with empty in tList > replace "end try" with empty in tList > -- then > filter tList with "end*" > replace cr& "end " with cr in tList > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Sep 9, 2011, at 8:33 PM, Phil Davis wrote: > >> Or try this: >> >> put script of into tList >> filter tList with "end " -- EVERY handler ends this way >> replace (cr& "end ") with cr in tList -- remove 'end' from each line >> sort lines of tList -- if you like >> put tList >> >> >> Phil Davis >> >> >> On 9/9/11 5:05 PM, Roger Eller wrote: >>> On Fri, Sep 9, 2011 at 7:50 PM, Chip Thomas wrote: >>> >>>> Hey all, is there a way to get a list of handlers within a control? >>>> >>>> Or see if a handler/function exists? >>>> >>>> Thanks! >>> put the script of into tHandList >>> filter tHandList with "*on"& space& "*" -- just for readability... could >>> also be "*on *" >>> answer tHandList >>> >>> put the script of into tFuncList >>> filter tFuncList with "*function"& space& "*" -- just for readability... >>> could also be "*function *" >>> answer tFuncList >>> >>> ?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 >>> >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Fri Sep 9 23:57:51 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Sep 2011 20:57:51 -0700 Subject: List of handlers In-Reply-To: References: <4E6AB056.5070304@pdslabs.net> Message-ID: <4E6AE03F.4030904@pdslabs.net> On 9/9/11 7:14 PM, Peter M. Brigham, MD wrote: > On Sep 9, 2011, at 8:33 PM, I wrote: > >> The filter with "end*" will pick up "end if" and "end repeat" and "end try" as well. >> -- first: >> replace "end if" with empty in tList >> replace "end repeat" with empty in tList >> replace "end try" with empty in tList >> -- then >> filter tList with "end*" >> replace cr& "end " with cr in tList > I forgot: you have to append a cr to the beginning of tList first: I forgot about that one in my original post also. Phil > > filter tList with "end*" > replace cr& "end " with cr in (cr&tList) > -- will catch first line > delete char 1 of tList -- it's a cr > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From stephenREVOLUTION2 at barncard.com Sat Sep 10 00:20:57 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 9 Sep 2011 21:20:57 -0700 Subject: Removing linebreaks from base64encoded string In-Reply-To: <4E6AD310.2080400@hyperactivesw.com> References: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> <4E6AD310.2080400@hyperactivesw.com> Message-ID: I have found that Base64 Decode doesn't care. The returns are ignored. On 9 September 2011 20:01, J. Landman Gay wrote: > On 9/9/11 9:34 PM, Michael Kann wrote: > >> From the dictionary (4.0): >>> >> >> > So removing line breaks would wreck the encoding, right? > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Sat Sep 10 00:46:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 09 Sep 2011 23:46:49 -0500 Subject: Question About PreOpenStack In-Reply-To: <110130809312.20110909205341@ahsoftware.net> References: <4E6A87E9.6050402@hyperactivesw.com> <4E6ACA68.1020300@hyperactivesw.com> <110130809312.20110909205341@ahsoftware.net> Message-ID: <4E6AEBB9.4010608@hyperactivesw.com> On 9/9/11 10:53 PM, Mark Wieder wrote: > I went back and read the original posting. It's not clear to me that > the preOpenStack handler in the substack isn't firing, just that the > preOpenStack handler in the mainstack *is* firing. > I could be misremembering, as they say. Gregory can be the decider. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gregory.lypny at videotron.ca Sat Sep 10 01:06:26 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 10 Sep 2011 01:06:26 -0400 Subject: Curious Glitch in My FTP App In-Reply-To: References: Message-ID: <7EF3A31B-B059-45A8-BBB7-1100F0695864@videotron.ca> Hi Pierre and Scott, Thanks for responding. Yes, Scott, it was Platform that I was looking for. Thanks. Pierre, it looks like my students may, in fact, be writing to the account files using a variety of line endings. When I replace various endings with Return, it seems to go away. Thanks for the tips. Regards, Gregory On Fri, Sep 9, 2011, at 10:26 PM, Pierre wrote: > How are your "account files" handled, by hand (if yes, try how it goes in saving them in different charset (UTF-8, ISO-8859-1 (Latin 1), ... in using TextMate or the excellent free TextWrangler) and different line ending options ((LF, CR, CRLF) to track the problem) or programmatically (if yes, way one test should help too)? From revdev at pdslabs.net Sat Sep 10 01:06:28 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 09 Sep 2011 22:06:28 -0700 Subject: Removing linebreaks from base64encoded string In-Reply-To: References: <1315622095.80439.YahooMailClassic@web161610.mail.bf1.yahoo.com> <4E6AD310.2080400@hyperactivesw.com> Message-ID: <4E6AF054.4080401@pdslabs.net> Same here - removing CRs doesn't hinder decoding. I use it frequently. Phil On 9/9/11 9:20 PM, stephen barncard wrote: > I have found that Base64 Decode doesn't care. The returns are ignored. > > On 9 September 2011 20:01, J. Landman Gay wrote: > >> On 9/9/11 9:34 PM, Michael Kann wrote: >> >>> From the dictionary (4.0): >>> >> So removing line breaks would wreck the encoding, right? >> >> -- >> 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 >> > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From dick.kriesel at mail.com Sat Sep 10 02:41:46 2011 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 9 Sep 2011 23:41:46 -0700 Subject: List of handlers In-Reply-To: References: Message-ID: <55A5A829-95D1-40F9-B860-4A3A7771F355@mail.com> On Sep 9, 2011, at 4:50 PM, Chip Thomas wrote: > Hey all, is there a way to get a list of handlers within a control? Hi, Chip. Here's a way that satisfies several goals you may find worthwhile: 1. distinguish handler types (message, function, getProp, setProp) 2. exclude commented-out handlers, even within block comments (/* ? */) 3. exclude redundant handlers 4. include handlers in a behavior that the control references 5. distinguish handlers in the control from handlers in the behavior It's based on function "revListMenuHandlers" of card id 1002 of stack "revmenubar.rev" Example usage: put handlerList(long id of field "myField") Be sure to compensate for email line wrapping after you copy and paste. Roger, will you share your timings for the various suggestions to crunch your big list? -- Dick From pete at mollysrevenge.com Thu Sep 29 02:46:02 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 28 Sep 2011 23:46:02 -0700 Subject: Counting and numbering duplicates in a list In-Reply-To: References: <1317272133.62737.YahooMailNeo@web65412.mail.ac4.yahoo.com> Message-ID: Where are this list of keys coming from? If from an SQL database, this could be done with an SQL SELECT statement with no need to write LC code. Don't know if it would be faster than LC without more information. Pete Molly's Revenge On Wed, Sep 28, 2011 at 11:28 PM, Dick Kriesel wrote: > On Sep 28, 2011, at 9:55 PM, Jan Schenkel wrote: > > > command Dupend @pInput, @pOutput > > local tLineDA, tLine > > repeat for each line tLine in pInput > > add 1 to tLineDA[tLine]["found"] > > end repeat > > put empty into pOutput > > repeat for each line tLine in pInput > > if tLineDA[tLine]["found"] = 1 then > > put tLine & return after pOutput > > else > > add 1 to tLineDA[tLine]["current"] > > put tLine & "-" & tLineDA[tLine]["current"] & return after > pOutput > > end if > > end repeat > > delete char -1 of pOutput > > end Dupend## > > Shallower arrays might help a little. > > > > Roger, will you share your timings for the various suggestions to crunch > your big list? > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From jacque at hyperactivesw.com Thu Sep 29 03:10:41 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Sep 2011 02:10:41 -0500 Subject: No subject In-Reply-To: References: <1317231513.73532.YahooMailClassic@web81203.mail.mud.yahoo.com> <1232FFF4-800E-44DD-98F9-CEF83AE49FF6@canelasoftware.com> Message-ID: As Phil suggested, the cantdelete property is provided for this. Any object with that property set can't be selected easily. Mark's deletekey handler would make a good safeguard in addition. Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On Sep 29, 2011, at 1:23 AM, Pete wrote: > What I see is workaround for what is a bug in LC. Definitely need to figure > out a solution but report this to the QCC > Pete > Molly's Revenge > > > > > On Wed, Sep 28, 2011 at 10:21 PM, Mark Talluto wrote: > >> You can use the following messages to capture the delete and prevent it >> from passing by checking if is one of the objects you wish to protect. >> >> deleteKey >> backspaceKey >> >> --example >> on deleteKey >> if "protect me" is in the short name of the selobj then >> --do not delete >> else >> pass deleteKey >> end deleteKey >> >> >> Best regards, >> >> Mark Talluto >> http://www.canelasoftware.com >> >> >> >> >> On Sep 28, 2011, at 10:38 AM, Art DiVito wrote: >> >>> I need to prevent users from deleting a control by selecting it with the >> pointer tool and hitting the delete key. >>> According to the LiveCode dictionary (under "deletefield"), an "undo" >> will work for fields. However, this appears to be true for buttons, but NOT >> for fields. Thus, >>> On deletebutton >>> Answer "Can't do that!" >>> send "undo" to this card in 5 milliseconds >>> end deletebutton >>> works fine. However, >>> On deletefield >>> >>> Answer "Can't do that!" >>> >>> send "undo" to this card in 5 milliseconds >>> >>> end deletefield >>> does NOT work. >>> I don't know whether it will work for images (I need to prevent them from >> being deleted too). >>> What can I do? >>> Thanks. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 clarkeandclarke.co.uk Thu Sep 29 05:48:04 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 29 Sep 2011 10:48:04 +0100 Subject: On-rev / LiveCode Server SSL testing with self-certification Message-ID: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> Hi folks, Can anyone please point an SSL newbie to any how-to information for implementing self-certification for SSL test purposes on either On-Rev or LiveCode Server (on either linux or OSX)? I've not dabbled with SSL (or indeed, sockets) before. So, as the current On-Rev hosting service supports just one SSL certificate per account - a single domain or sub-domain, with no wild-card support - I want to experiment a bit to decide whether to target my Company's top-level domain, a specific sub-domain or a micro-site. I also need to extend some prototype apps that I'm moving to LiveCode Server to confirm whether these will need direct browser access and hence (given my target market) Extended Validation for the address bar 'safe site' approval. BTW My On-Rev account already has a fixed IP address (and I also use dyndns.com to emulate a fixed IP address for my home-based dev server). So, I'm hoping it's just the certification side of things I need to sort - said he, hoping! ;-) Any insights gratefully received... Best, Keith.. From roger.e.eller at sealedair.com Thu Sep 29 08:00:48 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 29 Sep 2011 08:00:48 -0400 Subject: Counting and numbering duplicates in a list In-Reply-To: References: <1317272133.62737.YahooMailNeo@web65412.mail.ac4.yahoo.com> Message-ID: Good morning all, Thank you all for the juicy brain nuggets! They look great, and I can't wait to try them. Arrays are still a bit of a mystery to me, but I'm always reading great things about the speed gains when used, so... I'm off to do some tests... Thanks everyone! ?Roger From pmbrig at gmail.com Thu Sep 29 08:36:08 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Thu, 29 Sep 2011 08:36:08 -0400 Subject: Counting and numbering duplicates in a list In-Reply-To: References: <1317272133.62737.YahooMailNeo@web65412.mail.ac4.yahoo.com> Message-ID: On Sep 29, 2011, at 8:00 AM, Roger Eller wrote: > Good morning all, > > Thank you all for the juicy brain nuggets! They look great, and I can't > wait to try them. Arrays are still a bit of a mystery to me, but I'm always > reading great things about the speed gains when used, so... I'm off to do > some tests... Thanks everyone! > > ?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 I discovered a minor bug in my suggestion, so for your testing use this instead of my original script: function flagDupes tList put the millisecs into tStart put tList into scratchList repeat for each line t in tList delete line 1 of scratchList if t is among the lines of scratchList or \ freqArray[t] > 0 then add 1 to freqArray[t] put cr & t & "-" & freqArray[t] after outputList else put cr & t after outputList end if end repeat put the millisecs into tFinish put (tFinish - tStart)/1000 && "seconds" into elapsedTime return outputList put elapsedTime end flagDupes It turns out this is faster than I thought, about 1/3 second for 10000 lines on my machine. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mkoob at rogers.com Thu Sep 29 08:47:44 2011 From: mkoob at rogers.com (Martin Koob) Date: Thu, 29 Sep 2011 05:47:44 -0700 (PDT) Subject: libJSON In-Reply-To: <1317147405588-3848470.post@n4.nabble.com> References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> Message-ID: <1317300464763-3855579.post@n4.nabble.com> I tried the address on Mark Smith's paypal page. I got an error message from the mail server saying it was undeliverable. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Sep 29 09:42:29 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Sep 2011 10:42:29 -0300 Subject: On-rev / LiveCode Server SSL testing with self-certification In-Reply-To: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> References: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> Message-ID: Keith, http://www.tc.umn.edu/~brams006/selfsign.html The apache integration part will not be handled by you. You will need to send the certificate to the support at on-rev for them to install. Cheers andre On Thu, Sep 29, 2011 at 6:48 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi folks, > Can anyone please point an SSL newbie to any how-to information for > implementing self-certification for SSL test purposes on either On-Rev or > LiveCode Server (on either linux or OSX)? > > I've not dabbled with SSL (or indeed, sockets) before. So, as the current > On-Rev hosting service supports just one SSL certificate per account - a > single domain or sub-domain, with no wild-card support - I want to > experiment a bit to decide whether to target my Company's top-level domain, > a specific sub-domain or a micro-site. > > I also need to extend some prototype apps that I'm moving to LiveCode > Server to confirm whether these will need direct browser access and hence > (given my target market) Extended Validation for the address bar 'safe site' > approval. > > BTW My On-Rev account already has a fixed IP address (and I also use > dyndns.com to emulate a fixed IP address for my home-based dev server). > So, I'm hoping it's just the certification side of things I need to sort - > said he, hoping! ;-) > > Any insights gratefully received... > Best, > Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From livfoss at mac.com Thu Sep 29 10:01:13 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 29 Sep 2011 16:01:13 +0200 Subject: Reading PDF - a cry for help Message-ID: Folks, for some months now (it seems even longer) I have been seeking a solution to the problem of reading PDF-formatted images into Livecode stacks. What I'm looking for is solution that looks like an 'import paint' command: in other words, I want to be able to load a small subset of the possible contents of a PDF - just bitmap images - into a stack via script. Sadly I want to do this on a PC, running at a minimum Windows XP. My users want a simple solution that makes reading from a PDF no more complicated than reading a JPG. I have explored several possibilities, including using a 'free' PDF reader that is somehow hidden from the user of my app, and using say 'shell' to control it and to pass an image to LiveCode. However I have not found a realistic way of doing this, particularly when I include the need to have a very simple installation process - the user should not see any additional application, nor be obliged to provide substantial additional resources, as would be true for example if one used ImageMagick in this way in a PC context. Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. TIA Graham From m.schonewille at economy-x-talk.com Thu Sep 29 10:15:36 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 29 Sep 2011 16:15:36 +0200 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: <637D2012-1B84-4695-92BD-004027DD65FF@economy-x-talk.com> Graham, Your best bet: http://qery.us/136 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr On 29 sep 2011, at 16:01, Graham Samuel wrote: > Folks, for some months now (it seems even longer) I have been seeking a solution to the problem of reading PDF-formatted images into Livecode stacks. What I'm looking for is solution that looks like an 'import paint' command: in other words, I want to be able to load a small subset of the possible contents of a PDF - just bitmap images - into a stack via script. Sadly I want to do this on a PC, running at a minimum Windows XP. My users want a simple solution that makes reading from a PDF no more complicated than reading a JPG. > From richmondmathewson at gmail.com Thu Sep 29 10:18:24 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 29 Sep 2011 17:18:24 +0300 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: <4E847E30.6050208@gmail.com> Well. . . I just set up a new stack (on Linux!) and imported a PDF as a text file, and ended up with a text field of gobbledegook . . . BUT, at least the ting imports PDF files; ALL (!!!!!!!) one has to do then . . . [rather you than me, mate] . . . is knock together a set of algorhythms to convert the PDF file into readable text, strip out control chars, read formatting signs, and so on. This is probably total crap; just a thought based on the realisation that Livecode can import any file as TEXT. On 09/29/2011 05:01 PM, Graham Samuel wrote: > Folks, for some months now (it seems even longer) I have been seeking a solution to the problem of reading PDF-formatted images into Livecode stacks. What I'm looking for is solution that looks like an 'import paint' command: in other words, I want to be able to load a small subset of the possible contents of a PDF - just bitmap images - into a stack via script. Sadly I want to do this on a PC, running at a minimum Windows XP. My users want a simple solution that makes reading from a PDF no more complicated than reading a JPG. > > I have explored several possibilities, including using a 'free' PDF reader that is somehow hidden from the user of my app, and using say 'shell' to control it and to pass an image to LiveCode. However I have not found a realistic way of doing this, particularly when I include the need to have a very simple installation process - the user should not see any additional application, nor be obliged to provide substantial additional resources, as would be true for example if one used ImageMagick in this way in a PC context. > > Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. > > Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. > > 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 stephenREVOLUTION2 at barncard.com Thu Sep 29 11:07:29 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 08:07:29 -0700 Subject: libJSON In-Reply-To: <1317300464763-3855579.post@n4.nabble.com> References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: I got the same error message. I fear the worse for Mark Smith. On 29 September 2011 05:47, Martin Koob wrote: > I tried the address on Mark Smith's paypal page. I got an error message > from > the mail server saying it was undeliverable. > > Martin > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From kray at sonsothunder.com Thu Sep 29 11:24:51 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 29 Sep 2011 10:24:51 -0500 Subject: Reading PDF - a cry for help In-Reply-To: <4E847E30.6050208@gmail.com> References: <4E847E30.6050208@gmail.com> Message-ID: <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> >> Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. Graham, the other alternative is to work with the PDF file on a binary level (I'm working on something like that right now for importing PSD files). After a quick glance at the PDF specification it looks like a bunch of it is in plain text so it might actually be easier to work with it that way. Are you looking at just extracting the images? Or other relevant parts of the PDF? The reason I ask is that it looks like binary data is always contained between two lines: "stream" and "endstream", so extracting just the streaming data should be pretty quick to do; although the next step would be going to read the bytes of what was extracted and then determine if it's an image or some other thing that had to be represented with a "stream" in the PDF... Just my 2 cents, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From matthias_livecode_150811 at m-r-d.de Thu Sep 29 11:26:05 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 29 Sep 2011 17:26:05 +0200 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: Did one try his on-rev address i posted here? Regards, Matthias Am 29.09.2011 um 17:07 schrieb stephen barncard: > I got the same error message. I fear the worse for Mark Smith. > > On 29 September 2011 05:47, Martin Koob wrote: > >> I tried the address on Mark Smith's paypal page. I got an error message >> from >> the mail server saying it was undeliverable. >> >> Martin >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.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 >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at 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 clarkeandclarke.co.uk Thu Sep 29 11:26:58 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 29 Sep 2011 16:26:58 +0100 Subject: On-rev / LiveCode Server SSL testing with self-certification In-Reply-To: References: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> Message-ID: ...thanks, Andre - I'll have a go. I presume it's easiest to take the option to just create a self-signed, time-bound certificate - rather than create my own CA as well? Best, Keith.. On 29 Sep 2011, at 14:42, Andre Garzia wrote: > Keith, > > http://www.tc.umn.edu/~brams006/selfsign.html > > The apache integration part will not be handled by you. You will need to > send the certificate to the support at on-rev for them to install. > > Cheers > andre > > On Thu, Sep 29, 2011 at 6:48 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi folks, >> Can anyone please point an SSL newbie to any how-to information for >> implementing self-certification for SSL test purposes on either On-Rev or >> LiveCode Server (on either linux or OSX)? >> >> I've not dabbled with SSL (or indeed, sockets) before. So, as the current >> On-Rev hosting service supports just one SSL certificate per account - a >> single domain or sub-domain, with no wild-card support - I want to >> experiment a bit to decide whether to target my Company's top-level domain, >> a specific sub-domain or a micro-site. >> >> I also need to extend some prototype apps that I'm moving to LiveCode >> Server to confirm whether these will need direct browser access and hence >> (given my target market) Extended Validation for the address bar 'safe site' >> approval. >> >> BTW My On-Rev account already has a fixed IP address (and I also use >> dyndns.com to emulate a fixed IP address for my home-based dev server). >> So, I'm hoping it's just the certification side of things I need to sort - >> said he, hoping! ;-) >> >> Any insights gratefully received... >> Best, >> Keith.. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 29 11:28:57 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 08:28:57 -0700 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: yes, yes. of course, I"m not that thick. All 3 addresses I could find attributed to Mark Smith, including the other Mark Smith who is very much around. On 29 September 2011 08:26, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Did one try his on-rev address i posted here? > > Regards, > > Matthias > > Am 29.09.2011 um 17:07 schrieb stephen barncard: > > > I got the same error message. I fear the worse for Mark Smith. > > > > On 29 September 2011 05:47, Martin Koob wrote: > > > >> I tried the address on Mark Smith's paypal page. I got an error message > >> from > >> the mail server saying it was undeliverable. > >> > >> Martin > >> > >> -- > >> View this message in context: > >> > http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.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 > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From matthias_livecode_150811 at m-r-d.de Thu Sep 29 11:38:16 2011 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 29 Sep 2011 17:38:16 +0200 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: http://en.wikipedia.org/wiki/Mark_Smith_%28musician_%E2%80%93_producer%29 :( Am 29.09.2011 um 17:28 schrieb stephen barncard: > yes, yes. of course, I"m not that thick. > > All 3 addresses I could find attributed to Mark Smith, including the other > Mark Smith who is very much around. > > On 29 September 2011 08:26, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Did one try his on-rev address i posted here? >> >> Regards, >> >> Matthias >> >> Am 29.09.2011 um 17:07 schrieb stephen barncard: >> >>> I got the same error message. I fear the worse for Mark Smith. >>> >>> On 29 September 2011 05:47, Martin Koob wrote: >>> >>>> I tried the address on Mark Smith's paypal page. I got an error message >>>> from >>>> the mail server saying it was undeliverable. >>>> >>>> Martin >>>> >>>> -- >>>> View this message in context: >>>> >> http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.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 >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 29 12:02:28 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 09:02:28 -0700 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: Mark and I had several very friendly exchanges in 2008-2009 about my quest for an audio export from livecode, but at the time I had no idea about his music life, or that he was such a bad-ass bass player and so well loved in the UK music community. He's all over youtube . Neither one of us talked about our music business experiences at all, he didn't wear it on his sleeve. I really liked the guy, even though we'd never met face to face. He was a giving and valuable member of this list and he is missed. I guess his on-rev site will be around 'forever' as I think he got in on the Pioneer plan. A potential good friend lost way too soon. May he rest in peace. On 29 September 2011 08:38, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > http://en.wikipedia.org/wiki/Mark_Smith_%28musician_%E2%80%93_producer%29 > > :( > > > Am 29.09.2011 um 17:28 schrieb stephen barncard: > > > yes, yes. of course, I"m not that thick. > > > > All 3 addresses I could find attributed to Mark Smith, including the > other > > Mark Smith who is very much around. > > > > On 29 September 2011 08:26, Matthias Rebbe < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> Did one try his on-rev address i posted here? > >> > >> Regards, > >> > >> Matthias > >> > >> Am 29.09.2011 um 17:07 schrieb stephen barncard: > >> > >>> I got the same error message. I fear the worse for Mark Smith. > >>> > >>> On 29 September 2011 05:47, Martin Koob wrote: > >>> > >>>> I tried the address on Mark Smith's paypal page. I got an error > message > >>>> from > >>>> the mail server saying it was undeliverable. > >>>> > >>>> Martin > >>>> > >>>> -- > >>>> View this message in context: > >>>> > >> > http://runtime-revolution.278305.n4.nabble.com/libJSON-tp3845854p3855579.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 > >>>> > >>> > >>> > >>> > >>> -- > >>> > >>> > >>> > >>> Stephen Barncard > >>> San Francisco Ca. USA > >>> > >>> more about sqb > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Thu Sep 29 12:11:42 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Sep 2011 13:11:42 -0300 Subject: [Semi-OT] mobile paper prototyping stuff Message-ID: Hey Folks, I've been checking some mobile paper prototyping stuff lately and came across some items that might be of value to people on this list. http://www.tuaw.com/2009/10/03/mega-super-tuaw-shootout-of-the-iphone-ui-sketchbooks/ The page above is a good summary of what was available some time ago. There we can see some paper sketchbooks with iPhone and iPad templates. There are many UI Stencils with common mobile controls available as well, so even people who are design challenged like me can have a shot at experimenting with their UI. Bonus point, they all work on the beach, so it is better than using a computer for everything. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu Sep 29 12:19:17 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Sep 2011 13:19:17 -0300 Subject: On-rev / LiveCode Server SSL testing with self-certification In-Reply-To: References: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> Message-ID: Keith, I don't know which one is the easiest. When I did it long long long time ago, I think I went with time-bound, I think.... If it is just for some experimentation, then, there is no harm. Remember, if you are using selfsigned certs and you're trying to connect to them from LiveCode, you need to libURLSetSSLVerification false. Andre On Thu, Sep 29, 2011 at 12:26 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...thanks, Andre - I'll have a go. > I presume it's easiest to take the option to just create a self-signed, > time-bound certificate - rather than create my own CA as well? > Best, > Keith.. > > On 29 Sep 2011, at 14:42, Andre Garzia wrote: > > > Keith, > > > > http://www.tc.umn.edu/~brams006/selfsign.html > > > > The apache integration part will not be handled by you. You will need to > > send the certificate to the support at on-rev for them to install. > > > > Cheers > > andre > > > > On Thu, Sep 29, 2011 at 6:48 AM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Hi folks, > >> Can anyone please point an SSL newbie to any how-to information for > >> implementing self-certification for SSL test purposes on either On-Rev > or > >> LiveCode Server (on either linux or OSX)? > >> > >> I've not dabbled with SSL (or indeed, sockets) before. So, as the > current > >> On-Rev hosting service supports just one SSL certificate per account - a > >> single domain or sub-domain, with no wild-card support - I want to > >> experiment a bit to decide whether to target my Company's top-level > domain, > >> a specific sub-domain or a micro-site. > >> > >> I also need to extend some prototype apps that I'm moving to LiveCode > >> Server to confirm whether these will need direct browser access and > hence > >> (given my target market) Extended Validation for the address bar 'safe > site' > >> approval. > >> > >> BTW My On-Rev account already has a fixed IP address (and I also use > >> dyndns.com to emulate a fixed IP address for my home-based dev server). > >> So, I'm hoping it's just the certification side of things I need to sort > - > >> said he, hoping! ;-) > >> > >> Any insights gratefully received... > >> Best, > >> Keith.. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Thu Sep 29 12:26:15 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 29 Sep 2011 17:26:15 +0100 Subject: On-rev / LiveCode Server SSL testing with self-certification In-Reply-To: References: <248DC37A-584B-42AD-BD43-7BD0B5F84B88@clarkeandclarke.co.uk> Message-ID: ...great, thanks for the insights, Andre. I'll dive in this evening and see what I can break! ;-) Best, Keith.. On 29 Sep 2011, at 17:19, Andre Garzia wrote: > Keith, > > I don't know which one is the easiest. When I did it long long long time > ago, I think I went with time-bound, I think.... > > If it is just for some experimentation, then, there is no harm. Remember, if > you are using selfsigned certs and you're trying to connect to them from > LiveCode, you need to libURLSetSSLVerification false. > > Andre > > > On Thu, Sep 29, 2011 at 12:26 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> ...thanks, Andre - I'll have a go. >> I presume it's easiest to take the option to just create a self-signed, >> time-bound certificate - rather than create my own CA as well? >> Best, >> Keith.. >> >> On 29 Sep 2011, at 14:42, Andre Garzia wrote: >> >>> Keith, >>> >>> http://www.tc.umn.edu/~brams006/selfsign.html >>> >>> The apache integration part will not be handled by you. You will need to >>> send the certificate to the support at on-rev for them to install. >>> >>> Cheers >>> andre >>> >>> On Thu, Sep 29, 2011 at 6:48 AM, Keith Clarke < >>> keith.clarke at clarkeandclarke.co.uk> wrote: >>> >>>> Hi folks, >>>> Can anyone please point an SSL newbie to any how-to information for >>>> implementing self-certification for SSL test purposes on either On-Rev >> or >>>> LiveCode Server (on either linux or OSX)? >>>> >>>> I've not dabbled with SSL (or indeed, sockets) before. So, as the >> current >>>> On-Rev hosting service supports just one SSL certificate per account - a >>>> single domain or sub-domain, with no wild-card support - I want to >>>> experiment a bit to decide whether to target my Company's top-level >> domain, >>>> a specific sub-domain or a micro-site. >>>> >>>> I also need to extend some prototype apps that I'm moving to LiveCode >>>> Server to confirm whether these will need direct browser access and >> hence >>>> (given my target market) Extended Validation for the address bar 'safe >> site' >>>> approval. >>>> >>>> BTW My On-Rev account already has a fixed IP address (and I also use >>>> dyndns.com to emulate a fixed IP address for my home-based dev server). >>>> So, I'm hoping it's just the certification side of things I need to sort >> - >>>> said he, hoping! ;-) >>>> >>>> Any insights gratefully received... >>>> Best, >>>> Keith.. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu Sep 29 12:39:03 2011 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Sep 2011 10:39:03 -0600 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: <545C1CBE-1E0F-4659-8C2F-0B3211F0D83D@swcp.com> I see three directions to pulling images out of PDF files on Windows: 1. Use a command-line utility and shell() plus file I/O 2. Loosely parse the PDF file 3. Create an external I recommend starting with #1 and seeing how it works for you. All are possible. Dar On Sep 29, 2011, at 8:01 AM, Graham Samuel wrote: > Folks, for some months now (it seems even longer) I have been seeking a solution to the problem of reading PDF-formatted images into Livecode stacks. What I'm looking for is solution that looks like an 'import paint' command: in other words, I want to be able to load a small subset of the possible contents of a PDF - just bitmap images - into a stack via script. Sadly I want to do this on a PC, running at a minimum Windows XP. My users want a simple solution that makes reading from a PDF no more complicated than reading a JPG. > > I have explored several possibilities, including using a 'free' PDF reader that is somehow hidden from the user of my app, and using say 'shell' to control it and to pass an image to LiveCode. However I have not found a realistic way of doing this, particularly when I include the need to have a very simple installation process - the user should not see any additional application, nor be obliged to provide substantial additional resources, as would be true for example if one used ImageMagick in this way in a PC context. > > Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. > > Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. > > 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 --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From ambassador at fourthworld.com Thu Sep 29 12:44:40 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 29 Sep 2011 09:44:40 -0700 Subject: [Semi-OT] mobile paper prototyping stuff In-Reply-To: References: Message-ID: <4E84A078.2080206@fourthworld.com> Andre Garzia wrote: > I've been checking some mobile paper prototyping stuff lately and came > across some items that might be of value to people on this list. > > http://www.tuaw.com/2009/10/03/mega-super-tuaw-shootout-of-the-iphone-ui-sketchbooks/ > > The page above is a good summary of what was available some time ago. There > we can see some paper sketchbooks with iPhone and iPad templates. There are > many UI Stencils with common mobile controls available as well, so even > people who are design challenged like me can have a shot at experimenting > with their UI. Good find, Andre. For general info on paper prototyping techniques, these articles at User Interface Engineering are worthwhile: I had the pleasure of seeing UIE's founder, Jarod Spool, at a SIGCHI conference a while back, and the scope and depth of this thinking is impressive (not to mention his energetic presentation style). Lots to learn from that crew. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From alessandro at system-ini.it Thu Sep 29 12:50:27 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Thu, 29 Sep 2011 18:50:27 +0200 Subject: how to read an specific page into pdf document? Message-ID: <2E9B91A7-5B87-4CD7-8B55-AF811DAE9B01@system-ini.it> how can I do to read a page in a pdf file with Revolution, which syntax should I use? thanks Alessandro Pisoni From dsc at swcp.com Thu Sep 29 12:50:49 2011 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Sep 2011 10:50:49 -0600 Subject: Reading PDF - a cry for help In-Reply-To: <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> Message-ID: <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> On Sep 29, 2011, at 9:24 AM, Ken Ray wrote: > Are you looking at just extracting the images? Or other relevant parts of the PDF? The reason I ask is that it looks like binary data is always contained between two lines: "stream" and "endstream", so extracting just the streaming data should be pretty quick to do; although the next step would be going to read the bytes of what was extracted and then determine if it's an image or some other thing that had to be represented with a "stream" in the PDF... There are a couple issues that complicate this in general. The parameters needed to process the stream need to be parsed and they can be far away. There are many stream filters (some complicated compression) and they can be nested. I looked at a corpus of PDF files and, yeah, a several are used in practice. However, if one needs to parse the output of a specific program or a specific model of a scanner, then the work to do parsing in LiveCode is a lot less. I hope that makes sense; I'm a little under the weather today. Dar From richmondmathewson at gmail.com Thu Sep 29 13:01:56 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 29 Sep 2011 20:01:56 +0300 Subject: how to read an specific page into pdf document? In-Reply-To: <2E9B91A7-5B87-4CD7-8B55-AF811DAE9B01@system-ini.it> References: <2E9B91A7-5B87-4CD7-8B55-AF811DAE9B01@system-ini.it> Message-ID: <4E84A484.3070209@gmail.com> On 09/29/2011 07:50 PM, Alessandro Pisoni wrote: > how can I do to read a page in a pdf file with Revolution, which syntax should I use? > > thanks > > > > Alessandro Pisoni > > I hope the Livecode developers (that's you lot in Edinburgh!) are noticing the increasing volume of postings containing "PDF" . . . it might signal something. From pepetoo at cox.net Thu Sep 29 13:02:12 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 29 Sep 2011 10:02:12 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> Message-ID: I find all of this somewhat tantalizing, but the only way I've found to make a PDF document useful in what I'm doing is to take a screen shot of it and then paste or import it as an image into the other application. Though I do this mostly in MacDraft, I should imagine that the same technique can be used in LC, since I often use MD as a method of transitioning different kinds of images into LC. Of course I'm interested in what you "see" in a PDF; not what else there might be there, of which I know nothing. I don't understand all of this "parsing" of data from or in a PDF. Joe Wilkins On Sep 29, 2011, at 9:50 AM, Dar Scott wrote: > > On Sep 29, 2011, at 9:24 AM, Ken Ray wrote: >> Are you looking at just extracting the images? Or other relevant parts of the PDF? The reason I ask is that it looks like binary data is always contained between two lines: "stream" and "endstream", so extracting just the streaming data should be pretty quick to do; although the next step would be going to read the bytes of what was extracted and then determine if it's an image or some other thing that had to be represented with a "stream" in the PDF... > > > There are a couple issues that complicate this in general. > > The parameters needed to process the stream need to be parsed and they can be far away. > > There are many stream filters (some complicated compression) and they can be nested. I looked at a corpus of PDF files and, yeah, a several are used in practice. > > However, if one needs to parse the output of a specific program or a specific model of a scanner, then the work to do parsing in LiveCode is a lot less. > > I hope that makes sense; I'm a little under the weather today. > > Dar From dsc at swcp.com Thu Sep 29 13:11:11 2011 From: dsc at swcp.com (Dar Scott) Date: Thu, 29 Sep 2011 11:11:11 -0600 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> Message-ID: <02D95D0B-00F1-4CE6-98A8-62E5C1BC6F43@swcp.com> There are command-line utilities that will take a pdf page and render it onto an image and store the image as a standard file. Some work with multiple page documents. These can work with the LiveCode shell() function. Dar On Sep 29, 2011, at 11:02 AM, Joe Lewis Wilkins wrote: > I find all of this somewhat tantalizing, but the only way I've found to make a PDF document useful in what I'm doing is to take a screen shot of it and then paste or import it as an image into the other application. Though I do this mostly in MacDraft, I should imagine that the same technique can be used in LC, since I often use MD as a method of transitioning different kinds of images into LC. Of course I'm interested in what you "see" in a PDF; not what else there might be there, of which I know nothing. I don't understand all of this "parsing" of data from or in a PDF. > > Joe Wilkins > > > On Sep 29, 2011, at 9:50 AM, Dar Scott wrote: > >> >> On Sep 29, 2011, at 9:24 AM, Ken Ray wrote: >>> Are you looking at just extracting the images? Or other relevant parts of the PDF? The reason I ask is that it looks like binary data is always contained between two lines: "stream" and "endstream", so extracting just the streaming data should be pretty quick to do; although the next step would be going to read the bytes of what was extracted and then determine if it's an image or some other thing that had to be represented with a "stream" in the PDF... >> >> >> There are a couple issues that complicate this in general. >> >> The parameters needed to process the stream need to be parsed and they can be far away. >> >> There are many stream filters (some complicated compression) and they can be nested. I looked at a corpus of PDF files and, yeah, a several are used in practice. >> >> However, if one needs to parse the output of a specific program or a specific model of a scanner, then the work to do parsing in LiveCode is a lot less. >> >> I hope that makes sense; I'm a little under the weather today. >> >> Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- From stephenREVOLUTION2 at barncard.com Thu Sep 29 13:19:25 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 10:19:25 -0700 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> Message-ID: Not sure about your needs but... You can save a lot of time between MacDraft and PDFs by using Blue Mango's wonderful and fully supported "Clairfy". Select, copy to PDF in one step with annotations available and online distribution if you want. It's FREE and highly recommended. Get Clarify HERE If your work includes MacDraft, you should know about the (Autocad standard) DWG/DXF import and export feature. It is all plain text and human readable, with point, line and position data that some of which could be turned into corresponding LC commands. But it might be easier to just use Clarify. It's really good. On 29 September 2011 10:02, Joe Lewis Wilkins wrote: > I find all of this somewhat tantalizing, but the only way I've found to > make a PDF document useful in what I'm doing is to take a screen shot of it > and then paste or import it as an image into the other application. Though I > do this mostly in MacDraft, I should imagine that the same technique can be > used in LC, since I often use MD as a method of transitioning different > kinds of images into LC. Of course I'm interested in what you "see" in a > PDF; not what else there might be there, of which I know nothing. I don't > understand all of this "parsing" of data from or in a PDF. > > Joe Wilkins > > > On Sep 29, 2011, at 9:50 AM, Dar Scott wrote: > > > > > On Sep 29, 2011, at 9:24 AM, Ken Ray wrote: > >> Are you looking at just extracting the images? Or other relevant parts > of the PDF? The reason I ask is that it looks like binary data is always > contained between two lines: "stream" and "endstream", so extracting just > the streaming data should be pretty quick to do; although the next step > would be going to read the bytes of what was extracted and then determine if > it's an image or some other thing that had to be represented with a "stream" > in the PDF... > > > > > > There are a couple issues that complicate this in general. > > > > The parameters needed to process the stream need to be parsed and they > can be far away. > > > > There are many stream filters (some complicated compression) and they can > be nested. I looked at a corpus of PDF files and, yeah, a several are used > in practice. > > > > However, if one needs to parse the output of a specific program or a > specific model of a scanner, then the work to do parsing in LiveCode is a > lot less. > > > > I hope that makes sense; I'm a little under the weather today. > > > > Dar > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From rdimola at evergreeninfo.net Thu Sep 29 13:20:45 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 29 Sep 2011 13:20:45 -0400 Subject: Reading PDF - a cry for help In-Reply-To: <545C1CBE-1E0F-4659-8C2F-0B3211F0D83D@swcp.com> References: <545C1CBE-1E0F-4659-8C2F-0B3211F0D83D@swcp.com> Message-ID: <016001cc7ecc$20107780$60316680$@net> I've been trying to find a way just to render a PDF in LC on Android and iOS. There are several major roadblock even after rendering such as links, bookmarks, buttons, combo boxes, etc. But then there's also the java issue. Read the PDF specification for a real headache So.... to implement the PDF object is not as easy as it might seem. There must be some 3rd party PDF renders out there that might be able to dovetail into LC. This would allow distribution of PDF via an app with some modicum of DRM. Ralph DiMola IT Director Evergreen Information Services Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dar Scott Sent: Thursday, September 29, 2011 12:39 PM To: How to use LiveCode Subject: Re: Reading PDF - a cry for help I see three directions to pulling images out of PDF files on Windows: 1. Use a command-line utility and shell() plus file I/O 2. Loosely parse the PDF file 3. Create an external I recommend starting with #1 and seeing how it works for you. All are possible. Dar On Sep 29, 2011, at 8:01 AM, Graham Samuel wrote: > Folks, for some months now (it seems even longer) I have been seeking a solution to the problem of reading PDF-formatted images into Livecode stacks. What I'm looking for is solution that looks like an 'import paint' command: in other words, I want to be able to load a small subset of the possible contents of a PDF - just bitmap images - into a stack via script. Sadly I want to do this on a PC, running at a minimum Windows XP. My users want a simple solution that makes reading from a PDF no more complicated than reading a JPG. > > I have explored several possibilities, including using a 'free' PDF reader that is somehow hidden from the user of my app, and using say 'shell' to control it and to pass an image to LiveCode. However I have not found a realistic way of doing this, particularly when I include the need to have a very simple installation process - the user should not see any additional application, nor be obliged to provide substantial additional resources, as would be true for example if one used ImageMagick in this way in a PC context. > > Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. > > Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. > > 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 --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --------------------------- _______________________________________________ use-livecode mailing list use-livecode at 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 Sep 29 13:27:05 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 10:27:05 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <02D95D0B-00F1-4CE6-98A8-62E5C1BC6F43@swcp.com> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <02D95D0B-00F1-4CE6-98A8-62E5C1BC6F43@swcp.com> Message-ID: I just created a PDF with two lines of text and a 16x16 graphic and following text. A very basic test pattern. Then I opened up the document in BBEdit. Yikes! A huge amount of data is there - some binary and some plain text for such simple data. A minefield of fun and a big project to work with. Here's the specs ( a large PDF document) right from the source. PDF SPECS DOCUMENT Good luck. On 29 September 2011 10:11, Dar Scott wrote: > There are command-line utilities that will take a pdf page and render it > onto an image and store the image as a standard file. Some work with > multiple page documents. These can work with the LiveCode shell() function. > > Dar > > > On Sep 29, 2011, at 11:02 AM, Joe Lewis Wilkins wrote: > > > I find all of this somewhat tantalizing, but the only way I've found to > make a PDF document useful in what I'm doing is to take a screen shot of it > and then paste or import it as an image into the other application. Though I > do this mostly in MacDraft, I should imagine that the same technique can be > used in LC, since I often use MD as a method of transitioning different > kinds of images into LC. Of course I'm interested in what you "see" in a > PDF; not what else there might be there, of which I know nothing. I don't > understand all of this "parsing" of data from or in a PDF. > > > > Joe Wilkins > > > > > > On Sep 29, 2011, at 9:50 AM, Dar Scott wrote: > > > >> > >> On Sep 29, 2011, at 9:24 AM, Ken Ray wrote: > >>> Are you looking at just extracting the images? Or other relevant parts > of the PDF? The reason I ask is that it looks like binary data is always > contained between two lines: "stream" and "endstream", so extracting just > the streaming data should be pretty quick to do; although the next step > would be going to read the bytes of what was extracted and then determine if > it's an image or some other thing that had to be represented with a "stream" > in the PDF... > >> > >> > >> There are a couple issues that complicate this in general. > >> > >> The parameters needed to process the stream need to be parsed and they > can be far away. > >> > >> There are many stream filters (some complicated compression) and they > can be nested. I looked at a corpus of PDF files and, yeah, a several are > used in practice. > >> > >> However, if one needs to parse the output of a specific program or a > specific model of a scanner, then the work to do parsing in LiveCode is a > lot less. > >> > >> I hope that makes sense; I'm a little under the weather today. > >> > >> Dar > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer Programming and tinkering, > often making LiveCode libraries and > externals, sometimes writing associated > microcontroller firmware. > --------------------------- > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pepetoo at cox.net Thu Sep 29 13:40:43 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 29 Sep 2011 10:40:43 -0700 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> Message-ID: <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> Thanks Stephen. I'll take a look at Clairfy. MD provides DWG and DXF translations, but I rarely have need for them, avoiding AutoCAD like the plague as I always have, though I've heard they're going to come back to the Mac shortly. Maybe already. I've been a beta tester for MD for about 15 years. Joe Wilkins On Sep 29, 2011, at 10:19 AM, stephen barncard wrote: > Not sure about your needs but... > > You can save a lot of time between MacDraft and PDFs by using Blue Mango's > wonderful and fully supported "Clairfy". Select, copy to PDF in one step > with annotations available and online distribution if you want. > > It's FREE and highly recommended. > > Get Clarify HERE > > If your work includes MacDraft, you should know about the (Autocad standard) > DWG/DXF import and export feature. It is all plain text and human readable, > with point, line and position data that some of which could be turned into > corresponding LC commands. But it might be easier to just use Clarify. It's > really good. From warren at warrensweb.us Thu Sep 29 13:48:25 2011 From: warren at warrensweb.us (Warren Samples) Date: Thu, 29 Sep 2011 12:48:25 -0500 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <02D95D0B-00F1-4CE6-98A8-62E5C1BC6F43@swcp.com> Message-ID: <4E84AF69.8090906@warrensweb.us> On 09/29/2011 12:27 PM, stephen barncard wrote: > I just created a PDF with two lines of text and a 16x16 graphic and > following text. A very basic test pattern. Then I opened up the document > in BBEdit. > > Yikes! A huge amount of data is there - some binary and some plain text > for such simple data. A minefield of fun and a big project to work with. > > Here's the specs ( a large PDF document) right from the source. PDF > SPECS DOCUMENT > > Good luck. But it should certainly be doable. In fact, File Juicer does it. It's Mac software, but it is an example of exactly what is being discussed. It might be a lot of work, but clearly it's not a hopeless task :) Best, Warren From stephenREVOLUTION2 at barncard.com Thu Sep 29 13:52:44 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 10:52:44 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> Message-ID: Joe, yes. MD is a great product. It was the first piece of Mac software I ever purchased in 1987. In fact, for a moment in testing in a Egghead software store, I could have gone to either platform. I asked to see a PC product and MacDraft. There was no comparison. I bought MacDraft and spec'd macs for A&M studios the next day. AutoCad for mac is already here.... FREE TRIAL On 29 September 2011 10:40, Joe Lewis Wilkins wrote: > Thanks Stephen. I'll take a look at Clairfy. MD provides DWG and DXF > translations, but I rarely have need for them, avoiding AutoCAD like the > plague as I always have, though I've heard they're going to come back to the > Mac shortly. Maybe already. I've been a beta tester for MD for about 15 > years. > > Joe Wilkins > > On Sep 29, 2011, at 10:19 AM, stephen barncard wrote: > > > Not sure about your needs but... > > > > You can save a lot of time between MacDraft and PDFs by using Blue > Mango's > > wonderful and fully supported "Clairfy". Select, copy to PDF in one step > > with annotations available and online distribution if you want. > > > > It's FREE and highly recommended. > > > > Get Clarify HERE > > > > If your work includes MacDraft, you should know about the (Autocad > standard) > > DWG/DXF import and export feature. It is all plain text and human > readable, > > with point, line and position data that some of which could be turned > into > > corresponding LC commands. But it might be easier to just use Clarify. > It's > > really 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From paul at researchware.com Thu Sep 29 13:55:35 2011 From: paul at researchware.com (Paul Dupuis) Date: Thu, 29 Sep 2011 13:55:35 -0400 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: <4E84B117.4040503@researchware.com> On 9/29/2011 10:01 AM, Graham Samuel wrote: > Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. > > Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. As some folks may remember, I have posted to this list a number of time on the need for being able to open and read PDF content (text and images) in LiveCode. We at Researchware have, I think, thoroughly explored this topic. It all boils down to the fact you need 3rd party technology that can read the PDF format and render it and/or extract the text from it. For pages as images or unstylized text, the cheap and dirty way is to use a 3rd party command-line utility to make your conversions. From a script perspective, you perform an answer file command, get the PDF file, and then use shell to batch convert it and then read the resulting text file or image file(s) back in. There is NO other free way to do this. Yes, this is ugly and probably not for the novice scripter and you code pretty much has to be platform specific, but again, it is the ONLY free way to do this. You are also not every displaying a real PDF - you are either displaying images of pages OR the unformatted, unstyled text. You can also do a limited form of displaying a PDF in a window (you can't get or copy any selections/content in it though and can only navigate under script control by page) through InterApplication communication (IAC) To open a PDF in LiveCode where you can actually control navigation through script control and get or set the user selections required two things: (a) a PDF library with APIs supporting these actions and (b) creating a set of LiveCode externals that in turn use the PDF APIs to provide these functions. The main problem with this approach is that all (or all we could find) of the open source or free PDF libraries are woefully immature and lack major functionality. Only commercial PDF technology has the supported APIs for this and whether Adobe, Foxit or other commercial PDF technologies providers, all charge typically based upon a per unit shipped royalty model. And some, like Adobe, are really expensive. I used the revPartner program to explore this with RunRev quite some time ago and asked whether they would consider support in the engine. At the time, they only said it was not practical due to licensing issues (or close to that). What I understand now is that is becuase the open source PDF libraries are crap and the commercial ones woudlld have imposed an entirely different licensing model for LiveCode - one with runtime royalties - which I think none of us want (RunRev or Developers). I am afraid, as of September 2011, that is that state of LiveCode and PDFs. There is a promising free open source GNU effort out there (http://gnupdf.org/Library), but most of the libraries are only 30 or 40% complete. When this is complete, we can all benefit from free PDF support in LiveCode by wrapping the external API around the GNU effort. Until then, you have to choose between cheap, dirty, and limited OR costly and commercial. -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ From andre at andregarzia.com Thu Sep 29 13:56:17 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Sep 2011 14:56:17 -0300 Subject: import snapshot from larger than screen stack??? Message-ID: Folks, I have a large stack that I want a snapshot, when I use the import snapshot command, it clips on the screen borders... so if my stack is 1000 pixels high and the screen is only 500 pixels high, the screenshot will feature only the first 500px. any clue? Can we capture stuff off screen? Andre -- http://www.andregarzia.com All We Do Is Code. From scott at tactilemedia.com Thu Sep 29 14:07:05 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Sep 2011 11:07:05 -0700 Subject: import snapshot from larger than screen stack??? In-Reply-To: Message-ID: Andre, would this work for you? on mouseUp import snapshot from rect (rect of cd 1 of ) of cd 1 of end mouseUp (note line wrap) Note to RunRev: statements like the above continue to fail when run from the message box. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Andre Garzia wrote: > Folks, > > I have a large stack that I want a snapshot, when I use the import snapshot > command, it clips on the screen borders... so if my stack is 1000 pixels > high and the screen is only 500 pixels high, the screenshot will feature > only the first 500px. > > any clue? Can we capture stuff off screen? > > Andre From pepetoo at cox.net Thu Sep 29 14:08:05 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 29 Sep 2011 11:08:05 -0700 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> Message-ID: <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> Stephen, I can see I'm talking to the choir. (smile) For a couple of years MD was side-tracked into Dreams before Micro-spot purchased it from IDD? Sometimes it's been a bumpy road, but I rarely have to use much of anything else. At first glance Clarify looks awesome. What is A&M Studios? A design firm? Joe Wilkins Architect On Sep 29, 2011, at 10:52 AM, stephen barncard wrote: > Joe, > > yes. MD is a great product. It was the first piece of Mac software I ever > purchased in 1987. In fact, for a moment in testing in a Egghead software > store, I could have gone to either platform. I asked to see a PC product and > MacDraft. There was no comparison. I bought MacDraft and spec'd macs for > A&M studios the next day. > > AutoCad for mac is already here.... FREE > TRIAL > > On 29 September 2011 10:40, Joe Lewis Wilkins wrote: > >> Thanks Stephen. I'll take a look at Clairfy. MD provides DWG and DXF >> translations, but I rarely have need for them, avoiding AutoCAD like the >> plague as I always have, though I've heard they're going to come back to the >> Mac shortly. Maybe already. I've been a beta tester for MD for about 15 >> years. >> >> Joe Wilkins >> >> On Sep 29, 2011, at 10:19 AM, stephen barncard wrote: >> >>> Not sure about your needs but... >>> >>> You can save a lot of time between MacDraft and PDFs by using Blue >> Mango's >>> wonderful and fully supported "Clairfy". Select, copy to PDF in one step >>> with annotations available and online distribution if you want. >>> >>> It's FREE and highly recommended. >>> >>> Get Clarify HERE >>> >>> If your work includes MacDraft, you should know about the (Autocad >> standard) >>> DWG/DXF import and export feature. It is all plain text and human >> readable, >>> with point, line and position data that some of which could be turned >> into >>> corresponding LC commands. But it might be easier to just use Clarify. >> It's >>> really good. >> From david at vaudevillecourt.tv Thu Sep 29 14:19:05 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 29 Sep 2011 19:19:05 +0100 Subject: Need presenter for next LiveCode.tv event In-Reply-To: <09D7AE08-DC52-45E1-B7B3-8AC6D583584D@mac.com> References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> <54E0E19F-3F8A-4D69-97E5-0A95CF879616@mac.com> <1CC563D1-73FE-4C15-8003-FDF2BC98B890@mac.com> <09D7AE08-DC52-45E1-B7B3-8AC6D583584D@mac.com> Message-ID: Hi Bj?rnke, I'll present if you like - I've been in recursive hell, and the break will do me good :) I'd propose doing something a little lateral on Unit Tests, as I'd like to add that to the revision control plugin by Monday? 2011/9/28 Bj?rnke von Gierke > Hi everyone > > As you know we haven't had any events since almost a month. We can only > have an event when there is presentations. It would be nice to have another > event next week. > > You can present then, or at any later date. It's not hard, and takes about > 2 hours including the show itself and setting the technicalities up, when > you have a topic prepared. > > If you lack a proper topic, just ask me or Mark in the chat, I'm sure > together we can find something that you'd be interested in to present. We > also help with any other thing you'd need for making a presentation. All you > need to do is to contact me directly and fix a date. > > Thank you for volunteering > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Thu Sep 29 14:19:09 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 11:19:09 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> Message-ID: http://amstudios.net/amstudios.html On 29 September 2011 11:08, Joe Lewis Wilkins wrote: > Stephen, > > I can see I'm talking to the choir. (smile) For a couple of years MD was > side-tracked into Dreams before Micro-spot purchased it from IDD? Sometimes > it's been a bumpy road, but I rarely have to use much of anything else. At > first glance Clarify looks awesome. What is A&M Studios? A design firm? > > Joe Wilkins > Architect > > > On Sep 29, 2011, at 10:52 AM, stephen barncard wrote: > > > Joe, > > > > yes. MD is a great product. It was the first piece of Mac software I > ever > > purchased in 1987. In fact, for a moment in testing in a Egghead software > > store, I could have gone to either platform. I asked to see a PC product > and > > MacDraft. There was no comparison. I bought MacDraft and spec'd macs for > > A&M studios the next day. > > > > AutoCad for mac is already here.... FREE > > TRIAL< > http://usa.autodesk.com/adsk/servlet/download/item?id=17335606&siteID=123112&ch=ON&src=OMSE&mktvar001=353376&mktvar002=353376&utm_source=Google&utm_medium=cpc&utm_term=mac%20autocad&utm_content=Mac%20Broad&utm_campaign=Autodesk%20-%20AutoCAD%20for%20the%20Mac > > > > > > On 29 September 2011 10:40, Joe Lewis Wilkins wrote: > > > >> Thanks Stephen. I'll take a look at Clairfy. MD provides DWG and DXF > >> translations, but I rarely have need for them, avoiding AutoCAD like the > >> plague as I always have, though I've heard they're going to come back to > the > >> Mac shortly. Maybe already. I've been a beta tester for MD for about 15 > >> years. > >> > >> Joe Wilkins > >> > >> On Sep 29, 2011, at 10:19 AM, stephen barncard wrote: > >> > >>> Not sure about your needs but... > >>> > >>> You can save a lot of time between MacDraft and PDFs by using Blue > >> Mango's > >>> wonderful and fully supported "Clairfy". Select, copy to PDF in one > step > >>> with annotations available and online distribution if you want. > >>> > >>> It's FREE and highly recommended. > >>> > >>> Get Clarify HERE > >>> > >>> If your work includes MacDraft, you should know about the (Autocad > >> standard) > >>> DWG/DXF import and export feature. It is all plain text and human > >> readable, > >>> with point, line and position data that some of which could be turned > >> into > >>> corresponding LC commands. But it might be easier to just use Clarify. > >> It's > >>> really 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From kray at sonsothunder.com Thu Sep 29 14:20:25 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 29 Sep 2011 13:20:25 -0500 Subject: Reading PDF - a cry for help In-Reply-To: <4E84B117.4040503@researchware.com> References: <4E84B117.4040503@researchware.com> Message-ID: > You can also do a limited form of displaying a PDF in a window (you can't get or copy any selections/content in it though and can only navigate under script control by page) through InterApplication communication (IAC) Yes, I think this can actually be done with a Player object too, but it gives you the same results (no selection/content). > To open a PDF in LiveCode where you can actually control navigation through script control and get or set the user selections required two things: (a) a PDF library with APIs supporting these actions and (b) creating a set of LiveCode externals that in turn use the PDF APIs to provide these functions. The main problem with this approach is that all (or all we could find) of the open source or free PDF libraries are woefully immature and lack major functionality. Only commercial PDF technology has the supported APIs for this and whether Adobe, Foxit or other commercial PDF technologies providers, all charge typically based upon a per unit shipped royalty model. And some, like Adobe, are really expensive. Is it possible to open a PDF in a revBrowser control? That *should* (theoretically) give you the same ability as you have with a regular web browser - although you may not be able to "get" the text of the selection in any meaningful way... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From andre at andregarzia.com Thu Sep 29 14:22:49 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 29 Sep 2011 15:22:49 -0300 Subject: import snapshot from larger than screen stack??? In-Reply-To: References: Message-ID: Scott, Thanks for answering. I am trying to capture a very tall RevBrowser window. The revBrowserSnapshot command never worked for me, so I decided to use global coordinates to import the snapshot from the area occupied by the RevBrowser window. The stack is large enough and the are no scrollbars or anything like that. The command below will capture a blank screen here. damn, should be easy if revbrowsersnapshot just worked as advertised. andre On Thu, Sep 29, 2011 at 3:07 PM, Scott Rossi wrote: > Andre, would this work for you? > > on mouseUp > import snapshot from rect (rect of cd 1 of ) of cd 1 of > > end mouseUp > > (note line wrap) > > Note to RunRev: statements like the above continue to fail when run from > the > message box. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Andre Garzia wrote: > > > Folks, > > > > I have a large stack that I want a snapshot, when I use the import > snapshot > > command, it clips on the screen borders... so if my stack is 1000 pixels > > high and the screen is only 500 pixels high, the screenshot will feature > > only the first 500px. > > > > any clue? Can we capture stuff off screen? > > > > Andre > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From stephenREVOLUTION2 at barncard.com Thu Sep 29 14:27:31 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 11:27:31 -0700 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> Message-ID: Please excuse my 1998 web design. Hip at the time, pretty lame today. On 29 September 2011 11:19, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > http://amstudios.net/amstudios.html > > > On 29 September 2011 11:08, Joe Lewis Wilkins wrote: > >> anything else. At first glance Clarify looks awesome. What is A&M Studios? >> A design firm? >> >> Joe Wilkins >> Architect >> > Stephen Barncard San Francisco Ca. USA more about sqb From pepetoo at cox.net Thu Sep 29 14:45:20 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 29 Sep 2011 11:45:20 -0700 Subject: Reading PDF - a cry for help In-Reply-To: References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> Message-ID: <3AB4D9C8-DDC2-4AB6-A248-B0ED673A5419@cox.net> Stephen, Evolution in all things. (smile) Unfortunately, most of my design errors have at least 50 years before they will fade away, although I recently drove past a site in Laguna Niguel where I had designed a Nursery in 1968 and found it had been replaced by a new bank. Price of land! And a low cost FHA housing project in Vista done about the same time should be torn down. It's falling apart due to neglect. Architecture is a fun profession to see work you can remember doing 30 and 40 years ago still being useful, though not always up to current standards. Since I engineer all of my own buildings, in Southern California it is gratifying to see that they are still standing. Now if the Economy will just rebound! I graduated from Cal in 1959, so I'm familiar with S.F. from my Summer Jobs. Joe Wilkins Architect On Sep 29, 2011, at 11:27 AM, stephen barncard wrote: > Please excuse my 1998 web design. Hip at the time, pretty lame today. > > On 29 September 2011 11:19, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> http://amstudios.net/amstudios.html >> >> >> On 29 September 2011 11:08, Joe Lewis Wilkins wrote: >> >>> anything else. At first glance Clarify looks awesome. What is A&M Studios? >>> A design firm? >>> >>> Joe Wilkins >>> Architect >>> >> Stephen Barncard > San Francisco Ca. USA > > more about sqb > ______________________________________________ From jacque at hyperactivesw.com Thu Sep 29 14:46:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 29 Sep 2011 13:46:48 -0500 Subject: import snapshot from larger than screen stack??? In-Reply-To: References: Message-ID: <4E84BD18.10302@hyperactivesw.com> On 9/29/11 1:22 PM, Andre Garzia wrote: > Scott, > > Thanks for answering. I am trying to capture a very tall RevBrowser window. > The revBrowserSnapshot command never worked for me, so I decided to use > global coordinates to import the snapshot from the area occupied by the > RevBrowser window. The stack is large enough and the are no scrollbars or > anything like that. The command below will capture a blank screen here. I haven't tried it, but you could try: lock the screen, set the height of the stack to 1000, import snapshot from this cd, set the stack height back to the original height, and unlock screen. That usually works with standard cards but I haven't tried it with a browser control. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Sep 29 14:52:35 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 29 Sep 2011 11:52:35 -0700 Subject: import snapshot from larger than screen stack??? In-Reply-To: Message-ID: Ah, capturing a revBrowser region is different than just a standard snapshot. I've heard several folks struggle with getting browser capture to work. Sorry I don't have an answer. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Andre Garzia wrote: > Scott, > > Thanks for answering. I am trying to capture a very tall RevBrowser window. > The revBrowserSnapshot command never worked for me, so I decided to use > global coordinates to import the snapshot from the area occupied by the > RevBrowser window. The stack is large enough and the are no scrollbars or > anything like that. The command below will capture a blank screen here. > > damn, should be easy if revbrowsersnapshot just worked as advertised. > > andre > > On Thu, Sep 29, 2011 at 3:07 PM, Scott Rossi wrote: > >> Andre, would this work for you? >> >> on mouseUp >> import snapshot from rect (rect of cd 1 of ) of cd 1 of >> >> end mouseUp >> >> (note line wrap) >> >> Note to RunRev: statements like the above continue to fail when run from >> the >> message box. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> Recently, Andre Garzia wrote: >> >>> Folks, >>> >>> I have a large stack that I want a snapshot, when I use the import >> snapshot >>> command, it clips on the screen borders... so if my stack is 1000 pixels >>> high and the screen is only 500 pixels high, the screenshot will feature >>> only the first 500px. >>> >>> any clue? Can we capture stuff off screen? >>> >>> Andre >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> From richmondmathewson at gmail.com Thu Sep 29 15:24:39 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 29 Sep 2011 22:24:39 +0300 Subject: import snapshot from larger than screen stack??? In-Reply-To: References: Message-ID: <4E84C5F7.50903@gmail.com> At the risk of appearing stupid: I made a stack [400 wide by 3000 high]; my screen resolution being 1280 x 960 (Linux) and named the first card "KARD" [feeling dead imaginative this evening] and then put this: import snapshot from card "KARD" into the Message Box and, guess what; I got a 400 x 3000 image in my stack. From bobs at twft.com Thu Sep 29 15:32:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 29 Sep 2011 12:32:26 -0700 Subject: import snapshot from larger than screen stack??? In-Reply-To: <4E84C5F7.50903@gmail.com> References: <4E84C5F7.50903@gmail.com> Message-ID: <919CF7CF-4D55-4816-970E-E1E0C4BCAEBC@twft.com> I think the issue was getting a browser snapshot. On Sep 29, 2011, at 12:24 PM, Richmond Mathewson wrote: > At the risk of appearing stupid: > > I made a stack [400 wide by 3000 high]; my screen resolution being 1280 x 960 > > (Linux) > > and named the first card "KARD" [feeling dead imaginative this evening] > > and then put this: > > import snapshot from card "KARD" > > into the Message Box > > and, guess what; I got a 400 x 3000 image in my stack. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith at gulfbreezeortholab.com Thu Sep 29 17:42:54 2011 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Thu, 29 Sep 2011 16:42:54 -0500 Subject: [Semi-OT] mobile paper prototyping stuff In-Reply-To: References: Message-ID: <8C0574914D7B4B23B27109A5CBD4AEF3@KeithPC> Awesome! Thanks for sharing... -----Original Message----- From: Andre Garzia Sent: Thursday, September 29, 2011 11:11 AM To: How to use LiveCode Subject: [Semi-OT] mobile paper prototyping stuff Hey Folks, I've been checking some mobile paper prototyping stuff lately and came across some items that might be of value to people on this list. http://www.tuaw.com/2009/10/03/mega-super-tuaw-shootout-of-the-iphone-ui-sketchbooks/ The page above is a good summary of what was available some time ago. There we can see some paper sketchbooks with iPhone and iPad templates. There are many UI Stencils with common mobile controls available as well, so even people who are design challenged like me can have a shot at experimenting with their UI. Bonus point, they all work on the beach, so it is better than using a computer for everything. Cheers andre -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Sep 29 20:56:32 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 29 Sep 2011 17:56:32 -0700 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: <201366843203.20110929175632@ahsoftware.net> Stephen- I've been walking around sad all day about this. I just assumed Mark was on tour somewhere and being uncommunicative. Never thought to check Wikipedia. A couple of years ago when we discovered we were both bass players we started swapping stories - unfortunately I had an email crash a while back and all that correspondence is now gone. I do remember that he had an amazing rendition of a Bach violin piece that he had transcribed for the bass. The fingering got a little tricky in places but it worked well. Maybe I'll try to resurrect it. Plus he was no slouch in sharing some very useful libraries. RIP. -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Thu Sep 29 21:05:26 2011 From: chipp at chipp.com (Chipp Walters) Date: Thu, 29 Sep 2011 20:05:26 -0500 Subject: import snapshot from larger than screen stack??? In-Reply-To: References: Message-ID: Andre, I seem to remember Jim Ault (I think it was him) trying to do the same thing using altBrowser. You might check with him to see how he ended up accomplishing it. On Thu, Sep 29, 2011 at 12:56 PM, Andre Garzia wrote: > Folks, > > I have a large stack that I want a snapshot, when I use the import snapshot > command, it clips on the screen borders... so if my stack is 1000 pixels > high and the screen is only 500 pixels high, the screenshot will feature > only the first 500px. > > any clue? Can we capture stuff off screen? > > Andre > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From stephenREVOLUTION2 at barncard.com Thu Sep 29 21:07:32 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 29 Sep 2011 18:07:32 -0700 Subject: libJSON In-Reply-To: <201366843203.20110929175632@ahsoftware.net> References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> <201366843203.20110929175632@ahsoftware.net> Message-ID: I would also like to find out what happened to Derek Bump, also currently missing from the list. I hope he's ok.... and just doing something else. sqb On 29 September 2011 17:56, Mark Wieder wrote: > Stephen- > > I've been walking around sad all day about this. I just assumed Mark > was on tour somewhere and being uncommunicative. Never thought to > check Wikipedia. A couple of years ago when we discovered we were both > bass players we started swapping stories - unfortunately I had an > email crash a while back and all that correspondence is now gone. I do > remember that he had an amazing rendition of a Bach violin piece that > he had transcribed for the bass. The fingering got a little tricky in > places but it worked well. Maybe I'll try to resurrect it. > > Plus he was no slouch in sharing some very useful libraries. RIP. > > -- > -Mark Wieder > mwieder at ahsoftware.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From mikekann at yahoo.com Thu Sep 29 22:06:44 2011 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 29 Sep 2011 19:06:44 -0700 (PDT) Subject: libJSON In-Reply-To: Message-ID: <1317348404.10779.YahooMailClassic@web161620.mail.bf1.yahoo.com> Derek Bump 9510 Old Creek Rd Batavia, NY 14020 (585) 344-1254 --- On Thu, 9/29/11, stephen barncard wrote: From: stephen barncard Subject: Re: libJSON To: "How to use LiveCode" Date: Thursday, September 29, 2011, 8:07 PM I would also like to find out what happened to Derek Bump, also currently missing from the list.? I hope he's ok.... and just doing something else. sqb On 29 September 2011 17:56, Mark Wieder wrote: > Stephen- > > I've been walking around sad all day about this. I just assumed Mark > was on tour somewhere and being uncommunicative. Never thought to > check Wikipedia. A couple of years ago when we discovered we were both > bass players we started swapping stories - unfortunately I had an > email crash a while back and all that correspondence is now gone. I do > remember that he had an amazing rendition of a Bach violin piece that > he had transcribed for the bass. The fingering got a little tricky in > places but it worked well. Maybe I'll try to resurrect it. > > Plus he was no slouch in sharing some very useful libraries. RIP. > > -- > -Mark Wieder >? mwieder at ahsoftware.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Sep 22 21:46:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Sep 2011 20:46:38 -0500 Subject: OT Help re Mac SideBar Message-ID: The usual way is to hold down the Command key and drag it out. From jacque at hyperactivesw.com Thu Sep 22 21:59:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 22 Sep 2011 20:59:48 -0500 Subject: [OT] Warp Drive, Here We Come Message-ID: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> Impossible. I'm in a cabin in the woods where I have to drive to get Internet access. Which is why I'm answering old posts by mistake, btw. And no way there's enough power to run my time warp stack. On the other hand I'll be back tomorrow so maybe I did it then. Mark Wieder wrote: >Scott- > >Thursday, September 22, 2011, 3:36:50 PM, you wrote: > >> "Puzzling results from Cern, home of the LHC, have confounded physicists - >> because it appears subatomic particles have exceeded the speed of light." > >I sense the hand of Jacque in this... > >-- >-Mark Wieder > mwieder at ahsoftware.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 mazzapaoloitaly at gmail.com Fri Sep 30 02:58:41 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Fri, 30 Sep 2011 08:58:41 +0200 Subject: scrolling text field for iOS Message-ID: Hi all, I set up a finger scrolling text field for an iOS application taking into consideration that the content of the text field change according to the language selected by the user. I posted the stack in RevOnLine: http://revonline2.runrev.com/stack/602/Finger-Scroll- It works. Still I wonder if a better practice/solution can accomplish this task. All the best Paolo Mazza From walter.h.brown at gmail.com Fri Sep 30 03:06:23 2011 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 30 Sep 2011 03:06:23 -0400 Subject: Reading PDF - a cry for help In-Reply-To: <3AB4D9C8-DDC2-4AB6-A248-B0ED673A5419@cox.net> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> <7126FD6B-D5A1-45CB-B356-FAE1BD77225F@swcp.com> <180C465B-9690-4102-AC3C-3AB2B8806F84@cox.net> <814836DD-2AB1-473C-96D1-397D4021BA8F@cox.net> <3AB4D9C8-DDC2-4AB6-A248-B0ED673A5419@cox.net> Message-ID: <4e856a73.c6dae00a.1d2d.5780@mx.google.com> I have had some success parsing PDF files for various purposes using the shell command to access tools like pdftk, ghostpdl/ghostscript and the xpdf suite of command line tools. Walt Brown -----Original Message----- From gerry.orkin at gmail.com Fri Sep 30 03:06:47 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 30 Sep 2011 17:06:47 +1000 Subject: scrolling text field for iOS In-Reply-To: References: Message-ID: <1EBCC50C-8E8E-4B3A-8441-2F72AF003970@gmail.com> http://forums.runrev.com/viewtopic.php?f=54&t=8419&sid=bf0fce69c0385b78e776bf617b2dc5b0 On 30/09/2011, at 4:58 PM, paolo mazza wrote: > Hi all, > I set up a finger scrolling text field for an iOS application taking > into consideration that the content of the text field change according > to the language selected by the user. > > I posted the stack in RevOnLine: > http://revonline2.runrev.com/stack/602/Finger-Scroll- > > It works. Still I wonder if a better practice/solution can accomplish > this task. > > All the best > > Paolo Mazza > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From vokey at uleth.ca Fri Sep 30 03:12:43 2011 From: vokey at uleth.ca (Vokey, John) Date: Fri, 30 Sep 2011 01:12:43 -0600 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: The problem (success?) with pdf is that it is, uniquely, pdf: it is text, stylized text, bitmaps, vector graphics, and everything else. Covert eps, for example, to pdf and all is fine (you can easily extract the eps from the pdf). Add a second pdf (or another eps) to that same file, and the eps becomes encoded pdf: the same is true for stylized text or anything else. All of which is to say, you cannot easily extract a precise image from a more complex pdf file, especially one that is vector graphics in form. You can, as Preview does, cut from a pdf an aspect of that pdf as a pdf image, but that pdf won't be the original graphic (typically). You can also extract the text in a simple ascii form that, typically on Windows, loses all the ligatures (on the Mac it is usually more successful). TeXShop, unlike Preview, for example, does try to extract eps from pdf, but fails if the encoding was other than eps-->pdf. Preview just doesn't bother as it is not usually possible. OTH, pdf-->pdf always works, which is one of the principle reasons pdf dominates everywhere (except in that dark world of Windows). I do most of my work in LaTeX, and most of my figures are vector graphics. That means an entire manuscript when compiled to pdf, including all the stylized text, tables and figures is *at most* a few hundred K. I have books I have written in LaTeX that over hundreds of pages and figures are still at most a few megabytes when compiled to pdf. Even one of those figures of those documents if converted from pdf to say, png, or tiff, or jpeg would be larger than the entire document in pdf. My point is simple: if in pdf stay there: it is already the best format. On 2011-09-29, at 6:56 PM, use-livecode-request at lists.runrev.com wrote: > I find all of this somewhat tantalizing, but the only way I've found to make a PDF document useful in what I'm doing is to take a screen shot of it and then paste or import it as an image into the other application. Though I do this mostly in MacDraft, I should imagine that the same technique can be used in LC, since I often use MD as a method of transitioning different kinds of images into LC. Of course I'm interested in what you "see" in a PDF; not what else there might be there, of which I know nothing. I don't understand all of this "parsing" of data from or in a PDF. > > Joe Wilkins -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From walter.h.brown at gmail.com Fri Sep 30 03:34:40 2011 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 30 Sep 2011 03:34:40 -0400 Subject: how to read an specific page into pdf document? In-Reply-To: <4E84A484.3070209@gmail.com> References: <2E9B91A7-5B87-4CD7-8B55-AF811DAE9B01@system-ini.it> <4E84A484.3070209@gmail.com> Message-ID: <4e857114.0ad5e00a.32cb.574a@mx.google.com> Hi Alessandro, It depends on what mean by "read". Do you want to display a page to the user, or do you want to capture the content of the PDF file for use in LiveCode? Walt -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Mathewson Sent: Thursday, September 29, 2011 1:02 PM To: How to use LiveCode Subject: Re: how to read an specific page into pdf document? On 09/29/2011 07:50 PM, Alessandro Pisoni wrote: > how can I do to read a page in a pdf file with Revolution, which syntax should I use? > > thanks > > > > Alessandro Pisoni > > I hope the Livecode developers (that's you lot in Edinburgh!) are noticing the increasing volume of postings containing "PDF" . . . it might signal something. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Fri Sep 30 03:48:12 2011 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 30 Sep 2011 03:48:12 -0400 Subject: PRINTING PROBLEM In-Reply-To: <4E82CADE.9040107@gmail.com> References: <4C2B4CEE-FF67-45C6-AA94-5E71677725AC@cox.net> <4E82CADE.9040107@gmail.com> Message-ID: <4e857440.08c0e00a.543b.55ce@mx.google.com> I see an ad for an HP color inkjet all in one printer for $90 - with my current cartridges running around half that for a full replacement set, just keeping extra printers on hand might be more efficient (sigh) if not ecologically sound... -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Mathewson Sent: Wednesday, September 28, 2011 3:21 AM To: How to use LiveCode From walter.h.brown at gmail.com Fri Sep 30 04:35:54 2011 From: walter.h.brown at gmail.com (Walt Brown) Date: Fri, 30 Sep 2011 04:35:54 -0400 Subject: [OT] Max-Gentleman In-Reply-To: <4E3A5243.6080903@gmail.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <491203791343.20110803174619@ahsoftware.net> <4E3A5243.6080903@gmail.com> Message-ID: <4e857f6e.c6cfe00a.514c.59c8@mx.google.com> As I clear out old emails... FYI, I recently ran into an old friend of mine from grade school. He tried one of the prescription meds available for this purpose, once. It had a warning "if you notice any changes in vision". He has permanently lost complete vision in both eyes. -----Original Message----- From lists at mangomultimedia.com Fri Sep 30 07:13:55 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 30 Sep 2011 07:13:55 -0400 Subject: Datagrid Error In-Reply-To: <4E82731A.6000301@comcast.net> References: <4E82731A.6000301@comcast.net> Message-ID: On Tue, Sep 27, 2011 at 9:06 PM, Marty Knapp wrote: > I have an application with a Datagrid that's been working fine but I'm now > getting an error in the standalone (but it seems to work fine in the IDE): > Marty, I know of at least one other instance where someone is experiencing a similar error. The problem only occurs on one computer though. Does this error occur every time in your case? -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com From richmondmathewson at gmail.com Fri Sep 30 07:46:53 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 14:46:53 +0300 Subject: [OT] Max-Gentleman In-Reply-To: <4e857f6e.c6cfe00a.514c.59c8@mx.google.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <491203791343.20110803174619@ahsoftware.net> <4E3A5243.6080903@gmail.com> <4e857f6e.c6cfe00a.514c.59c8@mx.google.com> Message-ID: <4E85AC2D.4090106@gmail.com> On 09/30/2011 11:35 AM, Walt Brown wrote: > As I clear out old emails... > > FYI, I recently ran into an old friend of mine from grade school. He tried > one of the prescription meds available for this purpose, once. It had a > warning "if you notice any changes in vision". He has permanently lost > complete vision in both eyes. > > That is a serious warning to all of us. From admin at mfelkerco.com Fri Sep 30 09:21:29 2011 From: admin at mfelkerco.com (Admin) Date: Fri, 30 Sep 2011 08:21:29 -0500 Subject: Reading PDF - a cry for help In-Reply-To: References: Message-ID: <05d11347ac305545d18093c2d8db0a11@mfelkerco.com> I like that. pdf works everywhere (except that dark corner of windows) - oh, you mean the 98% of all computer users dark corner? Oops, forgot about them. Mike On Fri, 30 Sep 2011 01:12:43 -0600, Vokey, John wrote: > The problem (success?) with pdf is that it is, uniquely, pdf: it is text, stylized text, bitmaps, vector graphics, and everything else. Covert eps, for example, to pdf and all is fine (you can easily extract the eps from the pdf). Add a second pdf (or another eps) to that same file, and the eps becomes encoded pdf: the same is true for stylized text or anything else. All of which is to say, you cannot easily extract a precise image from a more complex pdf file, especially one that is vector graphics in form. You can, as Preview does, cut from a pdf an aspect of that pdf as a pdf image, but that pdf won't be the original graphic (typically). You can also extract the text in a simple ascii form that, typically on Windows, loses all the ligatures (on the Mac it is usually more successful). TeXShop, unlike Preview, for example, does try to extract eps from pdf, but fails if the encoding was other than eps-->pdf. Preview just doesn't bother as it is not usually possible. OTH, pdf-->pdf always works, which is one of the principle reasons pdf dominates everywhere (except in that dark world of Windows). > > I do most of my work in LaTeX, and most of my figures are vector graphics. That means an entire manuscript when compiled to pdf, including all the stylized text, tables and figures is *at most* a few hundred K. I have books I have written in LaTeX that over hundreds of pages and figures are still at most a few megabytes when compiled to pdf. Even one of those figures of those documents if converted from pdf to say, png, or tiff, or jpeg would be larger than the entire document in pdf. My point is simple: if in pdf stay there: it is already the best format. > > On 2011-09-29, at 6:56 PM, use-livecode-request at lists.runrev.com [1]wrote: > >> I find all of this somewhat tantalizing, but the only way I've found to make a PDF document useful in what I'm doing is to take a screen shot of it and then paste or import it as an image into the other application. Though I do this mostly in MacDraft, I should imagine that the same technique can be used in LC, since I often use MD as a method of transitioning different kinds of images into LC. Of course I'm interested in what you "see" in a PDF; not what else there might be there, of which I know nothing. I don't understand all of this "parsing" of data from or in a PDF. Joe Wilkins > > -- > Please avoid sending me Word or PowerPoint attachments. > See > > -Dr. John R. Vokey > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [3] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [4] Links: ------ [1] mailto:use-livecode-request at lists.runrev.com [2] http://www.gnu.org/philosophy/no-word-attachments.html [3] mailto:use-livecode at lists.runrev.com [4] http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 30 10:12:01 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 17:12:01 +0300 Subject: [OT] Urban OS Message-ID: <4E85CE31.10402@gmail.com> http://www.bbc.co.uk/news/technology-15109403 http://cataspanglish.com/2010/07/26/urban-os-a-city-operating-system/ --------------------------------------------------------------------------------------------- http://urbanlabs.net/index.php/UrbanLabs_OS_%28English%29 How good is your (err ?) Catalan ? http://urbanlabs.net/index.php/UrbanLabs_OS --------------------------------------------------------------------------- Now it could be "fun", could it not (????) to have Livecode apps in "there" somewhere. From richmondmathewson at gmail.com Fri Sep 30 10:30:47 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 17:30:47 +0300 Subject: Reading PDF - a cry for help In-Reply-To: <05d11347ac305545d18093c2d8db0a11@mfelkerco.com> References: <05d11347ac305545d18093c2d8db0a11@mfelkerco.com> Message-ID: <4E85D297.80908@gmail.com> On 09/30/2011 04:21 PM, Admin wrote: > > > I like that. pdf works everywhere (except that dark corner of > windows) - oh, you mean the 98% of all computer users dark corner? Oops, > forgot about them. > > Mike > > As our house is completely non-Windows [mixed Mac, Ubuntu-Linux, Mint-Linux], and my wife has to print out her handouts at the University of Plovdiv [100% Windows]; as most of her stuff contains an Anglo-Saxon-cum-Middle-English font made by me, she is ALWAYS very careful to pump out her finished work as PDF files, stick them on the flash drive, and wander up the road to the Uni' . . . . . . Safe in the knowledge that PDF is the ONLY format that works cross-platform [i.e. Mac + Windows + Linux] every single time. So remarks about "dark corners" don't really make much sense. Certainly, the installs of Windows XP at the University of Plovdiv have no problem at all printing out whatever we can throw at them from our "alien" operating systems. I do know that Adobe's PDF reader does not always "sit prettily" with Windows, and I tend to install Foxit for my friends: http://www.foxitsoftware.com/Secure_PDF_Reader/ I don't like Windows, but the fact is that hereabouts (at least) 99% of the place uses Windows, and, on the whole, seem to manage remarkably well. The fact that I don't like Windows has not stopped me installing it and tweaking it for people who would prefer it to other operating systems; the only thing they have had to put up with is a 20 minute anti-Windows rant from me first . . . :) Actually fairly cheap as the going rate for a windows install round here (I mean the act of installing, not the licence) is currently running at about 50 Euros). My main grump about Windows boils down to 3 things: 1. I can run Pentium 2,3 & 4 machines much faster and more efficiently on types of Linux than on Windows 98 and XP. 2. Kids who turn up with written work on Flash drives from there home systems are not going to virus my machines and ruin my weekend by having to reinstall everything for the 95th time. 3. I'd rather spend my money on things I see as more directly relevant to my work, such as specialist learner keyboards, educational DVDs and so forth, than a plain bread-and-butter OS to underpin the work. I used to be anti-PDF because it is not Open Source; but then, Hey, nor is Livecode. And Open Source (sorry, Shri Shri Richard Stallman) is NOT a virtue in and of itself; and, having gone to a talk by R. Stallman, I got turned off his shrill, one-sided, rather bigotted rantings. And, however much I like Open Source, I cannot see a viable alternative to PDF right now. From livfoss at mac.com Fri Sep 30 11:02:53 2011 From: livfoss at mac.com (Graham Samuel) Date: Fri, 30 Sep 2011 15:02:53 +0000 (GMT) Subject: Reading PDF - a cry for help Message-ID: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> Thanks to all who replied. As the one who started this thread, I'd like to say that I pretty much despair of finding a solution. The current position seems to me admirably summarised by Paul Dupuis (see below). Suggestions that I use a command-line utility seem to me to come down to using ImageMagick since I have not found any other solution that has the right functionality and licensing terms - but when I looked into it, although I freely admit I know almost nothing about the internal workings of Windows, it seemed to me that IM is a resources hog that would not be amenable to a simple installation process hidden from the user; and that operating it so as to provide a LiveCode window containing the relevant representation would not be straightforward and would certainly mean clunky intermediate files. So it would be very very different from an 'import paint' situation. Bear in mind that I am not interested in the text in a PDF, just the image content (just a bitmap really), so things like IM are overkill for me anyway. But this 'modest' requirement hasn't got me any nearer a solution. What really annoys me is that if I were writing my app in Visual Basic, I suspect there would be library components available with the right licensing terms, but the promise of a simple 'glue' or 'wrapper' capability to tie LiveCode to third-party externals whose APIs were not written with LiveCode in mind has not been fulfilled, even though it has been proposed in some versions of the LC documentation. Before I completely give up I will go round the ImageMagick route once more, since I suppose I may have misunderstood its resource requirements, and it does have the advantage of being able to read TIFFs, which is another problem I have (also not likely to be on LiveCode's radar despite QA requests). As a last remark, I'd be interested to know of the details of ANY implementation of adding functionality of any kind to LiveCode via a third-party application and 'shell'. I have never seen this in action and I can't remember it being demonstrated by anyone on this list - but maybe I just wasn't paying attention. Graham On 9/29/2011 10:01 AM, Graham Samuel wrote: Short of RunRev itself extending input formats to include PDF (not impossible, but not likely in the short term), the solution would seem to be to licence a third-party library component and integrate it into my app by the use of bridging ('glue') code. I got pretty near with this one, having identified a component with suitable licensing terms and functionality (Sorax DLL). RunRev suggested that I could do the gluing with the aid of a 'C' programmer. It turns out after a lot of research by Thierry Douez, who has been helping me, that what I need is a person familiar with Visual Studio to accomplish this - but I despair of finding such a person who would also be familiar with the externals interface of the LiveCode engine. Maybe I will find such a person, but the trail does seem to have gone cold. Has anyone any suggestion as to how I might proceed? My app works so nicely with JPG and PNG files, and I have (a little) belief that I could make it work with TIFF files, but without PDF input I am dead in the water. As some folks may remember, I have posted to this list a number of time? on the need for being able to open and read PDF content (text and? images) in LiveCode. We at Researchware have, I think, thoroughly? explored this topic. It all boils down to the fact you need 3rd party? technology that can read the PDF format and render it and/or extract the? text from it. For pages as images or unstylized text, the cheap and dirty way is to? use a 3rd party command-line utility to make your conversions. From a? script perspective, you perform an answer file command, get the PDF? file, and then use shell to batch convert it and then read the resulting? text file or image file(s) back in. There is NO other free way to do? this. Yes, this is ugly and probably not for the novice scripter and you? code pretty much has to be platform specific, but again, it is the ONLY? free way to do this. You are also not every displaying a real PDF - you? are either displaying images of pages OR the unformatted, unstyled text. You can also do a limited form of displaying a PDF in a window (you? can't get or copy any selections/content in it though and can only? navigate under script control by page) through InterApplication? communication (IAC) To open a PDF in LiveCode where you can actually control navigation? through script control and get or set the user selections required two? things: (a) a PDF library with APIs supporting these actions and (b)? creating a set of LiveCode externals that in turn use the PDF APIs to? provide these functions. The main problem with this approach is that all? (or all we could find) of the open source or free PDF libraries are? woefully immature and lack major functionality. Only commercial PDF? technology has the supported APIs for this and whether Adobe, Foxit or? other commercial PDF technologies providers, all charge typically based? upon a per unit shipped royalty model. And some, like Adobe, are really? expensive. I used the revPartner program to explore this with RunRev quite some? time ago and asked whether they would consider support in the engine. At? the time, they only said it was not practical due to licensing issues? (or close to that). What I understand now is that is becuase the open? source PDF libraries are crap and the commercial ones woudlld have? imposed an entirely different licensing model for LiveCode - one with? runtime royalties - which I think none of us want (RunRev or Developers). I am afraid, as of September 2011, that is that state of LiveCode and? PDFs. There is a promising free open source GNU effort out there? (http://gnupdf.org/Library), but most of the libraries are only 30 or? 40% complete. When this is complete, we can all benefit from free PDF? support in LiveCode by wrapping the external API around the GNU effort.? Until then, you have to choose between cheap, dirty, and limited OR? costly and commercial. --? Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ From form at nonsanity.com Fri Sep 30 11:19:40 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 30 Sep 2011 11:19:40 -0400 Subject: PRINTING PROBLEM In-Reply-To: <4e857440.08c0e00a.543b.55ce@mx.google.com> References: <4C2B4CEE-FF67-45C6-AA94-5E71677725AC@cox.net> <4E82CADE.9040107@gmail.com> <4e857440.08c0e00a.543b.55ce@mx.google.com> Message-ID: I used to walk the aisles at a local Target every day at work as a break, so I would find all the great deals and clearances. I got several all-in-one inkjet printers at the $30 price point that way. So I was doing just what you suggest. HOWEVER, new printers don't usually come with fully-loaded ink cartridges. They look the same but they don't give nearly the same print life, and the weigh less. So while the cost of a whole new printer with ink is cheaper than name-brand replacement cartridges, you aren't getting the same printing capacity. And those printers seem specifically designed to clog up if you put off-brand ink in them. Or if you don't use it often. Or if you look at it funny... I tossed the capability to print color and just got a $100 laser printer. ~ Chris Innanen On Fri, Sep 30, 2011 at 3:48 AM, Walt Brown wrote: > I see an ad for an HP color inkjet all in one printer for $90 - with my > current cartridges running around half that for a full replacement set, > just > keeping extra printers on hand might be more efficient (sigh) if not > ecologically sound... > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond > Mathewson > Sent: Wednesday, September 28, 2011 3:21 AM > To: How to use LiveCode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Sep 30 11:50:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 30 Sep 2011 08:50:53 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> References: <4E847E30.6050208@gmail.com> <79C92BFF-5493-4628-9F89-C6907A3C8ADC@sonsothunder.com> Message-ID: <1681420506250.20110930085053@ahsoftware.net> Ken- Thursday, September 29, 2011, 8:24:51 AM, you wrote: > Are you looking at just extracting the images? Or other relevant > parts of the PDF? The reason I ask is that it looks like binary data > is always contained between two lines: "stream" and "endstream", so > extracting just the streaming data should be pretty quick to do; The content in the stream is normally just zipped content and can be extracted in the usual way. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Sep 30 11:53:35 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 30 Sep 2011 08:53:35 -0700 Subject: Reading PDF - a cry for help In-Reply-To: <4E84B117.4040503@researchware.com> References: <4E84B117.4040503@researchware.com> Message-ID: <1491420668656.20110930085335@ahsoftware.net> Paul- Thursday, September 29, 2011, 10:55:35 AM, you wrote: > As some folks may remember, I have posted to this list a number of time > on the need for being able to open and read PDF content (text and > images) in LiveCode. We at Researchware have, I think, thoroughly > explored this topic. It all boils down to the fact you need 3rd party > technology that can read the PDF format and render it and/or extract the > text from it. IIRC you were looking not just to extract the content but to keep the page formatting, and that requires not just extracting the binary content (easy enough to do) but extracting all the page layout commands and executing them in your own interpreter. That's a bit more of a task. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Fri Sep 30 12:13:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Sep 2011 09:13:59 -0700 Subject: [OT] Warp Drive, Here We Come In-Reply-To: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> References: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> Message-ID: Riiiight. As though the Aliens don't show up every wednesday night for a round of backgammon! I guess THEY might have enough power! Bob On Sep 22, 2011, at 6:59 PM, J. Landman Gay wrote: > Impossible. I'm in a cabin in the woods where I have to drive to get Internet access. Which is why I'm answering old posts by mistake, btw. And no way there's enough power to run my time warp stack. > > On the other hand I'll be back tomorrow so maybe I did it then. > > Mark Wieder wrote: > >> Scott- >> >> Thursday, September 22, 2011, 3:36:50 PM, you wrote: >> >>> "Puzzling results from Cern, home of the LHC, have confounded physicists - >>> because it appears subatomic particles have exceeded the speed of light." >> >> I sense the hand of Jacque in this... >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Sep 30 12:23:36 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 09:23:36 -0700 Subject: [OT] Urban OS In-Reply-To: <4E85CE31.10402@gmail.com> References: <4E85CE31.10402@gmail.com> Message-ID: THis is absurd for them to expect this to take off. What about security - not trivial Is this proprietary? - if so, bound to fail what processor is this based on? Who coordinates development and support? How is it paid for? an OS of any kind is a big deal. I am very skeptical. On 30 September 2011 07:12, Richmond Mathewson wrote: > http://www.bbc.co.uk/news/**technology-15109403 > > http://cataspanglish.com/2010/**07/26/urban-os-a-city-**operating-system/ > > ------------------------------**------------------------------** > ------------------------------**--- > > http://urbanlabs.net/index.**php/UrbanLabs_OS_%28English%29 > > How good is your (err ?) Catalan ? http://urbanlabs.net/index.** > php/UrbanLabs_OS > > ------------------------------**------------------------------** > --------------- > > Now it could be "fun", could it not (????) to have > Livecode apps in "there" somewhere. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Fri Sep 30 12:26:10 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 19:26:10 +0300 Subject: [OT] Urban OS In-Reply-To: References: <4E85CE31.10402@gmail.com> Message-ID: <4E85EDA2.5000103@gmail.com> On 09/30/2011 07:23 PM, stephen barncard wrote: > THis is absurd for them to expect this to take off. Well, I ALWAYS read the BBC website, but ALMOST NEVER TRUST what they write . . . :) And, certainly, the whole thing seems to be a load of people being paid to sit around in committee rooms and puff hot-air . . . > > What about security - not trivial > Is this proprietary? - if so, bound to fail > what processor is this based on? > Who coordinates development and support? > How is it paid for? > > an OS of any kind is a big deal. I am very skeptical. > > On 30 September 2011 07:12, Richmond Mathewson > wrote: > >> http://www.bbc.co.uk/news/**technology-15109403 >> >> http://cataspanglish.com/2010/**07/26/urban-os-a-city-**operating-system/ >> >> ------------------------------**------------------------------** >> ------------------------------**--- >> >> http://urbanlabs.net/index.**php/UrbanLabs_OS_%28English%29 >> >> How good is your (err ?) Catalan ? http://urbanlabs.net/index.** >> php/UrbanLabs_OS >> >> ------------------------------**------------------------------** >> --------------- >> >> Now it could be "fun", could it not (????) to have >> Livecode apps in "there" somewhere. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From bvg at mac.com Fri Sep 30 12:46:17 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 30 Sep 2011 18:46:17 +0200 Subject: Reading PDF - a cry for help In-Reply-To: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> References: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> Message-ID: <49F78FD8-72AB-4CCE-9BC8-058369008D6C@mac.com> On 30 Sep 2011, at 17:02, Graham Samuel wrote: > As a last remark, I'd be interested to know of the details of ANY implementation of adding functionality of any kind to LiveCode via a third-party application and 'shell'. I have never seen this in action and I can't remember it being demonstrated by anyone on this list - but maybe I just wasn't paying attention. Mark made a presentation about extending livecode: http://livecode.tv/2011/06/live-livecode-code-event-26-wrapup/ "Mark Schonewille will introduce you to extending LiveCode when LiveCode can?t do it alone. He will explore the possibilities of ?shell?, ?open process?, ?do as? and ?launch program?." -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From coiin at verizon.net Fri Sep 30 13:00:42 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 30 Sep 2011 13:00:42 -0400 Subject: planning my next two LiveCode TV presentations... Message-ID: A few weeks ago I showed Unity, and Mike balanced out the meeting by showing 3D modeling tools, and the use of Franklin 3D. The next two tools I'll show are Director and Flash, and I wanted to know if anyone here had a preference which I showed first. Director will have some interest to you because it has a very 'Talk like language, and you should come away thinking that you might actually get somewhere quickly with it! Flash is of interest because of the ubiquity of the plugin, as well as its ability to make things for a wide range of mobile devices. On the down side, programming in Flash is quite different to LiveCode, or Director come to that, so you may come away feeling relieved that you use LiveCode! Anyway, if any of you would like to say which you'd like me to go over first, I'll go along with that. Also, to balance out those two meetings it would be nice to have a LiveCode related presentation that goes over some of the features I'll show, and how they might be achieved in LiveCode. For the Flash meeting it would be nice to have someone show off the Animation Toolkit. For Director I'm not sure what would be best, given that we covered Franklin already. Maybe someone else here knows Director too, and can help me think of what aspect to try and replicate in LiveCode. From martyknapp at comcast.net Fri Sep 30 13:08:21 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 30 Sep 2011 10:08:21 -0700 Subject: Datagrid Error In-Reply-To: References: <4E82731A.6000301@comcast.net> Message-ID: <4E85F785.9070205@comcast.net> Hey Trevor, It did occur every time, though I only tested on one Mac. I ended up rebuilding the stack which eliminated this problem, but a couple of times I've gotten another error when opening the datagrid stack (the error was not consistent): Line No: Hint: 238' 354,6192,0,_StoreColWidth 354,6192,0,group id 1004 of card id 1002 of stack 354,6181,0,dgColumnWidth 354,6181,0,group id 1004 of card id 1002 of stack 354,35,0,preOpenStack 354,35,0,card id 1002 of stack 354,35,0,preOpenStack 354,35,0,card id 1002 of stack 354,464,0,ShowRegister 354,464,0,stack 354,13,0,menuPick 354,13,0,button id 1020 of group id 1019 of card id 1002 of stack On closeStack I do save the column widths to a custom property (of a writeable stack) and then on preOpenStack I set the column widths with these values. Could this be interfering with something? In the case that this happened the datagrid stack did open OK and then after closing it and reopening in the same session, there was no error (this was in the standalone). Marty > On Tue, Sep 27, 2011 at 9:06 PM, Marty Knapp wrote: > >> I have an application with a Datagrid that's been working fine but I'm now >> getting an error in the standalone (but it seems to work fine in the IDE): >> > Marty, > > I know of at least one other instance where someone is experiencing a > similar error. The problem only occurs on one computer though. Does this > error occur every time in your case? > From zellner at tamu.edu Fri Sep 30 13:18:56 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Fri, 30 Sep 2011 12:18:56 -0500 Subject: Scrollbar/slider attributes Message-ID: <92823056-DFDC-431C-BC1F-1ED78602A9E3@tamu.edu> I am using scrollbars (sliders) to obtain ratings on a series of topics. Obviously, I need to have the default position of the slider at zero or at some mid point. Is there an alternative to that? Also, a problem with sliders is you can't tell when people are simply satisfied with the default position for an item and when they forgot to answer that item. Anyone know of a visible attribute change that would indicate that the person at least touched the slider? (e.g. on mouseUp) I know I can check for untouched sliders by using a variable and then prompt them to rate those items or change a graphic, etc. , but was wondering if there is a visual attribute that can be changed. Anyone played with this before? Thanks, Ron From richmondmathewson at gmail.com Fri Sep 30 13:36:34 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 20:36:34 +0300 Subject: [OT] Usability; deadly warning. Message-ID: <4E85FE22.90504@gmail.com> http://www.doudoulinux.org/web/english/index.html cripes . . . does it never occur to all those people who produce "kiddy friendly operating systems" from time to time that it might not be a bad idea to sit some kids down in front of a computer.... I got 90% negative feedback today from a "I'll give you pretzels and Fanta" group of my kids who I dragged into the school for a "go" with DouDou [muffled mirth; surely the French should have realised how 'that' name would go down in the Anglophone world]. Oh, well, naive Richmond goes back to his Pentium 3s and 4s running Ubuntu 5.10 and his, own, hacked desktop . . . From jacque at hyperactivesw.com Fri Sep 30 13:37:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Sep 2011 12:37:28 -0500 Subject: [OT] Warp Drive, Here We Come In-Reply-To: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> References: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> Message-ID: <4E85FE58.8020400@hyperactivesw.com> On 9/22/11 8:59 PM, J. Landman Gay wrote: > Impossible. I'm in a cabin in the woods where I have to drive to get Internet access. Which is why I'm answering old posts by mistake, btw. And no way there's enough power to run my time warp stack. > > On the other hand I'll be back tomorrow so maybe I did it then. Wow, this thing really does work. I wrote that note more than a week ago and it just showed up on the list. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Sep 30 13:41:47 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 20:41:47 +0300 Subject: Scrollbar/slider attributes In-Reply-To: <92823056-DFDC-431C-BC1F-1ED78602A9E3@tamu.edu> References: <92823056-DFDC-431C-BC1F-1ED78602A9E3@tamu.edu> Message-ID: <4E85FF5B.5070702@gmail.com> On 09/30/2011 08:18 PM, Ronald Zellner wrote: > I am using scrollbars (sliders) to obtain ratings on a series of topics. > Obviously, I need to have the default position of the slider at zero or at some mid point. Is there an alternative to that? > > Also, a problem with sliders is you can't tell when people are simply satisfied with the default position for an item and when they forgot to answer that item. > > Anyone know of a visible attribute change that would indicate that the person at least touched the slider? (e.g. on mouseUp) "I touched it" Latrine in "Robin Hood, Men in Tights" > > I know I can check for untouched sliders by using a variable and then prompt them to rate those items or change a graphic, etc. , but was wondering if there is a visual attribute that can be changed. Better go for a mouseDown rather than a mouseUp, as the punter (whoops, "end-user") might slide their pointer off the control when they change their mind. I just mocked up a stack containing a slider and a fld "fTOUCH" and put this into the script of the slider: on mouseDown "put "Touched Me!" into fld "fTOUCH" end mouseDown rocket-science it ain't . . . :) > > Anyone played with this before? > > Thanks, > Ron > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 30 13:42:54 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 20:42:54 +0300 Subject: [OT] Warp Drive, Here We Come In-Reply-To: <4E85FE58.8020400@hyperactivesw.com> References: <7yu4crmkbqgw2nxl94j2fkwd.1316742792220@email.android.com> <4E85FE58.8020400@hyperactivesw.com> Message-ID: <4E85FF9E.7010701@gmail.com> On 09/30/2011 08:37 PM, J. Landman Gay wrote: > On 9/22/11 8:59 PM, J. Landman Gay wrote: >> Impossible. I'm in a cabin in the woods where I have to drive to get >> Internet access. Which is why I'm answering old posts by mistake, >> btw. And no way there's enough power to run my time warp stack. >> >> On the other hand I'll be back tomorrow so maybe I did it then. > > Wow, this thing really does work. I wrote that note more than a week > ago and it just showed up on the list. > Dicky PRAM battery . . . :) From revdev at pdslabs.net Fri Sep 30 13:47:30 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 30 Sep 2011 10:47:30 -0700 Subject: OT Help re Mac SideBar In-Reply-To: References: Message-ID: <4E8600B2.3080309@pdslabs.net> Hi Joe, No one has suggested this, so... nothing like starting at the beginning. Assuming I understand the problem correctly, does this work? - In the Finder's "Finder" menu, select "Preferences" - Click the "Sidebar" icon at the top of the resulting window - Uncheck the items you want to remove from the sidebar My system is 10.6.8. Hope this does it - Phil Davis On 9/22/11 2:23 PM, Joe Lewis Wilkins wrote: > Hi everyone, > > A long time ago, I managed to make an item in the sidebar so that it has no alias to which it points. It just sits there taking up space. Is there anyway that I can remove it. I've tried everything I know that might work. > > Thanks, > > Joe Wilkins > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 PDS Labs Professional Software Development http://pdslabs.net From richmondmathewson at gmail.com Fri Sep 30 13:52:01 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 20:52:01 +0300 Subject: Scrollbar/slider attributes In-Reply-To: <4E85FF5B.5070702@gmail.com> References: <4E85FF5B.5070702@gmail.com> Message-ID: <4E8601C1.4090206@gmail.com> On 09/30/2011 08:18 PM, Ronald Zellner wrote: > I am using scrollbars (sliders) to obtain ratings on a series of topics. > Obviously, I need to have the default position of the slider at zero or at some mid point. Is there an alternative to that? > > Also, a problem with sliders is you can't tell when people are simply satisfied with the default position for an item and when they forgot to answer that item. > > Anyone know of a visible attribute change that would indicate that the person at least touched the slider? (e.g. on mouseUp) "I touched it" Latrine in "Robin Hood, Men in Tights" > > I know I can check for untouched sliders by using a variable and then prompt them to rate those items or change a graphic, etc. , but was wondering if there is a visual attribute that can be changed. Better go for a mouseDown rather than a mouseUp, as the punter (whoops, "end-user") might slide their pointer off the control when they change their mind. I just mocked up a stack containing a slider and a fld "fTOUCH" and put this into the script of the slider: on mouseDown "put "Touched Me!" into fld "fTOUCH" end mouseDown rocket-science it ain't . . . :) -------------------------------------------- of course, if you want to find out nuanced levels of interest you could do this: on mouseOver put "Vaguely Interested" into fld "fTOUCH" end mouseOver on mouseDown put "Slightly More Interested" into fld "fTOUCH" end mouseDown on mouseUp put "Definite Interest" into fld "fTOUCH" end mouseUp --Remind me not to get too porno-- on scrollBarDrag put "Stroking My Thighs" into fld "fTOUCH" end scrollBarDrag > > Anyone played with this before? Played with what? Now I'm beginning to get worried. > > Thanks, > Ron > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Fri Sep 30 13:56:08 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 30 Sep 2011 18:56:08 +0100 Subject: libJSON In-Reply-To: References: <1317086005437-3845857.post@n4.nabble.com> <1317147405588-3848470.post@n4.nabble.com> <1317300464763-3855579.post@n4.nabble.com> Message-ID: I am so sad about this. Over the last 3 or 4 years, this list has lost some truly great people. Mark Smith was one of them. When I saw the post to his wikipedia entry, I just thought "that's got to be the wrong Mark". I had no idea he was a musician as well as a programmer. I've probably made more use of libraries contributed by Mark than by those of anyone else. RIP Eric Chatonet RIP Bill Marriott RIP Mark Smith It makes me really appreciate having gone last week to spend time with a relative who is 90 next year. When people as young as the above three have left us so soon, we have to appreciate those we have around us still. Bernard On Thu, Sep 29, 2011 at 5:02 PM, stephen barncard wrote: > Neither one of us talked about our music business experiences at all, he > didn't wear it on his sleeve. ?I really liked the guy, even though we'd > never met face to face. He was a giving and valuable member of this list and > he is missed. ? I guess his on-rev site will be around 'forever' as I think > he got in on the Pioneer plan. From coiin at verizon.net Fri Sep 30 14:04:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 30 Sep 2011 14:04:54 -0400 Subject: [OT] Usability; deadly warning. In-Reply-To: <4E85FE22.90504@gmail.com> References: <4E85FE22.90504@gmail.com> Message-ID: <4760C13C-6145-479C-9665-F54B4C6B4C9E@verizon.net> You mean, Dodo, as in an extinct OS? On Sep 30, 2011, at 1:36 PM, Richmond Mathewson wrote: > DouDou [muffled mirth; surely the > French should have realised how 'that' name would go down in the Anglophone world]. From richmondmathewson at gmail.com Fri Sep 30 14:07:44 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 21:07:44 +0300 Subject: [OT] Usability; deadly warning. In-Reply-To: <4760C13C-6145-479C-9665-F54B4C6B4C9E@verizon.net> References: <4E85FE22.90504@gmail.com> <4760C13C-6145-479C-9665-F54B4C6B4C9E@verizon.net> Message-ID: <4E860570.7080907@gmail.com> On 09/30/2011 09:04 PM, Colin Holgate wrote: > You mean, Dodo, as in an extinct OS? > > On Sep 30, 2011, at 1:36 PM, Richmond Mathewson wrote: > >> DouDou [muffled mirth; surely the >> French should have realised how 'that' name would go down in the Anglophone world]. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Well, I mean Dodo as an evolutionary dead-end. And DooDoo as in a child's word for excrement. From bdrunrev at gmail.com Fri Sep 30 14:08:31 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 30 Sep 2011 19:08:31 +0100 Subject: Reading PDF - a cry for help In-Reply-To: <49F78FD8-72AB-4CCE-9BC8-058369008D6C@mac.com> References: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> <49F78FD8-72AB-4CCE-9BC8-058369008D6C@mac.com> Message-ID: I have a couple of suggestions (although I am not sure either will work as smoothly as Graham wants, but my still be worth a try). 1. display the pdf in a browser control, snapshot the window, present the snapshot to the user to crop to just the image. 2. assuming that there is a linux solution (I've used pdf2txt or some such on Linux to extract the text out of 1000 page pdf files), create your own webservice that will accept a PDF file and a page number, and it returns an image of the page to be cropped by the user. I have created such a web service before which took files in various "office" formats and returned the data from the files (using OpenOffice running headless on the linux server to extract the text). Whilst such a service might seem like a lot of work to setup, it is going to be easier than writing an external or (I would imagine) parsing PostScript (although I do have the PostScript manuals and specification lying around here somewhere in PDF format). You can get your own VPS at Linode for approx $20 a month. Bernard From johnpatten at mac.com Fri Sep 30 14:12:07 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 30 Sep 2011 11:12:07 -0700 Subject: On-rev and irev file problem? Message-ID: Hi All.. I duplicated a script that is working to send data to on-rev mysql database in another project. The new project keeps throwing up a server connection error. I've tried to boil it down to the most basic components to trouble shoot, but I still get errors. I 'have looked for typos over and over but don't see anything. Here is what I have in its most basic form: I'm at the point now I'm just trying to see what the connection contents is in tResult, and it still throws up the server error??? Any advice? Thank you! John Patten SUSD From roger.e.eller at sealedair.com Fri Sep 30 14:13:17 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 30 Sep 2011 14:13:17 -0400 Subject: Reading PDF - a cry for help In-Reply-To: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> References: <55d20eae-ca70-6710-be10-d16c3adb2447@me.com> Message-ID: On Fri, Sep 30, 2011 at 11:02 AM, Graham Samuel wrote: > Thanks to all who replied. As the one who started this thread, I'd like to > say that I pretty much despair of finding a solution. The current position > seems to me admirably summarised by Paul Dupuis (see below). Suggestions > that I use a command-line utility seem to me to come down to using > ImageMagick since I have not found any other solution that has the right > functionality and licensing terms........ > > Graham > > I posted this little GhostScript function to go from PDF to JPEG in January of 2011 in a similar thread. It is command-line based, but the overhead is less than that of Image Magic, I think. http://www.mail-archive.com/use-livecode at lists.runrev.com/msg03282.html ~Roger From stephenREVOLUTION2 at barncard.com Fri Sep 30 14:20:00 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 11:20:00 -0700 Subject: On-rev and irev file problem? In-Reply-To: References: Message-ID: how did you name the file? with a .lc or .rev suffix? On 30 September 2011 11:12, John Patten wrote: > Hi All.. > > I duplicated a script that is working to send data to on-rev mysql database > in another project. The new project keeps throwing up a server connection > error. > > I've tried to boil it down to the most basic components to trouble shoot, > but I still get errors. I 'have looked for typos over and over but don't see > anything. Here is what I have in its most basic form: > > > put $_POST["mymessage"] into mymessage > set itemDel to tab > > put item 1 of mymessage into tTargetPerson > put item 2 of mymessage into tTargetNorm > put itemDel into tCurrentItemDel > set the itemDel to "|" > put item 1 of tTargetNorm into tNorm_heading > put item 2 of tTargetNorm into tNorm_topic > set the itemDel to tab > put item 3 of mymessage into tEventDescription > > put "localhost" into tDatabaseAddress > put "xxxxxx_norms" into tDatabaseName > put "xxxxxx_normuser" into tDatabaseuser > put "xxxxxxx" into tDatabasePassword > > put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & > tDatabasePassword into tResult > --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, > tDatabaseuser, tDatabasePassword) into tResult > --if tResult is not a number then > --put "Error: could not connect to database " & tResult > --else > --put "target_person, norm_heading, norm_topic, description" into tFields > --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" > into tSQL > answer tResult > --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", > "tNorm_topic", "tEventDescription" > ?> > > I'm at the point now I'm just trying to see what the connection contents is > in tResult, and it still throws up the server error??? > > Any advice? > > Thank you! > > John Patten > SUSD > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Fri Sep 30 14:22:06 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 11:22:06 -0700 Subject: On-rev and irev file problem? In-Reply-To: References: Message-ID: Also check your MySQL account for any IP or cross-domain restrictions. On 30 September 2011 11:20, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > how did you name the file? with a .lc or .rev suffix? > > > On 30 September 2011 11:12, John Patten wrote: > >> Hi All.. >> >> I duplicated a script that is working to send data to on-rev mysql >> database in another project. The new project keeps throwing up a server >> connection error. >> >> I've tried to boil it down to the most basic components to trouble shoot, >> but I still get errors. I 'have looked for typos over and over but don't see >> anything. Here is what I have in its most basic form: >> >> > >> put $_POST["mymessage"] into mymessage >> set itemDel to tab >> >> put item 1 of mymessage into tTargetPerson >> put item 2 of mymessage into tTargetNorm >> put itemDel into tCurrentItemDel >> set the itemDel to "|" >> put item 1 of tTargetNorm into tNorm_heading >> put item 2 of tTargetNorm into tNorm_topic >> set the itemDel to tab >> put item 3 of mymessage into tEventDescription >> >> put "localhost" into tDatabaseAddress >> put "xxxxxx_norms" into tDatabaseName >> put "xxxxxx_normuser" into tDatabaseuser >> put "xxxxxxx" into tDatabasePassword >> >> put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & >> tDatabasePassword into tResult >> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, >> tDatabaseuser, tDatabasePassword) into tResult >> --if tResult is not a number then >> --put "Error: could not connect to database " & tResult >> --else >> --put "target_person, norm_heading, norm_topic, description" into tFields >> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" >> into tSQL >> answer tResult >> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", >> "tNorm_topic", "tEventDescription" >> ?> >> >> I'm at the point now I'm just trying to see what the connection contents >> is in tResult, and it still throws up the server error??? >> >> Any advice? >> >> Thank you! >> >> John Patten >> SUSD >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Fri Sep 30 14:23:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Sep 2011 11:23:47 -0700 Subject: On-rev and irev file problem? In-Reply-To: References: Message-ID: <2E267A8C-B5B5-4A55-9FE1-C378C52F5824@twft.com> Yes, wrap it all in a try/catch construct and then step through it to see which line fails and why. try -- some code here catch theError -- theError will contain detailed info on the error answer theError as sheet breakpoint -- so you can look at your variables here to see what they contain end try On Sep 30, 2011, at 11:12 AM, John Patten wrote: > Hi All.. > > I duplicated a script that is working to send data to on-rev mysql database in another project. The new project keeps throwing up a server connection error. > > I've tried to boil it down to the most basic components to trouble shoot, but I still get errors. I 'have looked for typos over and over but don't see anything. Here is what I have in its most basic form: > > > put $_POST["mymessage"] into mymessage > set itemDel to tab > > put item 1 of mymessage into tTargetPerson > put item 2 of mymessage into tTargetNorm > put itemDel into tCurrentItemDel > set the itemDel to "|" > put item 1 of tTargetNorm into tNorm_heading > put item 2 of tTargetNorm into tNorm_topic > set the itemDel to tab > put item 3 of mymessage into tEventDescription > > put "localhost" into tDatabaseAddress > put "xxxxxx_norms" into tDatabaseName > put "xxxxxx_normuser" into tDatabaseuser > put "xxxxxxx" into tDatabasePassword > > put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & tDatabasePassword into tResult > --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, tDatabaseuser, tDatabasePassword) into tResult > --if tResult is not a number then > --put "Error: could not connect to database " & tResult > --else > --put "target_person, norm_heading, norm_topic, description" into tFields > --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" into tSQL > answer tResult > --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", "tNorm_topic", "tEventDescription" > ?> > > I'm at the point now I'm just trying to see what the connection contents is in tResult, and it still throws up the server error??? > > Any advice? > > Thank you! > > John Patten > SUSD > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Sep 30 14:25:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Sep 2011 11:25:09 -0700 Subject: On-rev and irev file problem? In-Reply-To: References: Message-ID: <4A150A95-2079-49A5-A590-9E6311BD57B6@twft.com> Whoops! Sorry did not see the iRev and on-rev part. Try writing the contents of the variables out to a log file. Bob On Sep 30, 2011, at 11:12 AM, John Patten wrote: > Hi All.. > > I duplicated a script that is working to send data to on-rev mysql database in another project. The new project keeps throwing up a server connection error. > > I've tried to boil it down to the most basic components to trouble shoot, but I still get errors. I 'have looked for typos over and over but don't see anything. Here is what I have in its most basic form: > > > put $_POST["mymessage"] into mymessage > set itemDel to tab > > put item 1 of mymessage into tTargetPerson > put item 2 of mymessage into tTargetNorm > put itemDel into tCurrentItemDel > set the itemDel to "|" > put item 1 of tTargetNorm into tNorm_heading > put item 2 of tTargetNorm into tNorm_topic > set the itemDel to tab > put item 3 of mymessage into tEventDescription > > put "localhost" into tDatabaseAddress > put "xxxxxx_norms" into tDatabaseName > put "xxxxxx_normuser" into tDatabaseuser > put "xxxxxxx" into tDatabasePassword > > put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & tDatabasePassword into tResult > --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, tDatabaseuser, tDatabasePassword) into tResult > --if tResult is not a number then > --put "Error: could not connect to database " & tResult > --else > --put "target_person, norm_heading, norm_topic, description" into tFields > --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" into tSQL > answer tResult > --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", "tNorm_topic", "tEventDescription" > ?> > > I'm at the point now I'm just trying to see what the connection contents is in tResult, and it still throws up the server error??? > > Any advice? > > Thank you! > > John Patten > SUSD > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at gmail.com Fri Sep 30 14:25:30 2011 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 30 Sep 2011 12:25:30 -0600 Subject: mobile apps - getting started Message-ID: <43991804-B0D8-4E43-97E8-83C9EA086298@gmail.com> Hi all, I'm finally getting started on a new mobile app for my company. It's taken a lot of time and a lot of convincing of the powers that be, but we're finally going to take the plunge. I was wondering if anyone has some "getting started" tips and/or tricks. This app will be developed for tablets only, because of the type of media content. It will be developed first for the iPad, and we'll follow up with an Android version. What I'd be most interested in hearing is what's the best way to do a cross platform mobile app? Two separate stacks for the interfaces, with common code libraries to perform the main functionality? I know there has been some discussion lately on different resolutions and how best to handle graphics, images, etc. Should I make use of something like MobGUI? I downloaded the trial version and am very impressed, but this app will probably not be using a lot of native-looking controls. Most controls will be skinned using custom images. Do the other features in MobGUI make it worth the price? I may need to make use of a data grid at some point. Is the LC data grid compatible with mobile apps? Am I going to run into any problems with performance? Are there any other "gotchas"? Things I should be aware of up front before I get too far into this and wish I had done something differently? Is anyone else developing a cross-platform mobile app? What kinds of successes/failures have you experienced? Any suggestions would be most welcome. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From johnpatten at mac.com Fri Sep 30 14:43:35 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 30 Sep 2011 11:43:35 -0700 Subject: On-rev and irev file problem? In-Reply-To: References: Message-ID: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> Hi Stephen... I tried it both ways. Originally it was .rev, but then with all the changes I thought that may have been good for only existing code on the server so I switched it to .lc It didn't help though :-( In terms of the MySQl account and IP and cross-domain restrictions, that would be relevant if I'm using the MySQl on the on-rev server too? Thank you! John Patten SUSD On Sep 30, 2011, at 11:22 AM, stephen barncard wrote: > Also check your MySQL account for any IP or cross-domain restrictions. > > On 30 September 2011 11:20, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> how did you name the file? with a .lc or .rev suffix? >> >> >> On 30 September 2011 11:12, John Patten wrote: >> >>> Hi All.. >>> >>> I duplicated a script that is working to send data to on-rev mysql >>> database in another project. The new project keeps throwing up a server >>> connection error. >>> >>> I've tried to boil it down to the most basic components to trouble shoot, >>> but I still get errors. I 'have looked for typos over and over but don't see >>> anything. Here is what I have in its most basic form: >>> >>> >> >>> put $_POST["mymessage"] into mymessage >>> set itemDel to tab >>> >>> put item 1 of mymessage into tTargetPerson >>> put item 2 of mymessage into tTargetNorm >>> put itemDel into tCurrentItemDel >>> set the itemDel to "|" >>> put item 1 of tTargetNorm into tNorm_heading >>> put item 2 of tTargetNorm into tNorm_topic >>> set the itemDel to tab >>> put item 3 of mymessage into tEventDescription >>> >>> put "localhost" into tDatabaseAddress >>> put "xxxxxx_norms" into tDatabaseName >>> put "xxxxxx_normuser" into tDatabaseuser >>> put "xxxxxxx" into tDatabasePassword >>> >>> put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & >>> tDatabasePassword into tResult >>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, >>> tDatabaseuser, tDatabasePassword) into tResult >>> --if tResult is not a number then >>> --put "Error: could not connect to database " & tResult >>> --else >>> --put "target_person, norm_heading, norm_topic, description" into tFields >>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" >>> into tSQL >>> answer tResult >>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", >>> "tNorm_topic", "tEventDescription" >>> ?> >>> >>> I'm at the point now I'm just trying to see what the connection contents >>> is in tResult, and it still throws up the server error??? >>> >>> Any advice? >>> >>> Thank you! >>> >>> John Patten >>> SUSD >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> >> > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Sep 30 15:05:46 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 12:05:46 -0700 Subject: On-rev and irev file problem? In-Reply-To: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> References: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> Message-ID: Well to be truthful I haven't set up MySQL on on-rev recently, but at dreamhost (I am running my own copy of Livecode server) I have to use a special subdomain for the SQL 'server' address - NOT localhost. I think one can use 'localhost' at on-rev, but some other restrictions might be in the way. A test: does your desktop version work with the on-rev SQL as a remote client ? you can add IPs or entire domains in the cPanel : Databases : Remote SQL (you can use a * for all domains, easier but not recommended) Also MySQL allows for IP restrictions so make sure that is ok. On 30 September 2011 11:43, John Patten wrote: > Hi Stephen... > > I tried it both ways. Originally it was .rev, but then with all the > changes I thought that may have been good for only existing code on the > server so I switched it to .lc > > It didn't help though :-( > > > In terms of the MySQl account and IP and cross-domain restrictions, that > would be relevant if I'm using the MySQl on the on-rev server too? > > Thank you! > > John Patten > SUSD > > On Sep 30, 2011, at 11:22 AM, stephen barncard wrote: > > > Also check your MySQL account for any IP or cross-domain restrictions. > > > > On 30 September 2011 11:20, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > >> how did you name the file? with a .lc or .rev suffix? > >> > >> > >> On 30 September 2011 11:12, John Patten wrote: > >> > >>> Hi All.. > >>> > >>> I duplicated a script that is working to send data to on-rev mysql > >>> database in another project. The new project keeps throwing up a server > >>> connection error. > >>> > >>> I've tried to boil it down to the most basic components to trouble > shoot, > >>> but I still get errors. I 'have looked for typos over and over but > don't see > >>> anything. Here is what I have in its most basic form: > >>> > >>> >>> > >>> put $_POST["mymessage"] into mymessage > >>> set itemDel to tab > >>> > >>> put item 1 of mymessage into tTargetPerson > >>> put item 2 of mymessage into tTargetNorm > >>> put itemDel into tCurrentItemDel > >>> set the itemDel to "|" > >>> put item 1 of tTargetNorm into tNorm_heading > >>> put item 2 of tTargetNorm into tNorm_topic > >>> set the itemDel to tab > >>> put item 3 of mymessage into tEventDescription > >>> > >>> put "localhost" into tDatabaseAddress > >>> put "xxxxxx_norms" into tDatabaseName > >>> put "xxxxxx_normuser" into tDatabaseuser > >>> put "xxxxxxx" into tDatabasePassword > >>> > >>> put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " > & > >>> tDatabasePassword into tResult > >>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, > >>> tDatabaseuser, tDatabasePassword) into tResult > >>> --if tResult is not a number then > >>> --put "Error: could not connect to database " & tResult > >>> --else > >>> --put "target_person, norm_heading, norm_topic, description" into > tFields > >>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, > :4)" > >>> into tSQL > >>> answer tResult > >>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", > >>> "tNorm_topic", "tEventDescription" > >>> ?> > >>> > >>> I'm at the point now I'm just trying to see what the connection > contents > >>> is in tResult, and it still throws up the server error??? > >>> > >>> Any advice? > >>> > >>> Thank you! > >>> > >>> John Patten > >>> SUSD > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> > >> -- > >> > >> > >> > >> Stephen Barncard > >> San Francisco Ca. USA > >> > >> more about sqb > >> > >> > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From johnpatten at mac.com Fri Sep 30 15:09:01 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 30 Sep 2011 12:09:01 -0700 Subject: On-rev and irev file problem? In-Reply-To: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> References: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> Message-ID: <2AC6D1EC-9DD9-4813-AEDE-4AE6B4A4FDCD@mac.com> I checked the data that is being posted via the stack it looks correctly formatted. I then checked to see what the data would look like when it went through the first part of the irev code on the server, the: put $_POST["mymessage"] into mymessage When I ask the iRev/lc file to return mymessage it spits out:
 file"/home/xxxx/public_html/norms/enternormdata.lc at quot;
Would that be what is expected? (As opposed to the URL formatted text submitted by the actual stack.) Thank you! John Patten SUSD On Sep 30, 2011, at 11:43 AM, John Patten wrote: > Hi Stephen... > > I tried it both ways. Originally it was .rev, but then with all the changes I thought that may have been good for only existing code on the server so I switched it to .lc > > It didn't help though :-( > > > In terms of the MySQl account and IP and cross-domain restrictions, that would be relevant if I'm using the MySQl on the on-rev server too? > > Thank you! > > John Patten > SUSD > > On Sep 30, 2011, at 11:22 AM, stephen barncard wrote: > >> Also check your MySQL account for any IP or cross-domain restrictions. >> >> On 30 September 2011 11:20, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >>> how did you name the file? with a .lc or .rev suffix? >>> >>> >>> On 30 September 2011 11:12, John Patten wrote: >>> >>>> Hi All.. >>>> >>>> I duplicated a script that is working to send data to on-rev mysql >>>> database in another project. The new project keeps throwing up a server >>>> connection error. >>>> >>>> I've tried to boil it down to the most basic components to trouble shoot, >>>> but I still get errors. I 'have looked for typos over and over but don't see >>>> anything. Here is what I have in its most basic form: >>>> >>>> >>> >>>> put $_POST["mymessage"] into mymessage >>>> set itemDel to tab >>>> >>>> put item 1 of mymessage into tTargetPerson >>>> put item 2 of mymessage into tTargetNorm >>>> put itemDel into tCurrentItemDel >>>> set the itemDel to "|" >>>> put item 1 of tTargetNorm into tNorm_heading >>>> put item 2 of tTargetNorm into tNorm_topic >>>> set the itemDel to tab >>>> put item 3 of mymessage into tEventDescription >>>> >>>> put "localhost" into tDatabaseAddress >>>> put "xxxxxx_norms" into tDatabaseName >>>> put "xxxxxx_normuser" into tDatabaseuser >>>> put "xxxxxxx" into tDatabasePassword >>>> >>>> put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & >>>> tDatabasePassword into tResult >>>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, >>>> tDatabaseuser, tDatabasePassword) into tResult >>>> --if tResult is not a number then >>>> --put "Error: could not connect to database " & tResult >>>> --else >>>> --put "target_person, norm_heading, norm_topic, description" into tFields >>>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" >>>> into tSQL >>>> answer tResult >>>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", >>>> "tNorm_topic", "tEventDescription" >>>> ?> >>>> >>>> I'm at the point now I'm just trying to see what the connection contents >>>> is in tResult, and it still throws up the server error??? >>>> >>>> Any advice? >>>> >>>> Thank you! >>>> >>>> John Patten >>>> SUSD >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> >>> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sep 30 16:22:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Sep 2011 15:22:23 -0500 Subject: mobile apps - getting started In-Reply-To: <43991804-B0D8-4E43-97E8-83C9EA086298@gmail.com> References: <43991804-B0D8-4E43-97E8-83C9EA086298@gmail.com> Message-ID: <4E8624FF.2060906@hyperactivesw.com> On 9/30/11 1:25 PM, Chris Sheffield wrote: > > What I'd be most interested > in hearing is what's the best way to do a cross platform mobile app? > Two separate stacks for the interfaces, with common code libraries to > perform the main functionality? That's one way. I didn't choose it though, I use a preOpenCard handler in each card to adjust the layout. An advantage is that you don't need libraries necessarily, you can use the same code and the normal message hierarchy. Another reason is that no matter what, there will be a user with a resolution you haven't planned for. That means you need a layout script anyway, even if you do use separate stacks, so for me it was easier to just put it all in one stack. You'd also need a layout handler just to accomodate device rotation (if you are going to support that) so you may as well just bite the bullet and do the resizeStack thing from the beginning. When writing resizeStack (layout) handlers, you'll almost always want to use ratios to calculate positions and sizes. That way objects will always fit. If you hard-code pixel locations, something will be wrong on somebody's Android device, because they come in an infinite number of resolutions. Right now iOS is pretty consistent, but if you're writing for both platforms then you may as well do ratio calcs from the start, which will work everywhere. > Most controls will be skinned using custom > images. Do the other features in MobGUI make it worth the price? I'm not sure. My app also uses a custom skin so I didn't go the MobGUI route. Actually, even though I've read through the docs, I'm not quite sure what advantages MobGUI would provide if you aren't using native controls. > I may need to make use of a data grid at some point. Is the LC data > grid compatible with mobile apps? Am I going to run into any problems > with performance? I'm not using one in my project but I know they are supported. There are examples on the forum and, I think, in the RR lessons on how to get them to scroll and operate smoothly. Probably someone else can answer this part beter than me. > Are there any other "gotchas"? Things I should be aware of up front > before I get too far into this and wish I had done something > differently? Is anyone else developing a cross-platform mobile app? > What kinds of successes/failures have you experienced? Like you, I'm developing for tablets only and I've found very few cases where I need to branch the code based on platform. If you are okay with basic sound playback, you can use the generic "play" command everywhere; if you want more control on iOS then you can branch on that platform and use the more advanced sound controls that allow you to queue sounds and/or prepare them ahead of time to avoid lag. My sounds are short, basic sound effects. I started out branching but have recently changed to just the "play" command since I don't need queueing and it makes the code base consistent. Scrolling is beautiful on iOS, rotten on Android. There is no native scroller on Android so you'll need to branch the code for that, and write a script to fake it on Android. I've tried four different scripts, none are smooth. If you don't have too many things to scroll, you can make life easier by only putting nonscrolling objects/groups on a card. That's not always possible. I was able to do it in one app, but not in another. Scrolling a list on my low-tech cheapo Android tablet is very jerky. Higher-powered Android devices would probably do better. If you aren't going to do an Android build for a while, maybe LiveCode will catch up by the time you're ready and this won't be an issue any more. If you are going to show anything in a browser control, you'll need to branch for that. iOS has an embedded one, Android needs to launch the system browser. In practice they both end up working fairly similarly because Android has a universal "back" button that returns you to the app wherever you left off. Alternately you could call out to the system browser on iOS, but if you do that your app will quit and lose its place. It was easier for me to embed the browser on iOS than to keep track of the app state and restore it on next launch. Oh right, the hardware Back button. Android has one, iOS does not. I show a Back button on the card for iOS, and don't show it on Android where users are accustomed to using the hardware Back button. You'd be okay showing a back button on both platforms, but for Android you wouldn't want the icon to look like an iOS one. If the stack is completely skinned this won't apply, but I do have one field that shows a list of options that I try to make look semi-native. I branch the code on preOpenCard, and make the field backcolor, hilite color, and font appropriate for the OS. I also have one option that needs a "more"/"continue" button, and I swap out the icon for that based on the OS. That's all I can think of off the top of my head. Most of your code will be universal, it's pretty amazing. In fact, I started out wanting to do an Android-only app because there aren't many of those yet. But on a whim I built for iOS just to see what would happen, and found that there were only a couple of things I needed to change. So my app is now headed for both platforms eventually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Sep 30 16:23:41 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 23:23:41 +0300 Subject: Reading PDF documents Message-ID: <4E86254D.5030804@gmail.com> I wonder if Supercard can read PDFs? From m.schonewille at economy-x-talk.com Fri Sep 30 16:39:32 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 30 Sep 2011 22:39:32 +0200 Subject: Reading PDF documents In-Reply-To: <4E86254D.5030804@gmail.com> References: <4E86254D.5030804@gmail.com> Message-ID: <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Richmond, SuperCard and LiveCode and all other Mac-compatible platforms can display PDF files in QuickTime players. It might also be possible to use a browser control. HyperStudio lets you drop PDF files onto the window and the first page of the PDF will be displayed as a picture. As I wrote earlier, ImagaMagick is the perfect solution for this problem. I wonder why everybody ignored that post of mine. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr On 30 sep 2011, at 22:23, Richmond Mathewson wrote: > I wonder if Supercard can read PDFs? From richmondmathewson at gmail.com Fri Sep 30 16:59:30 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 30 Sep 2011 23:59:30 +0300 Subject: Reading PDF documents In-Reply-To: <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: <4E862DB2.6070502@gmail.com> On 09/30/2011 11:39 PM, Mark Schonewille wrote: > Richmond, > > SuperCard and LiveCode and all other Mac-compatible platforms can display PDF files in QuickTime players. It might also be possible to use a browser control. > > HyperStudio lets you drop PDF files onto the window and the first page of the PDF will be displayed as a picture. > > As I wrote earlier, ImagaMagick is the perfect solution for this problem. I wonder why everybody ignored that post of mine. Probably because a lot of people feel "all funny" about command-line apps. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr > > On 30 sep 2011, at 22:23, Richmond Mathewson wrote: > >> I wonder if Supercard can read PDFs? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Sep 30 17:14:14 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 14:14:14 -0700 Subject: Reading PDF documents In-Reply-To: <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: FEAR OF SHELL() On 30 September 2011 13:39, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Richmond, > > SuperCard and LiveCode and all other Mac-compatible platforms can display > PDF files in QuickTime players. It might also be possible to use a browser > control. > > HyperStudio lets you drop PDF files onto the window and the first page of > the PDF will be displayed as a picture. > > As I wrote earlier, ImagaMagick is the perfect solution for this problem. I > wonder why everybody ignored that post of mine. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > See what you get with only a small contribution. All our LiveCode downloads > are listed at http://qery.us/zr > > On 30 sep 2011, at 22:23, Richmond Mathewson wrote: > > > I wonder if Supercard can read PDFs? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From johnpatten at mac.com Fri Sep 30 17:15:10 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 30 Sep 2011 14:15:10 -0700 Subject: On-rev and irev file problem? In-Reply-To: <2AC6D1EC-9DD9-4813-AEDE-4AE6B4A4FDCD@mac.com> References: <289051B8-C09F-4684-8C74-CB024BC3EC79@mac.com> <2AC6D1EC-9DD9-4813-AEDE-4AE6B4A4FDCD@mac.com> Message-ID: Found it! I left a "&" inside my quotes here: ----------------------------? >>>>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" Thanks! John Patten SUSD On Sep 30, 2011, at 12:09 PM, John Patten wrote: > I checked the data that is being posted via the stack it looks correctly formatted. > > I then checked to see what the data would look like when it went through the first part of the irev code on the server, the: put $_POST["mymessage"] into mymessage > > When I ask the iRev/lc file to return mymessage it spits out:
 file"/home/xxxx/public_html/norms/enternormdata.lc at quot;
> > Would that be what is expected? (As opposed to the URL formatted text submitted by the actual stack.) > > Thank you! > > John Patten > SUSD > > On Sep 30, 2011, at 11:43 AM, John Patten wrote: > >> Hi Stephen... >> >> I tried it both ways. Originally it was .rev, but then with all the changes I thought that may have been good for only existing code on the server so I switched it to .lc >> >> It didn't help though :-( >> >> >> In terms of the MySQl account and IP and cross-domain restrictions, that would be relevant if I'm using the MySQl on the on-rev server too? >> >> Thank you! >> >> John Patten >> SUSD >> >> On Sep 30, 2011, at 11:22 AM, stephen barncard wrote: >> >>> Also check your MySQL account for any IP or cross-domain restrictions. >>> >>> On 30 September 2011 11:20, stephen barncard < >>> stephenREVOLUTION2 at barncard.com> wrote: >>> >>>> how did you name the file? with a .lc or .rev suffix? >>>> >>>> >>>> On 30 September 2011 11:12, John Patten wrote: >>>> >>>>> Hi All.. >>>>> >>>>> I duplicated a script that is working to send data to on-rev mysql >>>>> database in another project. The new project keeps throwing up a server >>>>> connection error. >>>>> >>>>> I've tried to boil it down to the most basic components to trouble shoot, >>>>> but I still get errors. I 'have looked for typos over and over but don't see >>>>> anything. Here is what I have in its most basic form: >>>>> >>>>> >>>> >>>>> put $_POST["mymessage"] into mymessage >>>>> set itemDel to tab >>>>> >>>>> put item 1 of mymessage into tTargetPerson >>>>> put item 2 of mymessage into tTargetNorm >>>>> put itemDel into tCurrentItemDel >>>>> set the itemDel to "|" >>>>> put item 1 of tTargetNorm into tNorm_heading >>>>> put item 2 of tTargetNorm into tNorm_topic >>>>> set the itemDel to tab >>>>> put item 3 of mymessage into tEventDescription >>>>> >>>>> put "localhost" into tDatabaseAddress >>>>> put "xxxxxx_norms" into tDatabaseName >>>>> put "xxxxxx_normuser" into tDatabaseuser >>>>> put "xxxxxxx" into tDatabasePassword >>>>> >>>>> put tDatabaseAddress & " " & tDatabaseName & " " & tDatabaseuser & " " & >>>>> tDatabasePassword into tResult >>>>> --put revOpenDatabase("mysql", tDatabaseAddress, tDatabaseName, >>>>> tDatabaseuser, tDatabasePassword) into tResult >>>>> --if tResult is not a number then >>>>> --put "Error: could not connect to database " & tResult >>>>> --else >>>>> --put "target_person, norm_heading, norm_topic, description" into tFields >>>>> --put "INSERT INTO norms " & "(" & tFields & ") & VALUES (:1, :2, :3, :4)" >>>>> into tSQL >>>>> answer tResult >>>>> --revExecuteSQL tResult, tSQL, "tTargetPerson", "tNorm_heading", >>>>> "tNorm_topic", "tEventDescription" >>>>> ?> >>>>> >>>>> I'm at the point now I'm just trying to see what the connection contents >>>>> is in tResult, and it still throws up the server error??? >>>>> >>>>> Any advice? >>>>> >>>>> Thank you! >>>>> >>>>> John Patten >>>>> SUSD >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> >>>> Stephen Barncard >>>> San Francisco Ca. USA >>>> >>>> more about sqb >>>> >>>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at gmail.com Fri Sep 30 17:18:34 2011 From: cmsheffield at gmail.com (Chris Sheffield) Date: Fri, 30 Sep 2011 15:18:34 -0600 Subject: mobile apps - getting started In-Reply-To: <4E8624FF.2060906@hyperactivesw.com> References: <43991804-B0D8-4E43-97E8-83C9EA086298@gmail.com> <4E8624FF.2060906@hyperactivesw.com> Message-ID: Jacque, Super helpful! Thank you for taking the time to respond. I'm looking forward to this project but right now it seems a little daunting. I'm glad to know that most code "just works". Thanks again, Chris On Sep 30, 2011, at 2:22 PM, J. Landman Gay wrote: > On 9/30/11 1:25 PM, Chris Sheffield wrote: >> >> What I'd be most interested >> in hearing is what's the best way to do a cross platform mobile app? >> Two separate stacks for the interfaces, with common code libraries to >> perform the main functionality? > > That's one way. I didn't choose it though, I use a preOpenCard handler in each card to adjust the layout. An advantage is that you don't need libraries necessarily, you can use the same code and the normal message hierarchy. > > Another reason is that no matter what, there will be a user with a resolution you haven't planned for. That means you need a layout script anyway, even if you do use separate stacks, so for me it was easier to just put it all in one stack. You'd also need a layout handler just to accomodate device rotation (if you are going to support that) so you may as well just bite the bullet and do the resizeStack thing from the beginning. > > When writing resizeStack (layout) handlers, you'll almost always want to use ratios to calculate positions and sizes. That way objects will always fit. If you hard-code pixel locations, something will be wrong on somebody's Android device, because they come in an infinite number of resolutions. Right now iOS is pretty consistent, but if you're writing for both platforms then you may as well do ratio calcs from the start, which will work everywhere. > >> Most controls will be skinned using custom >> images. Do the other features in MobGUI make it worth the price? > > I'm not sure. My app also uses a custom skin so I didn't go the MobGUI route. Actually, even though I've read through the docs, I'm not quite sure what advantages MobGUI would provide if you aren't using native controls. > >> I may need to make use of a data grid at some point. Is the LC data >> grid compatible with mobile apps? Am I going to run into any problems >> with performance? > > I'm not using one in my project but I know they are supported. There are examples on the forum and, I think, in the RR lessons on how to get them to scroll and operate smoothly. Probably someone else can answer this part beter than me. > >> Are there any other "gotchas"? Things I should be aware of up front >> before I get too far into this and wish I had done something >> differently? Is anyone else developing a cross-platform mobile app? >> What kinds of successes/failures have you experienced? > > Like you, I'm developing for tablets only and I've found very few cases where I need to branch the code based on platform. If you are okay with basic sound playback, you can use the generic "play" command everywhere; if you want more control on iOS then you can branch on that platform and use the more advanced sound controls that allow you to queue sounds and/or prepare them ahead of time to avoid lag. My sounds are short, basic sound effects. I started out branching but have recently changed to just the "play" command since I don't need queueing and it makes the code base consistent. > > Scrolling is beautiful on iOS, rotten on Android. There is no native scroller on Android so you'll need to branch the code for that, and write a script to fake it on Android. I've tried four different scripts, none are smooth. If you don't have too many things to scroll, you can make life easier by only putting nonscrolling objects/groups on a card. That's not always possible. I was able to do it in one app, but not in another. Scrolling a list on my low-tech cheapo Android tablet is very jerky. Higher-powered Android devices would probably do better. If you aren't going to do an Android build for a while, maybe LiveCode will catch up by the time you're ready and this won't be an issue any more. > > If you are going to show anything in a browser control, you'll need to branch for that. iOS has an embedded one, Android needs to launch the system browser. In practice they both end up working fairly similarly because Android has a universal "back" button that returns you to the app wherever you left off. Alternately you could call out to the system browser on iOS, but if you do that your app will quit and lose its place. It was easier for me to embed the browser on iOS than to keep track of the app state and restore it on next launch. > > Oh right, the hardware Back button. Android has one, iOS does not. I show a Back button on the card for iOS, and don't show it on Android where users are accustomed to using the hardware Back button. You'd be okay showing a back button on both platforms, but for Android you wouldn't want the icon to look like an iOS one. > > If the stack is completely skinned this won't apply, but I do have one field that shows a list of options that I try to make look semi-native. I branch the code on preOpenCard, and make the field backcolor, hilite color, and font appropriate for the OS. I also have one option that needs a "more"/"continue" button, and I swap out the icon for that based on the OS. > > That's all I can think of off the top of my head. Most of your code will be universal, it's pretty amazing. In fact, I started out wanting to do an Android-only app because there aren't many of those yet. But on a whim I built for iOS just to see what would happen, and found that there were only a couple of things I needed to change. So my app is now headed for both platforms eventually. > > -- > 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 bobs at twft.com Fri Sep 30 17:28:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Sep 2011 14:28:42 -0700 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: <6146E3FD-F95B-4997-B2CC-44EC732B25F8@twft.com> I guess I am shellophobic then. I am also Sheilaphobic but that is a personal matter. :-) Bob On Sep 30, 2011, at 2:14 PM, stephen barncard wrote: > FEAR OF SHELL() > > On 30 September 2011 13:39, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Richmond, >> >> SuperCard and LiveCode and all other Mac-compatible platforms can display >> PDF files in QuickTime players. It might also be possible to use a browser >> control. >> >> HyperStudio lets you drop PDF files onto the window and the first page of >> the PDF will be displayed as a picture. >> >> As I wrote earlier, ImagaMagick is the perfect solution for this problem. I >> wonder why everybody ignored that post of mine. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> See what you get with only a small contribution. All our LiveCode downloads >> are listed at http://qery.us/zr >> >> On 30 sep 2011, at 22:23, Richmond Mathewson wrote: >> >>> I wonder if Supercard can read PDFs? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Sep 30 17:33:17 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 30 Sep 2011 23:33:17 +0200 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: <0110DF52-89D0-463D-9684-8B0F86C9E16E@economy-x-talk.com> I understand, Stephen. You fear great powers :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr On 30 sep 2011, at 23:14, stephen barncard wrote: > FEAR OF SHELL() From jonathandlynch at gmail.com Fri Sep 30 17:38:54 2011 From: jonathandlynch at gmail.com (Jonathan Lynch) Date: Fri, 30 Sep 2011 17:38:54 -0400 Subject: Reading PDF documents In-Reply-To: <6146E3FD-F95B-4997-B2CC-44EC732B25F8@twft.com> References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> <6146E3FD-F95B-4997-B2CC-44EC732B25F8@twft.com> Message-ID: Shell is easy to use. Moreover, you can do the following. 1) Find an application that does what you want to pdfs, but does not require a full installation. Many applications can run as an executable file without having to have notations made in the windows registry. 2) Store that application within the stack. You do this with something like this: set the pdfapp of this stack to url "binfile:C/your file path/pdfapp.exe" -- this is just a one-time event. Once it is loaded up into a custom prop, it will be there when you save the stack. 3) When the stack runs, have it check to see if the desired application is in the desired folder - probably the same folder as your stack. 4) If it is not there, you do the reverse of step 2: put the pdfapp of this stack into url "binfile:C/stack folder path/pdfapp.exe" by doing this, you do not have to have your user do any kind of install. The stack makes sure the application is where it needs to be, and can be accessed when needed. My apologies if I am stating the obvious here. J On Fri, Sep 30, 2011 at 5:28 PM, Bob Sneidar wrote: > I guess I am shellophobic then. I am also Sheilaphobic but that is a > personal matter. :-) > > Bob > > > On Sep 30, 2011, at 2:14 PM, stephen barncard wrote: > > > FEAR OF SHELL() > > > > On 30 September 2011 13:39, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > >> Richmond, > >> > >> SuperCard and LiveCode and all other Mac-compatible platforms can > display > >> PDF files in QuickTime players. It might also be possible to use a > browser > >> control. > >> > >> HyperStudio lets you drop PDF files onto the window and the first page > of > >> the PDF will be displayed as a picture. > >> > >> As I wrote earlier, ImagaMagick is the perfect solution for this > problem. I > >> wonder why everybody ignored that post of mine. > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> See what you get with only a small contribution. All our LiveCode > downloads > >> are listed at http://qery.us/zr > >> > >> On 30 sep 2011, at 22:23, Richmond Mathewson wrote: > >> > >>> I wonder if Supercard can read PDFs? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Do all things with love From pmbrig at gmail.com Fri Sep 30 17:45:47 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 30 Sep 2011 17:45:47 -0400 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: I've always been afraid of going to shell... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 30, 2011, at 5:14 PM, stephen barncard wrote: > FEAR OF SHELL() > > On 30 September 2011 13:39, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Richmond, >> >> SuperCard and LiveCode and all other Mac-compatible platforms can display >> PDF files in QuickTime players. It might also be possible to use a browser >> control. >> >> HyperStudio lets you drop PDF files onto the window and the first page of >> the PDF will be displayed as a picture. >> >> As I wrote earlier, ImagaMagick is the perfect solution for this problem. I >> wonder why everybody ignored that post of mine. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> See what you get with only a small contribution. All our LiveCode downloads >> are listed at http://qery.us/zr >> >> On 30 sep 2011, at 22:23, Richmond Mathewson wrote: >> >>> I wonder if Supercard can read PDFs? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Sep 30 17:50:00 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 30 Sep 2011 23:50:00 +0200 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: <3A02D5C3-DBDD-4923-A010-A04E007B3347@economy-x-talk.com> Hi Peter, Do you actually realise that there was a time when shell was all we had? It is in no way different from the DOS or Unix command prompt from so long ago. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr On 30 sep 2011, at 23:45, Peter M. Brigham, MD wrote: > I've always been afraid of going to shell... > From pmbrig at gmail.com Fri Sep 30 18:09:06 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 30 Sep 2011 18:09:06 -0400 Subject: Reading PDF documents In-Reply-To: <3A02D5C3-DBDD-4923-A010-A04E007B3347@economy-x-talk.com> References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> <3A02D5C3-DBDD-4923-A010-A04E007B3347@economy-x-talk.com> Message-ID: On Sep 30, 2011, at 5:50 PM, Mark Schonewille wrote: > Hi Peter, > > Do you actually realise that there was a time when shell was all we had? It is in no way different from the DOS or Unix command prompt from so long ago. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > See what you get with only a small contribution. All our LiveCode downloads are listed at http://qery.us/zr > > On 30 sep 2011, at 23:45, Peter M. Brigham, MD wrote: > >> I've always been afraid of going to shell... I should have put a ":-)" after my remark.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Fri Sep 30 18:12:18 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 30 Sep 2011 17:12:18 -0500 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> Message-ID: <4E863EC2.4090201@hyperactivesw.com> On 9/30/11 4:45 PM, Peter M. Brigham, MD wrote: > I've always been afraid of going to shell... Just keep any handbaskets away from the computer and you'll be fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Fri Sep 30 18:19:43 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 30 Sep 2011 15:19:43 -0700 Subject: Reading PDF documents In-Reply-To: <0110DF52-89D0-463D-9684-8B0F86C9E16E@economy-x-talk.com> References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> <0110DF52-89D0-463D-9684-8B0F86C9E16E@economy-x-talk.com> Message-ID: not my fear - I happily use shell all of the time!! but it's true - no "are you sure?' dialogs.. ha On 30 September 2011 14:33, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > I understand, Stephen. You fear great powers :-) > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > See what you get with only a small contribution. All our LiveCode downloads > are listed at http://qery.us/zr > > On 30 sep 2011, at 23:14, stephen barncard wrote: > > > FEAR OF SHELL() > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From zellner at tamu.edu Fri Sep 30 18:28:22 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Fri, 30 Sep 2011 17:28:22 -0500 Subject: Scrollbar/slider attributes Message-ID: <39A94D5B-03DD-4653-96AC-66AA189F8AF8@tamu.edu> > Message: 6 > Date: Fri, 30 Sep 2011 20:41:47 +0300 > From: Richmond Mathewson > To: How to use LiveCode > Subject: Re: Scrollbar/slider attributes > Message-ID: <4E85FF5B.5070702 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Better go for a mouseDown rather than a mouseUp, as the punter (whoops, > "end-user") > might slide their pointer off the control when they change their mind. > > I just mocked up a stack containing a slider and a fld "fTOUCH" and put > this into > the script of the slider: > > on mouseDown > "put "Touched Me!" into fld "fTOUCH" > end mouseDown > > rocket-science it ain't . . . :) Yes, I know how to record the mouse downs, etc, in variables or fields, but I was hoping to be able to make a visible change in the slider to alert the user to those that had been responded to and those that had not. In the past I have had checkmarks appear next to the slider to indicate that it was used, but I was wondering if something could be incorporated into the slider itself (e.g. color) From pepetoo at cox.net Fri Sep 30 18:43:18 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 30 Sep 2011 15:43:18 -0700 Subject: Scrollbar/slider attributes In-Reply-To: <39A94D5B-03DD-4653-96AC-66AA189F8AF8@tamu.edu> References: <39A94D5B-03DD-4653-96AC-66AA189F8AF8@tamu.edu> Message-ID: <142AFCA5-61AB-4A0C-9F31-AD652A849CC9@cox.net> Hi Ron, Richmond: Since we receive adequate scrolling feedback when a field has the scroll of its associated scrollbars manipulated, could you, perhaps, connect a field to your slider in some manner and set that field's scrolling to meaningful values? I'm not sure how that might work and how visibility of the field could be used or possibly have it's "width" property set to "0", essentially making it invisible. Just thinking out of the box, since I really don't understand your needs very well! Joe Wilkins Architect On Sep 30, 2011, at 3:28 PM, Ronald Zellner wrote: >> Message: 6 >> Date: Fri, 30 Sep 2011 20:41:47 +0300 >> From: Richmond Mathewson >> To: How to use LiveCode >> Subject: Re: Scrollbar/slider attributes >> Message-ID: <4E85FF5B.5070702 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Better go for a mouseDown rather than a mouseUp, as the punter (whoops, >> "end-user") >> might slide their pointer off the control when they change their mind. >> >> I just mocked up a stack containing a slider and a fld "fTOUCH" and put >> this into >> the script of the slider: >> >> on mouseDown >> "put "Touched Me!" into fld "fTOUCH" >> end mouseDown >> >> rocket-science it ain't . . . :) > > Yes, I know how to record the mouse downs, etc, in variables or fields, but I was hoping to be able to make a visible change in the slider to alert the user to those that had been responded to and those that had not. > > In the past I have had checkmarks appear next to the slider to indicate that it was used, but I was wondering if something could be incorporated into the slider itself (e.g. color) From pmbrig at gmail.com Fri Sep 30 19:47:18 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 30 Sep 2011 19:47:18 -0400 Subject: Scrollbar/slider attributes In-Reply-To: <142AFCA5-61AB-4A0C-9F31-AD652A849CC9@cox.net> References: <39A94D5B-03DD-4653-96AC-66AA189F8AF8@tamu.edu> <142AFCA5-61AB-4A0C-9F31-AD652A849CC9@cox.net> Message-ID: <68923F6D-945B-4B6D-8FA8-F5E29F785D39@gmail.com> Perhaps you could have a radiobutton that is labeled "no opinion" and make it hilited by default on opencard, then on mousedown in the slider, uncheck the button? Then if the user changes his/her mind and wants to vote "no opinion" s/he could check the button again and the slider could revert to 0 (you would ignore these values anyway). -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 30, 2011, at 6:43 PM, Joe Lewis Wilkins wrote: > Hi Ron, Richmond: > > Since we receive adequate scrolling feedback when a field has the scroll of its associated scrollbars manipulated, could you, perhaps, connect a field to your slider in some manner and set that field's scrolling to meaningful values? I'm not sure how that might work and how visibility of the field could be used or possibly have it's "width" property set to "0", essentially making it invisible. > > Just thinking out of the box, since I really don't understand your needs very well! > > Joe Wilkins > Architect > > On Sep 30, 2011, at 3:28 PM, Ronald Zellner wrote: > >>> Message: 6 >>> Date: Fri, 30 Sep 2011 20:41:47 +0300 >>> From: Richmond Mathewson >>> To: How to use LiveCode >>> Subject: Re: Scrollbar/slider attributes >>> Message-ID: <4E85FF5B.5070702 at gmail.com> >>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >>> >>> Better go for a mouseDown rather than a mouseUp, as the punter (whoops, >>> "end-user") >>> might slide their pointer off the control when they change their mind. >>> >>> I just mocked up a stack containing a slider and a fld "fTOUCH" and put >>> this into >>> the script of the slider: >>> >>> on mouseDown >>> "put "Touched Me!" into fld "fTOUCH" >>> end mouseDown >>> >>> rocket-science it ain't . . . :) >> >> Yes, I know how to record the mouse downs, etc, in variables or fields, but I was hoping to be able to make a visible change in the slider to alert the user to those that had been responded to and those that had not. >> >> In the past I have had checkmarks appear next to the slider to indicate that it was used, but I was wondering if something could be incorporated into the slider itself (e.g. color) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Sep 30 19:57:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 30 Sep 2011 16:57:05 -0700 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> <0110DF52-89D0-463D-9684-8B0F86C9E16E@economy-x-talk.com> Message-ID: Let's remember, we aged, that there was a time that the synonym for "shell" was "your operating system". Bob On Sep 30, 2011, at 3:19 PM, stephen barncard wrote: > not my fear - I happily use shell all of the time!! > > but it's true - no "are you sure?' dialogs.. ha > > > On 30 September 2011 14:33, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> I understand, Stephen. You fear great powers :-) >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> See what you get with only a small contribution. All our LiveCode downloads >> are listed at http://qery.us/zr >> >> On 30 sep 2011, at 23:14, stephen barncard wrote: >> >>> FEAR OF SHELL() >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Fri Sep 30 20:02:19 2011 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 30 Sep 2011 17:02:19 -0700 Subject: Reading PDF documents In-Reply-To: References: <4E86254D.5030804@gmail.com> <4C7BD16F-1B42-4C9B-8102-5C01DD92B289@economy-x-talk.com> <0110DF52-89D0-463D-9684-8B0F86C9E16E@economy-x-talk.com> Message-ID: <1AE31D3E-23AA-4099-A12F-6DFD3BC40DCC@jhj.com> And "shelling out" was something you did at the store involving pictures of dead presidents. --Jerry On Sep 30, 2011, at 4:57 PM, Bob Sneidar wrote: > Let's remember, we aged, that there was a time that the synonym for "shell" was "your operating system". > > Bob > > > On Sep 30, 2011, at 3:19 PM, stephen barncard wrote: > >> not my fear - I happily use shell all of the time!! >> >> but it's true - no "are you sure?' dialogs.. ha >> >> >> On 30 September 2011 14:33, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >>> I understand, Stephen. You fear great powers :-) >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> See what you get with only a small contribution. All our LiveCode downloads >>> are listed at http://qery.us/zr >>> >>> On 30 sep 2011, at 23:14, stephen barncard wrote: >>> >>>> FEAR OF SHELL() >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode