From capellan2000 at gmail.com Fri Mar 1 04:51:25 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 1 Mar 2013 01:51:25 -0800 (PST) Subject: How to create graphics like the ones in Windows screensaver "mystify"? In-Reply-To: <03E9A5A0-ECE1-4AF1-8FE8-F8DE88871E35@m-r-d.de> References: <03E9A5A0-ECE1-4AF1-8FE8-F8DE88871E35@m-r-d.de> Message-ID: <1362131485335-4661622.post@n4.nabble.com> Hi Matthias, Matthias Rebbe-2 wrote > I need to create and manipulate that curves by program. I do not need to > do animation. Just manipulate the curves by changing values. > Is there anyone who could put me into the right direction? Check if this stack could help: http://andregarzia.on-rev.com/alejandro/stacks/ScreenArtv2.zip Here are some samples: http://andregarzia.on-rev.com/alejandro/stacks/SVGfiles.zip Besides Jim Hurley's stack, I remember that Xavier Bury published a similar stack. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-graphics-like-the-ones-in-Windows-screensaver-mystify-tp4661316p4661622.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at vaudevillecourt.tv Fri Mar 1 06:23:19 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Mar 2013 11:23:19 +0000 Subject: Android Nexus 7 and screen resolutions In-Reply-To: References: Message-ID: Interestingly it seems that the effective screenrect does not work but the working screenrect returns a value can use. From david at vaudevillecourt.tv Fri Mar 1 06:26:18 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Mar 2013 11:26:18 +0000 Subject: Basic font question Message-ID: How do you set the style of a chunk of text for a font that has a fontstyle "bold-italic" ? Set the textstyle to "bold-italic" does not work - do I have to hack it based on the name - ie replace "-" with comma in fStyle ? From jacques.hausser at unil.ch Fri Mar 1 06:36:58 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 1 Mar 2013 12:36:58 +0100 Subject: Basic font question In-Reply-To: References: Message-ID: <31D00F60-8D1E-4563-9DFA-B03431C90CC9@unil.ch> seems to work with "bold,italic" Le 1 mars 2013 ? 12:26, David Bovill a ?crit : > How do you set the style of a chunk of text for a font that has a fontstyle > "bold-italic" ? Set the textstyle to "bold-italic" does not work - do I > have to hack it based on the name - ie replace "-" with comma in fStyle ? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From niggemann at uni-wh.de Fri Mar 1 06:45:20 2013 From: niggemann at uni-wh.de (BNig) Date: Fri, 1 Mar 2013 03:45:20 -0800 (PST) Subject: How to create graphics like the ones in Windows screensaver "mystify"? In-Reply-To: <03E9A5A0-ECE1-4AF1-8FE8-F8DE88871E35@m-r-d.de> References: <03E9A5A0-ECE1-4AF1-8FE8-F8DE88871E35@m-r-d.de> Message-ID: <1362138320570-4661626.post@n4.nabble.com> Hi Matthias, Jim Hurley just posted 2 stacks using Bezier curves to revOnlne the other day. http://revonline2.runrev.com/stack/694/KaleidoscopeBezier and http://revonline2.runrev.com/stack/693/Bezier-Line apart from that Alejandro does amazing things with vector graphics and bezier curves. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-graphics-like-the-ones-in-Windows-screensaver-mystify-tp4661316p4661626.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Fri Mar 1 04:54:13 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 1 Mar 2013 10:54:13 +0100 Subject: RunRev.com down ? Message-ID: What happens at RunRev.com ? From shawnlivecode at gmail.com Fri Mar 1 07:46:21 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 1 Mar 2013 06:46:21 -0600 Subject: RunRev.com down ? In-Reply-To: References: Message-ID: Not for me here in the southern US. On Friday, March 1, 2013, Ren? Micout wrote: > What happens at RunRev.com ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Fri Mar 1 07:49:19 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 1 Mar 2013 13:49:19 +0100 Subject: RunRev.com down ? In-Reply-To: References: Message-ID: <6DD0B4E9-DE88-4331-B544-65969D48F77B@major.on-rev.com> Hi Rene, Am 01.03.2013 um 10:54 schrieb Ren? Micout : > What happens at RunRev.com ? thay took the 500,000 GBP and headed to Rio! :-D No, it is up again ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From david at vaudevillecourt.tv Fri Mar 1 03:54:40 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Mar 2013 08:54:40 +0000 Subject: Android Nexus 7 and screen resolutions Message-ID: Started developing an app for the Nexus 7 - and it's taking a while figuring out the effective screen resolution - wandering if there are any pointers, as Google has not been my friend. The starting point is that the full screen size is 1280 x 800 - but then there is the status bar and those "on screen buttons" - I've made a few guesses, but was just wandering the best way of figuring this out - is there a place in the Android docs that gives us the dimensions of these things (I guess they can change depending on the Android version?). I'm goin to try and see if "the working screenrect" or similar can actually give me something useful on the physical device? From richmondmathewson at gmail.com Fri Mar 1 08:04:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 01 Mar 2013 15:04:41 +0200 Subject: RunRev.com down ? In-Reply-To: <6DD0B4E9-DE88-4331-B544-65969D48F77B@major.on-rev.com> References: <6DD0B4E9-DE88-4331-B544-65969D48F77B@major.on-rev.com> Message-ID: <5130A769.90800@gmail.com> On 01/03/13 14:49, Klaus on-rev wrote: > Hi Rene, > > Am 01.03.2013 um 10:54 schrieb Ren? Micout : > >> What happens at RunRev.com ? > thay took the 500,000 GBP and headed to Rio! :-D Better tell Andre that :) > No, it is up again ;-) > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Mar 1 08:26:37 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 1 Mar 2013 14:26:37 +0100 Subject: behavior of cascade menu item buttons Message-ID: <002401ce1680$67109cd0$3531d670$@de> Hello, working with LC 5.5.4 on Windows: When clicking a cascade menu item button you have to hold down the mouse while going down the cascades and choosing a menu item. This can be a bit uncomfortable for your hand. Most non LC cascade menus on windows behave a bit different. You can fix every level of the cascade by clicking it and then go on to the next level. Are the LC menus just different, do I have overseen any secret option to alter this behavior or has anybody a workaround? (beside of creating the whole menu from scratch with multiple windows) Thanks Tiemo From dwilliams at runrev.com Fri Mar 1 09:54:55 2013 From: dwilliams at runrev.com (dwilliams at runrev.com) Date: Fri, 01 Mar 2013 08:54:55 -0600 Subject: Server Maintenance Message-ID: <20130301085455.18374ky9k9tsmnms@var.on-rev.com> Hello Everybody, As some of you may have already noticed, we are conducting some essential maintenance at the moment to account for increased traffic and ensure our infrastructure is up to scratch for the future. You may notice some slowness on runrev.com and related services, we are working to keep this to a minimum. On-Rev will largely be unaffected by the work we are carrying out. Let us know via support if you have any specific queries related to this. Services should be running smoothly and at increased capacity within the next few days. Regards, -David Williams, Server Administrator From toolbook at kestner.de Fri Mar 1 11:00:27 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 1 Mar 2013 17:00:27 +0100 Subject: ask dialog buttons different text fonts Message-ID: <002c01ce1695$e4ad64b0$ae082e10$@de> Hello, working with LC 5.5.3/4 on windows the text size in the cancel button of the ask dialog is smaller as the text size in the ok button. Setting (or not) the text font and size at stack level doesn't change anything. In QCC I have only found a similar but solved issue from 2007. Is this a known bug and is there any workaround? Thanks Tiemo From livfoss at mac.com Fri Mar 1 11:44:17 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 01 Mar 2013 17:44:17 +0100 Subject: Where to write a shared file to? In-Reply-To: <0537EAA7-8073-415C-AA0B-F44A04A5DDB7@mac.com> References: <5A75CBC9-ED9F-4330-897E-854107C59B3D@mac.com> <515FE6DE-A5BE-40D3-B270-F1782FF1BBCC@mac.com> <7FB2A279-CAE1-44B5-B5BA-B0E9367B18F8@mac.com> <0537EAA7-8073-415C-AA0B-F44A04A5DDB7@mac.com> Message-ID: I'm using Parallels as well, but I do have Windows 7 as well as XP if you want me to look into it. Graham On 28 Feb 2013, at 19:21, Thomas McGrath III wrote: > Thanks Graham, I am testing this but I don't have a Windows box (yet) so I can only test on Parallels in Windows XP but the results do look promising. Problem is I need to know for sure. > > Thanks again > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Feb 28, 2013, at 1:13 PM, Graham Samuel wrote: > >> I think it's OK if you haven't got a sandbox situation to deal with, but I'm not 100% sure - but a quick experiment would prove it. I can do this, but not right now, so maybe it's better to experiment yourself. >> >> Cheers >> >> Graham >> >> On 28 Feb 2013, at 18:57, Thomas McGrath III wrote: >> >>> Graham, >>> >>> Thanks for the reply.I was looking at the preferences or documents folder due to permission issues but I am just not sure if I use my apps Support folder if another application can write to it? Or is the support folder able to be accessed from both apps? Do you know? >>> >>> Thanks >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Feb 28, 2013, at 12:45 PM, Graham Samuel wrote: >>> >>>> Tom, unless I've misunderstood what you need, why not use the specialFolderPath("support") path? These are paths that can be written to by an application on both platforms. It's easy to see what the path actually is, so you can tell the low level application. I'm using this approach for somewhere to put a data stack (a stack that can be saved at runtime) on a two-platform app and it works for me. >>>> >>>> HTH >>>> >>>> Graham >>>> On 28 Feb 2013, at 18:32, Thomas McGrath III wrote: >>>> >>>>> I am working on a cross-platform (Mac/Windows) app and I had to hire out for a low level application to be written that will trap 'all' key events on both platforms. Pretty straight forward. It timestamps and writes the key or keys that were hit out to a file that I in turn look for changes to from within LC. The key trapper will have it's own installer and I need to tell it where to write to before it is built. >>>>> >>>>> My question is where is the best place to write this file to on a Mac? on a PC? >>>>> >>>>> I am not going through the Mac App store but I don't want to run into problems with permissions etc. once deployed. >>>>> >>>>> >>>>> I am searching online now but there is a lot of gobble goop that is not pertinent. >>>>> >>>>> Any help or ideas are appreciated. >>>>> >>>>> Tom >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> mcgrath3 at mac.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Mar 1 11:58:06 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 01 Mar 2013 17:58:06 +0100 Subject: Resolution independence (sort of) today Message-ID: Thanks Colin Holgate for your excellent explanation of what resolution independence is and isn't, or rather what it could be when implemented. I have an issue in this area right now, and I suppose I will find the answer in the docs somewhere, but meanwhile could some one give me a quick answer? I have an app that works in Landscape only on an iPad 2. I want to adapt it for the most recent iPads, which of course have twice the number of pixels in both directions (Retina). I'm quite happy to re-work my app to fill this larger space properly - there are quite a few images, which I need to revise to make them properly sharp etc. I am confident that I can make the app look good on the Retina screen. The issue is, what happens when a retina-style app like this runs on an iPad with the lower resolution? Can the reduction be achieved automatically, or do I have to create in effect two versions of the app to get it to work? Obviously what I want is for all the objects on the screen to be automagically reduced in size, while retaining the original location information - so far example an object at the centre of the retina screen would be at (1024,768): if I show this on a pre-retina screen, do I have to change the loc to (512,384) and by implication change all the locs of all the visible objects, or will iOS do it for me? Sorry if this obvious to everyone else. TIA Graham From david at vaudevillecourt.tv Fri Mar 1 12:00:37 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Mar 2013 17:00:37 +0000 Subject: Basic font question In-Reply-To: <31D00F60-8D1E-4563-9DFA-B03431C90CC9@unil.ch> References: <31D00F60-8D1E-4563-9DFA-B03431C90CC9@unil.ch> Message-ID: Thanks it does - just wandering what the relationship between the results returned by the fontstyle function (ie "bold-italic") are and the textstyle notation - is this a general thing? On 1 March 2013 11:36, Jacques Hausser wrote: > seems to work with "bold,italic" > > Le 1 mars 2013 ? 12:26, David Bovill a ?crit : > > > How do you set the style of a chunk of text for a font that has a > fontstyle > > "bold-italic" ? Set the textstyle to "bold-italic" does not work - do I > > have to hack it based on the name - ie replace "-" with comma in fStyle > ? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Mar 1 12:03:45 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 1 Mar 2013 17:03:45 +0000 Subject: Encoding videos for Android Message-ID: I've tried 2 videos so far for playback on Android (Nexus 7). Both played but without showing a picture - that is the sound played. The first was an .m4v file which I did not expect to play, and then I tried converting it to a .webm file - this only played the sound as well. The webm file played fine using Chrome or Firefox. Any thoughts on how to best encode videos? I'll be testing some other files - but some tips could save time :) From coiin at verizon.net Fri Mar 1 12:13:00 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 01 Mar 2013 12:13:00 -0500 Subject: Resolution independence (sort of) today In-Reply-To: References: Message-ID: As things stand you have to do all the work yourself, but you could do that with layout or code, and which to use might depend on the nature of the app. Your easiest option is to not worry about Retina for now, and then when there is resolution independence you can release an update, where a big feature would be support for Retina. If the app is mainly a single screen utility, or some number of fixed screens, I would be tempted to just duplicate the cards and carefully lay out the controls to work for each size. The same can apply if you want to support iPhone, iPhone Retina, and iPhone 5. Just have lots of cards where you took the time to lay them out nicely. Then, jump to the card you need based on the size of the screen you're on. If you have a game where you are testing coordinates a lot, why not put down some markers, and refer to those instead of numbers. Then in the larger screen layout the marker would be moved, and so the coordinate would be greater. One complication will be movement. Again, base that off the size of the card. So, instead of moving say 8 pixels 30 times a second, move the card width / 128 30 times a second. On iPad Retina it would then move 16 pixels instead of 8. From cmsheffield at icloud.com Fri Mar 1 12:19:05 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 01 Mar 2013 10:19:05 -0700 Subject: Resolution independence (sort of) today In-Reply-To: References: Message-ID: Graham, In the case of One Minute Reader, it would kind of depend. Most of the time we used larger "retina" images and then scaled them down via script for the lower resolution iPad. This worked well, it's fast, and quality was pretty decent. There were exceptions to this where sometimes it was required to use two sets of images. You kind of just have to experiment to find what works best. As for graphic objects those scale very nicely. Are you using Scott Rossi's tmControl by chance? He has some great ways there to scale objects between retina and non-retina. It would require some setup if you're not already using it, but would be well worth it in my opinion. Using tmControl, you can specify a property on any object (fields take a little extra work) to have it automatically scale and reposition itself. And since you're only using one orientation (landscape) that makes things even easier. If you need more info, let me know. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Mar 1, 2013, at 9:58 AM, Graham Samuel wrote: > Thanks Colin Holgate for your excellent explanation of what resolution independence is and isn't, or rather what it could be when implemented. I have an issue in this area right now, and I suppose I will find the answer in the docs somewhere, but meanwhile could some one give me a quick answer? > > I have an app that works in Landscape only on an iPad 2. I want to adapt it for the most recent iPads, which of course have twice the number of pixels in both directions (Retina). I'm quite happy to re-work my app to fill this larger space properly - there are quite a few images, which I need to revise to make them properly sharp etc. I am confident that I can make the app look good on the Retina screen. > > The issue is, what happens when a retina-style app like this runs on an iPad with the lower resolution? Can the reduction be achieved automatically, or do I have to create in effect two versions of the app to get it to work? Obviously what I want is for all the objects on the screen to be automagically reduced in size, while retaining the original location information - so far example an object at the centre of the retina screen would be at (1024,768): if I show this on a pre-retina screen, do I have to change the loc to (512,384) and by implication change all the locs of all the visible objects, or will iOS do it for me? > > Sorry if this obvious to everyone else. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Mar 1 12:43:20 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 01 Mar 2013 18:43:20 +0100 Subject: Resolution independence (sort of) today In-Reply-To: References: Message-ID: <437BC31E-5D52-42CA-B17B-FF21E2074972@mac.com> Thanks Colin and Chris. Pretty much my worst picture, but it's obviously doable. I have not used tmControl but I'll look into it. My app is a single-screen educational program with some simple game-like features, but no rapid movement. On the screen there are images (they're simplified photos of real objects) which get moved by the user - by dragging - but they can only snap to certain places on the screen. The way the code works now is that each object has a list of legitimate parking positions in a custom prop (sadly that's actually a simplification). What I need to do is to abstract this method a bit, so that the main logic of the program is in effect resolution independent - the position lists will be chosen according to screen size. Actually on thinking about it, my method does have some advantages for a multi-resolution implementation, although my initial setting up will be fiddly and I'll probably have to write a utility to help me do it. Resizing the images downwards for the lower-res version isn't a problem, as I've done that lots of times before... As for Colin's suggestion that the Retina version could be an enhancement, that's very attractive - but I got the idea that a new app in the store had to have a retina version (I haven't ever released an iOS app, so the subtleties of what Apple demands are not yet familiar to me). Of course I'll be looking into it some more. All in all then, no showstoppers, but more work than I'd hoped. Thanks again for the very swift and helpful replies Graham On 1 Mar 2013, at 18:19, Chris Sheffield wrote: > Graham, > > In the case of One Minute Reader, it would kind of depend. Most of the time we used larger "retina" images and then scaled them down via script for the lower resolution iPad. This worked well, it's fast, and quality was pretty decent. There were exceptions to this where sometimes it was required to use two sets of images. You kind of just have to experiment to find what works best. > > As for graphic objects those scale very nicely. > > Are you using Scott Rossi's tmControl by chance? He has some great ways there to scale objects between retina and non-retina. It would require some setup if you're not already using it, but would be well worth it in my opinion. Using tmControl, you can specify a property on any object (fields take a little extra work) to have it automatically scale and reposition itself. And since you're only using one orientation (landscape) that makes things even easier. > > If you need more info, let me know. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Mar 1, 2013, at 9:58 AM, Graham Samuel wrote: > >> Thanks Colin Holgate for your excellent explanation of what resolution independence is and isn't, or rather what it could be when implemented. I have an issue in this area right now, and I suppose I will find the answer in the docs somewhere, but meanwhile could some one give me a quick answer? >> >> I have an app that works in Landscape only on an iPad 2. I want to adapt it for the most recent iPads, which of course have twice the number of pixels in both directions (Retina). I'm quite happy to re-work my app to fill this larger space properly - there are quite a few images, which I need to revise to make them properly sharp etc. I am confident that I can make the app look good on the Retina screen. >> >> The issue is, what happens when a retina-style app like this runs on an iPad with the lower resolution? Can the reduction be achieved automatically, or do I have to create in effect two versions of the app to get it to work? Obviously what I want is for all the objects on the screen to be automagically reduced in size, while retaining the original location information - so far example an object at the centre of the retina screen would be at (1024,768): if I show this on a pre-retina screen, do I have to change the loc to (512,384) and by implication change all the locs of all the visible objects, or will iOS do it for me? >> >> Sorry if this obvious to everyone else. >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Fri Mar 1 14:34:37 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 1 Mar 2013 11:34:37 -0800 (PST) Subject: [OT] for anyone looking for a Mac expert writer... In-Reply-To: References: <2EE53C5D-7843-4A3D-8444-1C597B696A81@verizon.net> Message-ID: <1362166477079-4661642.post@n4.nabble.com> mwieder wrote > And I can vouch for the fact that Ilene is technically savvy, has a long > history > in the community and can write a coherent and interesting piece on any > given > subject. You know you need that documentation/PR/whatever written and you > want > it done right... > > http://ilenesmachine.net/ > > -- > Mark Wieder > > mwieder@ > I imagine there is going to be a whole heap of new documentation needed at RunRev. Maybe ilene can help out? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-for-anyone-looking-for-a-Mac-expert-writer-tp4661612p4661642.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri Mar 1 14:44:41 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 01 Mar 2013 14:44:41 -0500 Subject: [OT] for anyone looking for a Mac expert writer... In-Reply-To: <1362166477079-4661642.post@n4.nabble.com> References: <2EE53C5D-7843-4A3D-8444-1C597B696A81@verizon.net> <1362166477079-4661642.post@n4.nabble.com> Message-ID: <77BE11D4-E3E5-4215-94F0-FEB2AC971BE2@verizon.net> I think that might have been the idea behind "other Mark"'s suggestion! On Mar 1, 2013, at 2:34 PM, Mark Smith wrote: > I imagine there is going to be a whole heap of new documentation needed at > RunRev. Maybe ilene can help out? From mcgrath3 at mac.com Fri Mar 1 14:50:36 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 01 Mar 2013 14:50:36 -0500 Subject: Where to write a shared file to? In-Reply-To: References: <5A75CBC9-ED9F-4330-897E-854107C59B3D@mac.com> <515FE6DE-A5BE-40D3-B270-F1782FF1BBCC@mac.com> <7FB2A279-CAE1-44B5-B5BA-B0E9367B18F8@mac.com> <0537EAA7-8073-415C-AA0B-F44A04A5DDB7@mac.com> Message-ID: <024F6A02-C0DA-41A7-928F-756DC6F1EBC4@mac.com> Thanks Graham, but we decided to go ahead with the support folder for now and see haw it works out. thanks again tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 1, 2013, at 11:44 AM, Graham Samuel wrote: > I'm using Parallels as well, but I do have Windows 7 as well as XP if you want me to look into it. > > Graham > > On 28 Feb 2013, at 19:21, Thomas McGrath III wrote: > >> Thanks Graham, I am testing this but I don't have a Windows box (yet) so I can only test on Parallels in Windows XP but the results do look promising. Problem is I need to know for sure. >> >> Thanks again >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Feb 28, 2013, at 1:13 PM, Graham Samuel wrote: >> >>> I think it's OK if you haven't got a sandbox situation to deal with, but I'm not 100% sure - but a quick experiment would prove it. I can do this, but not right now, so maybe it's better to experiment yourself. >>> >>> Cheers >>> >>> Graham >>> >>> On 28 Feb 2013, at 18:57, Thomas McGrath III wrote: >>> >>>> Graham, >>>> >>>> Thanks for the reply.I was looking at the preferences or documents folder due to permission issues but I am just not sure if I use my apps Support folder if another application can write to it? Or is the support folder able to be accessed from both apps? Do you know? >>>> >>>> Thanks >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> On Feb 28, 2013, at 12:45 PM, Graham Samuel wrote: >>>> >>>>> Tom, unless I've misunderstood what you need, why not use the specialFolderPath("support") path? These are paths that can be written to by an application on both platforms. It's easy to see what the path actually is, so you can tell the low level application. I'm using this approach for somewhere to put a data stack (a stack that can be saved at runtime) on a two-platform app and it works for me. >>>>> >>>>> HTH >>>>> >>>>> Graham >>>>> On 28 Feb 2013, at 18:32, Thomas McGrath III wrote: >>>>> >>>>>> I am working on a cross-platform (Mac/Windows) app and I had to hire out for a low level application to be written that will trap 'all' key events on both platforms. Pretty straight forward. It timestamps and writes the key or keys that were hit out to a file that I in turn look for changes to from within LC. The key trapper will have it's own installer and I need to tell it where to write to before it is built. >>>>>> >>>>>> My question is where is the best place to write this file to on a Mac? on a PC? >>>>>> >>>>>> I am not going through the Mac App store but I don't want to run into problems with permissions etc. once deployed. >>>>>> >>>>>> >>>>>> I am searching online now but there is a lot of gobble goop that is not pertinent. >>>>>> >>>>>> Any help or ideas are appreciated. >>>>>> >>>>>> Tom >>>>>> >>>>>> -- Tom McGrath III >>>>>> http://lazyriver.on-rev.com >>>>>> mcgrath3 at mac.com >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Mar 1 14:58:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 01 Mar 2013 21:58:27 +0200 Subject: ask dialog buttons different text fonts In-Reply-To: <002c01ce1695$e4ad64b0$ae082e10$@de> References: <002c01ce1695$e4ad64b0$ae082e10$@de> Message-ID: <51310863.8090605@gmail.com> On 03/01/2013 06:00 PM, Tiemo Hollmann TB wrote: > Hello, > > working with LC 5.5.3/4 on windows the text size in the cancel button of the > ask dialog is smaller as the text size in the ok button. > > Setting (or not) the text font and size at stack level doesn't change > anything. > > In QCC I have only found a similar but solved issue from 2007. > > Is this a known bug and is there any workaround? > > Thanks > > Tiemo > > > Well there is what I call "Richmond's Guarantee"; the 'guarantee' that text looks exactly the same wherever it is; on your Windows 7, my Xubuntu 12.10, her Macnitosh 10.6, Uncle Fred's Android, and so on: Make all you buttons images. Obviously for ASK and ANSWER dialog(ue)s this means foregoing the 'pleasure' of Livecode's inbuilt ones and rolling one's own. For the sake of argument; I have been obsessed with Apple's Charcoal font ever since Mac OS 9 and have it installed on my main rig (Mac OS 10.6.7 inside VMware on UbuntuStduio 12.10), make all my buttons using this font, export them as PNG images and re-import them to use as buttons that will look consistent cross-platform and cross-PC. Obviously this is somewhat time-consuming, but if you care to take a look here: http://andregarzia.on-rev.com/richmond/dwriterpro.html and even download the thing, you will see I am a bit of an aesthetics nut. Richmond. From palcibiades-first at yahoo.co.uk Fri Mar 1 15:22:49 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 1 Mar 2013 12:22:49 -0800 (PST) Subject: The trick for Linux is getting it into the repositories In-Reply-To: <512F8B4A.5040207@fourthworld.com> References: <201302280810.33911.palcibiades-first@yahoo.co.uk> <512F70F9.1070202@fourthworld.com> <1362069194114-4661596.post@n4.nabble.com> <512F8B4A.5040207@fourthworld.com> Message-ID: <1362169369203-4661646.post@n4.nabble.com> Richard Gaskin wrote > Next up (after the Debian package tool) is the need to allow menus to be > handled on Ubuntu as they are on Mac, since those two are the only OSes > which have a global menu bar. Richard, I think its Gnome3 as well as Unity - and there is a Debian package that purports to do global menus for KDE, though I have not tried it. Fedora G3 seems to have the option. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-trick-for-Linux-is-getting-it-into-the-repositories-tp4661569p4661646.html Sent from the Revolution - User mailing list archive at Nabble.com. From hatchfactory at gmail.com Fri Mar 1 15:25:23 2013 From: hatchfactory at gmail.com (Michael Hatch) Date: Fri, 1 Mar 2013 12:25:23 -0800 Subject: Resolution independence (sort of) today In-Reply-To: <437BC31E-5D52-42CA-B17B-FF21E2074972@mac.com> References: <437BC31E-5D52-42CA-B17B-FF21E2074972@mac.com> Message-ID: If you haven't checked it out already, google the plug-in "altMobileResizer" by Chipp Walters. Scales locs, rects and text size proportionally or to the screen rect - Good stuff. Using his plug-in and setting each object to "resize" to the screen rect should be a fairly simple solution if your only publishing to the ipads as they are the same proportions. As Colin said the movement/animation code would have to be scaleable too. move button "sprite" to round(the width of this stack*.4), round(the height of this stack*.25) in .5 secs Or if the object must stay in proportion (and your publishing to various screen ratios) I would scale the move or set loc in relation to the object itself. Kind regards, Michael Hatch On Fri, Mar 1, 2013 at 9:43 AM, Graham Samuel wrote: > Thanks Colin and Chris. Pretty much my worst picture, but it's obviously > doable. I have not used tmControl but I'll look into it. > > My app is a single-screen educational program with some simple game-like > features, but no rapid movement. On the screen there are images (they're > simplified photos of real objects) which get moved by the user - by > dragging - but they can only snap to certain places on the screen. The way > the code works now is that each object has a list of legitimate parking > positions in a custom prop (sadly that's actually a simplification). What I > need to do is to abstract this method a bit, so that the main logic of the > program is in effect resolution independent - the position lists will be > chosen according to screen size. Actually on thinking about it, my method > does have some advantages for a multi-resolution implementation, although > my initial setting up will be fiddly and I'll probably have to write a > utility to help me do it. Resizing the images downwards for the lower-res > version isn't a problem, as I've done that lots of times before... > > As for Colin's suggestion that the Retina version could be an enhancement, > that's very attractive - but I got the idea that a new app in the store had > to have a retina version (I haven't ever released an iOS app, so the > subtleties of what Apple demands are not yet familiar to me). Of course > I'll be looking into it some more. > > All in all then, no showstoppers, but more work than I'd hoped. > > Thanks again for the very swift and helpful replies > > Graham > > On 1 Mar 2013, at 18:19, Chris Sheffield wrote: > > > Graham, > > > > In the case of One Minute Reader, it would kind of depend. Most of the > time we used larger "retina" images and then scaled them down via script > for the lower resolution iPad. This worked well, it's fast, and quality was > pretty decent. There were exceptions to this where sometimes it was > required to use two sets of images. You kind of just have to experiment to > find what works best. > > > > As for graphic objects those scale very nicely. > > > > Are you using Scott Rossi's tmControl by chance? He has some great ways > there to scale objects between retina and non-retina. It would require some > setup if you're not already using it, but would be well worth it in my > opinion. Using tmControl, you can specify a property on any object (fields > take a little extra work) to have it automatically scale and reposition > itself. And since you're only using one orientation (landscape) that makes > things even easier. > > > > If you need more info, let me know. > > > > Chris > > > > > > -- > > Chris Sheffield > > Read Naturally, Inc. > > www.readnaturally.com > > > > > > > > On Mar 1, 2013, at 9:58 AM, Graham Samuel wrote: > > > >> Thanks Colin Holgate for your excellent explanation of what resolution > independence is and isn't, or rather what it could be when implemented. I > have an issue in this area right now, and I suppose I will find the answer > in the docs somewhere, but meanwhile could some one give me a quick answer? > >> > >> I have an app that works in Landscape only on an iPad 2. I want to > adapt it for the most recent iPads, which of course have twice the number > of pixels in both directions (Retina). I'm quite happy to re-work my app to > fill this larger space properly - there are quite a few images, which I > need to revise to make them properly sharp etc. I am confident that I can > make the app look good on the Retina screen. > >> > >> The issue is, what happens when a retina-style app like this runs on an > iPad with the lower resolution? Can the reduction be achieved > automatically, or do I have to create in effect two versions of the app to > get it to work? Obviously what I want is for all the objects on the screen > to be automagically reduced in size, while retaining the original location > information - so far example an object at the centre of the retina screen > would be at (1024,768): if I show this on a pre-retina screen, do I have to > change the loc to (512,384) and by implication change all the locs of all > the visible objects, or will iOS do it for me? > >> > >> Sorry if this obvious to everyone else. > >> > >> TIA > >> > >> Graham > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Mar 1 15:29:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 2 Mar 2013 09:29:51 +1300 Subject: Where to write a shared file to? In-Reply-To: <024F6A02-C0DA-41A7-928F-756DC6F1EBC4@mac.com> References: <5A75CBC9-ED9F-4330-897E-854107C59B3D@mac.com> <515FE6DE-A5BE-40D3-B270-F1782FF1BBCC@mac.com> <7FB2A279-CAE1-44B5-B5BA-B0E9367B18F8@mac.com> <0537EAA7-8073-415C-AA0B-F44A04A5DDB7@mac.com> <024F6A02-C0DA-41A7-928F-756DC6F1EBC4@mac.com> Message-ID: Tom, I don;t remember the details but I believe using the special folder path "support" gave different results on OSX in a couple of LC versions. Sorry I don;t remember the details but I think it's in the release notes somewhere. Pete lcSQL Software On Sat, Mar 2, 2013 at 8:50 AM, Thomas McGrath III wrote: > Thanks Graham, but we decided to go ahead with the support folder for now > and see haw it works out. > > thanks again > > tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 1, 2013, at 11:44 AM, Graham Samuel wrote: > > > I'm using Parallels as well, but I do have Windows 7 as well as XP if > you want me to look into it. > > > > Graham > > > > On 28 Feb 2013, at 19:21, Thomas McGrath III wrote: > > > >> Thanks Graham, I am testing this but I don't have a Windows box (yet) > so I can only test on Parallels in Windows XP but the results do look > promising. Problem is I need to know for sure. > >> > >> Thanks again > >> > >> Tom > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> mcgrath3 at mac.com > >> > >> On Feb 28, 2013, at 1:13 PM, Graham Samuel wrote: > >> > >>> I think it's OK if you haven't got a sandbox situation to deal with, > but I'm not 100% sure - but a quick experiment would prove it. I can do > this, but not right now, so maybe it's better to experiment yourself. > >>> > >>> Cheers > >>> > >>> Graham > >>> > >>> On 28 Feb 2013, at 18:57, Thomas McGrath III wrote: > >>> > >>>> Graham, > >>>> > >>>> Thanks for the reply.I was looking at the preferences or documents > folder due to permission issues but I am just not sure if I use my apps > Support folder if another application can write to it? Or is the support > folder able to be accessed from both apps? Do you know? > >>>> > >>>> Thanks > >>>> > >>>> Tom > >>>> > >>>> -- Tom McGrath III > >>>> http://lazyriver.on-rev.com > >>>> mcgrath3 at mac.com > >>>> > >>>> On Feb 28, 2013, at 12:45 PM, Graham Samuel wrote: > >>>> > >>>>> Tom, unless I've misunderstood what you need, why not use the > specialFolderPath("support") path? These are paths that can be written to > by an application on both platforms. It's easy to see what the path > actually is, so you can tell the low level application. I'm using this > approach for somewhere to put a data stack (a stack that can be saved at > runtime) on a two-platform app and it works for me. > >>>>> > >>>>> HTH > >>>>> > >>>>> Graham > >>>>> On 28 Feb 2013, at 18:32, Thomas McGrath III wrote: > >>>>> > >>>>>> I am working on a cross-platform (Mac/Windows) app and I had to > hire out for a low level application to be written that will trap 'all' key > events on both platforms. Pretty straight forward. It timestamps and writes > the key or keys that were hit out to a file that I in turn look for changes > to from within LC. The key trapper will have it's own installer and I need > to tell it where to write to before it is built. > >>>>>> > >>>>>> My question is where is the best place to write this file to on a > Mac? on a PC? > >>>>>> > >>>>>> I am not going through the Mac App store but I don't want to run > into problems with permissions etc. once deployed. > >>>>>> > >>>>>> > >>>>>> I am searching online now but there is a lot of gobble goop that is > not pertinent. > >>>>>> > >>>>>> Any help or ideas are appreciated. > >>>>>> > >>>>>> Tom > >>>>>> > >>>>>> -- Tom McGrath III > >>>>>> http://lazyriver.on-rev.com > >>>>>> mcgrath3 at mac.com > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Mar 1 15:23:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 01 Mar 2013 22:23:26 +0200 Subject: about resolution independence... In-Reply-To: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> Message-ID: <51310E3E.5070901@gmail.com> On 02/28/2013 10:56 PM, Colin Holgate wrote: > I know quite a bit about showing content at a size that is different to the original document size, everything I make in Flash uses that ability, it lets me make a single file that works for all existing mobile screens. But, it would be easy for most people to not understand what resolution independence is, or what the benefits are. > > What it is not: Something that will automatically layout your interface, using different styled buttons, or different arrangements of controls. If you're doing an app that needs different layout for portrait and landscape, or different buttons for small screens compared to large screens, then that's more like the current geometry manager, plus some code logic. > > What it is: The ability to layout your app with a given aspect ratio, and then have that layout fill a device screen of the same ratio, even though the device is a different pixel size. > > For example, if you want to create an app that works for all iPads in landscape, you could layout the card as a size of 640x480, and that card would fill the 1024x768 iPad 1 & 2 screens, and the 2048x1536 iPad 3 Retina screen. > > If you wanted to design for iPhone, but couldn't bare working at 480x320, you could work at a comfortable 960x640 and have an app that is immediately correct for iPhone 4 Retina, and would still exactly fill an iPhone 3gs screen. > > Now, those are the simple cases for resolution independence, there are more exceptions to the above examples than there are cases that are so convenient. > > Suppose you want, as an obvious case, to support the full width of the iPhone 5 screen, as well as the iPad screen. You could have 960x720 of content, which would scale to exactly fill the iPad screen, and you would accept the fact that empty areas would appear on the iPhone 4 and even more empty space on the iPhone 5. > > That's not ideal though, so instead you might have extra content that extends beyond the left and right of the card window. On iPad you would never see that extra content, but on the other screens you would. > > To achieve that the resolution independence system would need to be able to place the card centered on the device screen, currently it's always at the top left of the device screen. > > Another solution to the problem is to allow the wider screen device to cut into the top and bottom of the card window. In that case you would have content near the edges that was not vital, and if it didn't appear on the iPhone 5 screen it wouldn't matter. > > There may also be cases where you want the card to remain at 100 percent size, but be centered on the screen, whatever size it is. > > Here are some examples of how all that resizing and aligning might look. In each one you will see some lines. The red lines represent the iPad ratio, the green lines are iPhone, and the blue liens are iPhone 5. Incidentally, this all applies to Android too, where the narrowest Android is the same as the iPad, and the widest is the same as the iPhone 5. Open the links and do window resizing to simulate different device screens. > > 1. Top left alignment, and no scaling. This is identical to how LiveCode works currently. You would have to do all layout management with code. Try resizing the window and you'll see that more content is revealed to the right and bottom: > > http://xfiles.funnygarbage.com/~colinholgate/rev/topleftnoscale.html > > 2. Centered, no scaling. I can't immediately think of a good usage case for this one, other than maybe you have a backdrop image that works better when its centered: > > http://xfiles.funnygarbage.com/~colinholgate/rev/noscale.html > > 3. Show all. In this one the content is resized to fill the window, and in doing so it makes sure that all of the card window's content is visible, doing that by revealing extra content area. In this case that extra area is empty, but it need not be: > > http://xfiles.funnygarbage.com/~colinholgate/rev/showall.html > > 4. No border. Again, the content is scaled to fill the window, but this time it's at a size that makes sure you don't see any empty areas. The content will be cropped on either the left and right, or the top and bottom, depending on how narrow you make the window: > > http://xfiles.funnygarbage.com/~colinholgate/rev/noborder.html > > 5. Exact fit. Here the card window is squished to exactly match the device screen. I can't think of ANY usage case for this! But, for completeness here it is: > > http://xfiles.funnygarbage.com/~colinholgate/rev/exactfit.html > > The scale modes I use the most are Show All and No Border. But then I mainly do graphical scenes, and not control filled utility applications. If you are doing those sorts of things you could use code to do the general layout for all aspect ratios, from 4:3 through to 16:9, and then let the Centered No Scale mode or Top Left No Scale modes take care of the different pixel dimensions. > > Please let me know if I need to go not more detail! > > > > _ Resolution Independence is another unattainable goal rather like 100% cross-platform compatibility, a magnificent ideal maybe, and not a bad thing to aim for as long as one realises that one will probably never attain it and does not become thoroughly disenchanted as a result. And this posting is excellent, but could be boiled down to something slightly shorter for non-technical folk: A widescreen television is NOT just a bigger screen than the 13 incher my Dad bought in 1973. From revdev at pdslabs.net Fri Mar 1 15:43:50 2013 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 01 Mar 2013 12:43:50 -0800 Subject: Where to write a shared file to? In-Reply-To: References: <5A75CBC9-ED9F-4330-897E-854107C59B3D@mac.com> <515FE6DE-A5BE-40D3-B270-F1782FF1BBCC@mac.com> <7FB2A279-CAE1-44B5-B5BA-B0E9367B18F8@mac.com> <0537EAA7-8073-415C-AA0B-F44A04A5DDB7@mac.com> <024F6A02-C0DA-41A7-928F-756DC6F1EBC4@mac.com> Message-ID: <51311306.9000604@pdslabs.net> There is also specialFolderPath("asup") which gives you the system's (rather than the current user's) Application Support folder. That might be more what you would want if the data will be shared by several users on the one computer. But I don't know if there are variations among different LC versions. Phil Davis On 3/1/13 12:29 PM, Peter Haworth wrote: > Tom, > I don;t remember the details but I believe using the special folder path > "support" gave different results on OSX in a couple of LC versions. Sorry > I don;t remember the details but I think it's in the release notes > somewhere. > Pete > lcSQL Software > > > On Sat, Mar 2, 2013 at 8:50 AM, Thomas McGrath III wrote: > >> Thanks Graham, but we decided to go ahead with the support folder for now >> and see haw it works out. >> >> thanks again >> >> tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Mar 1, 2013, at 11:44 AM, Graham Samuel wrote: >> >>> I'm using Parallels as well, but I do have Windows 7 as well as XP if >> you want me to look into it. >>> Graham >>> >>> On 28 Feb 2013, at 19:21, Thomas McGrath III wrote: >>> >>>> Thanks Graham, I am testing this but I don't have a Windows box (yet) >> so I can only test on Parallels in Windows XP but the results do look >> promising. Problem is I need to know for sure. >>>> Thanks again >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> On Feb 28, 2013, at 1:13 PM, Graham Samuel wrote: >>>> >>>>> I think it's OK if you haven't got a sandbox situation to deal with, >> but I'm not 100% sure - but a quick experiment would prove it. I can do >> this, but not right now, so maybe it's better to experiment yourself. >>>>> Cheers >>>>> >>>>> Graham >>>>> >>>>> On 28 Feb 2013, at 18:57, Thomas McGrath III wrote: >>>>> >>>>>> Graham, >>>>>> >>>>>> Thanks for the reply.I was looking at the preferences or documents >> folder due to permission issues but I am just not sure if I use my apps >> Support folder if another application can write to it? Or is the support >> folder able to be accessed from both apps? Do you know? >>>>>> Thanks >>>>>> >>>>>> Tom >>>>>> >>>>>> -- Tom McGrath III >>>>>> http://lazyriver.on-rev.com >>>>>> mcgrath3 at mac.com >>>>>> >>>>>> On Feb 28, 2013, at 12:45 PM, Graham Samuel wrote: >>>>>> >>>>>>> Tom, unless I've misunderstood what you need, why not use the >> specialFolderPath("support") path? These are paths that can be written to >> by an application on both platforms. It's easy to see what the path >> actually is, so you can tell the low level application. I'm using this >> approach for somewhere to put a data stack (a stack that can be saved at >> runtime) on a two-platform app and it works for me. >>>>>>> HTH >>>>>>> >>>>>>> Graham >>>>>>> On 28 Feb 2013, at 18:32, Thomas McGrath III wrote: >>>>>>> >>>>>>>> I am working on a cross-platform (Mac/Windows) app and I had to >> hire out for a low level application to be written that will trap 'all' key >> events on both platforms. Pretty straight forward. It timestamps and writes >> the key or keys that were hit out to a file that I in turn look for changes >> to from within LC. The key trapper will have it's own installer and I need >> to tell it where to write to before it is built. >>>>>>>> My question is where is the best place to write this file to on a >> Mac? on a PC? >>>>>>>> I am not going through the Mac App store but I don't want to run >> into problems with permissions etc. once deployed. >>>>>>>> >>>>>>>> I am searching online now but there is a lot of gobble goop that is >> not pertinent. >>>>>>>> Any help or ideas are appreciated. >>>>>>>> >>>>>>>> Tom >>>>>>>> >>>>>>>> -- Tom McGrath III >>>>>>>> http://lazyriver.on-rev.com >>>>>>>> mcgrath3 at mac.com >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From coiin at verizon.net Fri Mar 1 15:46:23 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 01 Mar 2013 15:46:23 -0500 Subject: about resolution independence... In-Reply-To: <51310E3E.5070901@gmail.com> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> Message-ID: <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> In part I was saying that with Flash I do have resolution independence, and that if the Flash team can do it, then the LiveCode team should be able to. On Mar 1, 2013, at 3:23 PM, Richmond wrote: > > >Resolution Independence is another unattainable goal From stephenREVOLUTION2 at barncard.com Fri Mar 1 16:00:59 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 1 Mar 2013 13:00:59 -0800 Subject: ask dialog buttons different text fonts In-Reply-To: <51310863.8090605@gmail.com> References: <002c01ce1695$e4ad64b0$ae082e10$@de> <51310863.8090605@gmail.com> Message-ID: Richmond, the layout looks fine, the only thing that is time consuming is the large png image at the center of your page. All the other components of the page loaded normally. You really don't need transparency, so why not save some bandwidth with a jpg? Or perhaps your bandwidth is throttled. It took 2 minutes to fully show the page on my very fast Comcast cable connection... On Fri, Mar 1, 2013 at 11:58 AM, Richmond wrote: > > Obviously this is somewhat time-consuming, but if you care to take a look > here: > > http://andregarzia.on-rev.com/**richmond/dwriterpro.html and even download the thing, > > you will see I am a bit of an aesthetics nut. > > Richmond. > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From littlejamesw at mac.com Fri Mar 1 16:13:13 2013 From: littlejamesw at mac.com (Jim Little) Date: Fri, 01 Mar 2013 13:13:13 -0800 Subject: Unicode in Answer Dialog on iOS Message-ID: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> Hi All, We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. We've tried: 1. HTML-formatted strings outputs to

tags 2. RTF-formatted strings outputs with tags 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text Any suggestions on how to make this work? Thanks, Jim and Todd Little From rdimola at evergreeninfo.net Fri Mar 1 16:26:05 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 1 Mar 2013 16:26:05 -0500 Subject: about resolution independence... In-Reply-To: <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> Message-ID: <04d101ce16c3$61f62c40$25e284c0$@net> I agree. When I got the "Livecode does not have resolution independence" reality check after using LC for my first mobile app I sent out a help to the list. Jacque clued me in and gave me some pointers. To make my app happen I wrote a library in a couple of weeks and tweaked it over a couple of months with only 1 month of prior LC experience. The app is now on the iStore and the PlayStore and supports both portrait and landscape with any screen size. It's clunky to set up, but it works. If I could do this, then I think it well within capabilities of the mother-ship in Edinburgh to do it elegantly. It's just a matter of time with the success of Kickstarter. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Friday, March 01, 2013 3:46 PM To: How to use LiveCode Subject: Re: about resolution independence... In part I was saying that with Flash I do have resolution independence, and that if the Flash team can do it, then the LiveCode team should be able to. On Mar 1, 2013, at 3:23 PM, Richmond wrote: > > >Resolution Independence is another unattainable goal _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Fri Mar 1 16:27:06 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 1 Mar 2013 21:27:06 +0000 Subject: about resolution independence... In-Reply-To: <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> Message-ID: <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> Resolution Independence is perfectly attainable. Aspect Ratio Independence is a separate but related issue, and vastly more complicated... ;) Ian On 1 Mar 2013, at 20:46, Colin Holgate wrote: > In part I was saying that with Flash I do have resolution independence, and that if the Flash team can do it, then the LiveCode team should be able to. > > > On Mar 1, 2013, at 3:23 PM, Richmond wrote: > >> >>> Resolution Independence is another unattainable goal > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Mar 1 16:34:09 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 01 Mar 2013 16:34:09 -0500 Subject: about resolution independence... In-Reply-To: <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> Message-ID: Still, for my non-utility situations, I'm aspect ratio independent in Flash. At least in the range of ratios I want to support (e.g., 4:3 through to 16:9). Supporting portrait and landscape is a layout issue rather than a resolution issue. That is, you're unlikely to have a single layout that can work for everything from 16:9 through to 9:16. On Mar 1, 2013, at 4:27 PM, Ian Wood wrote: > >Resolution Independence is perfectly attainable. Aspect Ratio Independence is a separate but related issue, and vastly more complicated... ;) From monte at sweattechnologies.com Fri Mar 1 16:40:16 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Mar 2013 08:40:16 +1100 Subject: Unicode in Answer Dialog on iOS In-Reply-To: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> References: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> Message-ID: <747080BC-F78C-453C-A44C-EDA080522970@sweattechnologies.com> As far as I know this isn't supported yet. I think we would need a unicode variant of the answer dialog. I'm also trying to work out how to handle this on mergExt externals. I've got a tendency to go for just utf8 everything... but it may be that I will add an encoding parameter to everything... Cheers Monte On 02/03/2013, at 8:13 AM, Jim Little wrote: > > Hi All, > > We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. > > We've tried: > > 1. HTML-formatted strings outputs to

tags > 2. RTF-formatted strings outputs with tags > 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text > > Any suggestions on how to make this work? > > Thanks, > > Jim and Todd Little > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Fri Mar 1 16:45:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Mar 2013 08:45:59 +1100 Subject: about resolution independence... In-Reply-To: <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> Message-ID: <57B34496-77D3-4F4A-BEA2-3DDB520A603D@sweattechnologies.com> On 02/03/2013, at 8:27 AM, Ian Wood wrote: > Resolution Independence is perfectly attainable. Aspect Ratio Independence is a separate but related issue, and vastly more complicated... ;) I will have something open source shortly for this. Quite a bit of code may become redundant in it once the resolution independence stuff comes in but the layout manager I've designed specifically for mobile use cases works well so will continue to be useful. I'm just using for it's first app now and wanted to get that out the door before publishing. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From kee at kagi.com Fri Mar 1 19:17:00 2013 From: kee at kagi.com (kee nethery) Date: Fri, 1 Mar 2013 16:17:00 -0800 Subject: Unicode in Answer Dialog on iOS In-Reply-To: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> References: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> Message-ID: <21B86A62-95B5-4F52-9CE0-AFC77360F3FE@kagi.com> On Mar 1, 2013, at 1:13 PM, Jim Little wrote: > > Hi All, > > We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. > > We've tried: > > 1. HTML-formatted strings outputs to

tags > 2. RTF-formatted strings outputs with tags > 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text > > Any suggestions on how to make this work? Skip using the answer dialog and build your own. I create a fake dialog by having a full stack window transparent button that covers the entire card. On top of that I have the image of a dialog. In that I have fields and buttons. Until they deal with the fake dialog, the transparent button prevents them from interacting with anything else on the screen. It's a hack but it works. Kee Nethery From lc at pbh.on-rev.com Fri Mar 1 19:39:48 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 1 Mar 2013 16:39:48 -0800 Subject: Set the Finder icon of a stack? Message-ID: <0976E748-4A2B-49AB-8A67-A904222087C7@pbh.on-rev.com> Hi all, I wanted to set the Finder Icon of some stacks by script, I know I can do it easily in the Finder, but I wanted to automate the process within LC. After scanning the dictionary I thought this would be easy, however, the info provided is either out of date, inaccurate or just misleading, I suspect it's just out of date. Some quotes from the dictionary? icon Type: property Syntax: set the icon to {imageID | imageName} Platforms: Desktop, Server, Web and Mobile Summary: Specifies an image that is displayed in a button, or used as the desktop icon of a stack file or application. Examples: set the icon of this stack to kStackIcon set the icon to the myAppIcon of stack "Main Settings" Use the icon property to change a button's appearance, or to set the icon used for a stack or application in the OS X dock. Sadly none of this works for setting a stack icon as I would expect and I can't find a bug report on the RR QC pages, so if I'm not missing the point or doing something completely stupid I'll post it as a bug. Anyway, right now this is just for use on my own Mac, but I may use it in an app in the future, so next I looked for a shell script to do the same job, I thought that would be the next easiest option, but I've spent far too long now reading so much stuff from the myriad of pages returned by Google that I am so confused now and still haven't found an answer, so before spending more time trying to figure this out I thought it best to ask if anyone has a quick way to do this (from within LC)? I have figured out how to create an icns file from a png or jpeg, but I just can't figure out how to apply it to a stack. This should have been easy, but for some reason it's not proving to be, now it's just got me frustrated, so if I do get this to work I'll post the solution to RevOnline to save anyone else the same frustration. TIA Paul Mac OS X 10.7.5 LC 5.5.4 From matthias_livecode_150811 at m-r-d.de Fri Mar 1 19:48:36 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 2 Mar 2013 01:48:36 +0100 Subject: How to create graphics like the ones in Windows screensaver "mystify"? In-Reply-To: <1362131485335-4661622.post@n4.nabble.com> References: <03E9A5A0-ECE1-4AF1-8FE8-F8DE88871E35@m-r-d.de> <1362131485335-4661622.post@n4.nabble.com> Message-ID: <9580E33D-5CD0-4410-895E-509682A9F15A@m-r-d.de> Thank you to both of you. Regards, Matthias Am 01.03.2013 um 10:51 schrieb Alejandro Tejada : > Hi Matthias, > > > Matthias Rebbe-2 wrote >> I need to create and manipulate that curves by program. I do not need to >> do animation. Just manipulate the curves by changing values. >> Is there anyone who could put me into the right direction? > > Check if this stack could help: > http://andregarzia.on-rev.com/alejandro/stacks/ScreenArtv2.zip > > Here are some samples: > http://andregarzia.on-rev.com/alejandro/stacks/SVGfiles.zip > > Besides Jim Hurley's stack, I remember that Xavier Bury published > a similar stack. > > Have a nice weekend! > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-create-graphics-like-the-ones-in-Windows-screensaver-mystify-tp4661316p4661622.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 -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From lan.kc.macmail at gmail.com Fri Mar 1 22:27:34 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 2 Mar 2013 11:27:34 +0800 Subject: mySQL OLD_PASSWORD In-Reply-To: References: Message-ID: On Fri, Mar 1, 2013 at 11:57 PM, Ruslan Zasukhin < ruslan_zasukhin at valentina-db.com> wrote: > Most probably this is issue of mySQL itself. > > Most probably can be googled info how convert existed users into new format > So my question remains. The reason I'm not using the new format is because back when I upgraded mySQL Rev could not handle the new password format. I'm speaking to mySQL with LiveCode. So I need to know if anyone knows if LiveCoded has been upgraded so it can handle new mySQL passwords, if it hasn't then I need to stick with old passwords. Although I access mySQL via LC I occassionally want to look at the raw tables. Currently I use Navicat, which has no problem with the old mySQL passwords. Now that Valentia Studio 5.0 is free I thought I'd use Studio instead. From monte at sweattechnologies.com Sat Mar 2 01:33:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Mar 2013 17:33:25 +1100 Subject: Unicode in Answer Dialog on iOS In-Reply-To: <21B86A62-95B5-4F52-9CE0-AFC77360F3FE@kagi.com> References: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> <21B86A62-95B5-4F52-9CE0-AFC77360F3FE@kagi.com> Message-ID: <8FA68D31-4C94-4856-BF4D-EBE32AEFE923@sweattechnologies.com> I use a similar technique for modal dialogs but I use black graphic with blendlevel about 80% to dim everything. The main annoyance is that you need to remember to keep the dimming layer and the the dialog groups above everything else in the ui. It would certainly be nice to have a multi-stack UI. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 02/03/2013, at 11:17 AM, kee nethery wrote: > > On Mar 1, 2013, at 1:13 PM, Jim Little wrote: > >> >> Hi All, >> >> We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. >> >> We've tried: >> >> 1. HTML-formatted strings outputs to

tags >> 2. RTF-formatted strings outputs with tags >> 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text >> >> Any suggestions on how to make this work? > > Skip using the answer dialog and build your own. > > I create a fake dialog by having a full stack window transparent button that covers the entire card. On top of that I have the image of a dialog. In that I have fields and buttons. Until they deal with the fake dialog, the transparent button prevents them from interacting with anything else on the screen. It's a hack but it works. > > Kee Nethery > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From littlejamesw at mac.com Sat Mar 2 01:41:26 2013 From: littlejamesw at mac.com (Jim Little) Date: Fri, 01 Mar 2013 22:41:26 -0800 Subject: Unicode in Answer Dialog on iOS In-Reply-To: <21B86A62-95B5-4F52-9CE0-AFC77360F3FE@kagi.com> References: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> <21B86A62-95B5-4F52-9CE0-AFC77360F3FE@kagi.com> Message-ID: <198FBBB0-7CDF-469B-A631-CDC8D513A1D3@mac.com> Thanks, Kee and Monte. We'll try a fake dialog. Jim & Todd On Mar 1, 2013, at 4:17 PM, kee nethery wrote: > > On Mar 1, 2013, at 1:13 PM, Jim Little wrote: > >> >> Hi All, >> >> We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. >> >> We've tried: >> >> 1. HTML-formatted strings outputs to

tags >> 2. RTF-formatted strings outputs with tags >> 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text >> >> Any suggestions on how to make this work? > > Skip using the answer dialog and build your own. > > I create a fake dialog by having a full stack window transparent button that covers the entire card. On top of that I have the image of a dialog. In that I have fields and buttons. Until they deal with the fake dialog, the transparent button prevents them from interacting with anything else on the screen. It's a hack but it works. > > Kee Nethery From richmondmathewson at gmail.com Sat Mar 2 02:09:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Mar 2013 09:09:31 +0200 Subject: about resolution independence... In-Reply-To: <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> Message-ID: <5131A5AB.6010207@gmail.com> On 03/01/2013 10:46 PM, Colin Holgate wrote: > In part I was saying that with Flash I do have resolution independence, and that if the Flash team can do it, then the LiveCode team should be able to. 'Can' is one word; a development team the size of Adobe's versus . . . is quite another. I wonder. > > > On Mar 1, 2013, at 3:23 PM, Richmond wrote: > >>> Resolution Independence is another unattainable goal > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 2 02:10:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Mar 2013 09:10:42 +0200 Subject: about resolution independence... In-Reply-To: <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> Message-ID: <5131A5F2.1010300@gmail.com> On 03/01/2013 11:27 PM, Ian Wood wrote: > Resolution Independence is perfectly attainable. Aspect Ratio Independence is a separate but related issue, and vastly more complicated... ;) That is where I went wrong with my remark: not differentiating the two. > > Ian > > On 1 Mar 2013, at 20:46, Colin Holgate wrote: > >> In part I was saying that with Flash I do have resolution independence, and that if the Flash team can do it, then the LiveCode team should be able to. >> >> >> On Mar 1, 2013, at 3:23 PM, Richmond wrote: >> >>>> Resolution Independence is another unattainable goal >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 2 02:12:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Mar 2013 09:12:23 +0200 Subject: Unicode in Answer Dialog on iOS In-Reply-To: <747080BC-F78C-453C-A44C-EDA080522970@sweattechnologies.com> References: <49B97B8A-B46A-4F9E-974D-00F93A6ED937@mac.com> <747080BC-F78C-453C-A44C-EDA080522970@sweattechnologies.com> Message-ID: <5131A657.5030109@gmail.com> On 03/01/2013 11:40 PM, Monte Goulding wrote: > As far as I know this isn't supported yet. I think we would need a unicode variant of the answer dialog. I'm also trying to work out how to handle this on mergExt externals. I've got a tendency to go for just utf8 everything... but it may be that I will add an encoding parameter to everything... > > Cheers > > Monte Make your buttons up the way you want them; export them as PNG images, and reimport them; or, make up faux buttons with Japanese text elsewhere (GIMP, Photoshop ?) and import them. > > On 02/03/2013, at 8:13 AM, Jim Little wrote: > >> Hi All, >> >> We're trying to localize an iOS app for Japanese. We're stuck with trying to use unicode in Answer dialogues on iOS. >> >> We've tried: >> >> 1. HTML-formatted strings outputs to

tags >> 2. RTF-formatted strings outputs with tags >> 3. All sorts of combinations of unicode-text and unidecode() outputs as garbled text >> >> Any suggestions on how to make this work? >> >> Thanks, >> >> Jim and Todd Little >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at harryscollar.com Sat Mar 2 03:23:10 2013 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 02 Mar 2013 18:23:10 +1000 Subject: Campaign success stories Message-ID: <5131B6EE.9090807@harryscollar.com> Here's one.. http://www.h-online.com/open/news/item/LiveCode-Kickstarter-campaign-successful-1814435.html regards alex From david at vaudevillecourt.tv Sat Mar 2 08:31:52 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 2 Mar 2013 13:31:52 +0000 Subject: Android Droid fonts - here is the download link Message-ID: Found this - may be useful to some. Free ttf fonts to download - they are the ones that show up pre-installed in your Android stacks once deployed - so now you can use them in your development environment: - http://damieng.com/blog/2007/11/14/droid-font-family-courtesy-of-google-ascender And if anyone knows the answer to the font question below :) On 1 March 2013 17:00, David Bovill wrote: > Thanks it does - just wandering what the relationship between the results > returned by the fontstyle function (ie "bold-italic") are and the textstyle > notation - is this a general thing? > From jimschaubeck at yahoo.com Sat Mar 2 10:00:16 2013 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sat, 2 Mar 2013 07:00:16 -0800 (PST) Subject: Substack tracking main stack and staying at top level Message-ID: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> Livecode friends, I would like to have a substack open and stay in a certain area of the main stack. ?Also, if the main stack is clicked, the substack stays at top level. ?Can someone please advise as to how I can do this? I can do this with groups but too many groups gets a bit challenging to manage. Thank you much! ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 From irog at mac.com Sat Mar 2 10:08:41 2013 From: irog at mac.com (Roger Guay) Date: Sat, 02 Mar 2013 08:08:41 -0700 Subject: Substack tracking main stack and staying at top level In-Reply-To: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> Message-ID: <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> Hi Jim, Just check the "Float above evertyhing" in the stack properties of the substack. Roger On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > Livecode friends, > I would like to have a substack open and stay in a certain area of the main stack. Also, if the main stack is clicked, the substack stays at top level. Can someone please advise as to how I can do this? > > I can do this with groups but too many groups gets a bit challenging to manage. > > Thank you much! > > ______________________________________________________________________________________________ > > jim schaubeck jimschaubeck at yahoo.com/ 714.321.4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Sat Mar 2 10:15:30 2013 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sat, 2 Mar 2013 07:15:30 -0800 (PST) Subject: Substack tracking main stack and staying at top level In-Reply-To: <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> Message-ID: <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> Thank you Roger! ?That works to easily keep the substack on top! How to I have the substack "track" the main stack when the main stack is dragged somewhere else on the screen? ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: Roger Guay To: How to use LiveCode Sent: Saturday, March 2, 2013 7:08 AM Subject: Re: Substack tracking main stack and staying at top level Hi Jim, Just check the "Float above evertyhing" in the stack properties of the substack. Roger On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > Livecode friends, > I would like to have a substack open and stay in a certain area of the main stack.? Also, if the main stack is clicked, the substack stays at top level.? Can someone please advise as to how I can do this? > > I can do this with groups but too many groups gets a bit challenging to manage. > > Thank you much! >? > ______________________________________________________________________________________________ > >? jim schaubeck? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? jimschaubeck at yahoo.com/ 714.321.4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 2 10:28:04 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 2 Mar 2013 08:28:04 -0700 Subject: Substack tracking main stack and staying at top level In-Reply-To: <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> Message-ID: After setting up a big stack and a smaller stack I put the following into the card of the stack that will stay in the background. *on* movestack *lock* screen *set* the bottomleft of stack "overlaystack" to the globalloc of the bottomleft of this card *unlock* screen *end* movestack globalloc will change relative coordinates to global (screen) coordinates so the bottomleft of this card gives a screen loc that the overlay stack is set to. Basically keeps the overlay stack at the bottom left corner of the background stack. (lock screen makes a slight difference in how "clean" things look while you're dragging, but isn't really necessary.) On Sat, Mar 2, 2013 at 8:15 AM, Jim Schaubeck wrote: > Thank you Roger! That works to easily keep the substack on top! > > How to I have the substack "track" the main stack when the main stack is > dragged somewhere else on the screen? > > > > ______________________________________________________________________________________________ > > jim schaubeck > jimschaubeck at yahoo.com/ 714.321.4499 > > > ________________________________ > From: Roger Guay > To: How to use LiveCode > Sent: Saturday, March 2, 2013 7:08 AM > Subject: Re: Substack tracking main stack and staying at top level > > Hi Jim, > > Just check the "Float above evertyhing" in the stack properties of the > substack. > > Roger > > On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > > > Livecode friends, > > I would like to have a substack open and stay in a certain area of the > main stack. Also, if the main stack is clicked, the substack stays at top > level. Can someone please advise as to how I can do this? > > > > I can do this with groups but too many groups gets a bit challenging to > manage. > > > > Thank you much! > > > > > ______________________________________________________________________________________________ > > > > jim schaubeck > jimschaubeck at yahoo.com/ 714.321.4499 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimschaubeck at yahoo.com Sat Mar 2 10:29:47 2013 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sat, 2 Mar 2013 07:29:47 -0800 (PST) Subject: Substack tracking main stack and staying at top level In-Reply-To: <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> Message-ID: <1362238187.96104.YahooMailNeo@web162306.mail.bf1.yahoo.com> Figured it out and feel dumb...I used moveStack from the main stack to set the loc of the substack Thanks Roger for pointing out the Float Above Everything tip ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: Jim Schaubeck To: How to use LiveCode Sent: Saturday, March 2, 2013 7:15 AM Subject: Re: Substack tracking main stack and staying at top level Thank you Roger! ?That works to easily keep the substack on top! How to I have the substack "track" the main stack when the main stack is dragged somewhere else on the screen? ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: Roger Guay To: How to use LiveCode Sent: Saturday, March 2, 2013 7:08 AM Subject: Re: Substack tracking main stack and staying at top level Hi Jim, Just check the "Float above evertyhing" in the stack properties of the substack. Roger On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > Livecode friends, > I would like to have a substack open and stay in a certain area of the main stack.? Also, if the main stack is clicked, the substack stays at top level.? Can someone please advise as to how I can do this? > > I can do this with groups but too many groups gets a bit challenging to manage. > > Thank you much! >? > ______________________________________________________________________________________________ > >?? jim schaubeck? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? jimschaubeck at yahoo.com/ 714.321.4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at 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 Sat Mar 2 10:29:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 2 Mar 2013 10:29:54 -0500 Subject: Campaign success stories In-Reply-To: <5131B6EE.9090807@harryscollar.com> References: <5131B6EE.9090807@harryscollar.com> Message-ID: I wonder what the criteria is for being published on Flipboard's default technology pages. I know you can customize the feeds, but I think more people would see an article if delivered in the default configuration. I love to read with Flipboard. It puts online news back into a newspaper. https://play.google.com/store/apps/details?id=flipboard.app ~Roger Sent from my Pipo M2 On Mar 2, 2013 3:23 AM, "Alex Shaw" wrote: > Here's one.. > > http://www.h-online.com/open/**news/item/LiveCode-**Kickstarter-campaign-* > *successful-1814435.html > > regards > alex > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From irog at mac.com Sat Mar 2 10:31:39 2013 From: irog at mac.com (Roger Guay) Date: Sat, 02 Mar 2013 08:31:39 -0700 Subject: Substack tracking main stack and staying at top level In-Reply-To: <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> Message-ID: Look up moveStack in the dictionary. Use this handler in the stack script of your main stack. You'll have to play around with the parameters to exactly center your subStack. Let me know if you need help with that. Roger On Mar 2, 2013, at 8:15 AM, Jim Schaubeck wrote: > Thank you Roger! That works to easily keep the substack on top! > > How to I have the substack "track" the main stack when the main stack is dragged somewhere else on the screen? > > > ______________________________________________________________________________________________ > > jim schaubeck jimschaubeck at yahoo.com/ 714.321.4499 > > > ________________________________ > From: Roger Guay > To: How to use LiveCode > Sent: Saturday, March 2, 2013 7:08 AM > Subject: Re: Substack tracking main stack and staying at top level > > Hi Jim, > > Just check the "Float above evertyhing" in the stack properties of the substack. > > Roger > > On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > >> Livecode friends, >> I would like to have a substack open and stay in a certain area of the main stack. Also, if the main stack is clicked, the substack stays at top level. Can someone please advise as to how I can do this? >> >> I can do this with groups but too many groups gets a bit challenging to manage. >> >> Thank you much! >> >> ______________________________________________________________________________________________ >> >> jim schaubeck jimschaubeck at yahoo.com/ 714.321.4499 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Sat Mar 2 13:48:21 2013 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Sat, 2 Mar 2013 10:48:21 -0800 (PST) Subject: Substack tracking main stack and staying at top level In-Reply-To: References: <1362236416.94225.YahooMailNeo@web162306.mail.bf1.yahoo.com> <8C78A1A0-1B4A-49A7-9835-8681C09366B2@mac.com> <1362237330.6480.YahooMailNeo@web162301.mail.bf1.yahoo.com> Message-ID: <1362250101.12963.YahooMailNeo@web162305.mail.bf1.yahoo.com> Thank you Mike and Roger! ?That did the trick! ? ______________________________________________________________________________________________ ??jim schaubeck?????????????????????????????????????? jimschaubeck at yahoo.com/?714.321.4499 ________________________________ From: Mike Bonner To: How to use LiveCode Sent: Saturday, March 2, 2013 7:28 AM Subject: Re: Substack tracking main stack and staying at top level After setting up a big stack and a smaller stack I put the following into the card of the stack that will stay in the background. *on* movestack ? *lock* screen ? *set* the bottomleft of stack "overlaystack" to the globalloc of the bottomleft of this card ? *unlock* screen *end* movestack globalloc will change relative coordinates to global (screen) coordinates so the bottomleft of this card gives a screen loc that the overlay stack is set to. Basically keeps the overlay stack at the bottom left corner of the background stack. (lock screen makes a slight difference in how "clean" things look while you're dragging, but isn't really necessary.) On Sat, Mar 2, 2013 at 8:15 AM, Jim Schaubeck wrote: > Thank you Roger!? That works to easily keep the substack on top! > > How to I have the substack "track" the main stack when the main stack is > dragged somewhere else on the screen? > > > > ______________________________________________________________________________________________ > >? jim schaubeck > jimschaubeck at yahoo.com/ 714.321.4499 > > > ________________________________ >? From: Roger Guay > To: How to use LiveCode > Sent: Saturday, March 2, 2013 7:08 AM > Subject: Re: Substack tracking main stack and staying at top level > > Hi Jim, > > Just check the "Float above evertyhing" in the stack properties of the > substack. > > Roger > > On Mar 2, 2013, at 8:00 AM, Jim Schaubeck wrote: > > > Livecode friends, > > I would like to have a substack open and stay in a certain area of the > main stack.? Also, if the main stack is clicked, the substack stays at top > level.? Can someone please advise as to how I can do this? > > > > I can do this with groups but too many groups gets a bit challenging to > manage. > > > > Thank you much! > > > > > ______________________________________________________________________________________________ > > > >? jim schaubeck > jimschaubeck at yahoo.com/ 714.321.4499 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Mar 2 14:25:42 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Mar 2013 11:25:42 -0800 Subject: revOnline updates to libUndo and libSOAP Message-ID: <4565018015.20130302112542@ahsoftware.net> All- Now that the Kickstarter excitement has settled down a bit and the server maintenance has finished, I had the chance to post some updates to a couple of library stacks on revOnline. libUndo: substack for unlimited undo/redo functionality libUndo had a problem with the Redo function when I extracted it from the glx2 script editor stack. Thanks to Paul Hibbert for finding this. libSOAP: web services substack libSOAP can now generate functions to call web services using either a local or web-based wsdl document. It can now work with more diverse types of xml encoding in wsdl files as well. -- -Mark Wieder mwieder at ahsoftware.net From gandalf at doctorTimothyMiller.com Sat Mar 2 14:29:31 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 2 Mar 2013 11:29:31 -0800 Subject: Two Windows Message-ID: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> Hello, When working on a long and complex document with a word processor, I sometimes find it useful to display the same document in two windows, simultaneously. I can cut and paste from one window to the other, or read one part of the document while typing in another, and so on. Now I have this large LC stack, mostly text, with about 2000 cards. It might be convenient to have two windows open, both displaying the same stack, so I could read one card, while typing in another, or cut from one card and paste into another without navigating back and forth in the usual way. I suppose there is a way to do this. Can I have a hint, please? Tim Miller P.S. I, too, am delighted about the Kickstarter success, and did what I could to help it along. From index at kenjikojima.com Sat Mar 2 14:42:02 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sat, 2 Mar 2013 14:42:02 -0500 Subject: On-Rev tool updated Message-ID: Hi, Does anybody know the On-Rev tool updated? I cannot use the On-Rev tool since I changed from odin.on-rev to tio.on-rev last December. Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From dunbarx at aol.com Sat Mar 2 14:55:12 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 2 Mar 2013 14:55:12 -0500 (EST) Subject: Two Windows In-Reply-To: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> Message-ID: <8CFE596FBD5CE39-CE8-BE6D3@webmail-m036.sysops.aol.com> Hi. Why not just make a copy of the file? You will want to name the stack itself differently. Craig Newman -----Original Message----- From: Timothy Miller To: How to use LiveCode Sent: Sat, Mar 2, 2013 2:30 pm Subject: Two Windows Hello, When working on a long and complex document with a word processor, I sometimes find it useful to display the same document in two windows, simultaneously. I can cut and paste from one window to the other, or read one part of the document while typing in another, and so on. Now I have this large LC stack, mostly text, with about 2000 cards. It might be convenient to have two windows open, both displaying the same stack, so I could read one card, while typing in another, or cut from one card and paste into another without navigating back and forth in the usual way. I suppose there is a way to do this. Can I have a hint, please? Tim Miller P.S. I, too, am delighted about the Kickstarter success, and did what I could to help it along. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Sat Mar 2 15:02:06 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 2 Mar 2013 22:02:06 +0200 Subject: Layering Mobile Controls Message-ID: <196C6F00866546B587C5F3D81536FEFB@gmail.com> Hi all, Is there any workaround to use two different mobile controls whose "rect" properties are same? Here is the case: I have three fullscreen browser controls {created by *mobileControlCreate "browser"* command}, the left and right controls are outside of the screen {something like this: http://cloud.keehuna.com/image/3c0i0z0t2F1E} And I want to switch between them via a native scroller {created by *mobileControlCreate "scroller"* command}, my code is something like this: on scrollerDidScroll pX, pY __switch mobileControlTarget() ____case "theScroller" ________/* you should reverse the direction and get rid of static values */ ______put (pX - 960) & comma & 40 & comma & (pX - 480) & comma & 280 into tRectL ______put (pX - 480) & comma & 40 & comma & pX & comma & 280 into tRectC ______put pX & comma & 40 & comma & (pX + 480) & comma & 280 into tRectR _ ______set the text of field "scrollValues" to pX & " - " & pY & return & tRectL && tRectC && tRectR _ ______mobileControlSet "theBrowserL", "rect", tRectL ______mobileControlSet "theBrowserC", "rect", tRectC ______mobileControlSet "theBrowserR", "rect", tRectR ______break __end switch end scrollerDidScroll Well, of course it doesn't work because the browser control is blocking the scroller control. The touch events can't pass through the browser and reach to the scroller. I can always squeeze the browser control's height and leave some space at the bottom to the scroller. But it's a very bad design both from a visual and functional perspective. Another method is not to use the scroller control and inject jqueryMobile and an appropriate swipe command into the html file via script. But this method works only on local html files not with online webpages. Any insights & thoughts about this? Best, ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From richmondmathewson at gmail.com Sat Mar 2 16:04:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Mar 2013 23:04:20 +0200 Subject: Sauce Bottle Message-ID: <51326954.1000200@gmail.com> Is there any word as to what the Open Source version of Livecode will be called? Richmond. From sc at sahores-conseil.com Sat Mar 2 16:39:22 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 2 Mar 2013 22:39:22 +0100 Subject: Layering Mobile Controls In-Reply-To: <196C6F00866546B587C5F3D81536FEFB@gmail.com> References: <196C6F00866546B587C5F3D81536FEFB@gmail.com> Message-ID: <1E0F4A74-A62F-489E-B2C5-8357D9C6A5F7@sahores-conseil.com> Hi Ender Nafi, Use one browser object only and to refresh it with one of the different contents to be displayed alternatively, put and adapt this JS script at the bottom of your html source code : > and use the pseudo-files "prev.html" and "next.html" (both empty files) as callback's entry points to your livecode switch contents dedicated scripting : against the iOS platform : > on browserLoadRequested pUrl, pType > if the platform is "iPhone" then > if "/cache/prev.html" is in pURL > then goPrevGaleryScreen > else if "/cache/next.html" is in pURL > then goNextGaleryScreen > end if > end browserLoadRequested against the Android platform : > on browserStartedLoading pUrl > if "/cache/prev.html" is in pURL and the platform is "android" then > goPrevGaleryScreen > else if "/cache/next.html" is in pURL and the platform is "android" then > goNextGaleryScreen > end browserStartedLoading HTH, Pierre Le 2 mars 2013 ? 21:02, Ender Nafi Elek?io?lu a ?crit : > Hi all, > > > Is there any workaround to use two different mobile controls whose "rect" properties are same? > Here is the case: > I have three fullscreen browser controls {created by *mobileControlCreate "browser"* command}, > the left and right controls are outside of the screen {something like this: http://cloud.keehuna.com/image/3c0i0z0t2F1E} > > And I want to switch between them via a native scroller {created by *mobileControlCreate "scroller"* command}, > my code is something like this: > > on scrollerDidScroll pX, pY > __switch mobileControlTarget() > ____case "theScroller" > ________/* you should reverse the direction and get rid of static values */ > ______put (pX - 960) & comma & 40 & comma & (pX - 480) & comma & 280 into tRectL > ______put (pX - 480) & comma & 40 & comma & pX & comma & 280 into tRectC > ______put pX & comma & 40 & comma & (pX + 480) & comma & 280 into tRectR > _ > ______set the text of field "scrollValues" to pX & " - " & pY & return & tRectL && tRectC && tRectR > _ > ______mobileControlSet "theBrowserL", "rect", tRectL > ______mobileControlSet "theBrowserC", "rect", tRectC > ______mobileControlSet "theBrowserR", "rect", tRectR > ______break > __end switch > end scrollerDidScroll > > > > Well, of course it doesn't work because the browser control is blocking the scroller control. > The touch events can't pass through the browser and reach to the scroller. > > I can always squeeze the browser control's height and leave some space at the bottom to the scroller. > But it's a very bad design both from a visual and functional perspective. > > Another method is not to use the scroller control > and inject jqueryMobile and an appropriate swipe command into the html file via script. > But this method works only on local html files not with online webpages. > > > Any insights & thoughts about this? > > > Best, > > ~ Ender Nafi > > > > ~ ? Keehuna Studio > ~ ? Sorcerers of Design > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Sat Mar 2 18:33:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Mar 2013 17:33:20 -0600 Subject: Set the Finder icon of a stack? In-Reply-To: <0976E748-4A2B-49AB-8A67-A904222087C7@pbh.on-rev.com> References: <0976E748-4A2B-49AB-8A67-A904222087C7@pbh.on-rev.com> Message-ID: <51328C40.6010304@hyperactivesw.com> On 3/1/13 6:39 PM, Paul Hibbert wrote: > Some quotes from the dictionary? > > icon > Type: property > Syntax: > set the icon to {imageID | imageName} > Platforms: Desktop, Server, Web and Mobile > Summary: > Specifies an image that is displayed in a button, or used as the desktop icon of a stack file or application. > Examples: > set the icon of this stack to kStackIcon > set the icon to the myAppIcon of stack "Main Settings" > Use the icon property to change a button's appearance, or to set the icon used for a stack or application in the OS X dock. > > Sadly none of this works for setting a stack icon as I would expect > and I can't find a bug report on the RR QC pages, so if I'm not missing > the point or doing something completely stupid I'll post it as a bug. It works, but as it says, it only sets the dock icon. It isn't intended to change the icon of the application itself. To do that, you need to replace the icns file inside the app bundle, and then use the shell "touch" command to update the Finder database. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sat Mar 2 18:36:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 3 Mar 2013 10:36:51 +1100 Subject: Sauce Bottle In-Reply-To: <51326954.1000200@gmail.com> References: <51326954.1000200@gmail.com> Message-ID: <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> LiveCode I imagine -- M E R Goulding Software development services mergExt - There's an external for that! On 03/03/2013, at 8:04 AM, Richmond wrote: > Is there any word as to what the Open Source version of Livecode will be called? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 2 18:37:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Mar 2013 17:37:30 -0600 Subject: Android Droid fonts - here is the download link In-Reply-To: References: Message-ID: <51328D3A.8020706@hyperactivesw.com> On 3/2/13 7:31 AM, David Bovill wrote: > And if anyone knows the answer to the font question below :) > > On 1 March 2013 17:00, David Bovill wrote: > >> Thanks it does - just wandering what the relationship between the results >> returned by the fontstyle function (ie "bold-italic") are and the textstyle >> notation - is this a general thing? >> The fontstyle reports the text styling you've applied to a range of characters in a field. The textstyle is the available style variations that exist in a font family. Textstyles may be artificially applied. For example, if the font family does not include an italic version of the font, setting the textstyle of a character will artificially italicize it by redrawing it at a slant. That is often not as clean as using the italic version of the font itself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Mar 2 18:59:51 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 2 Mar 2013 15:59:51 -0800 Subject: Two Windows In-Reply-To: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> Message-ID: one can create a copy of Livecode and run each version (name it Livecode B or something) in a different space, yet cut and paste between. No name space conflicts this way! On Sat, Mar 2, 2013 at 11:29 AM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > Hello, > > When working on a long and complex document with a word processor, I > sometimes find it useful to display the same document in two windows, > simultaneously. I can cut and paste from one window to the other, or read > one part of the document while typing in another, and so on. > > Now I have this large LC stack, mostly text, with about 2000 cards. It > might be convenient to have two windows open, both displaying the same > stack, so I could read one card, while typing in another, or cut from one > card and paste into another without navigating back and forth in the usual > way. > > I suppose there is a way to do this. Can I have a hint, please? > > Tim Miller > > P.S. I, too, am delighted about the Kickstarter success, and did what I > could to help it along. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mar 2 19:19:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Mar 2013 18:19:48 -0600 Subject: Two Windows In-Reply-To: References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> Message-ID: <51329724.6060608@hyperactivesw.com> On 3/2/13 5:59 PM, stephen barncard wrote: > one can create a copy of Livecode and run each version (name it Livecode B > or something) in a different space, yet cut and paste between. No name > space conflicts this way! I do that all the time, only my second copy is using the MetaCard IDE. I keep both open routinely. It works fine. Sometimes I also have LiveCode 5.0.2 running for legacy reasons. And if I'm trying out the latest pre-release, sometimes I have four copies of the engine running. It can get iffy if you get them confused. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Sat Mar 2 19:22:39 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 2 Mar 2013 19:22:39 -0500 Subject: Sauce Bottle In-Reply-To: <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> Message-ID: In what way does the "I imagine" differentiate it from the regular LiveCode? Is it because the open source version doesn't exist yet, so you can only imagine it? ;-D Do we also refer to it as LCIi? ~Roger On Mar 2, 2013 6:37 PM, "Monte Goulding" wrote: > LiveCode I imagine > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 03/03/2013, at 8:04 AM, Richmond wrote: > > > Is there any word as to what the Open Source version of Livecode will be > called? > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sergey_pashkov at valentina-db.com Sat Mar 2 04:11:40 2013 From: sergey_pashkov at valentina-db.com (Sergey Pashkov) Date: Sat, 2 Mar 2013 11:11:40 +0200 Subject: mySQL OLD_PASSWORD In-Reply-To: References: Message-ID: Hello, Kay, > So my question remains. The reason I'm not using the new format is because back when I upgraded mySQL Rev could not handle the new password format. I'm speaking to mySQL with LiveCode. So I need to know if anyone knows if LiveCoded has been upgraded so it can handle new mySQL passwords, if it hasn't then I need to stick with old passwords. > > Although I access mySQL via LC I occassionally want to look at the raw tables. Currently I use Navicat, which has no problem with the old mySQL passwords. Now that Valentia Studio 5.0 is free I thought I'd use Studio instead. mySQL is able to support both new password and old password formats at once, but for different users. To use it, it is required to switch mySQL to generate new passwords by default, turn off or remove server option "old-passwords" in [mysqld] section of my.cnf: old-passwords=0 This option doesn't change anything for existing users, it affects only new or changed users, in other words, users with old password format will connect without any problem. Now you can create a new user, and PASSWORD function will generate password in a new schema, Valentina Studio will connect to the mySQL. To support older client (which is used by LiveCode, for example), we can generate passwords in an old style, but only for specific users: SET PASSWORD FOR 'livecode_user'@'some_host' = OLD_PASSWORD('newpwd'); Hashes in an old format have 16 bytes, in a new one - 41. It is easy to check, which format is used: SELECT Host, User, Password FROM mysql.user WHERE LENGTH(Password) = 16 Refer to original documentation for details, please: https://dev.mysql.com/doc/refman/5.5/en/old-client.html https://dev.mysql.com/doc/refman/5.5/en/password-hashing.html Best regards, Sergey Pashkov _______________________________________________ Valentina mailing list Valentina at lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina From mwieder at ahsoftware.net Sat Mar 2 19:43:01 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Mar 2013 16:43:01 -0800 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> Message-ID: <4884057453.20130302164301@ahsoftware.net> Roger- Saturday, March 2, 2013, 4:22:39 PM, you wrote: > In what way does the "I imagine" differentiate it from the regular > LiveCode? Is it because the open source version doesn't exist yet, so you > can only imagine it? ;-D > Do we also refer to it as LCIi? No, I think the plural is LCWei of LCUsi. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Mar 2 20:00:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Mar 2013 17:00:09 -0800 Subject: On-Rev tool updated In-Reply-To: References: Message-ID: <1185085234.20130302170009@ahsoftware.net> Kenji- Saturday, March 2, 2013, 11:42:02 AM, you wrote: > Does anybody know the On-Rev tool updated? > I cannot use the On-Rev tool since I changed from odin.on-rev to tio.on-rev last December. Hasn't been updated in years. Just as buggy as ever. Is there something you need to do with it that you can't do with better tools? -- -Mark Wieder mwieder at ahsoftware.net From index at kenjikojima.com Sat Mar 2 20:37:58 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sat, 2 Mar 2013 20:37:58 -0500 Subject: On-Rev tool updated In-Reply-To: <1185085234.20130302170009@ahsoftware.net> References: <1185085234.20130302170009@ahsoftware.net> Message-ID: <9576CE1F-86D3-42B5-B6CB-A8DB5B3F1681@kenjikojima.com> Mark, Now I am using TextWrangler and Cyberduck. But they are very inconvenient. My update request was only adding one ftp on-rev server address. If I cannot have an updated tool, I wish my server returns to odin.on-rev. I mailed it to on-rev support and received a reply at January 18th that was "I've been looking into getting the On-Rev tool updated to work with the new server, and will let you know when I have more information." Best regards, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Mar 2, 2013, at 8:00 PM, Mark Wieder wrote: > Kenji- > > Saturday, March 2, 2013, 11:42:02 AM, you wrote: > >> Does anybody know the On-Rev tool updated? >> I cannot use the On-Rev tool since I changed from odin.on-rev to tio.on-rev last December. > > Hasn't been updated in years. Just as buggy as ever. > Is there something you need to do with it that you can't do with > better tools? > > -- > -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 lc at pbh.on-rev.com Sat Mar 2 21:25:30 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sat, 2 Mar 2013 18:25:30 -0800 Subject: Set the Finder icon of a stack? In-Reply-To: <51328C40.6010304@hyperactivesw.com> References: <0976E748-4A2B-49AB-8A67-A904222087C7@pbh.on-rev.com> <51328C40.6010304@hyperactivesw.com> Message-ID: <0BE40ED5-7697-4F64-8277-ABF92D719201@pbh.on-rev.com> Thank you for your reply Jacque. I spent some more time playing with this and eventually realised it only affects the Dock Icon. I think the dictionary is a little misleading, the summary states; "or used as the desktop icon of a stack file or application", so I read desktop icon = finder icon, sadly not, desktop icon = dock icon only. Seems odd that something that is so easy to do in the Finder is such a pain to do by script. Paul On 2013-03-02, at 3:33 PM, J. Landman Gay wrote: > On 3/1/13 6:39 PM, Paul Hibbert wrote: > >> Some quotes from the dictionary? >> >> icon >> Type: property >> Syntax: >> set the icon to {imageID | imageName} >> Platforms: Desktop, Server, Web and Mobile >> Summary: >> Specifies an image that is displayed in a button, or used as the desktop icon of a stack file or application. >> Examples: >> set the icon of this stack to kStackIcon >> set the icon to the myAppIcon of stack "Main Settings" >> Use the icon property to change a button's appearance, or to set the icon used for a stack or application in the OS X dock. >> >> Sadly none of this works for setting a stack icon as I would expect >> and I can't find a bug report on the RR QC pages, so if I'm not missing >> the point or doing something completely stupid I'll post it as a bug. > > It works, but as it says, it only sets the dock icon. It isn't intended to change the icon of the application itself. > > To do that, you need to replace the icns file inside the app bundle, and then use the shell "touch" command to update the Finder database. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Mar 2 22:13:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Mar 2013 19:13:20 -0800 Subject: using the internal postgres on OSX Message-ID: Is there *anything* out there that suggests how to use the internal postresql server on OSX? In particular, I want to configure it to use on the local network for my stack. sqlite just doesn't cut it when simultaneous access is possible . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 2 22:24:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Mar 2013 19:24:33 -0800 Subject: sharing menus among substacks Message-ID: Some time ago, I went through the hassle of making menus, and copying them between my substacks. Is there *any* way to simply have a single menu set that stays in sync among substacks, rather then needing to copy to every substack every time??? From jacque at hyperactivesw.com Sun Mar 3 01:02:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 00:02:13 -0600 Subject: Set the Finder icon of a stack? In-Reply-To: <0BE40ED5-7697-4F64-8277-ABF92D719201@pbh.on-rev.com> References: <0976E748-4A2B-49AB-8A67-A904222087C7@pbh.on-rev.com> <51328C40.6010304@hyperactivesw.com> <0BE40ED5-7697-4F64-8277-ABF92D719201@pbh.on-rev.com> Message-ID: <5132E765.8060103@hyperactivesw.com> On 3/2/13 8:25 PM, Paul Hibbert wrote: > I think the dictionary is a little misleading, the summary states; > "or used as the desktop icon of a stack file or application", so I > read desktop icon = finder icon, sadly not, desktop icon = dock icon > only. You're right, it is. You could add a user note in the dictionary and save future generations some hair. Or file the bug report as a documentation error. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 3 01:03:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 00:03:42 -0600 Subject: sharing menus among substacks In-Reply-To: References: Message-ID: <5132E7BE.5060509@hyperactivesw.com> On 3/2/13 9:24 PM, Dr. Hawkins wrote: > Some time ago, I went through the hassle of making menus, and copying them > between my substacks. > > Is there *any* way to simply have a single menu set that stays in sync > among substacks, rather then needing to copy to every substack every time??? Set the defaultmenubar, at least on Mac. On Windows you're stuck, unless you provide a menubar stack like the IDE does. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 3 01:06:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 00:06:01 -0600 Subject: Keys of a custom property array Message-ID: <5132E849.2050409@hyperactivesw.com> If I store an array as a custom property, is there a way to get its keys without putting the whole thing into a variable first? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Mar 3 01:21:42 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 2 Mar 2013 20:21:42 -1000 Subject: sharing menus among substacks In-Reply-To: References: Message-ID: Probably the closest is to use a behavior. Set up a menu somewhere in your stack that includes all the scripts to handle its usage. Then set the behavior of of each of your menus to the ID of that button Pete lcSQL Software On Sat, Mar 2, 2013 at 5:24 PM, Dr. Hawkins wrote: > Some time ago, I went through the hassle of making menus, and copying them > between my substacks. > > Is there *any* way to simply have a single menu set that stays in sync > among substacks, rather then needing to copy to every substack every > time??? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Mar 3 01:26:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Mar 2013 22:26:25 -0800 Subject: Keys of a custom property array In-Reply-To: <5132E849.2050409@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> Message-ID: <37104661203.20130302222625@ahsoftware.net> Jacque- Saturday, March 2, 2013, 10:06:01 PM, you wrote: > If I store an array as a custom property, is there a way to get its keys > without putting the whole thing into a variable first? Sure, but it's roundabout and I can't guarantee that the engine doesn't end up doing that anyway. set the custompropertyset of to put the customproperties of into keyList set the custompropertyset of to empty -- -Mark Wieder mwieder at ahsoftware.net From gandalf at doctorTimothyMiller.com Sun Mar 3 01:28:43 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 2 Mar 2013 22:28:43 -0800 Subject: Two Windows In-Reply-To: <51329724.6060608@hyperactivesw.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> <51329724.6060608@hyperactivesw.com> Message-ID: <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> On Mar 2, 2013, at 4:19 PM, J. Landman Gay wrote: > On 3/2/13 5:59 PM, stephen barncard wrote: >> one can create a copy of Livecode and run each version (name it Livecode B >> or something) in a different space, yet cut and paste between. No name >> space conflicts this way! > > I do that all the time, only my second copy is using the MetaCard IDE. I keep both open routinely. It works fine. Sometimes I also have LiveCode 5.0.2 running for legacy reasons. And if I'm trying out the latest pre-release, sometimes I have four copies of the engine running. Thanks for all the suggestions. Sad to say, I'm lost now. (I'm moderately competent in my own occupation, believe it or not. Not this one..) Do you mean to say I can have the same stack open in two copies of LiveCode, resulting in two windows? Are two copies of the same version of LiveCode okay? This sounds wrong, but who am I to say? I assumed I would get a "file in use" error if I tried to open the same stack with a second copy of LiveCode. Let's say I go to card 10 in one window, go to card 20 in the other window. I cut some text from a field on card 10, bring the other window to the top, paste the text into a field on card 20? This will work? The cut stays cut, the paste stays pasted? No problems? I don't end up with two copies of the same stack? I'm not sure how I'd save, but I guess I could figure it out by trial and error. Have I understood correctly? Tim From dunbarx at aol.com Sun Mar 3 01:33:40 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Mar 2013 01:33:40 -0500 (EST) Subject: Keys of a custom property array In-Reply-To: <5132E849.2050409@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> Message-ID: <8CFE5F02D6DA7D6-CE8-C0349@webmail-m036.sysops.aol.com> Jacque. I tried this: on mouseUp repeat with y = 1 to 4 put y into myArray[y] end repeat set the testArray of me to myArray --try to get the keys directly get the keys of the testArray of me --throws an error combine the testArray of me using return --also throws an error --put into a variable first always works get the testArray of me get the keys of it --gets the keys end mouseUp This seems like a straightforward attack, and it is thwarted. Craig -----Original Message----- From: J. Landman Gay To: LiveCode Mailing List Sent: Sun, Mar 3, 2013 1:06 am Subject: Keys of a custom property array If I store an array as a custom property, is there a way to get its keys without putting the whole thing into a variable first? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 3 01:36:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 00:36:45 -0600 Subject: Keys of a custom property array In-Reply-To: <37104661203.20130302222625@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <37104661203.20130302222625@ahsoftware.net> Message-ID: <5132EF7D.5020105@hyperactivesw.com> On 3/3/13 12:26 AM, Mark Wieder wrote: > Jacque- > > Saturday, March 2, 2013, 10:06:01 PM, you wrote: > >> If I store an array as a custom property, is there a way to get its keys >> without putting the whole thing into a variable first? > > Sure, but it's roundabout and I can't guarantee that the engine > doesn't end up doing that anyway. > > set the custompropertyset of to > put the customproperties of into keyList > set the custompropertyset of to empty > In that case I think I'll just use a property set to begin with. I sort of figured I had to, but was wondering if there was some slick trick that hadn't occured to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Mar 3 01:37:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 2 Mar 2013 20:37:48 -1000 Subject: Keys of a custom property array In-Reply-To: <5132E849.2050409@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> Message-ID: Hi Jacque, I just tried: get the keys of (the uArray of button "xyz") ... and got the keys of uArray. Pete lcSQL Software On Sat, Mar 2, 2013 at 8:06 PM, J. Landman Gay wrote: > If I store an array as a custom property, is there a way to get its keys > without putting the whole thing into a variable first? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dunbarx at aol.com Sun Mar 3 01:51:28 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Mar 2013 01:51:28 -0500 (EST) Subject: Keys of a custom property array In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> Message-ID: <8CFE5F2AA465120-CE8-C03D2@webmail-m036.sysops.aol.com> And I thought I was going to be clever by trying: do "get the keys of the testArray of me" No dice, but Peter's way works fine. The question is: why? get the keys of (the uArray of button "xyz") --works get the keys of the uArray of button "xyz" --does not work All I (thought I) knew about helping the parser do its thing comes to nought here. Each seems perfectly and unambiguously formed... Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Sun, Mar 3, 2013 1:38 am Subject: Re: Keys of a custom property array Hi Jacque, I just tried: get the keys of (the uArray of button "xyz") ... and got the keys of uArray. Pete lcSQL Software On Sat, Mar 2, 2013 at 8:06 PM, J. Landman Gay wrote: > If I store an array as a custom property, is there a way to get its keys > without putting the whole thing into a variable first? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Sun Mar 3 02:14:52 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sun, 3 Mar 2013 09:14:52 +0200 Subject: Layering Mobile Controls In-Reply-To: References: <196C6F00866546B587C5F3D81536FEFB@gmail.com> <1E0F4A74-A62F-489E-B2C5-8357D9C6A5F7@sahores-conseil.com> Message-ID: <0A651766EAD94DA4941C2EA7337CFCCF@gmail.com> Thanks Pierre, Your code is excellent. But as I said, I'm trying to avoid to inject any code/script into the html files. It's too risky with online webpages. One has to save the page and resources first, then alter the html file, then set the url of browser to this saved & altered html file. It's easy to mess things up. By the way, a partial & not useful answer to my question: I figured out that actually you can layer the mobile controls. The one created lastly is the topmost control. So, I moved the *mobileControlCreate "scroller"* after the *mobileControlCreate "browser"*; now the touch events are being caught by the scroller. But, it's still blocking; thus, the user can't interact with the webpage. Any hints? Any workaround, you can think of, to pass the touch events to the bottom controls? Best, ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From richmondmathewson at gmail.com Sun Mar 3 03:35:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 10:35:43 +0200 Subject: [OT] "MacMini" 7-8 years later Message-ID: <51330B5F.60708@gmail.com> "Startlingly original": http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/next-unit-computing-introduction.html Notwithstanding; I want one! Richmond. From endernafi at gmail.com Sun Mar 3 03:48:36 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sun, 3 Mar 2013 10:48:36 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51330B5F.60708@gmail.com> References: <51330B5F.60708@gmail.com> Message-ID: <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> On Sunday, March 3, 2013 at 10:35 AM, Richmond wrote: > I want one! +1 In fact, I want one right now :) ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From richmondmathewson at gmail.com Sun Mar 3 03:46:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 10:46:00 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> Message-ID: <51330DC8.6030407@gmail.com> On 03/03/2013 10:48 AM, Ender Nafi Elek?io?lu wrote: > On Sunday, March 3, 2013 at 10:35 AM, Richmond wrote: > >> I want one! > +1 > > > In fact, I want one right now :) Something odd though; on the Bulgarian website they are being sold without RAM and without data storage cards . . . that could be a real pain; especially with the RAM. > > > ~ Ender Nafi > > > ~ ? Keehuna Studio > ~ ? Sorcerers of 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 endernafi at gmail.com Sun Mar 3 03:57:38 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sun, 3 Mar 2013 10:57:38 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51330DC8.6030407@gmail.com> References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> <51330DC8.6030407@gmail.com> Message-ID: There are some pre-installed packages around; Gigabyte's i7 version or Velocity's simpler model. http://www.velocitymicro.com/wizard.php?iid=239 Not so cheap with its $600 tag, but nearly ?th of mac mini {in size}. Looks promising? ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From richmondmathewson at gmail.com Sun Mar 3 04:00:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 11:00:05 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> <51330DC8.6030407@gmail.com> Message-ID: <51331115.4030001@gmail.com> On 03/03/2013 10:57 AM, Ender Nafi Elek?io?lu wrote: > There are some pre-installed packages around; > Gigabyte's i7 version or Velocity's simpler model. > http://www.velocitymicro.com/wizard.php?iid=239 > > Not so cheap with its $600 tag, but nearly ?th of mac mini {in size}. > Looks promising? > > > ~ Ender Nafi > > ~ ? Keehuna Studio > ~ ? Sorcerers of 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 The Bulgarian site is selling the units (without RAM and storage) for 335 Bulgarian leva = 190 Euros, which is very good indeed IFF one knows where to get one's hands on inexpensive RAM and mSATA storage. However, a quick look for mSATA on Amazon makes me think that 256 GB mSATA storage will cost about 190 Euros!!!! However, 32 GB goes for 40 pounds = 50 Euros, and that would be quite enough to run one's OS and one could store data in the sort of places I do (currently in an alarming array of external USB connected cases containing a load of ill-assorted old PATA drives). Needless to say, my data solution spoils the portativity aspect of the NUC. This makes me think of cheap inkjet printers: I bought an all-in-one, and my EFL school now spends twice the price of the thing on ink cartridges each month. Richmond. From endernafi at gmail.com Sun Mar 3 04:11:23 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sun, 3 Mar 2013 11:11:23 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51331115.4030001@gmail.com> References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> <51330DC8.6030407@gmail.com> <51331115.4030001@gmail.com> Message-ID: <06E498EFF46349F1B9A00B26BB430005@gmail.com> On Sunday, March 3, 2013 at 11:00 AM, Richmond wrote: > This makes me think of cheap inkjet printers: I bought an all-in-one, > and my EFL school now spends twice > the price of the thing on ink cartridges each month. :))) That's the ruthless trick of all printer manufacturers... ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From monte at sweattechnologies.com Sun Mar 3 04:11:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 3 Mar 2013 20:11:44 +1100 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> Message-ID: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> On 03/03/2013, at 11:22 AM, Roger Eller wrote: > Do we also refer to it as LCIi? I only said I imagine not all the rest y'all imagine.... Make up your own name for your own fork ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sun Mar 3 04:35:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 11:35:59 +0200 Subject: Sauce Bottle In-Reply-To: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: <5133197F.5030602@gmail.com> On 03/03/2013 11:11 AM, Monte Goulding wrote: > On 03/03/2013, at 11:22 AM, Roger Eller wrote: > >> Do we also refer to it as LCIi? Hey, I've got a Macintosh LC475 in my attic in Scotland; maybe the ghost of Steve will 'do' RunRev through the courts. > I only said I imagine not all the rest y'all imagine.... Make up your own name for your own fork ;-) That's going to make things 'forking' confusing. It will end up like names for Karate styles . . . The other thing that does occur to me is whether Monte's fork having some really fantastic features and Jacque's fork having some different fantastic features will cause me to have a nervous breakdown because I am unable to choose between them, or, like a shop with a really revolting name just round the corner here in Plovdiv, called "Accessorize", one can cherry pick from different 'forks', 'distros' (ha,ha,ha; now there's a word to conjure with) the features one most likes. Just for the sake of argument: my second PC is currently running Ubuntu 12.04 with the 'Pantheon' window manager and the 'Avant Window Manager' dock. That set up did not come out of one box, but got cobbled together by me. ---------------------------------- Perhaps the answer is going to depend on where the mods in each fork lie . . . Obviously if they lie in the GUI they can be swapped around, If they are in that mysterious collection of stacks staring with 'rev' they can be swapped around, albeit with less impunity that plain GUI ones, And mods to the engine????? Probably no chance of mixing-and-matching there. --------------------------------- Certainly if there really are going to be 108 forks (and forks of forks); Big fleas have little fleas, Upon their backs to bite 'em, And little fleas have lesser fleas, and so, ad infinitum. a coherent and comprehensible naming convention will have to be established, otherwise nobody will stand a chance. I don't think "Livecode Richmond out of Jacque out of Klaus out of Monte out of Edinburgh" is going to help much. "Adam begat CAIN who begat ENOCH who begat IRAD who begat MEHUJAEL who begat METHUSAEL who begat LAMECH" I remember asking my Primary school teacher what that all meant and she went bright red, because, poor dear, she hadn't a clue. Although I am the father of 2 boys (whoops, young men), I still don't understand how those Old Testament types did "it" with not a woman in sight . . . LOL. Probably the answer lies hidden in that unusual verb. > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! Probably not anymore - all those externals will get rolled into the 'stew'. And that is also a potential pitfall; so many ingredients in the stew that the whole thing is completely tasteless and just one great big, ugly mush. Richmond. From monte at sweattechnologies.com Sun Mar 3 05:17:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 3 Mar 2013 21:17:42 +1100 Subject: Sauce Bottle In-Reply-To: <5133197F.5030602@gmail.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133197F.5030602@gmail.com> Message-ID: On 03/03/2013, at 8:35 PM, Richmond wrote: > On 03/03/2013 11:11 AM, Monte Goulding wrote: >> On 03/03/2013, at 11:22 AM, Roger Eller wrote: >> >>> Do we also refer to it as LCIi? > > Hey, I've got a Macintosh LC475 in my attic in Scotland; maybe the ghost of Steve will 'do' RunRev through > the courts. > >> I only said I imagine not all the rest y'all imagine.... Make up your own name for your own fork ;-) > > That's going to make things 'forking' confusing. > > It will end up like names for Karate styles . . . > > The other thing that does occur to me is whether Monte's fork having some really fantastic features and Jacque's fork > having some different fantastic features will cause me to have a nervous breakdown because I am unable to choose > between them, or, like a shop with a really revolting name just round the corner here in Plovdiv, called "Accessorize", one can > cherry pick from different 'forks', 'distros' (ha,ha,ha; now there's a word to conjure with) the features one most likes. > > Just for the sake of argument: my second PC is currently running Ubuntu 12.04 with the 'Pantheon' window manager > and the 'Avant Window Manager' dock. That set up did not come out of one box, but got cobbled together by me. > > ---------------------------------- > > Perhaps the answer is going to depend on where the mods in each fork lie . . . > > Obviously if they lie in the GUI they can be swapped around, > > If they are in that mysterious collection of stacks staring with 'rev' they can be swapped around, albeit with less impunity that > plain GUI ones, > > And mods to the engine????? Probably no chance of mixing-and-matching there. > > --------------------------------- > > Certainly if there really are going to be 108 forks (and forks of forks); > > Big fleas have little fleas, > Upon their backs to bite 'em, > And little fleas have lesser fleas, > and so, ad infinitum. > > a coherent and comprehensible naming convention will have to be established, otherwise nobody will stand a chance. > > I don't think "Livecode Richmond out of Jacque out of Klaus out of Monte out of Edinburgh" is going to help much. > > "Adam begat CAIN who begat ENOCH who begat IRAD who begat MEHUJAEL who begat METHUSAEL who begat LAMECH" > > I remember asking my Primary school teacher what that all meant and she went bright red, because, poor dear, she hadn't a clue. > Although I am the father of 2 boys (whoops, young men), I still don't understand how those Old Testament types did "it" > with not a woman in sight . . . LOL. Probably the answer lies hidden in that unusual verb. > >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! > > Probably not anymore - all those externals will get rolled into the 'stew'. > > And that is also a potential pitfall; so many ingredients in the stew that the whole thing is completely tasteless > and just one great big, ugly mush. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sun Mar 3 05:23:50 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 3 Mar 2013 21:23:50 +1100 Subject: Sauce Bottle In-Reply-To: <5133197F.5030602@gmail.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133197F.5030602@gmail.com> Message-ID: <7E0721CF-3325-4BD2-A225-F69C05F78D08@sweattechnologies.com> > Probably not anymore - all those externals will get rolled into the 'stew'. Other people could implement them sure... or I could decide to license them to RunRev via a contributor agreement. However, just because LiveCode is open source doesn't stop someone from creating addons. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From palcibiades-first at yahoo.co.uk Sun Mar 3 05:41:58 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 3 Mar 2013 02:41:58 -0800 (PST) Subject: Two Windows In-Reply-To: <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> <51329724.6060608@hyperactivesw.com> <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> Message-ID: <1362307318946-4661723.post@n4.nabble.com> It sounds like you are using just one desktop on your monitor and that makes it very hard to manage all the overlapping windows. What's needed is an add-on that gives you multiple virtual desktops - think this is Spaces on Mac, and there is a windows add-on that does it. Then you open one copy on one desktop, the other saved as, ...1, on the other desktop, and just move between them. The great advantage is that each desktop remains exactly as you left it, ready to go back to. Even more useful if you end up running two or more copies of LC itself which some seem to be suggesting. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-Windows-tp4661679p4661723.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Sun Mar 3 06:02:54 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 3 Mar 2013 12:02:54 +0100 Subject: Layering Mobile Controls In-Reply-To: <0A651766EAD94DA4941C2EA7337CFCCF@gmail.com> References: <196C6F00866546B587C5F3D81536FEFB@gmail.com> <1E0F4A74-A62F-489E-B2C5-8357D9C6A5F7@sahores-conseil.com> <0A651766EAD94DA4941C2EA7337CFCCF@gmail.com> Message-ID: Le 3 mars 2013 ? 08:14, Ender Nafi Elek?io?lu a ?crit : > But as I said, I'm trying to avoid to inject any code/script into the html files. > It's too risky with online webpages. > One has to save the page and resources first, > then alter the html file, > then set the url of browser to this saved & altered html file. > It's easy to mess things up. Not the way to go at all (for sure !)? In the following example, the offline (or, even, online) html source code stay always untouched. Only what is displayed inside the mobile app has to be, in local cached mode : > get your html code as url ("file:" & specialFolderPath("document") & "/source.html") > replace what you wants with what you needs in it > put it into url ("file:" & specialFolderPath("cache") & "/message.html") > mobileControlSet "MyZoomBox", "url", "file:" & specialFolderPath("cache") & "/message.html" HTH, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From bdrunrev at gmail.com Sun Mar 3 07:50:03 2013 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 3 Mar 2013 12:50:03 +0000 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51330B5F.60708@gmail.com> References: <51330B5F.60708@gmail.com> Message-ID: About 13 years ago I bought a small form factor PC that's the same size/shape as the Mac Mini. I still have it stored away somewhere. It was far easier to take to work than a laptop, as with no keyboard or screen, it weighed a fraction of what a laptop weighed back then. Bernard On Sun, Mar 3, 2013 at 8:35 AM, Richmond wrote: > "Startlingly original": > > http://www.intel.com/content/**www/us/en/motherboards/** > desktop-motherboards/next-**unit-computing-introduction.**html > > Notwithstanding; I want one! > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dfepstein at comcast.net Sun Mar 3 08:32:04 2013 From: dfepstein at comcast.net (David Epstein) Date: Sun, 3 Mar 2013 08:32:04 -0500 Subject: Keys of a custom property array Message-ID: get the customKeys[myCustomPropertySetName] of myObject > Jacqueline Gay asked: > > If I store an array as a custom property, is there a way to get its > keys > without putting the whole thing into a variable first? David Epstein From dfepstein at comcast.net Sun Mar 3 08:42:13 2013 From: dfepstein at comcast.net (David Epstein) Date: Sun, 3 Mar 2013 08:42:13 -0500 Subject: Two Windows Message-ID: I think Tim Miller is right to think that opening two copies of LiveCode will not help him edit the same stack in two windows, as each will not know about the changes in the other until saved to disk and reopened, and two very different versions are likely to result-- unless all changes are immediately saved and the other window's stack is reopened. I would suggest rather creating a second stack (perhaps a substack) used as a secondary window, to which the content of individual cards could be copied as needed. Write their changes back to the main stack before you "navigate" to another card in the secondary window by copying new content there. You'll need to either prevent or handle the special case where one card is open in both windows at once (you can handle it by, e.g., using a closeField handler or a keyDown handler in stack 1 to change the content of field 1 of stack 2 whenever field 1 of stack 1 is edited). David Epstein From pmbrig at gmail.com Sun Mar 3 09:39:58 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 3 Mar 2013 09:39:58 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <06E498EFF46349F1B9A00B26BB430005@gmail.com> References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> <51330DC8.6030407@gmail.com> <51331115.4030001@gmail.com> <06E498EFF46349F1B9A00B26BB430005@gmail.com> Message-ID: On Mar 3, 2013, at 4:11 AM, Ender Nafi Elek?io?lu wrote: > > On Sunday, March 3, 2013 at 11:00 AM, Richmond wrote: > >> This makes me think of cheap inkjet printers: I bought an all-in-one, >> and my EFL school now spends twice >> the price of the thing on ink cartridges each month. > > > :))) > > That's the ruthless trick of all printer manufacturers? The trick was invented decades ago by Gillette -- give the razors away and soak 'em on the blades. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Mar 3 09:46:15 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 3 Mar 2013 09:46:15 -0500 Subject: Two Windows In-Reply-To: <215E04E9-DD77-4003-A2E6-B7B5931DABA1@gmail.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> <51329724.6060608@hyperactivesw.com> <215E04E9-DD77-4003-A2E6-B7B5931DABA1@gmail.com> Message-ID: <859F7646-3F29-45D7-81A4-44571CC9CD25@gmail.com> On Mar 2, 2013, at 7:19 PM, J. Landman Gay wrote: > On 3/2/13 5:59 PM, stephen barncard wrote: >> one can create a copy of Livecode and run each version (name it Livecode B >> or something) in a different space, yet cut and paste between. No name >> space conflicts this way! > > I do that all the time, only my second copy is using the MetaCard IDE. I keep both open routinely. It works fine. Sometimes I also have LiveCode 5.0.2 running for legacy reasons. And if I'm trying out the latest pre-release, sometimes I have four copies of the engine running. > > It can get iffy if you get them confused. Maybe you could put "on resume" and "on suspend" handlers in the frontscripts of each instance to change the title of the topstack -- eg, from "myStack" to "myStack LC 5.0.2"? ? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From roger.e.eller at sealedair.com Sun Mar 3 11:16:10 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 11:16:10 -0500 Subject: Sauce Bottle In-Reply-To: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: LCIi is just the abbreviated form of "LiveCode I imagine". It's not LCartyi. ;-) ~Roger On 03/03/2013, at 11:22 AM, Roger Eller wrote: > Do we also refer to it as LCIi? I only said I imagine not all the rest y'all imagine.... Make up your own name for your own fork ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 3 11:18:16 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 11:18:16 -0500 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: Oops, meant LCatryi. ~Roger On Mar 3, 2013 11:16 AM, "Roger Eller" wrote: > LCIi is just the abbreviated form of "LiveCode I imagine". It's not > LCartyi. ;-) > > ~Roger > > On 03/03/2013, at 11:22 AM, Roger Eller > wrote: > > > Do we also refer to it as LCIi? > > I only said I imagine not all the rest y'all imagine.... Make up your own > name for your own fork ;-) > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jim at d-film.com Sun Mar 3 11:45:01 2013 From: jim at d-film.com (Jim Kanter) Date: Sun, 3 Mar 2013 11:45:01 -0500 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: Maybe OpenCode? From richmondmathewson at gmail.com Sun Mar 3 11:57:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 18:57:02 +0200 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: <513380DE.8090102@gmail.com> On 03/03/2013 06:45 PM, Jim Kanter wrote: > Maybe OpenCode? > _______________________________________________ > A quick Google search will show you that that has been taken a good half-a-dozen times already. Just as long as it is not 'DeadCode' I'm not that fussy. Richmond. From coiin at verizon.net Sun Mar 3 12:04:09 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 03 Mar 2013 12:04:09 -0500 Subject: Sauce Bottle In-Reply-To: <513380DE.8090102@gmail.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <513380DE.8090102@gmail.com> Message-ID: <78021B7A-48F6-4CD1-9015-0AD10D421AA9@verizon.net> AliveAndWellCode perhaps? From roger.e.eller at sealedair.com Sun Mar 3 12:15:20 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 12:15:20 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51330B5F.60708@gmail.com> References: <51330B5F.60708@gmail.com> Message-ID: I really wish that Apple would at least allow an open source fork of OS X so people can choose their own hardware. It's obviously compatible (with a little effort). I enjoy checking out the cool custom built 'Macs' on this site: http://www.tonymacx86.com/user-builds/86370-success-syngatesfan200s-intel-nuc-dc3217by-thunderbolt-edition-non-thunderbolt-edition.html I don't don't support software piracy. The custom built machines on the aforementioned site always use retail installation media, and it is discouraged to do otherwise. On Mar 3, 2013 3:36 AM, "Richmond" wrote: > "Startlingly original": > > http://www.intel.com/content/**www/us/en/motherboards/** > desktop-motherboards/next-**unit-computing-introduction.**html > > Notwithstanding; I want one! > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 3 12:34:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 19:34:33 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> Message-ID: <513389A9.3000900@gmail.com> On 03/03/2013 07:15 PM, Roger Eller wrote: > I really wish that Apple would at least allow an open source fork of OS X > so people can choose their own hardware. There doesn't have to be an Open Source fork; if installing Mac OS X is comparatively easy to install on a machine such as the NUC and the necessary patches are "out there", then, surely, Apple's software people could just put various install DVDs together for non-Apple machines together and sell them. Considering that people are already doing "that", and others are doing "that" via virtualisation solutions (myself included) Apple, by not doing that, are just losing potential revenue. > It's obviously compatible (with a > little effort). I enjoy checking out the cool custom built 'Macs' on this > site: > > http://www.tonymacx86.com/user-builds/86370-success-syngatesfan200s-intel-nuc-dc3217by-thunderbolt-edition-non-thunderbolt-edition.html > > I don't don't support software piracy. The custom built machines on the > aforementioned site always use retail installation media, and it is > discouraged to do otherwise. The problem is not one of software piracy, but one of EULAs (this has been discussed hereabouts several times). Personally I am all in favour of Copyright for those who want to copyright their stuff (and there is Copyleft and so on for those who don't), but think EULAs are horrible: after all, you don't hang a murderer because he used a kitchen knife that was marked "for kitchen use only" because he used the knife in the bedroom, but because he killed his wife with it. But then the whole thing revolves around concepts of ownership: I have a collection of Mac install disks (and a few Windows ones) lying around my properties; and, unlike the combs, hairbrushes, shirts and trousers, according to EULAs they are not mine, and the people I thought I bought them from (but the answer is they "licensed them to me") I can only do a small subset of possible things with them. As possession is 9 tenths of the law that is hard to enforce [for instance I know an architect who works in Berlin whose whole office runs bog-standard Intel PCs running Mac OS X as per your 'NUC' link], but it is used to bully and intimidate people into being "good little boys and girls". As I said before (approximately) if I want to play cricket with a frying pan no EULA "only for cooking" attached to the frying pan is going to stop me. But then, again, I don't live in one of the Western creeping-corporate police states such as Britain. Richmond. > On Mar 3, 2013 3:36 AM, "Richmond" wrote: > >> "Startlingly original": >> >> http://www.intel.com/content/**www/us/en/motherboards/** >> desktop-motherboards/next-**unit-computing-introduction.**html >> >> Notwithstanding; I want one! >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 3 12:44:35 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 12:44:35 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <513389A9.3000900@gmail.com> References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> Message-ID: I only suggest that they allow an unsupported fork because 'support' for all that crazy PC hardware is the typical answer for why Apple doesn't do this. On Mar 3, 2013 12:35 PM, "Richmond" wrote: > On 03/03/2013 07:15 PM, Roger Eller wrote: > >> I really wish that Apple would at least allow an open source fork of OS X >> so people can choose their own hardware. >> > > There doesn't have to be an Open Source fork; if installing Mac OS X is > comparatively easy to install on a machine such as the NUC > > and the necessary patches are "out there", then, surely, Apple's software > people could just put various install DVDs together > for non-Apple machines together and sell them. > > Considering that people are already doing "that", and others are doing > "that" via virtualisation solutions (myself > included) Apple, by not doing that, are just losing potential revenue. > > It's obviously compatible (with a >> little effort). I enjoy checking out the cool custom built 'Macs' on this >> site: >> >> http://www.tonymacx86.com/**user-builds/86370-success-** >> syngatesfan200s-intel-nuc-**dc3217by-thunderbolt-edition-** >> non-thunderbolt-edition.html >> >> I don't don't support software piracy. The custom built machines on the >> aforementioned site always use retail installation media, and it is >> discouraged to do otherwise. >> > > The problem is not one of software piracy, but one of EULAs (this has been > discussed hereabouts several times). > > Personally I am all in favour of Copyright for those who want to copyright > their stuff (and there is Copyleft and so on for those > who don't), but think EULAs are horrible: > > after all, you don't hang a murderer because he used a kitchen knife that > was marked "for kitchen use only" because he > used the knife in the bedroom, but because he killed his wife with it. > > But then the whole thing revolves around concepts of ownership: I have a > collection of Mac install disks (and a few Windows ones) > lying around my properties; and, unlike the combs, hairbrushes, shirts and > trousers, according to EULAs they are not mine, and the people > I thought I bought them from (but the answer is they "licensed them to > me") I can only do a small subset of possible things with them. > > As possession is 9 tenths of the law that is hard to enforce [for instance > I know an architect who works in Berlin whose whole office runs bog-standard > Intel PCs running Mac OS X as per your 'NUC' link], but it is used to > bully and intimidate people into being "good little boys and girls". > > > As I said before (approximately) if I want to play cricket with a frying > pan no EULA "only for cooking" attached to the frying pan is going to stop > me. > > But then, again, I don't live in one of the Western creeping-corporate > police states such as Britain. > > Richmond. > > On Mar 3, 2013 3:36 AM, "Richmond" wrote: >> >> "Startlingly original": >>> >>> http://www.intel.com/content/****www/us/en/motherboards/** >>> desktop-motherboards/next-****unit-computing-introduction.****html< >>> http://www.intel.com/**content/www/us/en/**motherboards/desktop-** >>> motherboards/next-unit-**computing-introduction.html >>> > >>> >>> Notwithstanding; I want one! >>> >>> Richmond. >>> >>> ______________________________****_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 3 13:22:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 20:22:12 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> Message-ID: <513394D4.1090106@gmail.com> On 03/03/2013 07:44 PM, Roger Eller wrote: > I only suggest that they allow an unsupported fork because 'support' for > all that crazy PC hardware is the typical answer for why Apple doesn't do > this. > I don't believe Apple. I think the reason they will not allow people to install Mac OS X on non-Apple computers is because Apple computers are very expensive, and once they allow people to install their OS on other hardware they fear people will stop buying their machines. That is exactly why I bought Mac OS 10.6 and run it inside VMware Player in a second hand DELL Optiplex 745 with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the wide-screen monitor ) . . . and exactly why Apple don't like people like me, because a bottom-of-the range 21.5 inch iMac costs about 1,269 Euros. I don't expect an support from Apple; which is just as well, as they won't give me anything except a boot up the nether regions! Richmond. From jacque at hyperactivesw.com Sun Mar 3 13:24:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 12:24:35 -0600 Subject: Keys of a custom property array In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> Message-ID: <51339563.5070809@hyperactivesw.com> On 3/3/13 12:37 AM, Peter Haworth wrote: > Hi Jacque, > I just tried: > > get the keys of (the uArray of button "xyz") > > ... and got the keys of uArray. Cool. Thanks. I'd been through all the permutations that Craig posted, and I also had tried parentheses, but those were included in a nested function. I should have parenthesized the array reference separately. Forced evaluation comes through again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Sun Mar 3 13:27:21 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 13:27:21 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <513394D4.1090106@gmail.com> References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: What is the performance like in a VM on old hardware? Wouldn't it be faster if installed directly in a partition? On Mar 3, 2013 1:22 PM, "Richmond" wrote: > On 03/03/2013 07:44 PM, Roger Eller wrote: > >> I only suggest that they allow an unsupported fork because 'support' for >> all that crazy PC hardware is the typical answer for why Apple doesn't do >> this. >> >> > I don't believe Apple. > > I think the reason they will not allow people to install Mac OS X on > non-Apple computers > is because Apple computers are very expensive, and once they allow people > to install their OS on > other hardware they fear people will stop buying their machines. > > That is exactly why I bought Mac OS 10.6 and run it inside VMware Player > in a second hand DELL Optiplex 745 > with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . > > ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the > wide-screen monitor ) > > . . . and exactly why Apple don't like people like me, because a > bottom-of-the range 21.5 inch iMac costs > about 1,269 Euros. > > I don't expect an support from Apple; which is just as well, as they won't > give me anything except a boot > up the nether regions! > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Mar 3 13:39:19 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 13:39:19 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: I had a super-crazy idea once. It remains untested, but imagine a user who uses 90% Windows software, and 10% Mac software. If that user has a REAL made by Apple Mac, why not install Windows as the primary OS, and confine OS X to the relm of virtualization? Why? Because Apple says no, as it would reduce the performance of their OS, and ruin that 'oh so special' experience. On Mar 3, 2013 1:27 PM, "Roger Eller" wrote: > What is the performance like in a VM on old hardware? Wouldn't it be > faster if installed directly in a partition? > On Mar 3, 2013 1:22 PM, "Richmond" wrote: > >> On 03/03/2013 07:44 PM, Roger Eller wrote: >> >>> I only suggest that they allow an unsupported fork because 'support' for >>> all that crazy PC hardware is the typical answer for why Apple doesn't do >>> this. >>> >>> >> I don't believe Apple. >> >> I think the reason they will not allow people to install Mac OS X on >> non-Apple computers >> is because Apple computers are very expensive, and once they allow people >> to install their OS on >> other hardware they fear people will stop buying their machines. >> >> That is exactly why I bought Mac OS 10.6 and run it inside VMware Player >> in a second hand DELL Optiplex 745 >> with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . >> >> ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the >> wide-screen monitor ) >> >> . . . and exactly why Apple don't like people like me, because a >> bottom-of-the range 21.5 inch iMac costs >> about 1,269 Euros. >> >> I don't expect an support from Apple; which is just as well, as they >> won't give me anything except a boot >> up the nether regions! >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > From richmondmathewson at gmail.com Sun Mar 3 13:45:25 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 20:45:25 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: <51339A45.6050304@gmail.com> On 03/03/2013 08:27 PM, Roger Eller wrote: > What is the performance like in a VM on old hardware? Wouldn't it be faster > if installed directly in a partition? It runs really very well indeed for Livecode development. I do nothing else whatsoever on the Faux Mac; all my graphic processing and font development is done on the underlying UbuntuStudio. The underlying machine has these specs: Intel Core2 6300 @ 1.82 GHz 5.8 GB RAM Hardware virtualisation is enabled in the BIOS. The Mac OS 10.6.8 inside VMware has 3 GB RAM allotted to it, and its own system specifications says that it is: 4.30 GHz Intel Core 2 Solo Quite how it arrives at that bizarre 4.3 GHz escapes me. ----------------------------------------------- As to installing in a partition: I have tried that and, frankly found those Hackintosh recipes too much like hard work. As I own a Mac OS 10.6 install DVD I felt no moral problem about downloading a pre-installed VMware image with 10.6 pre-installed, so saving myself an awful lot of headaches. ----------------------------------------------- To be quite honest, I'm not just that sure that if I had a disposable 1,300 Euros I would bother to spend it on a Mac; as Linux has come of age it seems that that sort of money for a computer is not really justified. The ONLY software I have paid for in the last 10 years is Livecode and about 3 system install disks for Macintosh: Open Source software is now of such a high calibre I do not require any other commercial product. The only reason I continue to use any form of modern Macintosh at all is because, right now, Mac standalones made on Windows or Linux don't function properly on Macintosh computers. --- something that I hope will be addressed with some sense of urgency by RunRev --- > On Mar 3, 2013 1:22 PM, "Richmond" wrote: > >> On 03/03/2013 07:44 PM, Roger Eller wrote: >> >>> I only suggest that they allow an unsupported fork because 'support' for >>> all that crazy PC hardware is the typical answer for why Apple doesn't do >>> this. >>> >>> >> I don't believe Apple. >> >> I think the reason they will not allow people to install Mac OS X on >> non-Apple computers >> is because Apple computers are very expensive, and once they allow people >> to install their OS on >> other hardware they fear people will stop buying their machines. >> >> That is exactly why I bought Mac OS 10.6 and run it inside VMware Player >> in a second hand DELL Optiplex 745 >> with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . >> >> ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the >> wide-screen monitor ) >> >> . . . and exactly why Apple don't like people like me, because a >> bottom-of-the range 21.5 inch iMac costs >> about 1,269 Euros. >> >> I don't expect an support from Apple; which is just as well, as they won't >> give me anything except a boot >> up the nether regions! >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 3 13:52:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Mar 2013 20:52:19 +0200 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: <51339BE3.9020107@gmail.com> On 03/03/2013 08:39 PM, Roger Eller wrote: > I had a super-crazy idea once. It remains untested, but imagine a user who > uses 90% Windows software, and 10% Mac software. If that user has a REAL > made by Apple Mac, why not install Windows as the primary OS, and confine > OS X to the relm of virtualization? I know at least one person who has a MacBook Pro on which they only have Windows 7; why, forbye? because they are both a poser and a sheep: they can pose that they have a Mac, but they want to conform to peer pressure and run Windows. Needless to say, this is a 17 bubble-brain rather than anyone very interested in programming. > Why? Because Apple says no, as it would > reduce the performance of their OS, and ruin that 'oh so special' > experience. I have what once was a G4 Mac that went 'pop'; so I hollowed the thing out and fitted 8 old PATA hard disks ranging in size from 80 GB to 750 GB salvaged from 'broken' computers that were either given to me or found next to rubbish bins (always carry a screwdriver in your pocket) linked via ATA-to-USB cables to a USB hub that I can plug into whatever computer I happen to be using at the time. That date-box is 'oh so special', but probably violates all sorts of EULAs as to what I can do with the box and power supply of a popped Mac. > On Mar 3, 2013 1:27 PM, "Roger Eller" wrote: > >> What is the performance like in a VM on old hardware? Wouldn't it be >> faster if installed directly in a partition? >> On Mar 3, 2013 1:22 PM, "Richmond" wrote: >> >>> On 03/03/2013 07:44 PM, Roger Eller wrote: >>> >>>> I only suggest that they allow an unsupported fork because 'support' for >>>> all that crazy PC hardware is the typical answer for why Apple doesn't do >>>> this. >>>> >>>> >>> I don't believe Apple. >>> >>> I think the reason they will not allow people to install Mac OS X on >>> non-Apple computers >>> is because Apple computers are very expensive, and once they allow people >>> to install their OS on >>> other hardware they fear people will stop buying their machines. >>> >>> That is exactly why I bought Mac OS 10.6 and run it inside VMware Player >>> in a second hand DELL Optiplex 745 >>> with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . >>> >>> ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the >>> wide-screen monitor ) >>> >>> . . . and exactly why Apple don't like people like me, because a >>> bottom-of-the range 21.5 inch iMac costs >>> about 1,269 Euros. >>> >>> I don't expect an support from Apple; which is just as well, as they >>> won't give me anything except a boot >>> up the nether regions! >>> >>> Richmond. >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 3 13:57:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 12:57:50 -0600 Subject: Two Windows In-Reply-To: <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> <51329724.6060608@hyperactivesw.com> <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> Message-ID: <51339D2E.6020609@hyperactivesw.com> On 3/3/13 12:28 AM, Timothy Miller wrote: > Do you mean to say I can have the same stack open in two copies of > LiveCode, resulting in two windows? Are two copies of the same > version of LiveCode okay? > > This sounds wrong, but who am I to say? I assumed I would get a "file > in use" error if I tried to open the same stack with a second copy of > LiveCode. You can have any number of LiveCode engines open at the same time, and they can all open the same stack. You won't get any errors, but that's why it's dangerous -- it is very easy to overwrite the stack with changes from a different engine. > > Let's say I go to card 10 in one window, go to card 20 in the other > window. I cut some text from a field on card 10, bring the other > window to the top, paste the text into a field on card 20? > > This will work? The cut stays cut, the paste stays pasted? No > problems? I don't end up with two copies of the same stack? Nothing will happen to the file on disk until you save it. Remember that stacks exist only in memory until they're saved. Copy 1 of LiveCode won't know a thing about the changes you made in Copy 2. The dangerous part is when you save to disk in one copy and don't reload the other copy. If you keep saving changes across both copies, each change will overwrite the other. I've lost data that way which is why I said it gets iffy. In general I consider one copy to be a scratchpad. I copy stuff from there, make temporary changes to see how they look, do other stuff I don't intend to save. Your cut and paste idea wouldn't work too well here because nothing would be cut from the "master" copy. When it's time to close the temp stack, do NOT save it. Only save your master copy to disk. Here's an even iffier way to do it: Sometimes I make changes to the temp copy that I decide I want to keep. That's where the save and reload procedure is handy, but you do need to be careful you aren't overwriting changes from the other copy. The "revert" command is handy to reload a stack from disk without having to close and reopen it. If the stack has been saved in Copy 1, click over to Copy 2, issue "revert" from the message box, and the Copy 1 changes will show up in Copy 2. "Revert" just means "reload this file from disk." I position the two open copies of the stack in different places so that visually I always know which one I'm working on, and it's easy to click back and forth between them. (Which is why, for how I work, using separate desktop spaces wouldn't work too well.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Sun Mar 3 14:00:52 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 14:00:52 -0500 Subject: Sauce Bottle In-Reply-To: <78021B7A-48F6-4CD1-9015-0AD10D421AA9@verizon.net> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <513380DE.8090102@gmail.com> <78021B7A-48F6-4CD1-9015-0AD10D421AA9@verizon.net> Message-ID: How about "HyperCard"? On Mar 3, 2013 12:04 PM, "Colin Holgate" wrote: > AliveAndWellCode perhaps? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Mar 3 14:02:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 11:02:11 -0800 Subject: Keys of a custom property array In-Reply-To: <51339563.5070809@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> Message-ID: <812433125.20130303110211@ahsoftware.net> Jacque- Sunday, March 3, 2013, 10:24:35 AM, you wrote: > On 3/3/13 12:37 AM, Peter Haworth wrote: >> Hi Jacque, >> I just tried: >> >> get the keys of (the uArray of button "xyz") >> >> ... and got the keys of uArray. > Cool. Thanks. I'd been through all the permutations that Craig posted, > and I also had tried parentheses, but those were included in a nested > function. I should have parenthesized the array reference separately. > Forced evaluation comes through again. Is your goal to save the time/resources of putting the array into a variable and then extracting the keys, or is it to save a couple of extra lines of code? Are you sure that the engine doesn't make a copy of the array under the hood and then extract the keys using either the customKeys or parenthesis methods? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 3 14:10:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 11:10:15 -0800 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <51331115.4030001@gmail.com> References: <51330B5F.60708@gmail.com> <5ECE0D540DA343E48214F9876EC7C65F@gmail.com> <51330DC8.6030407@gmail.com> <51331115.4030001@gmail.com> Message-ID: <1122916593.20130303111015@ahsoftware.net> Richmond- Sunday, March 3, 2013, 1:00:05 AM, you wrote: > This makes me think of cheap inkjet printers: I bought an all-in-one, > and my EFL school now spends twice > the price of the thing on ink cartridges each month. I swore off inkjet printers quite a while ago (around the time they started giving them away for free with other purchases). We've got two laser printers now (one color, one all-in-one: print,fax,copy). If you know the right tricks, the laser toner cartridges are refillable and reusable. And they don't dry out and there are no jets to clog. I don't think we paid more than $150 for either one. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 3 14:12:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 11:12:50 -0800 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: <913071796.20130303111250@ahsoftware.net> Roger- Sunday, March 3, 2013, 10:39:19 AM, you wrote: > why not install Windows as the primary OS, and confine > OS X to the relm of virtualization? Ha! OSX with all the stability of Windows! -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Mar 3 14:18:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 11:18:31 -0800 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: <51330B5F.60708@gmail.com> Message-ID: <1213413343.20130303111831@ahsoftware.net> Bernard- Sunday, March 3, 2013, 4:50:03 AM, you wrote: > About 13 years ago I bought a small form factor PC that's the same > size/shape as the Mac Mini. I still have it stored away somewhere. It was > far easier to take to work than a laptop, as with no keyboard or screen, it > weighed a fraction of what a laptop weighed back then. We've got a Dell zino 410. Mac mini footprint (~twice as high) and I dropped a dual-core processor and a 2TB HD into it. Dell pulled them off the market pretty fast - I think they were having overheating problems with some, but it's been a great little workhorse machine. You can find barebones units on eBay for ~$100 if you need a Windows computer. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Mar 3 14:20:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 13:20:38 -0600 Subject: Keys of a custom property array In-Reply-To: <812433125.20130303110211@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> Message-ID: <5133A286.6080508@hyperactivesw.com> On 3/3/13 1:02 PM, Mark Wieder wrote: > Is your goal to save the time/resources of putting the array into a > variable and then extracting the keys, or is it to save a couple of > extra lines of code? Are you sure that the engine doesn't make a copy > of the array under the hood and then extract the keys using either the > customKeys or parenthesis methods? > No clue at all how it really works under the hood, but my goal was to preserve memory. The array doesn't have a huge number of keys, but their values are fairly large. The project uses lots and lots of memory-hungry resources and will often be run on machines with minimum RAM, so avoiding swaps to virtual memory is desirable. So I was thinking that grabbing the keys directly from the property might save some RAM over making a temporary copy of the whole array in a variable, especially since I need to get the data repeatedly on, alas, mousemove. So it's going to get hit on a whole lot. I am going to run some speed tests now that I see how to get the keys. I may end up staying with my current method, which is to load the keys into a script local only once and hit on that instead. Assuming speed isn't an issue either way, any idea which would be more memory-efficient? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 3 14:44:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 11:44:14 -0800 Subject: Keys of a custom property array In-Reply-To: <5133A286.6080508@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> Message-ID: <884955875.20130303114414@ahsoftware.net> Jacque- Sunday, March 3, 2013, 11:20:38 AM, you wrote: > Assuming speed isn't an issue either way, any idea which would be more > memory-efficient? No idea. We'd have to know how and when the engine handles garbage collection. If you see significant speed differences in the different methods, then my guess would be the engine making a working copy of the array. But whether it marks the copy as not in use after that or whether it remains in a cache is a mystery, at least until the FOSS release of the engine code. -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Sun Mar 3 15:04:38 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 03 Mar 2013 15:04:38 -0500 Subject: Kill quit process Message-ID: I am trying to quit another application that I launched from LC when my standalone quits. Kill seems acceptable since the other app has no clean up etc. -- I'm even thinking with extreme prejudice might be appropriate for this app. I have both a Mac and Windows versions of the other app: MyApp.app & MyApp.exe Two questions come to mind: Will: kill 9 process "MyApp.app" which should work on the Mac also work on windows if I change it to: kill 9 process "MyApp.exe" What does this command do?: kill QUIT process it Is it like: kill QUIT process "MyApp.app" or kill QUIT process "MyApp.exe" I think the QUIT is a unix signalName and as such is ignored on Mac OS so should I just use: kill process "MyApp.app" Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From pete at lcsql.com Sun Mar 3 16:10:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 3 Mar 2013 11:10:21 -1000 Subject: Sauce Bottle In-Reply-To: References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <513380DE.8090102@gmail.com> <78021B7A-48F6-4CD1-9015-0AD10D421AA9@verizon.net> Message-ID: Or FreeCode. Pete lcSQL Software On Sun, Mar 3, 2013 at 9:00 AM, Roger Eller wrote: > How about "HyperCard"? > On Mar 3, 2013 12:04 PM, "Colin Holgate" wrote: > > > AliveAndWellCode perhaps? > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Mar 3 16:20:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 15:20:13 -0600 Subject: Keys of a custom property array In-Reply-To: <884955875.20130303114414@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> Message-ID: <5133BE8D.6020608@hyperactivesw.com> On 3/3/13 1:44 PM, Mark Wieder wrote: > Jacque- > > Sunday, March 3, 2013, 11:20:38 AM, you wrote: > >> Assuming speed isn't an issue either way, any idea which would be more >> memory-efficient? > > No idea. We'd have to know how and when the engine handles garbage > collection. If you see significant speed differences in the different > methods, then my guess would be the engine making a working copy of > the array. But whether it marks the copy as not in use after that or > whether it remains in a cache is a mystery, at least until the FOSS > release of the engine code. > So I loaded in a 900-key array, total size on disk of about 200K. Did this: on test1 put the milliseconds into tStart repeat 10000 put the keys of (the cArray of me) into tKeys end repeat put "test1:" && the milliseconds - tStart end test1 on test2 put the milliseconds into tStart repeat 10000 get the cArray of me put the keys of it into tKeys end repeat put "test2:" && the milliseconds - tStart end test2 Test 1 = 450 Test 2 = 4946 I'm not sure what it means, but getting only the keys is way faster. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Mar 3 17:01:34 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Mar 2013 14:01:34 -0800 Subject: Sauce Bottle In-Reply-To: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> Message-ID: <5133C83E.9000809@fourthworld.com> I believe the community edition of LiveCode is called "LiveCode Community Edition". -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Mar 3 17:09:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 04 Mar 2013 00:09:49 +0200 Subject: Sauce Bottle In-Reply-To: <5133C83E.9000809@fourthworld.com> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> Message-ID: <5133CA2D.7050205@gmail.com> On 03/04/2013 12:01 AM, Richard Gaskin wrote: > I believe the community edition of LiveCode is called "LiveCode > Community Edition". > Is that official? And does what is a bit of a mouthful have an abbreviated form? From pmbrig at gmail.com Sun Mar 3 17:10:25 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 3 Mar 2013 17:10:25 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <513394D4.1090106@gmail.com> References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> <513394D4.1090106@gmail.com> Message-ID: <0135EA86-A5C1-4FB6-8031-360C57F925CC@gmail.com> On Mar 3, 2013, at 1:22 PM, Richmond wrote: > On 03/03/2013 07:44 PM, Roger Eller wrote: >> I only suggest that they allow an unsupported fork because 'support' for >> all that crazy PC hardware is the typical answer for why Apple doesn't do >> this. >> > > I don't believe Apple. > > I think the reason they will not allow people to install Mac OS X on non-Apple computers > is because Apple computers are very expensive, and once they allow people to install their OS on > other hardware they fear people will stop buying their machines. > > That is exactly why I bought Mac OS 10.6 and run it inside VMware Player in a second hand DELL Optiplex 745 > with 6 Gigs of RAM, which cost me, in total, 300 Euros . . . > > ( 100 for the computer, 100 for another 4 Gigs of RAM, 100 for the wide-screen monitor ) > > . . . and exactly why Apple don't like people like me, because a bottom-of-the range 21.5 inch iMac costs > about 1,269 Euros. > > I don't expect an support from Apple; which is just as well, as they won't give me anything except a boot > up the nether regions! > > Richmond. While the profit motive should never be dismissed, I actually think that Roger is correct. Steve Jobs was a fanatic perfectionist and wanted the user experience to be as close to "it just works" as possible. Although the Mac OSes have some bugs, and a system crash is possible, it is rare (especially in recent OS versions that sandbox applications to allow force quitting). The advantage of the Mac system has historically been that it has been free of the "WTF do I do to get Windows xxx to run on my machine" problems, and the intricacies of getting a particular Unix flavor to run some apps. Jobs wanted the system to work not just for folks who knew how to tinker with the machinery. Developers have had to work harder to bring things to the Mac platform because they have been forced to jump through the Apple hoops to ensure compatibility with the OS, and Jobs' pit-bull grip on the product design was the reason for that. And many users have been willing to pay more because of the consistency of the user experience. Although? with the advent of Lion we now have the dumbing down and limitation of the OS to an unacceptable degree, IMO, forbidding certain tinkering with the machinery even for those who know how and prefer different ways of operating. It feels to me that Tim Cook has allowed the vision to slip. I'm sticking with Mountain Lion for as long as I can. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From coiin at verizon.net Sun Mar 3 17:26:19 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 03 Mar 2013 17:26:19 -0500 Subject: Sauce Bottle In-Reply-To: <5133CA2D.7050205@gmail.com> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> Message-ID: <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> And it would be too similar, at a glance, to LiveCode Commercial Edition. On Mar 3, 2013, at 5:09 PM, Richmond wrote: >> I believe the community edition of LiveCode is called "LiveCode Community Edition". >> > > Is that official? > > And does what is a bit of a mouthful have an abbreviated form? From ambassador at fourthworld.com Sun Mar 3 17:27:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Mar 2013 14:27:39 -0800 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: References: Message-ID: <5133CE5B.6040105@fourthworld.com> Roger Eller wrote: > I really wish that Apple would at least allow an open source > fork of OS X so people can choose their own hardware. A few years ago I discovered that there are more hardware options in the world than just six models. ;) I love the security, robustness, and resource-friendliness of POSIX systems like OS X, but I also like to take full advantage of the wide variety of hardware options in the modern world, in which by now most people understand that computers are commodities. Thankfully Linux is more than up to the task, with as many options available for how you like your OS as there are to fit your specific hardware preferences. If Apple had a wider range of things for me to choose among I might not have branched out. But it's turned out well so I say, "Thanks, Steve, for responding to our requests for choice by showing us the door, since on the other side I found Linux." :) Speaking of hardware, I have great respect for Intel but their list price for their NUC is way too high - NewEgg sell's em for less, and they also have a wide range of other case and CPU combos on their mini-barebones category: -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Sun Mar 3 17:40:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 17:40:54 -0500 Subject: Sauce Bottle In-Reply-To: <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> Message-ID: LiveCode OpenSource Edition LiveCode Free Edition LiveCode Kickstarted Edition LiveCode Education Edition LiveCode My Edition LiveCode Sauce Bottle Edition On Mar 3, 2013 5:26 PM, "Colin Holgate" wrote: > And it would be too similar, at a glance, to LiveCode Commercial Edition. > > > On Mar 3, 2013, at 5:09 PM, Richmond wrote: > > >> I believe the community edition of LiveCode is called "LiveCode > Community Edition". > >> > > > > Is that official? > > > > And does what is a bit of a mouthful have an abbreviated form? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sun Mar 3 18:04:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 10:04:44 +1100 Subject: Sauce Bottle In-Reply-To: <5133CA2D.7050205@gmail.com> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> Message-ID: On 04/03/2013, at 9:09 AM, Richmond wrote: > On 03/04/2013 12:01 AM, Richard Gaskin wrote: >> I believe the community edition of LiveCode is called "LiveCode Community Edition". >> > > Is that official? > > And does what is a bit of a mouthful have an abbreviated form? When you refer to MySQL do you say MySQL Community Edition? Or just MySQL. That's why originally said just LiveCode because we should all keep calling it LiveCode so RunRev get the best marketing advantage they can out of it. In the end the only difference is going to be a license and in the scheme of things a relatively minor feature. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Sun Mar 3 18:08:13 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Mar 2013 15:08:13 -0800 Subject: Sauce Bottle In-Reply-To: References: Message-ID: <5133D7DD.4070901@fourthworld.com> Monte Golding wrote: > When you refer to MySQL do you say MySQL Community Edition? Now that MySQL is owned by Larry Ellison, when people are referring to the community edition they say "MariaDB". ;) -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gandalf at doctorTimothyMiller.com Sun Mar 3 18:14:08 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sun, 3 Mar 2013 15:14:08 -0800 Subject: Two Windows In-Reply-To: <51339D2E.6020609@hyperactivesw.com> References: <8145CDAA-F2EC-484A-ACA1-652EC4CE4676@doctorTimothyMiller.com> <51329724.6060608@hyperactivesw.com> <02FBEBEE-1EFB-45DD-BF1E-9AFE30F486B1@doctorTimothyMiller.com> <51339D2E.6020609@hyperactivesw.com> Message-ID: On Mar 3, 2013, at 10:57 AM, J. Landman Gay wrote: > > Nothing will happen to the file on disk until you save it. Remember that stacks exist only in memory until they're saved. Copy 1 of LiveCode won't know a thing about the changes you made in Copy 2. The dangerous part is when you save to disk in one copy and don't reload the other copy. If you keep saving changes across both copies, each change will overwrite the other. That's very clear. I get it now. Thanks also to Peter, Peter and David. Tim Miller From roger.e.eller at sealedair.com Sun Mar 3 18:54:07 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 18:54:07 -0500 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <5133CE5B.6040105@fourthworld.com> References: <5133CE5B.6040105@fourthworld.com> Message-ID: On Mar 3, 2013 5:28 PM, "Richard Gaskin" wrote: > > Roger Eller wrote: > > > I really wish that Apple would at least allow an open source > > fork of OS X so people can choose their own hardware. > > A few years ago I discovered that there are more hardware options in the world than just six models. ;) Wink acknowledged, but... OS X "Community Edition" has identified exactly what works, and what doesn't. An open edition from Apple could clearly state that the hardware must be in the list of validated equipment. Otherwise, they community must create additional drivers (kexts), as they are currently doing. > > Thankfully Linux is more than up to the task, with as many options available for how you like your OS as there are to fit your specific hardware preferences. The missing task on Linux, for me at least, is Netflix. iGotta have it! :-) > Speaking of hardware, I have great respect for Intel but their list price for their NUC is way too high - NewEgg sell's em for less, and they also have a wide range of other case and CPU combos on their mini-barebones category: > > < http://www.newegg.com/Mini-Booksize-Barebone-Systems/SubCategory/ID-309?Order=PRICE > > Sadly, most of the alternative mini hardware options wouldn't make the cut on the compatibility list. Apple's use of Intel i3, i5, i7 cpu's is really a major part of the modern hackintosh. The key is to use what Apple uses, and it 'just works'. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web ~Roger From dunbarx at aol.com Sun Mar 3 19:25:29 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Mar 2013 19:25:29 -0500 (EST) Subject: Keys of a custom property array In-Reply-To: <5133BE8D.6020608@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> Message-ID: <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> Mark, Jacque. I am a big fan of forced evaluation. So why doesn't: do "get the keys of the testArray of me" or do "get the keys of" && the testArray of me work? Craig From simplsol at aol.com Sun Mar 3 20:09:38 2013 From: simplsol at aol.com (Paul Looney) Date: Sun, 3 Mar 2013 17:09:38 -0800 Subject: Sauce Bottle In-Reply-To: References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> Message-ID: <6FCF52CC-1AF5-4DF5-B707-0C5417CA2DD1@aol.com> Maybe: LiveCode Free LiveCode Commercial LiveCode Enterprise Paul Looney On Mar 3, 2013, at 2:40 PM, Roger Eller wrote: > LiveCode OpenSource Edition > LiveCode Free Edition > LiveCode Kickstarted Edition > LiveCode Education Edition > LiveCode My Edition > LiveCode Sauce Bottle Edition > On Mar 3, 2013 5:26 PM, "Colin Holgate" wrote: > >> And it would be too similar, at a glance, to LiveCode Commercial Edition. >> >> >> On Mar 3, 2013, at 5:09 PM, Richmond wrote: >> >>>> I believe the community edition of LiveCode is called "LiveCode >> Community Edition". >>>> >>> >>> Is that official? >>> >>> And does what is a bit of a mouthful have an abbreviated form? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 3 20:13:50 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Mar 2013 20:13:50 -0500 Subject: Sauce Bottle In-Reply-To: <6FCF52CC-1AF5-4DF5-B707-0C5417CA2DD1@aol.com> References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> <6FCF52CC-1AF5-4DF5-B707-0C5417CA2DD1@aol.com> Message-ID: Simple. Professional. Like! Sent from my Pipo M2 On Mar 3, 2013 8:10 PM, "Paul Looney" wrote: > Maybe: > LiveCode Free > LiveCode Commercial > LiveCode Enterprise > Paul Looney > > On Mar 3, 2013, at 2:40 PM, Roger Eller wrote: > > > LiveCode OpenSource Edition > > LiveCode Free Edition > > LiveCode Kickstarted Edition > > LiveCode Education Edition > > LiveCode My Edition > > LiveCode Sauce Bottle Edition > > On Mar 3, 2013 5:26 PM, "Colin Holgate" wrote: > > > >> And it would be too similar, at a glance, to LiveCode Commercial > Edition. > >> > >> > >> On Mar 3, 2013, at 5:09 PM, Richmond > wrote: > >> > >>>> I believe the community edition of LiveCode is called "LiveCode > >> Community Edition". > >>>> > >>> > >>> Is that official? > >>> > >>> And does what is a bit of a mouthful have an abbreviated form? > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From simplsol at aol.com Sun Mar 3 20:22:10 2013 From: simplsol at aol.com (Paul Looney) Date: Sun, 3 Mar 2013 17:22:10 -0800 Subject: Sauce Bottle In-Reply-To: References: <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133C83E.9000809@fourthworld.com> <5133CA2D.7050205@gmail.com> <0B5137F9-25AD-48E4-AEFF-A830735DE393@verizon.net> <6FCF52CC-1AF5-4DF5-B707-0C5417CA2DD1@aol.com> Message-ID: Roger, Thank you (my company's name is "Simple Solutions"). I like using "Free" instead of "Community" because "free" is one of the top best selling words. It is also shorter. I think "LiveCode" should always be the first word - and I agree that it should be used in all versions. I miss the old days when we had MetaCard and Transcript - different names for the RAD and the language. "LiveCode Code" doesn't cut it for me. Paul Looney On Mar 3, 2013, at 5:13 PM, Roger Eller wrote: > Simple. Professional. Like! > > Sent from my Pipo M2 > On Mar 3, 2013 8:10 PM, "Paul Looney" wrote: > >> Maybe: >> LiveCode Free >> LiveCode Commercial >> LiveCode Enterprise >> Paul Looney From mwieder at ahsoftware.net Sun Mar 3 20:40:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 17:40:29 -0800 Subject: Keys of a custom property array In-Reply-To: <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> Message-ID: <8926331093.20130303174029@ahsoftware.net> Craig- Sunday, March 3, 2013, 4:25:29 PM, you wrote: > do "get the keys of the testArray of me" What's me? -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Sun Mar 3 20:46:13 2013 From: irog at mac.com (Roger Guay) Date: Sun, 03 Mar 2013 18:46:13 -0700 Subject: Weighted Random Number In-Reply-To: <8926331093.20130303174029@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> Message-ID: I suspect this is easy, but I'm not coming up with anything. Can anyone tell me how to get weighted random numbers in LC? Say I want to position something on the screen randomly but favor the center of the screen. Any ideas? Thanks, Roger From scott at tactilemedia.com Sun Mar 3 21:03:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 03 Mar 2013 18:03:40 -0800 Subject: Weighted Random Number In-Reply-To: Message-ID: There may be a better mathematical method, but I suppose I would start with the loc of the screen and add some small random offsets to the loc. Then at random times when the loc is calculated, I would add some major offsets to the center loc. In this way, the center loc is always favored. Of course, I don't know how you're going about the calcs, so this may not work for your situation. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/3/13 5:46 PM, "Roger Guay" wrote: >I suspect this is easy, but I'm not coming up with anything. Can anyone >tell me how to get weighted random numbers in LC? Say I want to position >something on the screen randomly but favor the center of the screen. Any >ideas? > >Thanks, >Roger >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Sun Mar 3 21:08:50 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Mar 2013 21:08:50 -0500 (EST) Subject: Keys of a custom property array In-Reply-To: <8926331093.20130303174029@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> Message-ID: <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> Mark. Jacque Mark. The test script I made was in a mouseUp handler in a button, and set a custom property of that same button. Jacque. It just occurred to me that placing the custom property identifier in parentheses does not force an evaluation, it just helps the parser, well, parse. Sort of like the old HC caveat where a card reference had to be similarly separated if there was stuff after that reference, or HC would try to identify a bogus descriptor. This was most pertinent to card references, whereas other objects seemed to be immune. But this is different, and academic, of course, but still bothers me. There is no evaluation with parentheses, though there is with "do". The extra evaluation is not needed, but the engine does seem to like parentheses in this instance. I know that in other cases, here and there, parentheses do help in getting a clean compile, well, just because. Craig -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Sun, Mar 3, 2013 8:41 pm Subject: Re: Keys of a custom property array Craig- Sunday, March 3, 2013, 4:25:29 PM, you wrote: > do "get the keys of the testArray of me" What's me? -- -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 irog at mac.com Sun Mar 3 21:14:17 2013 From: irog at mac.com (Roger Guay) Date: Sun, 03 Mar 2013 19:14:17 -0700 Subject: Weighted Random Number In-Reply-To: References: Message-ID: <185A664C-1796-4115-879E-812B73F9D835@mac.com> Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on what I'm trying to do: I want a number (25 to 200) of objects randomly positioned on the stack/window but favoring the center of the stack/window. Would your described method do this for me? Sorry for being slow... Cheers, Roger On Mar 3, 2013, at 7:03 PM, Scott Rossi wrote: > There may be a better mathematical method, but I suppose I would start > with the loc of the screen and add some small random offsets to the loc. > Then at random times when the loc is calculated, I would add some major > offsets to the center loc. In this way, the center loc is always favored. > Of course, I don't know how you're going about the calcs, so this may not > work for your situation. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/3/13 5:46 PM, "Roger Guay" wrote: > >> I suspect this is easy, but I'm not coming up with anything. Can anyone >> tell me how to get weighted random numbers in LC? Say I want to position >> something on the screen randomly but favor the center of the screen. Any >> ideas? >> >> Thanks, >> Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 3 21:18:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 20:18:46 -0600 Subject: Keys of a custom property array In-Reply-To: <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> Message-ID: <51340486.2040303@hyperactivesw.com> On 3/3/13 6:25 PM, dunbarx at aol.com wrote: > I am a big fan of forced evaluation. > > So why doesn't: > > do "get the keys of the testArray of me" > > or > > do "get the keys of" && the testArray of me > > work? It works if you add the parentheses: do "get the keys of (the testArray of me)" But it's weird. The reason I wrote to the list is because this didn't work either: put keys(the cArray of me) which does have the parens. So it never occured to me to use: the keys of (the cArray of me) even though in my mind, that's identical. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pderocco at ix.netcom.com Sun Mar 3 21:27:52 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Sun, 3 Mar 2013 18:27:52 -0800 Subject: Weighted Random Number In-Reply-To: <185A664C-1796-4115-879E-812B73F9D835@mac.com> References: <185A664C-1796-4115-879E-812B73F9D835@mac.com> Message-ID: <7E6ADC49AB9D488FA73363945EBEA072@PAULD> > From: Roger Guay > > Thanks, Scott. I'm not sure I follow what you're saying, so > let me expand on what I'm trying to do: I want a number (25 > to 200) of objects randomly positioned on the stack/window > but favoring the center of the stack/window. Would your > described method do this for me? Sorry for being slow... You need to devise a simple mathematical function that translates the range of the basic random number generator into the appropriate range, with a curve that has a greater slope at the extremes than in the middle. First, generate a random number with a reasonably big range, subtract the midpoint of the range to get a bipolar value, and then compute a third-order polynomial. The zeroth-order coefficient should be the middle pixel value of the screen, the second-order coefficient should be zero to make it symmetric, the first-order should be small enough that by itself you'd get a range that covers only a small portion of the screen, then the third-order should be sufficient to cover the full width of the screen. You can fiddle the first- and third-order coefficients to adjust the weighting. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From jacque at hyperactivesw.com Sun Mar 3 21:30:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Mar 2013 20:30:38 -0600 Subject: Keys of a custom property array In-Reply-To: <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> Message-ID: <5134074E.7090602@hyperactivesw.com> On 3/3/13 8:08 PM, dunbarx at aol.com wrote: > Jacque. It just occurred to me that placing the custom property > identifier in parentheses does not force an evaluation, it just helps > the parser, well, parse. I remember when I had trouble getting URL content and was told it had to be in parentheses to "force evaluation", so that's what I call it. url ("file:"&it) Was many moons ago though. That's MetaCard moons. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 3 21:44:13 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 18:44:13 -0800 Subject: Keys of a custom property array In-Reply-To: <5134074E.7090602@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> Message-ID: <4830154812.20130303184413@ahsoftware.net> Jacque- Sunday, March 3, 2013, 6:30:38 PM, you wrote: > On 3/3/13 8:08 PM, dunbarx at aol.com wrote: >> Jacque. It just occurred to me that placing the custom property >> identifier in parentheses does not force an evaluation, it just helps >> the parser, well, parse. > I remember when I had trouble getting URL content and was told it had to > be in parentheses to "force evaluation", so that's what I call it. > url ("file:"&it) > Was many moons ago though. That's MetaCard moons. Actually, that needs to be in parentheses because url is a function. As in put url("file:"&it) into tDataStream -- -Mark Wieder mwieder at ahsoftware.net From peterwawood at gmail.com Sun Mar 3 21:54:47 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 4 Mar 2013 10:54:47 +0800 Subject: Weighted Random Number In-Reply-To: <185A664C-1796-4115-879E-812B73F9D835@mac.com> References: <185A664C-1796-4115-879E-812B73F9D835@mac.com> Message-ID: Roger A simple method might be: 1. Select a random number between 25 and 200 2. Select a random number between 25 and the random number selected in step 1. This should result with the median of the numbers closer to 25 than 200. You could repeat step 3 again if you want to shift the median even nearer to 25. It may not be mathematically correct but it does seem to offer the benefit of being easy to code :-) Cheers Peter On 4 Mar 2013, at 10:14, Roger Guay wrote: > Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on what I'm trying to do: I want a number (25 to 200) of objects randomly positioned on the stack/window but favoring the center of the stack/window. Would your described method do this for me? Sorry for being slow... > > Cheers, > Roger > > > On Mar 3, 2013, at 7:03 PM, Scott Rossi wrote: > >> There may be a better mathematical method, but I suppose I would start >> with the loc of the screen and add some small random offsets to the loc. >> Then at random times when the loc is calculated, I would add some major >> offsets to the center loc. In this way, the center loc is always favored. >> Of course, I don't know how you're going about the calcs, so this may not >> work for your situation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/3/13 5:46 PM, "Roger Guay" wrote: >> >>> I suspect this is easy, but I'm not coming up with anything. Can anyone >>> tell me how to get weighted random numbers in LC? Say I want to position >>> something on the screen randomly but favor the center of the screen. Any >>> ideas? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Mar 3 22:08:10 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 14:08:10 +1100 Subject: Keys of a custom property array In-Reply-To: <4830154812.20130303184413@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> Message-ID: On 04/03/2013, at 1:44 PM, Mark Wieder wrote: > Actually, that needs to be in parentheses because url is a function. > As in > > put url("file:"&it) into tDataStream If you're in the right folder you can: put url "file:index.html" into tHTML -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Sun Mar 3 22:17:09 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 3 Mar 2013 17:17:09 -1000 Subject: Keys of a custom property array In-Reply-To: <51340486.2040303@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <51340486.2040303@hyperactivesw.com> Message-ID: I've run into other circumstances where using parens makes an expression yield the correct results. I can't think of them off the top of my head but the resukt has been that I probably use an overabundance of parens in my code so I don't have to worry about things working correctly. That's how I stumled on the solution to this - just force of habit. Actually, as a bonus, I think parens often make the code more readable too. Pete lcSQL Software On Sun, Mar 3, 2013 at 4:18 PM, J. Landman Gay wrote: > On 3/3/13 6:25 PM, dunbarx at aol.com wrote: > > I am a big fan of forced evaluation. >> >> So why doesn't: >> >> >> do "get the keys of the testArray of me" >> >> or >> >> do "get the keys of" && the testArray of me >> >> work? >> > > It works if you add the parentheses: > > do "get the keys of (the testArray of me)" > > But it's weird. The reason I wrote to the list is because this didn't work > either: > > put keys(the cArray of me) > > which does have the parens. So it never occured to me to use: > > the keys of (the cArray of me) > > even though in my mind, that's identical. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Mar 3 22:21:48 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 19:21:48 -0800 Subject: Keys of a custom property array In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> Message-ID: <17332410375.20130303192148@ahsoftware.net> Monte- Sunday, March 3, 2013, 7:08:10 PM, you wrote: > On 04/03/2013, at 1:44 PM, Mark Wieder wrote: >> Actually, that needs to be in parentheses because url is a function. >> As in >> >> put url("file:"&it) into tDataStream > If you're in the right folder you can: > put url "file:index.html" into tHTML Yes, but that's one of those cases where LC "helps" you along even though you're doing wrong. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Mar 3 22:27:50 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Mar 2013 19:27:50 -0800 Subject: Keys of a custom property array In-Reply-To: <5133BE8D.6020608@hyperactivesw.com> References: <5133BE8D.6020608@hyperactivesw.com> Message-ID: <513414B6.3040807@fourthworld.com> It seems there are two types of arrays storable in LC props, what I like to call "Natural" and "Unnatural": "Natural" arrays are one-dimensional, and fit into the traditional view of custom props as having one or more property sets, each of which is comprised of properties, each of which has a key and a value. "Unnatural" arrays are what you have when you story any array into a custom property value. I haven't fully tested this theory out, but it seems to be that when you store an array into a custom property the engine first runs it through arrayEncode, and to access it uses arrayDecode, both of which are notoriously slow operations since they require iterating through the complete structure to translate it from the RAM-address-optimized version of the array in memory and it's simpler linear structure for storage. The difference between the two is why some of the array syntax like "get myArray[key1][key2]" can't be used with arrays stored in custom props, because in actuality the custom property is only one level deep, and anything deeper is emulated through arrayEncode/arrayDecode. Given this, though I don't have my benchmarks with me at the moment, I believe that if you can fit the data you need into the "natural" array storage of custom properties and property sets, and use "the customkeys" to access those directly from the object record, you should see the most minimal impact on both execution time and memory space. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Sun Mar 3 22:37:10 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 14:37:10 +1100 Subject: Keys of a custom property array In-Reply-To: <17332410375.20130303192148@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> <17332410375.20130303192148@ahsoftware.net> Message-ID: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> On 04/03/2013, at 2:21 PM, Mark Wieder wrote: >> If you're in the right folder you can: >> put url "file:index.html" into tHTML > > Yes, but that's one of those cases where LC "helps" you along even > though you're doing wrong. I don't think so... It's documented as a keyword not a function. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Sun Mar 3 22:36:02 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Mar 2013 19:36:02 -0800 Subject: Keys of a custom property array In-Reply-To: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> Message-ID: <513416A2.100@fourthworld.com> Monte Goulding wrote: > It's documented as a keyword not a function. "Keyword" is the "Miscellaneous" of programming languages, the box things wind up in when they don't fit into a language's equivalent of The Seven Parts of Speech. ;) -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sun Mar 3 22:55:01 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 19:55:01 -0800 Subject: Keys of a custom property array In-Reply-To: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> <17332410375.20130303192148@ahsoftware.net> <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> Message-ID: <18334403031.20130303195501@ahsoftware.net> Monte- Sunday, March 3, 2013, 7:37:10 PM, you wrote: > On 04/03/2013, at 2:21 PM, Mark Wieder wrote: >>> If you're in the right folder you can: >>> put url "file:index.html" into tHTML >> >> Yes, but that's one of those cases where LC "helps" you along even >> though you're doing wrong. > I don't think so... It's documented as a keyword not a function. OK. That stopped me in my tracks. In that case, the syntax is weirder than I previously thought. It *should* IMO be documented as a function, but I see all the way back to the 2.0 documentation that it's written up as a "keyword". As Richard points out, that puts it in the same category as "long" and "onto" and "expanded" and "ticks", i.e., the set of all things that are not members of any sets. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Sun Mar 3 22:56:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 3 Mar 2013 17:56:53 -1000 Subject: Keys of a custom property array In-Reply-To: <513414B6.3040807@fourthworld.com> References: <5133BE8D.6020608@hyperactivesw.com> <513414B6.3040807@fourthworld.com> Message-ID: Richard, I think your explanation of how arrays stored in cprops are translated back and forth between internal and external storage explains the the performance differences in Mark's tests. I am curious though about your comment on storing multi-dimensional arrays in cProps. Are you saying it's not possible to store multi-dimensaional arrays in cProps? I was hoping to do that in a project I'm about to start on. Pete lcSQL Software On Sun, Mar 3, 2013 at 5:27 PM, Richard Gaskin wrote: > It seems there are two types of arrays storable in LC props, what I like > to call "Natural" and "Unnatural": > > "Natural" arrays are one-dimensional, and fit into the traditional view of > custom props as having one or more property sets, each of which is > comprised of properties, each of which has a key and a value. > > "Unnatural" arrays are what you have when you story any array into a > custom property value. I haven't fully tested this theory out, but it > seems to be that when you store an array into a custom property the engine > first runs it through arrayEncode, and to access it uses arrayDecode, both > of which are notoriously slow operations since they require iterating > through the complete structure to translate it from the > RAM-address-optimized version of the array in memory and it's simpler > linear structure for storage. > > The difference between the two is why some of the array syntax like "get > myArray[key1][key2]" can't be used with arrays stored in custom props, > because in actuality the custom property is only one level deep, and > anything deeper is emulated through arrayEncode/arrayDecode. > > Given this, though I don't have my benchmarks with me at the moment, I > believe that if you can fit the data you need into the "natural" array > storage of custom properties and property sets, and use "the customkeys" to > access those directly from the object record, you should see the most > minimal impact on both execution time and memory space. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ______________________________**______________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sun Mar 3 23:47:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 15:47:42 +1100 Subject: Keys of a custom property array In-Reply-To: <513416A2.100@fourthworld.com> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> Message-ID: <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> On 04/03/2013, at 2:36 PM, Richard Gaskin wrote: > > It's documented as a keyword not a function. > > "Keyword" is the "Miscellaneous" of programming languages, the box things wind up in when they don't fit into a language's equivalent of The Seven Parts of Speech. ;) Isn't it an adjective qualifying the string as a url... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dunbarx at aol.com Sun Mar 3 23:47:36 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Mar 2013 23:47:36 -0500 (EST) Subject: Weighted Random Number In-Reply-To: References: <185A664C-1796-4115-879E-812B73F9D835@mac.com> Message-ID: <8CFE6AA8693C1DF-CE8-C660D@webmail-m036.sysops.aol.com> Hi. Just fiddling around, I tried this in a button, with a field named "outputField". The "100" is arbitrary. This might weight too heavily towards the middle. on mouseup put 100 into maxval repeat maxVal put weightTheMiddle(random(maxval),maxval/2) & return after accum end repeat sort accum numeric put accum into fld "outPutField" end mouseup function weightTheMiddle var,tMiddle put trunc(tMiddle - var) into seed if seed = 0 then put 1 into seed put random(abs(seed)) into tFactor if seed < 0 then return var - tFactor else return var + tFactor end if end weightTheMiddle -----Original Message----- From: Peter W A Wood To: How to use LiveCode Sent: Sun, Mar 3, 2013 9:55 pm Subject: Re: Weighted Random Number Roger A simple method might be: 1. Select a random number between 25 and 200 2. Select a random number between 25 and the random number selected in step 1. This should result with the median of the numbers closer to 25 than 200. You could repeat step 3 again if you want to shift the median even nearer to 25. It may not be mathematically correct but it does seem to offer the benefit of being easy to code :-) Cheers Peter On 4 Mar 2013, at 10:14, Roger Guay wrote: > Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on what I'm trying to do: I want a number (25 to 200) of objects randomly positioned on the stack/window but favoring the center of the stack/window. Would your described method do this for me? Sorry for being slow... > > Cheers, > Roger > > > On Mar 3, 2013, at 7:03 PM, Scott Rossi wrote: > >> There may be a better mathematical method, but I suppose I would start >> with the loc of the screen and add some small random offsets to the loc. >> Then at random times when the loc is calculated, I would add some major >> offsets to the center loc. In this way, the center loc is always favored. >> Of course, I don't know how you're going about the calcs, so this may not >> work for your situation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/3/13 5:46 PM, "Roger Guay" wrote: >> >>> I suspect this is easy, but I'm not coming up with anything. Can anyone >>> tell me how to get weighted random numbers in LC? Say I want to position >>> something on the screen randomly but favor the center of the screen. Any >>> ideas? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Mar 4 00:01:05 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 21:01:05 -0800 Subject: Keys of a custom property array In-Reply-To: <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> Message-ID: <4438367000.20130303210105@ahsoftware.net> Monte- Sunday, March 3, 2013, 8:47:42 PM, you wrote: > On 04/03/2013, at 2:36 PM, Richard Gaskin wrote: >> > It's documented as a keyword not a function. >> >> "Keyword" is the "Miscellaneous" of programming languages, the >> box things wind up in when they don't fit into a language's >> equivalent of The Seven Parts of Speech. ;) > Isn't it an adjective qualifying the string as a url... Hmmm... no. If we're not going to treat "url" as a function, then in the statement put url "file:xyz" url is a container, as in "put the contents of the url whose reference is file:xyz" and in that case, "file:xyz" is the qualifier of "url". But even as a container the BNF syntax is wrong. It makes much more sense to ignore the misleading documentation and think of it as a function. put url("file:xyz") -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Mar 4 00:06:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 16:06:57 +1100 Subject: Keys of a custom property array In-Reply-To: <18334403031.20130303195501@ahsoftware.net> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> <17332410375.20130303192148@ahsoftware.net> <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <18334403031.20130303195501@ahsoftware.net> Message-ID: <764E2ECC-07EE-47C9-8774-569132D3C56D@sweattechnologies.com> On 04/03/2013, at 2:55 PM, Mark Wieder wrote: >> I don't think so... It's documented as a keyword not a function. > > OK. That stopped me in my tracks. In that case, the syntax is weirder > than I previously thought. It *should* IMO be documented as a > function, but I see all the way back to the 2.0 documentation that > it's written up as a "keyword". As Richard points out, that puts it in > the same category as "long" and "onto" and "expanded" and "ticks", > i.e., the set of all things that are not members of any sets. As may be inferred from my answer to Richard's post I think it would be better to document these as adjective, preposition, adjective, noun rather than just keyword. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Mon Mar 4 00:23:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Mar 2013 21:23:31 -0800 Subject: Keys of a custom property array In-Reply-To: References: <5133BE8D.6020608@hyperactivesw.com> <513414B6.3040807@fourthworld.com> Message-ID: <9539713234.20130303212331@ahsoftware.net> Pete- Sunday, March 3, 2013, 7:56:53 PM, you wrote: > Richard, > I think your explanation of how arrays stored in cprops are translated back > and forth between internal and external storage explains the the > performance differences in Mark's tests. Jacque's tests actually, not mine. I just suggested that there might be a difference. And even in Jacque's tests it's not quite clear what the engine is doing under the hood. In the second of her tests, the one that takes ten times as long, she's explicitly loading the custom property each time through the loop; while the faster repeat loop is no doubt using a cached copy. I can't at the moment think of how to run a test that separates these things, but that could be because I've been working on a bottle of Laphroaig and I'm not about to do anything with my computer right now other than send out silly emails. > I am curious though about your comment on storing multi-dimensional arrays > in cProps. Are you saying it's not possible to store multi-dimensaional > arrays in cProps? I was hoping to do that in a project I'm about to start > on. Multidimensional arrays can most definitely be stored as custom props. Unraveling them can be a bit weird, but yes. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Mar 4 00:33:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Mar 2013 16:33:28 +1100 Subject: Keys of a custom property array In-Reply-To: <4438367000.20130303210105@ahsoftware.net> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> <4438367000.20130303210105@ahsoftware.net> Message-ID: On 04/03/2013, at 4:01 PM, Mark Wieder wrote: > Hmmm... no. > > If we're not going to treat "url" as a function, then in the statement > > put url "file:xyz" > > url is a container, as in > > "put the contents of the url whose reference is file:xyz" > > and in that case, "file:xyz" is the qualifier of "url". > But even as a container the BNF syntax is wrong. It makes much more > sense to ignore the misleading documentation and think of it as a > function. > > put url("file:xyz") Hmm... yeah I didn't think that one through enough... what about noun adjunct.... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Mon Mar 4 01:11:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Mar 2013 00:11:53 -0600 Subject: Keys of a custom property array In-Reply-To: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> <17332410375.20130303192148@ahsoftware.net> <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> Message-ID: <51343B29.30005@hyperactivesw.com> On 3/3/13 9:37 PM, Monte Goulding wrote: > > On 04/03/2013, at 2:21 PM, Mark Wieder wrote: > >>> If you're in the right folder you can: >>> put url "file:index.html" into tHTML >> >> Yes, but that's one of those cases where LC "helps" you along even >> though you're doing wrong. > > I don't think so... It's documented as a keyword not a function. When "URL" was introduced into the language, it was defined as a "container". Sort of like a field or a variable. I've never thought of it as a function, but the engine might treat it that way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 4 01:17:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Mar 2013 00:17:58 -0600 Subject: Keys of a custom property array In-Reply-To: <9539713234.20130303212331@ahsoftware.net> References: <5133BE8D.6020608@hyperactivesw.com> <513414B6.3040807@fourthworld.com> <9539713234.20130303212331@ahsoftware.net> Message-ID: <51343C96.9010603@hyperactivesw.com> On 3/3/13 11:23 PM, Mark Wieder wrote: > I can't at the moment think of how to > run a test that separates these things, but that could be because I've > been working on a bottle of Laphroaig and I'm not about to do anything > with my computer right now other than send out silly emails. Please continue silly emails. I'm still amused at the one you wrote about how yesterday you were tardy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Mar 4 04:11:23 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 04 Mar 2013 01:11:23 -0800 Subject: Weighted Random Number In-Reply-To: <185A664C-1796-4115-879E-812B73F9D835@mac.com> Message-ID: I'm still a bit unclear about the result you want, but thinking about it more, I'd guess you want something like a radial orientation of objects centered on the card. I'm pretty sure you'd need a logarithmic function for this, and while I'm not hip to the right way to do it, I cobbled together an option for fun that seems to come close (via your message box): go url "http://www.tactilemedia.com/download/random_position.livecode" Pressing the button creates 200 graphics of random shape/size/translucency, and positions them radially near the center of the card. For me, this looks acceptable (and like modern art), but as I said, it may not be the result you're looking for. You can play with the randomCardPosition function to change the results. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/3/13 6:14 PM, "Roger Guay" wrote: >Thanks, Scott. I'm not sure I follow what you're saying, so let me expand >on what I'm trying to do: I want a number (25 to 200) of objects randomly >positioned on the stack/window but favoring the center of the >stack/window. Would your described method do this for me? Sorry for being >slow... > >Cheers, >Roger > > >On Mar 3, 2013, at 7:03 PM, Scott Rossi wrote: > >> There may be a better mathematical method, but I suppose I would start >> with the loc of the screen and add some small random offsets to the loc. >> Then at random times when the loc is calculated, I would add some major >> offsets to the center loc. In this way, the center loc is always >>favored. >> Of course, I don't know how you're going about the calcs, so this may >>not >> work for your situation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/3/13 5:46 PM, "Roger Guay" wrote: >> >>> I suspect this is easy, but I'm not coming up with anything. Can anyone >>> tell me how to get weighted random numbers in LC? Say I want to >>>position >>> something on the screen randomly but favor the center of the screen. >>>Any >>> ideas? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Mon Mar 4 05:42:19 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 4 Mar 2013 11:42:19 +0100 Subject: variable from a web site In-Reply-To: References: Message-ID: I'm a total newbie with browsers and worse, totally blind-and-deaf to Java. My problem is I want to pick coordinates and elevation in a LC stack from http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm just by clicking on the map. I was (surprisingly) able to get a browser working in my stack. Now, the results are apparently available as a CSV list in a variable 'outputDIV', defined as : var outputDiv=document.getElementById('outputDiv'); How to get this variable automatically after a click on the map ? Many thanks in advance ! Jacques From livfoss at mac.com Mon Mar 4 08:02:27 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 04 Mar 2013 14:02:27 +0100 Subject: Really closing a stack Message-ID: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> This is driving me nuts. My ambition is to remove a stack from memory and therefore from the message path, prior to reloading a fresh (template) version of the same stack. I don't want two versions of the same stack in the machine at one time - and in fact LC makes this illegal. This seems a very simple idea but somehow I have messed it up. I need help. After lots of experiments, I have made a very simple pair of stacks, as follows. The first stack, 'Killer', is just a mainstack with one card and two buttons, one which loads the second stack ('DataStack') and one which destroys the data stack. The loading (opening) button works, and I can see the loaded stack in the IDE's Application Browser. The script of the second button consists of just this: on mouseUp if exists(stack "dataStack") then answer "deleting" && (the short name of stack "dataStack") & "; destroyStack is" && (the destroyStack of stack "dataStack") & "; cantDelete is" && (the cantDelete of stack "dataStack") delete stack "dataStack" -- this is supposed to guarantee the removal from RAM answer "the existence of the stack is now" && (exists(stack "dataStack")) else answer "can't find the data stack" end if end mouseUp when I execute this, the first 'answer' reveals that the destroyStack is true and the cantDelete is false, but after the delete, the second answer confirms that stack still exists! I can also continue to access it from the IDE's App Browser. If I use 'close' instead of 'delete', I get the same result. I also notice that an attempt to invoke the IDE's 'Close and Remove from Memory' menu doesn't work either - I get the warning dialog but the stack doesn't go away. This menu item works for me in other apps, even with this version of LC (5.5.4 on a Mac). I have no idea what new factor I have introduced. I have often restarted LC as part of this experiment, so it's not some bit of ragged code in the IDE. I tried making my KIller stack into a standalone, and although the window of the data stack closes, its existence is still reported as 'true'. I tried using 'close' instead of 'delete', but the behaviour seems the same. Can anyone explain this? This is probably just a consequence of 'developer fatigue', but I can't see it. TIA Graham From coiin at verizon.net Mon Mar 4 08:08:17 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 04 Mar 2013 08:08:17 -0500 Subject: Really closing a stack In-Reply-To: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> References: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> Message-ID: What is destroyWindow set to? From bonnmike at gmail.com Mon Mar 4 09:13:16 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 4 Mar 2013 07:13:16 -0700 Subject: variable from a web site In-Reply-To: References: Message-ID: Don't have time to dig further, but something like this might get you started.. on mouseUp get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets the innerHtml of outputDiv put it -- could be "put the result" in this case also, info is duplicated. end mouseUp On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser wrote: > > I'm a total newbie with browsers and worse, totally blind-and-deaf to > Java. My problem is I want to pick coordinates and elevation in a LC stack > from > http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm > just by clicking on the map. > I was (surprisingly) able to get a browser working in my stack. Now, the > results are apparently available as a CSV list in a variable 'outputDIV', > defined as : var outputDiv=document.getElementById('outputDiv'); > How to get this variable automatically after a click on the map ? > Many thanks in advance ! > > Jacques > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 4 09:16:38 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 04 Mar 2013 15:16:38 +0100 Subject: Keys of a custom property array In-Reply-To: <51343B29.30005@hyperactivesw.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <8CFE69458C3E68A-CE8-C5B35@webmail-m036.sysops.aol.com> <5134074E.7090602@hyperactivesw.com> <4830154812.20130303184413@ahsoftware.net> <17332410375.20130303192148@ahsoftware.net> <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <51343B29.30005@hyperactivesw.com> Message-ID: URL is not a function. The reason why it's very often used with parentheses is because of evaluation ordering being unhelpful. There used to be a little popup in the old 1.1.1 documentation that explained operator order, and included containers and keywords. Consider these two statement: put URL "file:" & it && "connected to host." into myVariable put it & URL "file:" & "blah.txt" into myVariable both will fail, because the url keyword come after & in the operator order (correct ordering is enforced in the commented versions with the help of parentheses). For completeness sake, here how those two lines would work: put URL ("file:" & it) && "connected to host." into myVariable put it & URL ("file:" & "blah.txt") into myVariable As a reference here a more widely known example of that same problem: put (1 + 3) * 2 -- results in 8 put 1 + 3 * 2 -- results in 7 Now of course LiveCode does it wrong. It should treat URL as the beginning of a container, until the end of the string supplied, and not put URL into the operation order at all. That way both of the above "wrong" examples would work. However there'd be problem in such a theoretical case with a statement like this: put URL "file:" & "fake.txt" && "If empty, please check your file privileges." -- result would theoretically be: this file does not exist: "fake.txt If empty, please check your file privileges." Maybe using URL like a function could actually help with peoples confusion, by making the parenthesis mandatory. But again, there'd be problems with lines like this (the weirdness of the statement also freaks me out): put the URL of "http://blah.com" & "is the result" TL;dr: URL is a container, the parenthesis help with operator order, this is not going to be fixed because there's no win-win solution. On 04.03.2013, at 07:11, J. Landman Gay wrote: > On 3/3/13 9:37 PM, Monte Goulding wrote: >> >> On 04/03/2013, at 2:21 PM, Mark Wieder wrote: >> >>>> If you're in the right folder you can: >>>> put url "file:index.html" into tHTML >>> >>> Yes, but that's one of those cases where LC "helps" you along even >>> though you're doing wrong. >> >> I don't think so... It's documented as a keyword not a function. > > When "URL" was introduced into the language, it was defined as a "container". Sort of like a field or a variable. I've never thought of it as a function, but the engine might treat it that way. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dave.cragg at lacscentre.co.uk Mon Mar 4 09:21:06 2013 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Mar 2013 14:21:06 +0000 Subject: Keys of a custom property array In-Reply-To: <4438367000.20130303210105@ahsoftware.net> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> <4438367000.20130303210105@ahsoftware.net> Message-ID: <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> On 4 Mar 2013, at 05:01, Mark Wieder wrote: > It makes much more > sense to ignore the misleading documentation and think of it as a > function. > > put url("file:xyz") But does that make sense for the following: delete url put x into url post x to url It's hard to think of it as a function in these cases. Dave From bonnmike at gmail.com Mon Mar 4 09:22:28 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 4 Mar 2013 07:22:28 -0700 Subject: variable from a web site In-Reply-To: References: Message-ID: Actually since you don't just want the most recent click and want the csv contents you probably want this instead. get revbrowserexecutescript(1, "result=document.getElementById('ta_csvoutput').value;") The other just returns the most recent click, this grabs the value of the textarea with the csv data. On Mon, Mar 4, 2013 at 7:13 AM, Mike Bonner wrote: > Don't have time to dig further, but something like this might get you > started.. > > on mouseUp > > get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets > the innerHtml of outputDiv > > put it -- could be "put the result" in this case also, info is > duplicated. > > end mouseUp > > > On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser wrote: > >> >> I'm a total newbie with browsers and worse, totally blind-and-deaf to >> Java. My problem is I want to pick coordinates and elevation in a LC stack >> from >> http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm >> just by clicking on the map. >> I was (surprisingly) able to get a browser working in my stack. Now, the >> results are apparently available as a CSV list in a variable 'outputDIV', >> defined as : var outputDiv=document.getElementById('outputDiv'); >> How to get this variable automatically after a click on the map ? >> Many thanks in advance ! >> >> Jacques >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From slylabs13 at me.com Mon Mar 4 09:24:01 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 04 Mar 2013 06:24:01 -0800 Subject: Sauce Bottle In-Reply-To: <5133197F.5030602@gmail.com> References: <51326954.1000200@gmail.com> <3C91BE98-4399-43B4-ABC2-582D16226DA4@sweattechnologies.com> <3F491971-1FF9-4CF0-A6BA-916D3A8CB243@sweattechnologies.com> <5133197F.5030602@gmail.com> Message-ID: Those were great machines for their time too! Lasted forever as you well know. I ported SBT for DOS to run on those Macs and we had our whole radio ministry using them for everything for many a year. Bob On Mar 3, 2013, at 1:35 AM, Richmond wrote: > On 03/03/2013 11:11 AM, Monte Goulding wrote: >> On 03/03/2013, at 11:22 AM, Roger Eller wrote: >> >>> Do we also refer to it as LCIi? > > Hey, I've got a Macintosh LC475 in my attic in Scotland; maybe the ghost of Steve will 'do' RunRev through > the courts. From jacques.hausser at unil.ch Mon Mar 4 09:35:14 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 4 Mar 2013 15:35:14 +0100 Subject: variable from a web site In-Reply-To: References: Message-ID: <8BEF05AF-252A-4C56-AE72-01DE2148F390@unil.ch> Many thanks, Mike, I'll have a try this evening (visitors home just now?) Jacques Le 4 mars 2013 ? 15:22, Mike Bonner a ?crit : > Actually since you don't just want the most recent click and want the csv > contents you probably want this instead. > > get revbrowserexecutescript(1, > "result=document.getElementById('ta_csvoutput').value;") > > > The other just returns the most recent click, this grabs the value of the > textarea with the csv data. > > > On Mon, Mar 4, 2013 at 7:13 AM, Mike Bonner wrote: > >> Don't have time to dig further, but something like this might get you >> started.. >> >> on mouseUp >> >> get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets >> the innerHtml of outputDiv >> >> put it -- could be "put the result" in this case also, info is >> duplicated. >> >> end mouseUp >> >> >> On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser wrote: >> >>> >>> I'm a total newbie with browsers and worse, totally blind-and-deaf to >>> Java. My problem is I want to pick coordinates and elevation in a LC stack >>> from >>> http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm >>> just by clicking on the map. >>> I was (surprisingly) able to get a browser working in my stack. Now, the >>> results are apparently available as a CSV list in a variable 'outputDIV', >>> defined as : var outputDiv=document.getElementById('outputDiv'); >>> How to get this variable automatically after a click on the map ? >>> Many thanks in advance ! >>> >>> Jacques >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From irog at mac.com Mon Mar 4 09:59:32 2013 From: irog at mac.com (Roger Guay) Date: Mon, 04 Mar 2013 07:59:32 -0700 Subject: Weighted Random Number In-Reply-To: References: Message-ID: Hello Scott, This is exactly the kind of distribution I want. You solved my problem and you managed to make a piece of art in the process. You are so clever!! Thanks and cheers, Roger On Mar 4, 2013, at 2:11 AM, Scott Rossi wrote: > I'm still a bit unclear about the result you want, but thinking about it > more, I'd guess you want something like a radial orientation of objects > centered on the card. I'm pretty sure you'd need a logarithmic function > for this, and while I'm not hip to the right way to do it, I cobbled > together an option for fun that seems to come close (via your message box): > go url "http://www.tactilemedia.com/download/random_position.livecode" > > Pressing the button creates 200 graphics of random > shape/size/translucency, and > positions them radially near the center of the card. For me, this looks > acceptable (and like modern art), but as I said, it may not be the result > you're looking for. You can play with the randomCardPosition function to > change the results. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/3/13 6:14 PM, "Roger Guay" wrote: > >> Thanks, Scott. I'm not sure I follow what you're saying, so let me expand >> on what I'm trying to do: I want a number (25 to 200) of objects randomly >> positioned on the stack/window but favoring the center of the >> stack/window. Would your described method do this for me? Sorry for being >> slow... >> >> Cheers, >> Roger >> >> >> On Mar 3, 2013, at 7:03 PM, Scott Rossi wrote: >> >>> There may be a better mathematical method, but I suppose I would start >>> with the loc of the screen and add some small random offsets to the loc. >>> Then at random times when the loc is calculated, I would add some major >>> offsets to the center loc. In this way, the center loc is always >>> favored. >>> Of course, I don't know how you're going about the calcs, so this may >>> not >>> work for your situation. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> >>> On 3/3/13 5:46 PM, "Roger Guay" wrote: >>> >>>> I suspect this is easy, but I'm not coming up with anything. Can anyone >>>> tell me how to get weighted random numbers in LC? Say I want to >>>> position >>>> something on the screen randomly but favor the center of the screen. >>>> Any >>>> ideas? >>>> >>>> Thanks, >>>> Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Mar 4 10:05:54 2013 From: irog at mac.com (Roger Guay) Date: Mon, 04 Mar 2013 08:05:54 -0700 Subject: Weighted Random Number In-Reply-To: <7E6ADC49AB9D488FA73363945EBEA072@PAULD> References: <185A664C-1796-4115-879E-812B73F9D835@mac.com> <7E6ADC49AB9D488FA73363945EBEA072@PAULD> Message-ID: I want to thank Paul, Peter, Dunbar, Jacques and Scott for helping me with this problem. I now have enough to keep me out of your hair for months!! Thanks and cheers, Roger On Mar 3, 2013, at 7:27 PM, Paul D. DeRocco wrote: >> From: Roger Guay >> >> Thanks, Scott. I'm not sure I follow what you're saying, so >> let me expand on what I'm trying to do: I want a number (25 >> to 200) of objects randomly positioned on the stack/window >> but favoring the center of the stack/window. Would your >> described method do this for me? Sorry for being slow... > > You need to devise a simple mathematical function that translates the range > of the basic random number generator into the appropriate range, with a > curve that has a greater slope at the extremes than in the middle. > > First, generate a random number with a reasonably big range, subtract the > midpoint of the range to get a bipolar value, and then compute a third-order > polynomial. The zeroth-order coefficient should be the middle pixel value of > the screen, the second-order coefficient should be zero to make it > symmetric, the first-order should be small enough that by itself you'd get a > range that covers only a small portion of the screen, then the third-order > should be sufficient to cover the full width of the screen. You can fiddle > the first- and third-order coefficients to adjust the weighting. > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Mar 4 10:21:45 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 04 Mar 2013 16:21:45 +0100 Subject: Really closing a stack In-Reply-To: References: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> Message-ID: Thanks Colin for your reply. I think 'destrpyWindow' was false (I've never needed it before, and indeed the description in the Dictionary doesn't really explain how it relates to the other two properties I mentioned and why they don't just override it when a stack is deleted). However, I set it to true, and got the same result as before - the stack continues to return 'true' to the 'exists' function after 'delete' has been executed, and the IDE doesn't do the job any better. To be clear I set destroyWindow to true in the OpenStack handler of the stack that I later try to delete, so this would override any setting made by the engine as it loads the stack. FINALLY I did something which I hadn't thought would have any influence at all on the outcome - the 'Killer' stack has a reference to the "dataStack" stack in its 'Stack Files' list: I added this to make it easier for Killer to find the other stack. When I deleted it and made the 'kill' handler use the full path to the stack it had to delete, bingo, it worked - in my script and in the IDE and in my standalone. I have no idea why and I don't know if it will transfer to my real application, where I don't remember messing with 'Stack Files' at all. I'll see. Meanwhile if anyone can see the logic of this change, please tell me. Sincere thanks for your interest. Graham On 4 Mar 2013, at 14:08, Colin Holgate wrote: > What is destroyWindow set to? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From athithyapanchapakesan at gmail.com Mon Mar 4 10:33:51 2013 From: athithyapanchapakesan at gmail.com (athithya panch) Date: Mon, 4 Mar 2013 16:33:51 +0100 Subject: LIVECODE-SCROLLBAR LOCK Message-ID: Hi I am a beginner on Livecode development. ->Is it possible to control the scrollbar when the screen is locked ? ->If you lock the screen from a substack, will it also lock the mainstack ? thanks -- Athithyaa Panchapakesan Rajeswari Student (On Foreign Exchange Program from PSG College of Technology, India) Master in Information and Computer Sciences University of Luxembourg Luxembourg From mwieder at ahsoftware.net Mon Mar 4 10:57:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Mar 2013 07:57:26 -0800 Subject: Keys of a custom property array In-Reply-To: <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> <4438367000.20130303210105@ahsoftware.net> <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> Message-ID: <17677748312.20130304075726@ahsoftware.net> Dave- Monday, March 4, 2013, 6:21:06 AM, you wrote: > It's hard to think of it as a function in these cases. I'm starting to see why it's classed as a "keyword". -- -Mark Wieder mwieder at ahsoftware.net From rjb at robelko.com Mon Mar 4 11:08:01 2013 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 4 Mar 2013 17:08:01 +0100 Subject: Keys of a custom property array In-Reply-To: <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> <4438367000.20130303210105@ahsoftware.net> <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> Message-ID: On 04.03.2013 at 14:21 Uhr +0000 Dave Cragg apparently wrote: >But does that make sense for the following: > >delete url >put x into url >post x to url > >It's hard to think of it as a function in these cases. > >Dave Unless you think of it as a pointer to a container. Robert From coiin at verizon.net Mon Mar 4 11:28:22 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 04 Mar 2013 11:28:22 -0500 Subject: how my book is doing... In-Reply-To: References: Message-ID: <6ECA4EA7-A27E-4F3E-B5FE-BF961C667D6E@verizon.net> I received the royalty statement for October, November, and December. The book still did well, and now I think there are nearly 200 print copies and over 400 ebook copies out there. The income is still low for the amount of time it took to write the book, but it's a lot more than I thought it would be. Interestingly, although the ebook is quite bit cheaper, the numbers are enough that the royalties to me are higher from the ebooks than the print books. Makes me hope that most of the KS backers were at least at the ebook version level! From rodmccall491 at gmail.com Mon Mar 4 12:02:43 2013 From: rodmccall491 at gmail.com (Rod McCall) Date: Mon, 4 Mar 2013 18:02:43 +0100 Subject: how my book is doing... In-Reply-To: <6ECA4EA7-A27E-4F3E-B5FE-BF961C667D6E@verizon.net> References: <6ECA4EA7-A27E-4F3E-B5FE-BF961C667D6E@verizon.net> Message-ID: Well done Colin, we will probably buy another copy for our lab. Actually your sales are pretty good given the overall size of the LiveCode community. Cheers, rod On 4 March 2013 17:28, Colin Holgate wrote: > I received the royalty statement for October, November, and December. The > book still did well, and now I think there are nearly 200 print copies and > over 400 ebook copies out there. The income is still low for the amount of > time it took to write the book, but it's a lot more than I thought it would > be. > > Interestingly, although the ebook is quite bit cheaper, the numbers are > enough that the royalties to me are higher from the ebooks than the print > books. Makes me hope that most of the KS backers were at least at the ebook > version level! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From WSUMNER at dom.wustl.edu Mon Mar 4 12:06:56 2013 From: WSUMNER at dom.wustl.edu (Sumner, Walt) Date: Mon, 4 Mar 2013 17:06:56 +0000 Subject: Weighted Random Number Message-ID: This seems to work: Make a stack with a button having this script, then click the button. It will bounce around in a normal distribution in H and V coordinates. on mouseUp local tSD,tMean,tPoint,tStartPoint put the loc of me into tStartPoint put the width of this window div 6 & comma & the height of this window div 6 into tSD put the width of this window div 2 & comma & the height of this window div 2 into tMean put BoxMullerDist(tMean,tSD) into tPoint set the loc of me to tPoint wait 1 second set the loc of me to tStartPoint end mouseUp function BoxMullerDist pMean,pStdDev local tU,tV,tX,tY put random(100)/100 into tU put random(100)/100 into tV put sqrt(-2*ln(tU))*cos(2*pi*tV) into tX put sqrt(-2*ln(tU))*sin(2*pi*tV) into tY return item 1 of pMean + tX*item 1 of pStdDev & comma & item 2 of pMean + tY*item 2 of pStdDev end BoxMullerDist You can tweak the range by setting tSD to div 4 to hit the edges more often. You can tweak the center point by shifting the mean, but you will go off the edges sometimes if you shift too far. Ref: http://en.wikipedia.org/wiki/Normal_distribution#Generating_values_from_normal_distribution Walt Sumner From dunbarx at aol.com Mon Mar 4 12:14:11 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 4 Mar 2013 12:14:11 -0500 (EST) Subject: LIVECODE-SCROLLBAR LOCK In-Reply-To: References: Message-ID: <8CFE712D279517A-1590-BACA3@Webmail-m123.sysops.aol.com> Hi. You can control the scrollbar, but will not notice any updates or changes until the screen is unlocked. As for navigating to a substack with a locked screen, yes, everything is hunkered down until either the handler ends or the screen is unlocked explicitly. This is a good thing. Make a mainstack (main1) and a substack (sub1). Put a field into the substack, and a button in the mainstack. Put this into the button script: on mouseUp lock screen go stack "sub1" put random(99) into fld 1 go back wait until the mouseClick end mouseUp You will see nothing until you click the mouse. Craig Newman -----Original Message----- From: athithya panch To: use-livecode Sent: Mon, Mar 4, 2013 10:34 am Subject: LIVECODE-SCROLLBAR LOCK Hi I am a beginner on Livecode development. ->Is it possible to control the scrollbar when the screen is locked ? ->If you lock the screen from a substack, will it also lock the mainstack ? thanks -- Athithyaa Panchapakesan Rajeswari Student (On Foreign Exchange Program from PSG College of Technology, India) Master in Information and Computer Sciences University of Luxembourg Luxembourg _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Mar 4 12:27:38 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 04 Mar 2013 12:27:38 -0500 Subject: how my book is doing... In-Reply-To: References: <6ECA4EA7-A27E-4F3E-B5FE-BF961C667D6E@verizon.net> Message-ID: Yes, my expectation was that hopefully both readers would like the book. I think it helps when you're the only book in the field. On Mar 4, 2013, at 12:02 PM, Rod McCall wrote: > >Well done Colin, we will probably buy another copy for our lab. Actually > your sales are pretty good given the overall size of the LiveCode community. From dochawk at gmail.com Mon Mar 4 12:36:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 4 Mar 2013 09:36:21 -0800 Subject: Weighted Random Number In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> Message-ID: On Sun, Mar 3, 2013 at 5:46 PM, Roger Guay wrote: > I suspect this is easy, but I'm not coming up with anything. Can anyone > tell me how to get weighted random numbers in LC? Say I want to position > something on the screen randomly but favor the center of the screen. Any > ideas? > The standard way is to use the Cumulative Distribution Function (CDF) of the random numver that you really want. However, adding two random numbers from 0 to half your max would also average the middle of the screen with a pyramid-like distrivution -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mcgrath3 at mac.com Mon Mar 4 12:47:12 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 04 Mar 2013 12:47:12 -0500 Subject: how my book is doing... In-Reply-To: References: <6ECA4EA7-A27E-4F3E-B5FE-BF961C667D6E@verizon.net> Message-ID: <07265BB2-F941-4853-980D-67A10DACB39D@mac.com> Wait, you have two readers? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 4, 2013, at 12:27 PM, Colin Holgate wrote: > Yes, my expectation was that hopefully both readers would like the book. I think it helps when you're the only book in the field. > > > On Mar 4, 2013, at 12:02 PM, Rod McCall wrote: > >>> Well done Colin, we will probably buy another copy for our lab. Actually >> your sales are pretty good given the overall size of the LiveCode community. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 4 13:48:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Mar 2013 12:48:01 -0600 Subject: Really closing a stack In-Reply-To: References: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> Message-ID: <5134EC61.4090003@hyperactivesw.com> On 3/4/13 9:21 AM, Graham Samuel wrote: > FINALLY I did something which I hadn't thought would have any > influence at all on the outcome - the 'Killer' stack has a reference > to the "dataStack" stack in its 'Stack Files' list: I added this to > make it easier for Killer to find the other stack. When I deleted it > and made the 'kill' handler use the full path to the stack it had to > delete, bingo, it worked - in my script and in the IDE and in my > standalone. I have no idea why and I don't know if it will transfer > to my real application, where I don't remember messing with 'Stack > Files' at all. I'll see. Meanwhile if anyone can see the logic of > this change, please tell me. If the script provides a full file path when referencing a stack, "there is a stack" will return true. It's the same as checking if there's a file at that location, only it discriminates only for stack files. If you've got the short name of a stack linked up to a stackfiles list, every time you refer to the short name, the engine will substitute the long file path instead. So basically your script was asking if there's a stack on disk, not in RAM. In order to check, the engine actually opens the stack, which puts it back in RAM. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Mon Mar 4 14:17:26 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 04 Mar 2013 20:17:26 +0100 Subject: Really closing a stack In-Reply-To: <5134EC61.4090003@hyperactivesw.com> References: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> <5134EC61.4090003@hyperactivesw.com> Message-ID: <73F83E93-4F22-4960-853E-0F1D598C2B3E@mac.com> Wow, what an insight! That also explains the fact that I got messages from the IDE saying there was a naming conflict immediately after I thought I had eliminated the stack from RAM. You live and learn: perhaps we need to get some of this into the LC dictionary - I'll think if I can write a sufficiently clear comment. Brilliant, Jacque. Thanks very much Graham On 4 Mar 2013, at 19:48, J. Landman Gay wrote: > On 3/4/13 9:21 AM, Graham Samuel wrote: > >> FINALLY I did something which I hadn't thought would have any >> influence at all on the outcome - the 'Killer' stack has a reference >> to the "dataStack" stack in its 'Stack Files' list: I added this to >> make it easier for Killer to find the other stack. When I deleted it >> and made the 'kill' handler use the full path to the stack it had to >> delete, bingo, it worked - in my script and in the IDE and in my >> standalone. I have no idea why and I don't know if it will transfer >> to my real application, where I don't remember messing with 'Stack >> Files' at all. I'll see. Meanwhile if anyone can see the logic of >> this change, please tell me. > > If the script provides a full file path when referencing a stack, "there is a stack" will return true. It's the same as checking if there's a file at that location, only it discriminates only for stack files. > > If you've got the short name of a stack linked up to a stackfiles list, every time you refer to the short name, the engine will substitute the long file path instead. So basically your script was asking if there's a stack on disk, not in RAM. In order to check, the engine actually opens the stack, which puts it back in RAM. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Mar 4 14:30:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 4 Mar 2013 09:30:08 -1000 Subject: Keys of a custom property array In-Reply-To: <9539713234.20130303212331@ahsoftware.net> References: <5133BE8D.6020608@hyperactivesw.com> <513414B6.3040807@fourthworld.com> <9539713234.20130303212331@ahsoftware.net> Message-ID: I'm longing for the day when Google hangouts include the ability to share Scotch! On Sun, Mar 3, 2013 at 7:23 PM, Mark Wieder wrote: > but that could be because I've > been working on a bottle of Laphroaig > Pete lcSQL Software From jacque at hyperactivesw.com Mon Mar 4 14:48:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Mar 2013 13:48:01 -0600 Subject: Really closing a stack In-Reply-To: <73F83E93-4F22-4960-853E-0F1D598C2B3E@mac.com> References: <4AB4F08A-A338-4779-A0AA-D680ABEFDD00@mac.com> <5134EC61.4090003@hyperactivesw.com> <73F83E93-4F22-4960-853E-0F1D598C2B3E@mac.com> Message-ID: <5134FA71.1060907@hyperactivesw.com> On 3/4/13 1:17 PM, Graham Samuel wrote: > Wow, what an insight! That also explains the fact that I got messages > from the IDE saying there was a naming conflict immediately after I > thought I had eliminated the stack from RAM. I learned about it the hard way, same as you. :) Now if I know that the file I'm looking for is a stack, I use "there is a file" instead of "there is a stack", because checking for a file's existence doesn't try to open it. Only checking for stacks does that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacques.hausser at unil.ch Mon Mar 4 14:53:07 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Mon, 4 Mar 2013 20:53:07 +0100 Subject: variable from a web site In-Reply-To: <8BEF05AF-252A-4C56-AE72-01DE2148F390@unil.ch> References: <8BEF05AF-252A-4C56-AE72-01DE2148F390@unil.ch> Message-ID: <092866AA-E043-43F5-A2FA-C0479CB78CCB@unil.ch> It works perfectly well :-) Le 4 mars 2013 ? 15:35, Jacques Hausser a ?crit : > Many thanks, Mike, I'll have a try this evening (visitors home just now?) > > Jacques > > Le 4 mars 2013 ? 15:22, Mike Bonner a ?crit : > >> Actually since you don't just want the most recent click and want the csv >> contents you probably want this instead. >> >> get revbrowserexecutescript(1, >> "result=document.getElementById('ta_csvoutput').value;") >> >> >> The other just returns the most recent click, this grabs the value of the >> textarea with the csv data. >> >> >> On Mon, Mar 4, 2013 at 7:13 AM, Mike Bonner wrote: >> >>> Don't have time to dig further, but something like this might get you >>> started.. >>> >>> on mouseUp >>> >>> get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets >>> the innerHtml of outputDiv >>> >>> put it -- could be "put the result" in this case also, info is >>> duplicated. >>> >>> end mouseUp >>> >>> >>> On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser wrote: >>> >>>> >>>> I'm a total newbie with browsers and worse, totally blind-and-deaf to >>>> Java. My problem is I want to pick coordinates and elevation in a LC stack >>>> from >>>> http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm >>>> just by clicking on the map. >>>> I was (surprisingly) able to get a browser working in my stack. Now, the >>>> results are apparently available as a CSV list in a variable 'outputDIV', >>>> defined as : var outputDiv=document.getElementById('outputDiv'); >>>> How to get this variable automatically after a click on the map ? >>>> Many thanks in advance ! >>>> >>>> Jacques >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From richmondmathewson at gmail.com Mon Mar 4 15:09:39 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 04 Mar 2013 22:09:39 +0200 Subject: [OT] Virtualisation of operating systems Message-ID: <5134FF83.7030706@gmail.com> http://www.proxmox.com/ This certainly looks rather interesting. Richmond. From irog at mac.com Mon Mar 4 15:31:12 2013 From: irog at mac.com (Roger Guay) Date: Mon, 04 Mar 2013 13:31:12 -0700 Subject: Weighted Random Number In-Reply-To: References: Message-ID: <18A31EE5-5BC0-4AE9-8342-7181AC9B3A7B@mac.com> Hi Walt, This works perfectly! I'll add it to the other methods I've received for evaluation. Thanks and cheers, Roger On Mar 4, 2013, at 10:06 AM, "Sumner, Walt" wrote: > This seems to work: > > Make a stack with a button having this script, then click the button. It will bounce around in a normal distribution in H and V coordinates. > > > on mouseUp > > local tSD,tMean,tPoint,tStartPoint > > put the loc of me into tStartPoint > > put the width of this window div 6 & comma & the height of this window div 6 into tSD > > put the width of this window div 2 & comma & the height of this window div 2 into tMean > > put BoxMullerDist(tMean,tSD) into tPoint > > set the loc of me to tPoint > > wait 1 second > > set the loc of me to tStartPoint > > end mouseUp > > > function BoxMullerDist pMean,pStdDev > > local tU,tV,tX,tY > > put random(100)/100 into tU > > put random(100)/100 into tV > > put sqrt(-2*ln(tU))*cos(2*pi*tV) into tX > > put sqrt(-2*ln(tU))*sin(2*pi*tV) into tY > > return item 1 of pMean + tX*item 1 of pStdDev & comma & item 2 of pMean + tY*item 2 of pStdDev > > end BoxMullerDist > > You can tweak the range by setting tSD to div 4 to hit the edges more often. You can tweak the center point by shifting the mean, but you will go off the edges sometimes if you shift too far. > > Ref: http://en.wikipedia.org/wiki/Normal_distribution#Generating_values_from_normal_distribution > > Walt Sumner > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Mar 4 15:37:54 2013 From: irog at mac.com (Roger Guay) Date: Mon, 04 Mar 2013 13:37:54 -0700 Subject: Weighted Random Number In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> Message-ID: <27CCF9EA-1F76-4D18-8222-944F18692DE5@mac.com> Thanks for this, Dr. Hawkins. I suspect my distribution is Gaussian, but I may not need to be precise. I'm evaluating all the great suggestions I've received on this. Thanks again, Roger On Mar 4, 2013, at 10:36 AM, Dr. Hawkins wrote: > On Sun, Mar 3, 2013 at 5:46 PM, Roger Guay wrote: > >> I suspect this is easy, but I'm not coming up with anything. Can anyone >> tell me how to get weighted random numbers in LC? Say I want to position >> something on the screen randomly but favor the center of the screen. Any >> ideas? >> > > > The standard way is to use the Cumulative Distribution Function (CDF) of > the random numver that you really want. > > However, adding two random numbers from 0 to half your max would also > average the middle of the screen with a pyramid-like distrivution > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave.cragg at lacscentre.co.uk Mon Mar 4 15:39:11 2013 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Mar 2013 20:39:11 +0000 Subject: Keys of a custom property array In-Reply-To: References: <4F52F490-05D9-4AA0-A555-A8F3DEC576E1@sweattechnologies.com> <513416A2.100@fourthworld.com> <4141F284-BD13-4B74-AE9C-F2C78DB9C171@sweattechnologies.com> <4438367000.20130303210105@ahsoftware.net> <9BD719FB-BFE5-4E8A-A7F9-5978D5038930@lacscentre.co.uk> Message-ID: On 4 Mar 2013, at 16:08, Robert Brenstein wrote: > On 04.03.2013 at 14:21 Uhr +0000 Dave Cragg apparently wrote: >> But does that make sense for the following: >> >> delete url >> put x into url >> post x to url >> >> It's hard to think of it as a function in these cases. >> >> Dave > > Unless you think of it as a pointer to a container. Right. Jacque mentioned above that it was originally described as a container. But even then, it's not really a normal container. For example, the following pairs of statement do something basically different, whereas with a normal container they do something similar. put "x" into url get url put "x" into word 3 of url get url I usually think of things such as urls and xml as 'external resources' in the sense that they are defined outside the context of LiveCode. As such, we can't expect the normal LiveCode commands and functions to work in the same way as they would for LiveCode containers. Maybe "object marker" is a better term, but that takes us into a whole other area. :-) Dave From ambassador at fourthworld.com Mon Mar 4 15:47:55 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Mar 2013 12:47:55 -0800 Subject: Keys of a custom property array In-Reply-To: References: Message-ID: <5135087B.2090907@fourthworld.com> Peter Haworth wrote: > Richard, > I think your explanation of how arrays stored in cprops are translated back > and forth between internal and external storage explains the the > performance differences in Mark's tests. > > I am curious though about your comment on storing multi-dimensional arrays > in cProps. Are you saying it's not possible to store multi-dimensaional > arrays in cProps? I was hoping to do that in a project I'm about to start > on. Objects natively support one-level deep arrays of custom properties, with which we can use array notation to access, e.g.: get the PropSetName["SomeKey"] of btn 1 If you want to store an array as the value of a custom property, I believe that the array is stored in the same format you'd get if you ran the array through arrayEncode. This hasn't been confirmed by RunRev, or even rigorously tested here, but would reasonably explain why we can't use array syntax to access anything deeper than the "natural" one-level deep properties. And if memory serves, the ability to store arrays as property values was introduced in the same version in which arrayEncode and arrayDecode premiered, seemingly reinforcing this hypothesis. So yes, you can store arrays of any depth in property values going back many versions, but to use that data you'll have to put the prop value into a variable and access it from there, as you won't be able to access individual elements of the array when stored as a property. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mcgrath3 at mac.com Mon Mar 4 15:48:22 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 04 Mar 2013 15:48:22 -0500 Subject: Speech and commas Message-ID: I am having a problem with Speech 'again'. The following script will only speak the text in tTTS up until the first comma and then it stops. It does not finish tTTS or get to the tNum or the last word "Tasks!" But I have no idea why it would do this???? on mouseUp put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS put "6" into tNum send "TASpeak" && "Expanding" && tTTS && tNum && "Tasks!" to me in 1 millisecond end mouseUp on TASpeak pTextToSpeak --revStopSpeech wait until revIsSpeaking() is false --with messages revSpeak pTextToSpeak end TASpeak Any ideas??? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From andrew at ctech.me Mon Mar 4 15:57:31 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 4 Mar 2013 14:57:31 -0600 Subject: Markdown library Message-ID: Does anyone know of a livecode markdown implementation that works with fields? http://daringfireball.net/projects/markdown/basics Is there something similar that anyone has done? -- Regards, Andrew Kluthe andrew at ctech.me From lc at pbh.on-rev.com Mon Mar 4 16:17:30 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Mon, 4 Mar 2013 13:17:30 -0800 Subject: Speech and commas In-Reply-To: References: Message-ID: <7E240FE2-DD77-4CD2-8450-496F6059263E@pbh.on-rev.com> I can't figure out why, but it is the commas causing the issue, replacing them with stops allows the speech to complete the full sentence. Using exactly the same sentence in Text Edit allows the speech to complete with commas. Paul On 2013-03-04, at 12:48 PM, Thomas McGrath III wrote: > I am having a problem with Speech 'again'. > > The following script will only speak the text in tTTS up until the first comma and then it stops. It does not finish tTTS or get to the tNum or the last word "Tasks!" But I have no idea why it would do this???? > > on mouseUp > put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS > put "6" into tNum > send "TASpeak" && "Expanding" && tTTS && tNum && "Tasks!" to me in 1 millisecond > > end mouseUp > > on TASpeak pTextToSpeak > --revStopSpeech > wait until revIsSpeaking() is false --with messages > revSpeak pTextToSpeak > end TASpeak > > > Any ideas??? > > Thanks > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 harrison at all-auctions.com Mon Mar 4 16:35:20 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 4 Mar 2013 16:35:20 -0500 Subject: Speech and commas In-Reply-To: References: Message-ID: <3F8A73C7-9A2E-439A-A43B-EA4F5F5DD02B@all-auctions.com> Hi Thomas, As a work around I would replace all comma's with some other non-pronounceable or invisible character like a space and see if that fixes your problem. Do that before you give the sentence to the speech part of the program. Good Luck, Rick On Mar 4, 2013, at 3:48 PM, Thomas McGrath III wrote: > I am having a problem with Speech 'again'. > > The following script will only speak the text in tTTS up until the first comma and then it stops. It does not finish tTTS or get to the tNum or the last word "Tasks!" But I have no idea why it would do this???? > > on mouseUp > put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS > put "6" into tNum > send "TASpeak" && "Expanding" && tTTS && tNum && "Tasks!" to me in 1 millisecond > > end mouseUp > > on TASpeak pTextToSpeak > --revStopSpeech > wait until revIsSpeaking() is false --with messages > revSpeak pTextToSpeak > end TASpeak > > > Any ideas??? > > Thanks > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 niggemann at uni-wh.de Mon Mar 4 16:44:49 2013 From: niggemann at uni-wh.de (BNig) Date: Mon, 4 Mar 2013 13:44:49 -0800 (PST) Subject: Speech and commas In-Reply-To: References: Message-ID: <1362433489508-4661835.post@n4.nabble.com> Hi Thomas, looks like a bug in revSpeak to me. put "THE TOP ROW ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS replace "," with ";" in tTTs works and seems to have the same effect on pronounciation as a comma. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Speech-and-commas-tp4661831p4661835.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Mar 4 17:15:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Mar 2013 22:15:15 +0000 (UTC) Subject: Kill quit process References: Message-ID: Thomas McGrath III writes: > Will: kill 9 process "MyApp.app" which should work on the Mac also work on > windows if I change it to: kill 9 process "MyApp.exe" Found this: -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Mar 4 17:28:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 5 Mar 2013 09:28:40 +1100 Subject: Keys of a custom property array In-Reply-To: <5135087B.2090907@fourthworld.com> References: <5135087B.2090907@fourthworld.com> Message-ID: <97E5F6C6-86AA-47DE-A0B9-E97519915CBD@sweattechnologies.com> On 05/03/2013, at 7:47 AM, Richard Gaskin wrote: > If you want to store an array as the value of a custom property, I believe that the array is stored in the same format you'd get if you ran the array through arrayEncode. > > This hasn't been confirmed by RunRev, or even rigorously tested here, but would reasonably explain why we can't use array syntax to access anything deeper than the "natural" one-level deep properties. I believe the problem is actually the ambiguity between a custom property and a custom property set when using multi-dimensional syntax. http://quality.runrev.com/show_bug.cgi?id=6912 I know there's another bug in there that I had input on but I can't seem to find it.... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dochawk at gmail.com Mon Mar 4 17:32:51 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 4 Mar 2013 14:32:51 -0800 Subject: Weighted Random Number In-Reply-To: <27CCF9EA-1F76-4D18-8222-944F18692DE5@mac.com> References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <27CCF9EA-1F76-4D18-8222-944F18692DE5@mac.com> Message-ID: On Mon, Mar 4, 2013 at 12:37 PM, Roger Guay wrote: > Thanks for this, Dr. Hawkins. > One of the least likely places to use my Ph.D. in Statistics, but . . . :) > I suspect my distribution is Gaussian, but I may not need to be precise. > I'm evaluating all the great suggestions I've received on this. > If it comes from combining a bunch of different things, it's pretty much guaranteed to come out Gaussian if there are enough elements, and pretty close to it even if there are only a handful. (Central Limit Theorem). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Mon Mar 4 17:49:11 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Mar 2013 14:49:11 -0800 Subject: Keys of a custom property array In-Reply-To: <97E5F6C6-86AA-47DE-A0B9-E97519915CBD@sweattechnologies.com> References: <97E5F6C6-86AA-47DE-A0B9-E97519915CBD@sweattechnologies.com> Message-ID: <513524E7.4040201@fourthworld.com> Monte Goulding wrote: > On 05/03/2013, at 7:47 AM, Richard Gaskin wrote: > >> If you want to store an array as the value of a custom property, I believe that the array is stored in the same format you'd get if you ran the array through arrayEncode. >> >> This hasn't been confirmed by RunRev, or even rigorously tested here, but would reasonably explain why we can't use array syntax to access anything deeper than the "natural" one-level deep properties. > > I believe the problem is actually the ambiguity between a custom property and a custom property set when using multi-dimensional syntax. > > http://quality.runrev.com/show_bug.cgi?id=6912 > > I know there's another bug in there that I had input on but I can't seem to find it.... Mark's notes there describe a future challenge for the parser, but don't address the current storage format of arrays in custom props. Try this: Set the value of a custom property to an array, and save that stack. Write out a binfile containing that same array passed through arrayEncode. Now read the encoded array file as binary, delete the first char (it will be 5, a flag noting it's an array), and read the stack file as binary and see if the encoded array data is in the stack data. In my tests it is, suggesting that the format used for encoded arrays is the same format arrays are stored in when put into a custom property. This makes sense, given that arrays are memory-location-specific hashes, so they'd need a generic way to store it in a custom prop, and they already came up with the arrayEncode function at roughly the same time as we were able to save arrays into props. This also explains why accessing these "unnatural" arrays are measurably slower than storing an equivalent one-dimensional array as a property set, since the latter doesn't have the overhead of running through arrayDecode. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mcgrath3 at mac.com Mon Mar 4 17:55:16 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 04 Mar 2013 17:55:16 -0500 Subject: Speech and commas In-Reply-To: <1362433489508-4661835.post@n4.nabble.com> References: <1362433489508-4661835.post@n4.nabble.com> Message-ID: <2548E120-2A9C-44CC-A2F6-EF629C4E3880@mac.com> Ok, after reworking it a dozen times I cam up with a weird but understandable solution. I had to surround the variable with quote to force revSpeak to see it as a quoted line of text. Since the tNum variable only has one word in it revSpeak seems to handle it just fine but because the tTTS has commas in it somehow revSpeak is confused by the variable and must see it as something other than a piece of text. Now it works: on mouseUp put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS put "6" into tNum send "TASpeak" && "Expanding" && quote & tTTS & quote && tNum && "Tasks!" to me in 1 millisecond end mouseUp on TASpeak pTextToSpeak --revStopSpeech wait until revIsSpeaking() is false --with messages revSpeak pTextToSpeak end TASpeak -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 4, 2013, at 4:44 PM, BNig wrote: > Hi Thomas, > > looks like a bug in revSpeak to me. > > put "THE TOP ROW ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS > > replace "," with ";" in tTTs > > works and seems to have the same effect on pronounciation as a comma. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Speech-and-commas-tp4661831p4661835.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 mcgrath3 at mac.com Mon Mar 4 17:55:16 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 04 Mar 2013 17:55:16 -0500 Subject: Speech and commas In-Reply-To: <1362433489508-4661835.post@n4.nabble.com> References: <1362433489508-4661835.post@n4.nabble.com> Message-ID: <2548E120-2A9C-44CC-A2F6-EF629C4E3880@mac.com> Ok, after reworking it a dozen times I cam up with a weird but understandable solution. I had to surround the variable with quote to force revSpeak to see it as a quoted line of text. Since the tNum variable only has one word in it revSpeak seems to handle it just fine but because the tTTS has commas in it somehow revSpeak is confused by the variable and must see it as something other than a piece of text. Now it works: on mouseUp put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS put "6" into tNum send "TASpeak" && "Expanding" && quote & tTTS & quote && tNum && "Tasks!" to me in 1 millisecond end mouseUp on TASpeak pTextToSpeak --revStopSpeech wait until revIsSpeaking() is false --with messages revSpeak pTextToSpeak end TASpeak -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 4, 2013, at 4:44 PM, BNig wrote: > Hi Thomas, > > looks like a bug in revSpeak to me. > > put "THE TOP ROW ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS > > replace "," with ";" in tTTs > > works and seems to have the same effect on pronounciation as a comma. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Speech-and-commas-tp4661831p4661835.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 mcgrath3 at mac.com Mon Mar 4 18:08:54 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 04 Mar 2013 18:08:54 -0500 Subject: Kill quit process In-Reply-To: References: Message-ID: <332D53EC-D2DA-493B-8BA8-45E7D0B39354@mac.com> Thanks Mark, I am reading it now. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 4, 2013, at 5:15 PM, Mark Wieder wrote: > Thomas McGrath III writes: > >> Will: kill 9 process "MyApp.app" which should work on the Mac also work on >> windows if I change it to: kill 9 process "MyApp.exe" > > Found 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 monte at sweattechnologies.com Mon Mar 4 18:18:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 5 Mar 2013 10:18:30 +1100 Subject: Keys of a custom property array In-Reply-To: <513524E7.4040201@fourthworld.com> References: <97E5F6C6-86AA-47DE-A0B9-E97519915CBD@sweattechnologies.com> <513524E7.4040201@fourthworld.com> Message-ID: <280A294F-FE5E-48F5-B4BA-536E2783D734@sweattechnologies.com> On 05/03/2013, at 9:49 AM, Richard Gaskin wrote: > Mark's notes there describe a future challenge for the parser, but don't address the current storage format of arrays in custom props. > > Try this: > > Set the value of a custom property to an array, and save that stack. > > Write out a binfile containing that same array passed through arrayEncode. > > Now read the encoded array file as binary, delete the first char (it will be 5, a flag noting it's an array), and read the stack file as binary and see if the encoded array data is in the stack data. > > In my tests it is, suggesting that the format used for encoded arrays is the same format arrays are stored in when put into a custom property. > > This makes sense, given that arrays are memory-location-specific hashes, so they'd need a generic way to store it in a custom prop, and they already came up with the arrayEncode function at roughly the same time as we were able to save arrays into props. > > This also explains why accessing these "unnatural" arrays are measurably slower than storing an equivalent one-dimensional array as a property set, since the latter doesn't have the overhead of running through arrayDecode. I agree it makes total sense to use the same format when reading/writing to disk. As all the data is loaded into memory anyway I wonder how much extra time it would take to turn it into a pointer that was just as fast to access as a regular array.... perhaps that could be done at first access? Either way my guess is you are having to do many iterations to see a measurable difference unless you are dealing with an amount of data that would be better in a database... so no matter what the engine needs to do the reason why we can't deal with multi-dimensional custom properties is because of the syntax ambiguity. The simplest resolution to the ambiguity is to only allow array syntax on sets so the set name must be the first key. If you need to access one of the regular custom properties there is already a mechanism in place for that by using empty as the set name. get the customKeys[""]["dgData"]["1"] get the customKeys["dgProps"]["row template"] Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rjb at robelko.com Mon Mar 4 18:16:40 2013 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 5 Mar 2013 00:16:40 +0100 Subject: Speech and commas In-Reply-To: <2548E120-2A9C-44CC-A2F6-EF629C4E3880@mac.com> References: <1362433489508-4661835.post@n4.nabble.com> <2548E120-2A9C-44CC-A2F6-EF629C4E3880@mac.com> Message-ID: On 04.03.2013 at 17:55 Uhr -0500 Thomas McGrath III apparently wrote: >on mouseUp > put "THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5." into tTTS > put "6" into tNum > send "TASpeak" && "Expanding" && quote & tTTS & quote && tNum && >"Tasks!" to me in 1 millisecond > >end mouseUp > >on TASpeak pTextToSpeak > --revStopSpeech > wait until revIsSpeaking() is false --with messages > revSpeak pTextToSpeak >end TASpeak > This explains your problem. Without quote, TASpeak was seeing multiple paramaters (separated by commas) and pTextToSpeak contained only the text up to the first comma. If you had pTextToSpeak2, it would have the next section. Robert From endernafi at gmail.com Mon Mar 4 18:22:13 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 5 Mar 2013 01:22:13 +0200 Subject: Layering Mobile Controls In-Reply-To: References: <196C6F00866546B587C5F3D81536FEFB@gmail.com> <1E0F4A74-A62F-489E-B2C5-8357D9C6A5F7@sahores-conseil.com> <0A651766EAD94DA4941C2EA7337CFCCF@gmail.com> Message-ID: Hi Pierre, I followed your advice and it worked well to some point. The swipe script in your previous post didn't work -probably I messed things up-, so I switched it to something like this: ~ ~ This script worked like a charm. And the browserLoadRequest script is pretty much same with yours. However, some other issues arose regarding to the content and performance of the webpages. Since I know next to nothing about html5 & javascript, I think I'm gonna reject this project. Price was very good, though, :/ Well, thanks for all your help, really appreciated? Cheers, ~ Ender Nafi ~ ? Keehuna Studio ~ ? Sorcerers of Design From irog at mac.com Mon Mar 4 18:26:10 2013 From: irog at mac.com (Roger Guay) Date: Mon, 04 Mar 2013 16:26:10 -0700 Subject: Weighted Random Number In-Reply-To: References: <5132E849.2050409@hyperactivesw.com> <51339563.5070809@hyperactivesw.com> <812433125.20130303110211@ahsoftware.net> <5133A286.6080508@hyperactivesw.com> <884955875.20130303114414@ahsoftware.net> <5133BE8D.6020608@hyperactivesw.com> <8CFE685E874DC86-CE8-C536C@webmail-m036.sysops.aol.com> <8926331093.20130303174029@ahsoftware.net> <27CCF9EA-1F76-4D18-8222-944F18692DE5@mac.com> Message-ID: <4972C51E-218F-48B5-BF15-65EA651BE4A5@mac.com> I have so much to learn and I learn so much from this group!! On Mar 4, 2013, at 3:32 PM, Dr. Hawkins wrote: > If it comes from combining a bunch of different things, it's pretty much > guaranteed to come out Gaussian if there are enough elements, and pretty > close to it even if there are only a handful. (Central Limit Theorem). From ambassador at fourthworld.com Mon Mar 4 18:56:52 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Mar 2013 15:56:52 -0800 Subject: Keys of a custom property array In-Reply-To: <280A294F-FE5E-48F5-B4BA-536E2783D734@sweattechnologies.com> References: <280A294F-FE5E-48F5-B4BA-536E2783D734@sweattechnologies.com> Message-ID: <513534C4.3040106@fourthworld.com> Monte Goulding wrote: > I agree it makes total sense to use the same format when > reading/writing to disk. As all the data is loaded into memory anyway > I wonder how much extra time it would take to turn it into a pointer > that was just as fast to access as a regular array.... perhaps that > could be done at first access? ArrayEncode's format isn't optimized for searching, simply a linear list of name/value pairs - no btree, no hashes, none of the goodies that make them so fast in RAM. Interestingly, some benchmarks I did some time ago suggest that the format for custom properties is at least somewhat hashed, so that accessing a single property tSomeKey in a property set uProp like this: get the uProp[tSomeKey] of this stack ...is much faster than obtaining the same value if you'd stored the array as a single property like this: put the uProp of this stack into tArray get tArray[tSomeKey] In fact, the overhead of arrayDecode is so significant, and the optmization of custom property access so nice, that in many cases you can access a series of custom properties faster than you can access a series of array elements from a variable if you must first obtain the array from any other persistent store (either property or arrayEncoded file). > Either way my guess is you are having to do many iterations to see > a measurable difference unless you are dealing with an amount of > data that would be better in a database... so no matter what the > engine needs to do the reason why we can't deal with multi- > dimensional custom properties is because of the syntax ambiguity. If we were as casual about all optimization opportunities, we might parse text runs in fields rather than in htmlText. ;) Not all data stores need be relational, and it's possible to craft persistent stores in LC that outperform SQLite if your needs are modest and performance is important for that particular use case. So respectfully, the parser and the storage format are two separate challenges, and both would need to be addressed to make good use of nested arrays as persistent stores. > The simplest resolution to the ambiguity is to only allow array > syntax on sets so the set name must be the first key. If you need > to access one of the regular custom properties there is already a > mechanism in place for that by using empty as the set name. > > get the customKeys[""]["dgData"]["1"] > > get the customKeys["dgProps"]["row template"] I'd vote for that. And with that, how about a btree-based storage format so we could do that from disk as well. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Mon Mar 4 19:36:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 5 Mar 2013 11:36:43 +1100 Subject: Keys of a custom property array In-Reply-To: <513534C4.3040106@fourthworld.com> References: <280A294F-FE5E-48F5-B4BA-536E2783D734@sweattechnologies.com> <513534C4.3040106@fourthworld.com> Message-ID: <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> On 05/03/2013, at 10:56 AM, Richard Gaskin wrote: > > I agree it makes total sense to use the same format when > > reading/writing to disk. As all the data is loaded into memory anyway > > I wonder how much extra time it would take to turn it into a pointer > > that was just as fast to access as a regular array.... perhaps that > > could be done at first access? > > ArrayEncode's format isn't optimized for searching, simply a linear list of name/value pairs - no btree, no hashes, none of the goodies that make them so fast in RAM. > > Interestingly, some benchmarks I did some time ago suggest that the format for custom properties is at least somewhat hashed, so that accessing a single property tSomeKey in a property set uProp like this: > > get the uProp[tSomeKey] of this stack > > ...is much faster than obtaining the same value if you'd stored the array as a single property like this: > > put the uProp of this stack into tArray > get tArray[tSomeKey] > > In fact, the overhead of arrayDecode is so significant, and the optmization of custom property access so nice, that in many cases you can access a series of custom properties faster than you can access a series of array elements from a variable if you must first obtain the array from any other persistent store (either property or arrayEncoded file). Hmm... I think your test methods might need to include loading the stackfile into memory otherwise you are comparing data in memory with reading data from disk... > > > > Either way my guess is you are having to do many iterations to see > > a measurable difference unless you are dealing with an amount of > > data that would be better in a database... so no matter what the > > engine needs to do the reason why we can't deal with multi- > > dimensional custom properties is because of the syntax ambiguity. > > If we were as casual about all optimization opportunities, we might parse text runs in fields rather than in htmlText. ;) I'm not being casual.. I definitely think there's good reasons to optimise this... See my idea above where the custom property would be just as fast as working with an array variable once in memory. > > Not all data stores need be relational, and it's possible to craft persistent stores in LC that outperform SQLite if your needs are modest and performance is important for that particular use case. > > So respectfully, the parser and the storage format are two separate challenges, and both would need to be addressed to make good use of nested arrays as persistent stores. Hmm.. there are many potential storage formats for an array. It would be nice to have some level abstraction that allowed for extensions.. in open language syntax: encode as JSON | XML | btree | .... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Mon Mar 4 19:40:17 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Mar 2013 16:40:17 -0800 Subject: Keys of a custom property array In-Reply-To: <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> References: <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> Message-ID: <51353EF1.5010309@fourthworld.com> Monte Goulding wrote: > Hmm... I think your test methods might need to include loading the > stackfile into memory otherwise you are comparing data in memory > with reading data from disk... Since it's not possible to access any part of a stack without loading it into memory, I've only tested on stacks that are already open. >> If we were as casual about all optimization opportunities, we might >> parse text runs in fields rather than in htmlText. ;) > > I'm not being casual.. I definitely think there's good reasons to > optimise this... See my idea above where the custom property would be > just as fast as working with an array variable once in memory. We're on the same page. It's not an easy task, however. I've tried my hand at btrees once, and they're not a simple structure to work with, a task better left for minds greater than my own (which shouldn't be hard to find ). > Hmm.. there are many potential storage formats for an array. It would > be nice to have some level abstraction that allowed for extensions.. > in open language syntax: > > encode as JSON | XML | btree | .... Gets my vote. Will you be writing that this week? :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Mon Mar 4 19:44:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Mar 2013 16:44:38 -0800 Subject: Keys of a custom property array In-Reply-To: <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> References: <280A294F-FE5E-48F5-B4BA-536E2783D734@sweattechnologies.com> <513534C4.3040106@fourthworld.com> <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> Message-ID: <67109379875.20130304164438@ahsoftware.net> Monte- Monday, March 4, 2013, 4:36:43 PM, you wrote: > encode as JSON | XML | btree | .... Where's that "like" button? -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Mar 4 19:57:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 5 Mar 2013 11:57:44 +1100 Subject: Keys of a custom property array In-Reply-To: <51353EF1.5010309@fourthworld.com> References: <920B8A97-54E4-464A-92E5-B6662A9FF2B6@sweattechnologies.com> <51353EF1.5010309@fourthworld.com> Message-ID: <0DDDC264-6C6B-4856-B78A-0511667A8476@sweattechnologies.com> On 05/03/2013, at 11:40 AM, Richard Gaskin wrote: > > encode as JSON | XML | btree | .... > > Gets my vote. > > Will you be writing that this week? :) Er... no, I'm busy until the refactoring is done... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From sl at trackandfieldnews.com Mon Mar 4 20:26:32 2013 From: sl at trackandfieldnews.com (Sieg Lindstrom) Date: Mon, 4 Mar 2013 17:26:32 -0800 Subject: passing binary data to MySQL BLOB field Message-ID: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> Can anyone advise what the correct syntax should be to construct a MySQL "INSERT" query that passes variables from LiveCode when one of said variables is a binary object? I am trying to construct the statement and then use it with RevExecuteSQL. I'm particularly trying to understand the LC Dictionary note that reads, "To pass binary data in a variable in the variablesList, prepend "*b" to the variable name. The revExecuteSQL command strips the binary marker "*b" and passes it to the database as binary data, rather than text data. Fair enough. My second variable in the query below, binaryObjectVar, is a binary object. So I try this: INSERT INTO Assets (`FileName`, `File`) VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" The result is this LC error: "compilation error at line 486 (Expression: double binary operator) near "*", char 24" If I try the query without using "*b" MySQL chokes on the binary data in binaryObjectVar and sends the following error message: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':1,:2,:3,:4)", "test_file.pdf", %PDF-1.5%...' at line 1" So I've tried a number of permutations for including "*b". I've tried quotes around the variable name with "*b" prepended within those quotes, "*b" prepended before the open quote, etc. In each case, MySQL still gags on the binary data. Help! While this may sound like a misplaced MySQL syntax question, it's not. What I'm missing is how to properly prepend "*b" so LC sends the variable as binary data. ??? Thanks in advance, Sieg Lindstrom From rdimola at evergreeninfo.net Mon Mar 4 20:32:14 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 4 Mar 2013 20:32:14 -0500 Subject: about resolution independence... In-Reply-To: <57B34496-77D3-4F4A-BEA2-3DDB520A603D@sweattechnologies.com> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> <57B34496-77D3-4F4A-BEA2-3DDB520A603D@sweattechnologies.com> Message-ID: <023e01ce1941$44149010$cc3db030$@net> Monte, I ran into Aspect Ratio Independence land early on and was quit a task to get it right while moving and resizing things all over the place. Can't wait to see what you came up with! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Friday, March 01, 2013 4:46 PM To: How to use LiveCode Subject: Re: about resolution independence... On 02/03/2013, at 8:27 AM, Ian Wood wrote: > Resolution Independence is perfectly attainable. Aspect Ratio > Independence is a separate but related issue, and vastly more > complicated... ;) I will have something open source shortly for this. Quite a bit of code may become redundant in it once the resolution independence stuff comes in but the layout manager I've designed specifically for mobile use cases works well so will continue to be useful. I'm just using for it's first app now and wanted to get that out the door before publishing. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Mon Mar 4 20:56:07 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 5 Mar 2013 09:56:07 +0800 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator Message-ID: LiveCode is a finalist in the About.com Reader Awards. Vote now, no registration required, just a valid email address. http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm Peter http://LiveCode1001.blogspot.com From monte at sweattechnologies.com Mon Mar 4 22:50:24 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 5 Mar 2013 14:50:24 +1100 Subject: about resolution independence... In-Reply-To: <023e01ce1941$44149010$cc3db030$@net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <51310E3E.5070901@gmail.com> <426CB22B-E5ED-4138-B450-08B7536E1DB0@verizon.net> <081D7EBE-16F2-4525-8622-B64A7B80DA8C@azurevision.co.uk> <57B34496-77D3-4F4A-BEA2-3DDB520A603D@sweattechnologies.com> <023e01ce1941$44149010$cc3db030$@net> Message-ID: <40FE2E76-B742-439C-81C4-BDBE740C1BA2@sweattechnologies.com> What I might try and do is a screencast so people can at least see what I'm doing. It's very much an extension of the concepts that Chipp pioneered in his plugin. It scales some more properties and also has a geometry manager that's mobile centric (possible different layouts for each orientation etc). With my plugin you work on the stack at a pixel density of 1 and no scaling is done until it's on a device with some other pixel density. On 05/03/2013, at 12:32 PM, Ralph DiMola wrote: > I ran into Aspect Ratio Independence land early on and was quit a task to > get it right while moving and resizing things all over the place. Can't wait > to see what you came up with! -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From michael_livecode at nayyan.com Tue Mar 5 00:22:20 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Tue, 5 Mar 2013 13:22:20 +0800 Subject: about resolution independence... In-Reply-To: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> Message-ID: <78F9ABEB-E487-4FC1-82E7-C81E03802C9F@nayyan.com> If resolution independence is the ability within a particular ascpect On Mar 1, 2013, at 4:56 AM, Colin Holgate wrote: > I know quite a bit about showing content at a size that is different to the original document size, everything I make in Flash uses that ability, it lets me make a single file that works for all existing mobile screens. But, it would be easy for most people to not understand what resolution independence is, or what the benefits are. > [clip] From mwieder at ahsoftware.net Tue Mar 5 01:05:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Mar 2013 22:05:16 -0800 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: Message-ID: <161128618484.20130304220516@ahsoftware.net> Peter- Monday, March 4, 2013, 5:56:07 PM, you wrote: > LiveCode is a finalist in the About.com Reader Awards. Vote now, > no registration required, just a valid email address. > http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm Voted. LiveCode is currently at 57%. Note that you can vote once a day until 19 March. -- -Mark Wieder mwieder at ahsoftware.net From sc at sahores-conseil.com Tue Mar 5 04:19:41 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 5 Mar 2013 10:19:41 +0100 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: Message-ID: Done. LiveCode still at 57% Le 5 mars 2013 ? 02:56, Peter W A Wood a ?crit : > LiveCode is a finalist in the About.com Reader Awards. Vote now, no registration required, just a valid email address. > > http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm > > Peter > http://LiveCode1001.blogspot.com > _______________________________________________ > use-livecode mailing list > use-livecode 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 dirk.cleenwerck at gmail.com Tue Mar 5 04:36:26 2013 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Tue, 5 Mar 2013 10:36:26 +0100 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: Message-ID: Done and now at 62%. We also need to vote for LiveCode as "best tool for app designers". We're only at 16% there. http://mobiledevices.about.com/library/rca2013/bl-best-app-designer-tools.htm Dirk Cleenwerck On Tue, Mar 5, 2013 at 10:19 AM, Pierre Sahores wrote: > Done. LiveCode still at 57% > > Le 5 mars 2013 ? 02:56, Peter W A Wood a ?crit : > > > LiveCode is a finalist in the About.com Reader Awards. Vote now, no > registration required, just a valid email address. > > > > > http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm > > > > Peter > > http://LiveCode1001.blogspot.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Tue Mar 5 08:01:12 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 05 Mar 2013 14:01:12 +0100 Subject: passing binary data to MySQL BLOB field In-Reply-To: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> References: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> Message-ID: <7E3EF7FB-DD65-4B33-A7D3-31ACCB553A26@mac.com> Not sure why it won't work for you, but it seems that your first try had some typo or otherwise wrong code. Your copy/paste has code missing so it's hard to say what the problem is. The second error looks like you forgot some closing brackets or quotation marks, again it's hard to tell due to lack of full code. One thing to note is that all variables used for substitution have to exist, unlike all other places in LC, where missing variables are assumed to be empty. Here's an example that probably should work, but is untested: --assuming revopendatabase works as expected put "blah" into fileNameVar put "pretend this is binary" into binaryObjectVar revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" On 05.03.2013, at 02:26, Sieg Lindstrom wrote: > Can anyone advise what the correct syntax should be to construct a MySQL "INSERT" query that passes variables from LiveCode when one of said variables is a binary object? I am trying to construct the statement and then use it with RevExecuteSQL. I'm particularly trying to understand the LC Dictionary note that reads, "To pass binary data in a variable in the variablesList, prepend "*b" to the variable name. The revExecuteSQL command strips the binary marker "*b" and passes it to the database as binary data, rather than text data. > > Fair enough. My second variable in the query below, binaryObjectVar, is a binary object. So I try this: > > INSERT INTO Assets (`FileName`, `File`) VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" > > The result is this LC error: "compilation error at line 486 (Expression: double binary operator) near "*", char 24" > > If I try the query without using "*b" MySQL chokes on the binary data in binaryObjectVar and sends the following error message: > > "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':1,:2,:3,:4)", "test_file.pdf", %PDF-1.5%...' at line 1" > > So I've tried a number of permutations for including "*b". I've tried quotes around the variable name with "*b" prepended within those quotes, "*b" prepended before the open quote, etc. In each case, MySQL still gags on the binary data. > > Help! While this may sound like a misplaced MySQL syntax question, it's not. What I'm missing is how to properly prepend "*b" so LC sends the variable as binary data. ??? > > Thanks in advance, > > Sieg Lindstrom > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From coiin at verizon.net Tue Mar 5 08:12:29 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 05 Mar 2013 08:12:29 -0500 Subject: about resolution independence... In-Reply-To: <78F9ABEB-E487-4FC1-82E7-C81E03802C9F@nayyan.com> References: <226175B2-94F7-4593-8BF1-DDD1D1C8F25E@verizon.net> <78F9ABEB-E487-4FC1-82E7-C81E03802C9F@nayyan.com> Message-ID: On Mar 5, 2013, at 12:22 AM, Michael Mays wrote: > >If resolution independence is the ability within a particular ascpect I see there being three cases, two of which are naturally going to be taken care of, and one that I want to make sure that it's taken care of! The three cases are: 1. The aspect ratios you want to support vary enough that you need to lay out your application in different ways. 2. You have a fixed layout (or choose to have it be fixed), that you want to present through the shape of the device screen, either by filling in the extra areas with borders, or by cropping into your content. 3. The resolution of the device is different to the resolution of your document, and you want to have the document scale to fill the device. I rarely use #1, and in LiveCode there are already several solutions to the problem. Most of you see a good example of #2 and #3 every day, it's called "television". With television the broadcaster has an original scene that appears on screens which vary in resolution, size, and ratio. How the difference between the original scene and the user's screen is handled is either dictated by the TV station, or is under the user's control. For example, a regular 4:3 scene will slightly overfill an old TV, but on a widescreen TV there are either bars down the sides, or the top and bottom are cropped. A 16:9 movie will nicely fill a widescreen TV, and will either show bars above and below the scene on a regular TV, or will show a central section of the scene. In all cases the TV picture can fill the screen, no matter how many pixels it has, and how big it is in size. Film makers try to take care of the issue by making a 4:3 recording with a central 16:9 or wider area where the ideal composition is. Then it's possible to show the whole image to 4:3 viewers, rather than showing bars. The end result is that the viewer doesn't get the ideal composition, but the film maker knows up front what the viewer will see, and can even balance the composition so that at 2.35:1 it's pretty good, at 16:9 it's ideal, and at 4:3 it's tolerable! I want LiveCode to have those same abilities. From lists at mangomultimedia.com Tue Mar 5 08:58:15 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Mar 2013 08:58:15 -0500 Subject: Markdown library In-Reply-To: References: Message-ID: On Mon, Mar 4, 2013 at 3:57 PM, Andrew Kluthe wrote: > Does anyone know of a livecode markdown implementation that works with > fields? > Andrew, I've done a number of conversions to formats like Markdown. My old code uses htmlText and is quite ugly. I've been rewriting my converters to use a styledText array which is MUCH simpler. Here is a function for Markdown I put together this morning which should get you started. I only did minor testing but lists, styling and colors all work. https://gist.github.com/trevordevore/5090459 -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From larsbrehmer at mac.com Tue Mar 5 10:32:57 2013 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 05 Mar 2013 17:32:57 +0200 Subject: iOS 5.1 SDK Message-ID: I just installed Xcode 4.6 and am using Livecode 5.4 I can't save as standalone anymore! I was using Livecode 5.5.2 and Xcode 4.3 or 4.4 (I think) and everything worked just fine! But now the error is that iOS 5.1 SDK must be installed. In the preferences under mobile support I located the Xcode app, but building a standalone always results in the same error and the standalone folder is empty. The exact error is; "performing iOS arvm v6(or universal) device builds requires the iOS 5.1 SDK platform to be installed (available with Xcode 4.4)" and it appears twice - once when the built starts and again after the build fails. I looked into the Xcode 4.6 package and found a folder iPhoneOS6.1.sdk, which I assume must have replaces the 5.1 SDK when I installed Xcode 4.6. Is this correct? If so, how can I get the 5.1 SDK back. Or is it another problem altogether? Help appreciated! Cheers, Lars From andrew at ctech.me Tue Mar 5 10:41:50 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 5 Mar 2013 09:41:50 -0600 Subject: Markdown library In-Reply-To: References: Message-ID: Wow. Great Trevor. Thanks. I'll give that a go. On Tue, Mar 5, 2013 at 7:58 AM, Trevor DeVore wrote: > On Mon, Mar 4, 2013 at 3:57 PM, Andrew Kluthe wrote: > > > Does anyone know of a livecode markdown implementation that works with > > fields? > > > > Andrew, > > I've done a number of conversions to formats like Markdown. My old code > uses htmlText and is quite ugly. I've been rewriting my converters to use a > styledText array which is MUCH simpler. Here is a function for Markdown I > put together this morning which should get you started. I only did minor > testing but lists, styling and colors all work. > > https://gist.github.com/trevordevore/5090459 > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From msiskin at andrew.cmu.edu Tue Mar 5 11:06:23 2013 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Tue, 5 Mar 2013 16:06:23 +0000 Subject: iOS 5.1 SDK In-Reply-To: References: Message-ID: <186B9F305200B347BB739D76C5632B1D0F9F99@PGH-MSGMB-03.andrew.ad.cmu.edu> Lars, You will need to download the Xcode 4.4.1 application from the Apple Developer site and in LC preferences add that to your mobile prefs. You should then be able to create apps. Marc On Mar 5, 2013, at 10:32 AM, Lars Brehmer > wrote: I just installed Xcode 4.6 and am using Livecode 5.4 I can't save as standalone anymore! I was using Livecode 5.5.2 and Xcode 4.3 or 4.4 (I think) and everything worked just fine! But now the error is that iOS 5.1 SDK must be installed. In the preferences under mobile support I located the Xcode app, but building a standalone always results in the same error and the standalone folder is empty. The exact error is; "performing iOS arvm v6(or universal) device builds requires the iOS 5.1 SDK platform to be installed (available with Xcode 4.4)" and it appears twice - once when the built starts and again after the build fails. I looked into the Xcode 4.6 package and found a folder iPhoneOS6.1.sdk, which I assume must have replaces the 5.1 SDK when I installed Xcode 4.6. Is this correct? If so, how can I get the 5.1 SDK back. Or is it another problem altogether? Help appreciated! Cheers, Lars _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode --------------- Marc Siskin Manager, Modern Language Resource Center Carnegie Mellon University msiskin at andrew.cmu.edu From mwieder at ahsoftware.net Tue Mar 5 11:12:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Mar 2013 08:12:02 -0800 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: Message-ID: <176165023750.20130305081202@ahsoftware.net> Dirk- Tuesday, March 5, 2013, 1:36:26 AM, you wrote: > Done and now at 62%. Now 66%. > We also need to vote for LiveCode as "best tool for app designers". > We're only at 16% there. > http://mobiledevices.about.com/library/rca2013/bl-best-app-designer-tools.htm 33% now. -- -Mark Wieder mwieder at ahsoftware.net From andrew at ctech.me Tue Mar 5 13:05:37 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 5 Mar 2013 12:05:37 -0600 Subject: Markdown library In-Reply-To: References: Message-ID: It works quite well, but I realized not long after testing it that what I need is a markdown to styledText converter. I am going to use your function and try to reverse it to take markdown and give me styledText. Also, is styledText part of the new field control in 5.x? Most of what I do is in 4.6 still, but I am finding more and more reasons to convert things over to 5ish. Andrew On Tue, Mar 5, 2013 at 9:41 AM, Andrew Kluthe wrote: > Wow. Great Trevor. Thanks. I'll give that a go. > > > On Tue, Mar 5, 2013 at 7:58 AM, Trevor DeVore wrote: > >> On Mon, Mar 4, 2013 at 3:57 PM, Andrew Kluthe wrote: >> >> > Does anyone know of a livecode markdown implementation that works with >> > fields? >> > >> >> Andrew, >> >> I've done a number of conversions to formats like Markdown. My old code >> uses htmlText and is quite ugly. I've been rewriting my converters to use >> a >> styledText array which is MUCH simpler. Here is a function for Markdown I >> put together this morning which should get you started. I only did minor >> testing but lists, styling and colors all work. >> >> https://gist.github.com/trevordevore/5090459 >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> www.clarify-it.com - www.screensteps.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From lists at mangomultimedia.com Tue Mar 5 13:39:38 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Mar 2013 13:39:38 -0500 Subject: Markdown library In-Reply-To: References: Message-ID: On Tue, Mar 5, 2013 at 1:05 PM, Andrew Kluthe wrote: > It works quite well, but I realized not long after testing it that what I > need is a markdown to styledText converter. I am going to use your function > and try to reverse it to take markdown and give me styledText. Also, is > styledText part of the new field control in 5.x? Most of what I do is in > 4.6 still, but I am finding more and more reasons to convert things over to > 5ish. styledText is part of 5.5. You might be able to find some code that converts markdown to HTML on the web and then convert that to LiveCode. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From richmondmathewson at gmail.com Tue Mar 5 13:47:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 05 Mar 2013 20:47:27 +0200 Subject: A proliferation of engines . . . ? Message-ID: <51363DBF.4060007@gmail.com> As at least part of the thrust of the Livecode Kickstarter campaign was aimed at the education end of the market what are the chances of having the capabilities of building standalones for: 1. Linux PPC? 1.1. Macintosh PPC? (meaning pre Mac OS 10.3.9) 2. RISC OS? Let alone versions of Livecode itself to run on these platforms? I know these might seem slightly abstruse, but if RunRev cares as much as it states that it does about making Livecode ubiquitous, and as there are buckets of PPC machines and Archimedes machines 'out there' being under-exploited; and Livecode could just be the thing to breathe new life into them. Richmond. From ambassador at fourthworld.com Tue Mar 5 14:10:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Mar 2013 11:10:35 -0800 Subject: A proliferation of engines . . . ? In-Reply-To: <51363DBF.4060007@gmail.com> References: <51363DBF.4060007@gmail.com> Message-ID: <5136432B.8090804@fourthworld.com> Richmond wrote: > As at least part of the thrust of the Livecode Kickstarter campaign was > aimed at the education end of the market what are the chances of having > the capabilities of building standalones for: > > 1. Linux PPC? > > 1.1. Macintosh PPC? (meaning pre Mac OS 10.3.9) > > 2. RISC OS? > > Let alone versions of Livecode itself to run on these platforms? > > I know these might seem slightly abstruse, but if RunRev cares as much > as it states that it does about making Livecode ubiquitous, and as there are > buckets of PPC machines and Archimedes machines 'out there' being > under-exploited; and Livecode could just be the thing to breathe new life > into them. Not likely by itself. I don't know much about RISC OS, but no consumer computers using PPC have been manufactured in almost a decade. Their numbers are currently small, and getting smaller each month. Cost-conscious orgs still using PPCs can probably see a cost benefit migrating to ARM-based systems, which have a low entry cost and continual savings from significantly reduced power consumption. Even an Intel Atom will perform on par with many PPCs, and at only 10w. Ubuntu is still compiled for PPC, but I don't believe Canonical does that themselves, that it's a community effort instead. Likewise, while I wouldn't expect RunRev to return to PPC themselves, there would be nothing stopping any interest person from making a PPC compile of the latest LC once the source is available. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Tue Mar 5 15:29:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Mar 2013 20:29:45 +0000 (UTC) Subject: A proliferation of engines . . . ? References: <51363DBF.4060007@gmail.com> <5136432B.8090804@fourthworld.com> Message-ID: Richard Gaskin writes: > Likewise, while I wouldn't expect RunRev to return to PPC themselves, > there would be nothing stopping any interest person from making a PPC > compile of the latest LC once the source is available. Well, almost nothing. Support for OSX 10.4 and earlier was dropped a while back because trying to maintain compatibility in the code is a nightmare. I can't even compile anything for pre-Leopard systems anymore in XCode because of conflicting sdk problems. There are also features in the newer engines that won't work with older OSX versions, and those would have to be disabled. Anyone who would take this project on would only do it as a labor of love for a diminishing installed base and a code maintenance headache. -- Mark Wieder mwieder at ahsoftware.net From andrew at ctech.me Tue Mar 5 15:44:54 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 5 Mar 2013 14:44:54 -0600 Subject: Markdown library In-Reply-To: References: Message-ID: Right. Time to switch to 5.5 anyhow. I will look into styledText and see if I can port over a markdown lib. Thanks for the head start on this. Andrew On Tue, Mar 5, 2013 at 12:39 PM, Trevor DeVore wrote: > On Tue, Mar 5, 2013 at 1:05 PM, Andrew Kluthe wrote: > > > It works quite well, but I realized not long after testing it that what I > > need is a markdown to styledText converter. I am going to use your > function > > and try to reverse it to take markdown and give me styledText. Also, is > > styledText part of the new field control in 5.x? Most of what I do is in > > 4.6 still, but I am finding more and more reasons to convert things over > to > > 5ish. > > > styledText is part of 5.5. You might be able to find some code that > converts markdown to HTML on the web and then convert that to LiveCode. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From tedennis at softwaredetails.com Tue Mar 5 16:29:22 2013 From: tedennis at softwaredetails.com (Terry Dennis) Date: Tue, 5 Mar 2013 13:29:22 -0800 Subject: Vote for LiveCode In-Reply-To: References: Message-ID: <4819C606BE234DE8ADC5C3FAE470C426@TED> Voted. Twice. Percentages change significantly with each vote, indicating there isn't a lot of voting being done. I wonder how "About.com" came up with their "Reader's Choice" lists? From monte at sweattechnologies.com Tue Mar 5 19:42:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Mar 2013 11:42:09 +1100 Subject: resizing field editor in datagrid Message-ID: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> Hi Folks (hopefully Trevor) I have a custom field editor that resizes as you type to fit the text however every time it resizes I need to change the row height and shift subsequent rows down. Has anyone done this. From the looks of things I may need to use the uScriptLocal getprop to get some of the script locals and then resize the row and shift the other row groups down proportionally. Is that about right? Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Tue Mar 5 21:04:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Mar 2013 13:04:33 +1100 Subject: resizing field editor in datagrid In-Reply-To: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> References: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> Message-ID: Never mind: on UpdateRow pFieldEditor set the rect of graphic "Background" of me to the rect of pFieldEditor set the rect of me to the formattedRect of me put the uScriptLocal["sTableObjectsA"] of me into tTableObjectsA repeat for each line tControl in tTableObjectsA["all row controls"] delete word -2 to -1 of tControl -- of me put tControl into tControlA[the dgIndex of tControl] end repeat put the bottomLeft of me into tTopLeft repeat for each item tIndex in tTableObjectsA["current"]["indexes"] if tIndex > the dgIndex of me then set the topLeft of tControlA[tIndex] to tTopLeft put the bottomLeft of tControlA[tIndex] into tTopLeft end if end repeat end UpdateRow On 06/03/2013, at 11:42 AM, Monte Goulding wrote: > Hi Folks (hopefully Trevor) > > I have a custom field editor that resizes as you type to fit the text however every time it resizes I need to change the row height and shift subsequent rows down. Has anyone done this. From the looks of things I may need to use the uScriptLocal getprop to get some of the script locals and then resize the row and shift the other row groups down proportionally. Is that about right? > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dunbarx at aol.com Tue Mar 5 21:56:39 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 5 Mar 2013 21:56:39 -0500 (EST) Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: <161128618484.20130304220516@ahsoftware.net> References: <161128618484.20130304220516@ahsoftware.net> Message-ID: <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> Not sure how important this is, but LC is at 43%. It was higher yesterday. -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Tue, Mar 5, 2013 1:06 am Subject: Re: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator Peter- Monday, March 4, 2013, 5:56:07 PM, you wrote: > LiveCode is a finalist in the About.com Reader Awards. Vote now, > no registration required, just a valid email address. > http://mobiledevices.about.com/library/rca2013/bl-best-mobile-app-creator.htm Voted. LiveCode is currently at 57%. Note that you can vote once a day until 19 March. -- -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 revdev at pdslabs.net Wed Mar 6 00:32:47 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 05 Mar 2013 21:32:47 -0800 Subject: libUrl upload/download - how to cancel? Message-ID: <5136D4FF.5090606@pdslabs.net> Hi folks, How do you cancel a libUrl in-progress download or upload? I don't see a libUrl command for it, or anything else obvious. Am I overlooking something simple? Thanks. -- Phil Davis From scott at tactilemedia.com Wed Mar 6 00:52:54 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 05 Mar 2013 21:52:54 -0800 Subject: libUrl upload/download - how to cancel? In-Reply-To: <5136D4FF.5090606@pdslabs.net> Message-ID: Hi Phil: It's likely not the "right" way to do it, but I seem to recall using resetAll for this purpose, after (like you) I was unable to find any specific command for this. Somebody else may know better. Just thinking out loud, did you try unloading the URL during the up/download? Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/5/13 9:32 PM, "Phil Davis" wrote: >Hi folks, > >How do you cancel a libUrl in-progress download or upload? I don't see a >libUrl command for it, or anything else obvious. Am I overlooking >something simple? > >Thanks. > >-- >Phil Davis > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Wed Mar 6 01:07:47 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 05 Mar 2013 22:07:47 -0800 Subject: libUrl upload/download - how to cancel? In-Reply-To: References: Message-ID: <5136DD33.9010105@pdslabs.net> Hi Scott, I thought 'unload' was to be used when you're using 'load' to download something, which I'm not doing. I'll look into it. Thanks! I am planning to use: put libUrlFtpCommand("close",tMyUrl) into tResult for FTP uploads, but I haven't tested that yet. And in all cases I'm trying a "close all sockets except ones opened before the transfer" as a final step but am having trouble telling what's going on. So I thought I would step back and see if there's something I'm overlooking. Thanks Scott - Phil On 3/5/13 9:52 PM, Scott Rossi wrote: > Hi Phil: > > It's likely not the "right" way to do it, but I seem to recall using > resetAll for this purpose, after (like you) I was unable to find any > specific command for this. Somebody else may know better. > > Just thinking out loud, did you try unloading the URL during the > up/download? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/5/13 9:32 PM, "Phil Davis" wrote: > >> Hi folks, >> >> How do you cancel a libUrl in-progress download or upload? I don't see a >> libUrl command for it, or anything else obvious. Am I overlooking >> something simple? >> >> Thanks. >> >> -- >> Phil Davis >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From bogdanoff at me.com Wed Mar 6 02:38:34 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 05 Mar 2013 23:38:34 -0800 Subject: Application size: Mac vs. Win In-Reply-To: <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> Message-ID: <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> Hi all, I've made standalone versions of my app. The IDE file is 110 MB size. The standalones came out to be: Macintosh 195 MB Windows 96 MB There are no addition platform-specific add ons that I know of, I'm using only the Internet and Geometry script libraries. Why the much-larger Mac file size? Peter Bogdanoff UCLA From th.douez at gmail.com Wed Mar 6 02:57:57 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 6 Mar 2013 08:57:57 +0100 Subject: Application size: Mac vs. Win In-Reply-To: <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> Message-ID: Hi Peter, Must probably because of universal binary. You have 2 exe in one ( one for PPC, another one for Intel CPU). You can drop the PPC one if you don't need it. Thierry 2013/3/6 Peter Bogdanoff > Hi all, > > I've made standalone versions of my app. The IDE file is 110 MB size. The > standalones came out to be: > Macintosh 195 MB > Windows 96 MB > > There are no addition platform-specific add ons that I know of, I'm using > only the Internet and Geometry script libraries. > > Why the much-larger Mac file size? > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Mar 6 03:07:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Mar 2013 19:07:07 +1100 Subject: Application size: Mac vs. Win In-Reply-To: References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> Message-ID: <266CAB7F-9855-4687-9A82-A1ADB581001C@sweattechnologies.com> That wouldn't account for 100MB difference. I can't think of any reason there would be so much difference. -- M E R Goulding Software development services mergExt - There's an external for that! On 06/03/2013, at 6:57 PM, Thierry Douez wrote: > Must probably because of universal binary. From bogdanoff at me.com Wed Mar 6 03:57:06 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 06 Mar 2013 00:57:06 -0800 Subject: Application size: Mac vs. Win In-Reply-To: References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> Message-ID: <8B56CCE9-D357-48DA-B574-2E734B8F3181@me.com> That makes so much sense, it hurts. Of course! Thanks! Peter On Mar 5, 2013, at 11:57 PM, Thierry Douez wrote: > Hi Peter, > > Must probably because of universal binary. > You have 2 exe in one ( one for PPC, another one for Intel CPU). > You can drop the PPC one if you don't need it. > > Thierry > > > 2013/3/6 Peter Bogdanoff > >> Hi all, >> >> I've made standalone versions of my app. The IDE file is 110 MB size. The >> standalones came out to be: >> Macintosh 195 MB >> Windows 96 MB >> >> There are no addition platform-specific add ons that I know of, I'm using >> only the Internet and Geometry script libraries. >> >> Why the much-larger Mac file size? >> >> Peter Bogdanoff >> UCLA >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 6 04:43:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 11:43:06 +0200 Subject: Application size: Mac vs. Win In-Reply-To: <8B56CCE9-D357-48DA-B574-2E734B8F3181@me.com> References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> <8B56CCE9-D357-48DA-B574-2E734B8F3181@me.com> Message-ID: <51370FAA.50002@gmail.com> I sell Windows, Mac PPC and Mac INTEL versions of my software (Devawriter Pro: http://andregarzia.on-rev.com/richmond/dwriterpro.html ) and can see absolutely no point in burdening either PPC customers or INTEL ones with "extra baggage". A Macintosh Universal binary version of my software can only be explained in terms of the word "bloatware", and as customers (and those who want to play with the Demo) are probably switched on enough to know whether they have a PPC or INTEL Macintosh in front of them, there is no reason that I can think of to produce a Universal binary build. Richmond. From th.douez at gmail.com Wed Mar 6 07:05:22 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 6 Mar 2013 13:05:22 +0100 Subject: Application size: Mac vs. Win In-Reply-To: <8B56CCE9-D357-48DA-B574-2E734B8F3181@me.com> References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> <8B56CCE9-D357-48DA-B574-2E734B8F3181@me.com> Message-ID: 2013/3/6 Peter Bogdanoff > That makes so much sense, it hurts. Of course! > > Thanks! What Monte said makes sense too... So, you probably can check if you have a fat binary ( universal ) with this Terminal command: lipo -info the binary is : yourApp.app/Contents/MacOs/yourApp And you can also open your app in the finder (open package) and visually see if there is some extra stacks or resources... ( this happened to me few years ago ) HTH, Thierry From richmondmathewson at gmail.com Wed Mar 6 08:41:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 15:41:52 +0200 Subject: RevOnline, again. Message-ID: <513747A0.7090807@gmail.com> Trying to upload a stack to RevOnline and getting nowhere (not for the first time by a long way): The following server error was encountered: --------------------------------------------------------- pUrl: http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUSygWJRYm5qSWpRcVAHgMjE5Dgy0wBsZnNLC0ZQHzZxOSSzPw8%0D%0AkBhfWmpJckZwSWJytktiSSIDAID9CnpIAAAA pStatus: cached UrlData: H4sIAAAAAAAAA42QwU4CMRCGCwo3MUgIHjTpUQ8qu0swcFKEGKLBA148bZrtLDR02812kOCD%0D%0A%2BjzuVCDxZtJMOt9M%2FvlnaoyxarUMlyJBZU35Y40UMFnOUSSrsUBRY6zyXYBba6Rqk7rbSxBS%0D%0AKwNEjqezlw%2BiHZVYEzv15XEtCvr3AfHWHtWDMAoHEbF3CS4pVL4f%2BvCotd04vrVrjpY7AI5L%0D%0A4JCmkKDjNuVCa49GGox0d1OzKrHhhqtMLOCWRE8LgcosSI9R3lCSvkf9wYDSq6QAgSBjWUYq%0D%0AtMJuEN10y9fjQW%2FYC4ehN3ydWalS9Y%2FOEyMyOMzroM1jFAvnl%2FW%2BHPFz3OYQ71vrxhaZ0FS4%0D%0AQIXaw8bodTIbT2fP%2FOltPJn7s0m7MdoK6eUqXWLNtYMi%2Fl1rR3ItMC0VDy7aUrkSbuM%2F3s4K%0D%0A%2BFRud%2B1KwNgP52j%2BRvsBAAA%3D sLastCallback: 30 Error: 219,37,22,tOffset 380,37,17 572,37,10 253,36,1 490,35,1 241,35,1,updateRecentlyOpenedStacks 353,0,0,group id 937651 of group id 937645 of group id 31860 of group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 573,4,1,updateRecentlyOpenedStacks 241,4,1,resize 353,0,0,group id 937651 of group id 937645 of group id 31860 of group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 529,69,1,resize 241,69,1,resize 353,0,0,group id 937645 of group id 31860 of group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 529,719,1,resize 241,719,1,resize 353,0,0,group id 31860 of group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 529,40,1,resize 253,39,1 241,39,1,resize 353,0,0,group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 529,180,1,resize 241,180,1,updateStackDetailsCallback 353,0,0,group id 31860 of group id 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" 529,966,1,updateStackDetailsCallback 241,966,1,revCallbackApply 353,0,0,stack "/home/jrm/RR45/Toolset/revonlinelibrary.rev" 573,978,1,revCallbackApply 241,978,1,revCallbackApplyLast 353,0,0,stack "/home/jrm/RR45/Toolset/revonlinelibrary.rev" 573,752,1,revCallbackApplyLast --------------------------------------------------------- Richmond. From lists at mangomultimedia.com Wed Mar 6 09:24:42 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 Mar 2013 09:24:42 -0500 Subject: resizing field editor in datagrid In-Reply-To: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> References: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> Message-ID: On Tue, Mar 5, 2013 at 7:42 PM, Monte Goulding wrote: > I have a custom field editor that resizes as you type to fit the text > however every time it resizes I need to change the row height and shift > subsequent rows down. Has anyone done this. From the looks of things I may > need to use the uScriptLocal getprop to get some of the script locals and > then resize the row and shift the other row groups down proportionally. Is > that about right? > Would RefreshIndex/RefreshLine or setting the dgDataOfLine/Index work for you? -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From cszasz at me.com Wed Mar 6 10:25:25 2013 From: cszasz at me.com (Charles Szasz) Date: Wed, 06 Mar 2013 10:25:25 -0500 Subject: Pasting a group field Message-ID: <83CD798F-D196-44EE-A60F-87999BE4217A@me.com> I have grouped some rectangles containing label fields into one group. How can I set up up a script for the user to be able to copy and paste the group into a word processing document? Sent from my iPad From roger.e.eller at sealedair.com Wed Mar 6 11:10:52 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 6 Mar 2013 11:10:52 -0500 Subject: RevOnline, again. In-Reply-To: <513747A0.7090807@gmail.com> References: <513747A0.7090807@gmail.com> Message-ID: The RevOnline built-in to the IDE can be flakey with older versions, but the website version seems to be more stable. http://revonline2.runrev.com/ ~Roger On Wed, Mar 6, 2013 at 8:41 AM, Richmond wrote: > Trying to upload a stack to RevOnline and getting nowhere (not for the > first time by a long way): > Richmond. From bogdanoff at me.com Wed Mar 6 11:35:40 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 06 Mar 2013 08:35:40 -0800 Subject: Application size: Mac vs. Win In-Reply-To: <266CAB7F-9855-4687-9A82-A1ADB581001C@sweattechnologies.com> References: <161128618484.20130304220516@ahsoftware.net> <8CFE82D5BD3FFD4-182C-E06D0@webmail-m087.sysops.aol.com> <3058FA21-4750-4AB8-9FEA-30374F218807@me.com> <266CAB7F-9855-4687-9A82-A1ADB581001C@sweattechnologies.com> Message-ID: <5798CA85-F630-4008-B748-D9526E92F409@me.com> It seems that I had both Universal AND PowerPC checked. Checking Intel only brought the size back to the same as Windows. I don't know if any of my customers will have PowerPC... Peter On Mar 6, 2013, at 12:07 AM, Monte Goulding wrote: > That wouldn't account for 100MB difference. I can't think of any reason there would be so much difference. > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 06/03/2013, at 6:57 PM, Thierry Douez wrote: > >> Must probably because of universal binary. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 6 12:53:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 19:53:15 +0200 Subject: RevOnline, again. In-Reply-To: References: <513747A0.7090807@gmail.com> Message-ID: <5137828B.2030603@gmail.com> On 03/06/2013 06:10 PM, Roger Eller wrote: > The RevOnline built-in to the IDE can be flakey with older versions, but > the website version seems to be more stable. > > http://revonline2.runrev.com/ > > ~Roger > > Thanks. Let's hope it is not "flakey" (err . . . that must be an Americanism) [I thought "flake" was a rude word for somebody who was homosexual] with the Open Source version. Richmond. From richmondmathewson at gmail.com Wed Mar 6 12:53:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 19:53:56 +0200 Subject: RevOnline, again. In-Reply-To: References: <513747A0.7090807@gmail.com> Message-ID: <513782B4.6090103@gmail.com> On 03/06/2013 06:10 PM, Roger Eller wrote: > The RevOnline built-in to the IDE can be flakey with older versions, but > the website version seems to be more stable. > > http://revonline2.runrev.com/ > > ~Roger > > > So, how does one upload from an older version? From gregory.lypny at videotron.ca Wed Mar 6 13:56:10 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 06 Mar 2013 13:56:10 -0500 Subject: LiveCode and Mathematica In-Reply-To: References: Message-ID: <7FDE6311-D02D-4BB1-8B1C-C32A81DD5D83@videotron.ca> Hello everyone, I've never written an external, but I wonder whether it is possible to incorporate Mathematica code in a LiveCode app. Mathematica notebooks and functions can be exported in C code. Mathematica also has some of the best plotting functions and matrix functions that I have ever used. I would like to learn to write an external for plotting graphs and doing some fairly involved financial computations, and use LiveCode to design the front end. Is this doable? Gregory From monte at sweattechnologies.com Wed Mar 6 13:59:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Mar 2013 05:59:57 +1100 Subject: resizing field editor in datagrid In-Reply-To: References: <5644D42D-BAB8-47D0-95EC-164865127463@sweattechnologies.com> Message-ID: <4EC50045-921E-4954-B3A4-9ADE52BA316B@sweattechnologies.com> On 07/03/2013, at 1:24 AM, Trevor DeVore wrote: >> I have a custom field editor that resizes as you type to fit the text >> however every time it resizes I need to change the row height and shift >> subsequent rows down. Has anyone done this. From the looks of things I may >> need to use the uScriptLocal getprop to get some of the script locals and >> then resize the row and shift the other row groups down proportionally. Is >> that about right? >> > > Would RefreshIndex/RefreshLine or setting the dgDataOfLine/Index work for > you? No because the field editor is deleted somewhere in there... I worked it out by getting sTableObjects and moving them manually.. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Wed Mar 6 11:28:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Mar 2013 08:28:17 -0800 Subject: RevOnline, again. In-Reply-To: <513747A0.7090807@gmail.com> References: <513747A0.7090807@gmail.com> Message-ID: <190252399484.20130306082817@ahsoftware.net> Richmond- Wednesday, March 6, 2013, 5:41:52 AM, you wrote: > Trying to upload a stack to RevOnline and getting nowhere (not for the > first time by a long way): Nice. Last week I managed to upload two times out of three. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Mar 6 14:03:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Mar 2013 13:03:10 -0600 Subject: RevOnline, again. In-Reply-To: <5137828B.2030603@gmail.com> References: <513747A0.7090807@gmail.com> <5137828B.2030603@gmail.com> Message-ID: <513792EE.7090507@hyperactivesw.com> On 3/6/13 11:53 AM, Richmond wrote: > Let's hope it is not "flakey" (err . . . that must be an Americanism) > > [I thought "flake" was a rude word for somebody who was homosexual] > > with the Open Source version. Here in the U.S., a "flake" (disregarding pie crust and paint) is a scatterbrained person with sometimes unpredictable behavior. By extension, anything that works only some of the time is "flakey". It isn't any ruder than calling then a nitwit or a dunce. When applied to objects or software, it's a common adjective. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Mar 6 14:03:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 21:03:59 +0200 Subject: RevOnline, again. In-Reply-To: <190252399484.20130306082817@ahsoftware.net> References: <513747A0.7090807@gmail.com> <190252399484.20130306082817@ahsoftware.net> Message-ID: <5137931F.5030707@gmail.com> On 03/06/2013 06:28 PM, Mark Wieder wrote: > Richmond- > > Wednesday, March 6, 2013, 5:41:52 AM, you wrote: > >> Trying to upload a stack to RevOnline and getting nowhere (not for the >> first time by a long way): > Nice. > Last week I managed to upload two times out of three. > And, that, I suppose, is acceptable! No, it isn't! From richmondmathewson at gmail.com Wed Mar 6 14:10:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 21:10:19 +0200 Subject: RevOnline, again. In-Reply-To: <513792EE.7090507@hyperactivesw.com> References: <513747A0.7090807@gmail.com> <5137828B.2030603@gmail.com> <513792EE.7090507@hyperactivesw.com> Message-ID: <5137949B.3030202@gmail.com> On 03/06/2013 09:03 PM, J. Landman Gay wrote: > On 3/6/13 11:53 AM, Richmond wrote: > >> Let's hope it is not "flakey" (err . . . that must be an Americanism) >> >> [I thought "flake" was a rude word for somebody who was homosexual] >> >> with the Open Source version. > > Here in the U.S., a "flake" (disregarding pie crust and paint) is a > scatterbrained person with sometimes unpredictable behavior. By > extension, anything that works only some of the time is "flakey". > > It isn't any ruder than calling then a nitwit or a dunce. When applied > to objects or software, it's a common adjective. > "I says tae her, Misses, quite plain tae be seen, The duck eggs are white an the drake eggs are green; How foolish one is, but how wise one may grow, By making enquiries at the Livecode Use-List." From mwieder at ahsoftware.net Wed Mar 6 14:30:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Mar 2013 19:30:45 +0000 (UTC) Subject: RevOnline, again. References: <513747A0.7090807@gmail.com> <190252399484.20130306082817@ahsoftware.net> <5137931F.5030707@gmail.com> Message-ID: Richmond writes: > > Last week I managed to upload two times out of three. > > > > And, that, I suppose, is acceptable! No, it isn't! Twice it was. -- Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed Mar 6 14:34:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Mar 2013 21:34:07 +0200 Subject: RevOnline, again. In-Reply-To: References: <513747A0.7090807@gmail.com> <190252399484.20130306082817@ahsoftware.net> <5137931F.5030707@gmail.com> Message-ID: <51379A2F.9050702@gmail.com> On 03/06/2013 09:30 PM, Mark Wieder wrote: > Richmond writes: > >>> Last week I managed to upload two times out of three. >>> >> And, that, I suppose, is acceptable! No, it isn't! > Twice it was. > Quite! From andrew at ctech.me Wed Mar 6 14:57:33 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 6 Mar 2013 13:57:33 -0600 Subject: cached urls Message-ID: Do urls cached with load url ever unload on their own after a specific period of time or do you have to manually unload them when you want to clear them from memory? -- Regards, Andrew Kluthe andrew at ctech.me From revdev at pdslabs.net Wed Mar 6 14:59:24 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 06 Mar 2013 11:59:24 -0800 Subject: libUrl upload/download - how to cancel? In-Reply-To: <5136DD33.9010105@pdslabs.net> References: <5136DD33.9010105@pdslabs.net> Message-ID: <5137A01C.2050808@pdslabs.net> "unload url" works on in-progress uploads and downloads! Yaaaay! Thanks Scott! Phil On 3/5/13 10:07 PM, Phil Davis wrote: > Hi Scott, > > I thought 'unload' was to be used when you're using 'load' to download > something, which I'm not doing. I'll look into it. Thanks! > > I am planning to use: > put libUrlFtpCommand("close",tMyUrl) into tResult > > for FTP uploads, but I haven't tested that yet. And in all cases I'm > trying a "close all sockets except ones opened before the transfer" as > a final step but am having trouble telling what's going on. So I > thought I would step back and see if there's something I'm overlooking. > > Thanks Scott - > Phil > > > On 3/5/13 9:52 PM, Scott Rossi wrote: >> Hi Phil: >> >> It's likely not the "right" way to do it, but I seem to recall using >> resetAll for this purpose, after (like you) I was unable to find any >> specific command for this. Somebody else may know better. >> >> Just thinking out loud, did you try unloading the URL during the >> up/download? >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/5/13 9:32 PM, "Phil Davis" wrote: >> >>> Hi folks, >>> >>> How do you cancel a libUrl in-progress download or upload? I don't >>> see a >>> libUrl command for it, or anything else obvious. Am I overlooking >>> something simple? >>> >>> Thanks. >>> >>> -- >>> Phil Davis >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis From monte at sweattechnologies.com Wed Mar 6 15:36:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Mar 2013 07:36:17 +1100 Subject: LiveCode and Mathematica In-Reply-To: <7FDE6311-D02D-4BB1-8B1C-C32A81DD5D83@videotron.ca> References: <7FDE6311-D02D-4BB1-8B1C-C32A81DD5D83@videotron.ca> Message-ID: <2C660794-EB6B-4FD0-8D6E-4D36E30957E9@sweattechnologies.com> I don't know what Mathematica exports. Does it export the code to generate an image for the graph? My guess is it just exports the functions and you would need to plot the results yourself in LC. You also might want to check the license on the code that Mathematica generates before distributing it... On 07/03/2013, at 5:56 AM, Gregory Lypny wrote: > I've never written an external, but I wonder whether it is possible to incorporate Mathematica code in a LiveCode app. Mathematica notebooks and functions can be exported in C code. Mathematica also has some of the best plotting functions and matrix functions that I have ever used. I would like to learn to write an external for plotting graphs and doing some fairly involved financial computations, and use LiveCode to design the front end. Is this doable? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From andrew at ctech.me Wed Mar 6 15:46:05 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 6 Mar 2013 14:46:05 -0600 Subject: url PATCH verb Message-ID: Does livecode support the PATCH http verb or is there a way I can turn a "put into url" into a patch by manipulating headers? -- Regards, Andrew Kluthe andrew at ctech.me From gerry.orkin at gmail.com Wed Mar 6 17:07:08 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 7 Mar 2013 09:07:08 +1100 Subject: libUrl upload/download - how to cancel? In-Reply-To: <5137A01C.2050808@pdslabs.net> References: <5136DD33.9010105@pdslabs.net> <5137A01C.2050808@pdslabs.net> Message-ID: <292641DB-CAF9-41B3-A0EE-C094DB6B622A@gmail.com> But not on iOS. Sigh. Gerry On 07/03/2013, at 6:59 AM, Phil Davis wrote: > "unload url" works on in-progress uploads and downloads! Yaaaay! Thanks Scott! From ambassador at fourthworld.com Wed Mar 6 17:42:34 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Mar 2013 14:42:34 -0800 Subject: SoCal LC User Group meeting tomorrow, Pasadena Message-ID: <5137C65A.50804@fourthworld.com> Just a quick reminder: The next SoCal LiveCode User Group meeting is happening tomorrow, Thursday, March 7, at 7PM in Pasadena - details in the LUG section of the LiveCode forums: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From andrew at ctech.me Wed Mar 6 18:51:20 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 6 Mar 2013 17:51:20 -0600 Subject: url PATCH verb In-Reply-To: References: Message-ID: In my specific instance, I just ended up using a POST and adding X-HTTP-Method-Override: PATCH to the headers. On Wed, Mar 6, 2013 at 2:46 PM, Andrew Kluthe wrote: > Does livecode support the PATCH http verb or is there a way I can turn a > "put into url" into a patch by manipulating headers? > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Wed Mar 6 19:05:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Mar 2013 00:05:26 +0000 (UTC) Subject: url PATCH verb References: Message-ID: Andrew Kluthe writes: > In my specific instance, I just ended up using a POST and adding > X-HTTP-Method-Override: > PATCH to the headers. That gets my vote for post of the day. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Wed Mar 6 20:59:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 6 Mar 2013 17:59:10 -0800 Subject: passing binary data to MySQL BLOB field In-Reply-To: <7E3EF7FB-DD65-4B33-A7D3-31ACCB553A26@mac.com> References: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> <7E3EF7FB-DD65-4B33-A7D3-31ACCB553A26@mac.com> Message-ID: Bjornke, How do you specify binary data if you use the an array instead of a list of variable names? Pete lcSQL Software On Tue, Mar 5, 2013 at 5:01 AM, Bj?rnke von Gierke wrote: > Not sure why it won't work for you, but it seems that your first try had > some typo or otherwise wrong code. Your copy/paste has code missing so it's > hard to say what the problem is. The second error looks like you forgot > some closing brackets or quotation marks, again it's hard to tell due to > lack of full code. One thing to note is that all variables used for > substitution have to exist, unlike all other places in LC, where missing > variables are assumed to be empty. Here's an example that probably should > work, but is untested: > > --assuming revopendatabase works as expected > put "blah" into fileNameVar > put "pretend this is binary" into binaryObjectVar > revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') > VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" > > On 05.03.2013, at 02:26, Sieg Lindstrom wrote: > > > Can anyone advise what the correct syntax should be to construct a MySQL > "INSERT" query that passes variables from LiveCode when one of said > variables is a binary object? I am trying to construct the statement and > then use it with RevExecuteSQL. I'm particularly trying to understand the > LC Dictionary note that reads, "To pass binary data in a variable in the > variablesList, prepend "*b" to the variable name. The revExecuteSQL command > strips the binary marker "*b" and passes it to the database as binary data, > rather than text data. > > > > Fair enough. My second variable in the query below, binaryObjectVar, is > a binary object. So I try this: > > > > INSERT INTO Assets (`FileName`, `File`) VALUES(:1,:2)", "fileNameVar", > "*bbinaryObjectVar" > > > > The result is this LC error: "compilation error at line 486 (Expression: > double binary operator) near "*", char 24" > > > > If I try the query without using "*b" MySQL chokes on the binary data in > binaryObjectVar and sends the following error message: > > > > "You have an error in your SQL syntax; check the manual that corresponds > to your MySQL server version for the right syntax to use near > ':1,:2,:3,:4)", "test_file.pdf", %PDF-1.5%...' at line 1" > > > > So I've tried a number of permutations for including "*b". I've tried > quotes around the variable name with "*b" prepended within those quotes, > "*b" prepended before the open quote, etc. In each case, MySQL still gags > on the binary data. > > > > Help! While this may sound like a misplaced MySQL syntax question, it's > not. What I'm missing is how to properly prepend "*b" so LC sends the > variable as binary data. ??? > > > > Thanks in advance, > > > > Sieg Lindstrom > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > 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 monte at sweattechnologies.com Wed Mar 6 23:15:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Mar 2013 15:15:01 +1100 Subject: StackOverflow Message-ID: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> Hi LiveCoders I'd like to encourage people to ask and answer questions on StackOverflow. If you work out something and you don't think it's common knowledge in the community then you can even answer your own post so there's a record of the question and answer. StackOverflow is a great repository of question and answers. It's a much better format for that kind of info than a listserve or forum. Here's an example that I just posted: http://stackoverflow.com/questions/15262660/how-do-i-create-an-expanding-field-editor-in-a-livecode-datagrid On that note there's currently no LiveCode tag so we need someone with > 1500 reputation to create one. Anyone that high? I'm only 11 ;-( Because we don't have a tag yet it's probably best if everyone puts LiveCode somewhere in the question title. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Thu Mar 7 00:29:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 06 Mar 2013 21:29:18 -0800 Subject: Returns Don't Return? Message-ID: I have a stack that generates a return-delimited list of files in a folder and writes the list to a simple text file. put theFileList into url ("file:" & dropBoxFolder() & "flist.txt") When I retrieve this file within LiveCode, it ignores the returns and places all entries in a single line. If I open the text file in a text editor, the lines are displayed properly. I tried resaving the file from the text editor, but LiveCode still ignores the returns unless I explicitly return each line by hand in the text editor. I tried using all the return forms: return, cr, crlf, with no difference. Now, if I write the file list using "binfile", LiveCode is then able to read the returns correctly. Why is this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From toolbook at kestner.de Thu Mar 7 03:43:42 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Mar 2013 09:43:42 +0100 Subject: what is the opposite of split? Message-ID: <002f01ce1b0f$dfb9acb0$9f2d0610$@de> Hello, I just have a drop out. With "split" I can create an array from a simple variable. Is there a reverse command to make a simple variable out of an array? Thanks Tiemo From capellan2000 at gmail.com Thu Mar 7 03:50:29 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 7 Mar 2013 00:50:29 -0800 (PST) Subject: what is the opposite of split? In-Reply-To: <002f01ce1b0f$dfb9acb0$9f2d0610$@de> References: <002f01ce1b0f$dfb9acb0$9f2d0610$@de> Message-ID: <1362646229123-4661919.post@n4.nabble.com> Hi Thiemo, Look here: http://docs.runrev.com/Command/combine The combine command combines the elements of the array into a single variable. After the command is finished executing, the variable specified by array is no longer an array. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/what-is-the-opposite-of-split-tp4661918p4661919.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Thu Mar 7 04:05:35 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Mar 2013 10:05:35 +0100 Subject: AW: what is the opposite of split? In-Reply-To: <1362646229123-4661919.post@n4.nabble.com> References: <002f01ce1b0f$dfb9acb0$9f2d0610$@de> <1362646229123-4661919.post@n4.nabble.com> Message-ID: <003a01ce1b12$ee5badb0$cb130910$@de> Oh sure, thanks Alejandro > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Alejandro Tejada > Gesendet: Donnerstag, 7. M?rz 2013 09:50 > An: use-revolution at lists.runrev.com > Betreff: Re: what is the opposite of split? > > Hi Thiemo, > > Look here: > http://docs.runrev.com/Command/combine > > The combine command combines the elements of the array into a single > variable. After the command is finished executing, the variable specified > by array is no longer an array. > > > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/what-is-the-opposite-of-split- > tp4661918p4661919.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 neil at runrev.com Thu Mar 7 06:41:03 2013 From: neil at runrev.com (neil at runrev.com) Date: Thu, 7 Mar 2013 11:41:03 -0000 Subject: RevOnline, again. In-Reply-To: <513747A0.7090807@gmail.com> References: <513747A0.7090807@gmail.com> Message-ID: <35f69b6af3d014b92fe46adf858d4f0b.squirrel@var.on-rev.com> Dear Richmond et al., Thank you for informing us about the issues you are experiencing with revOnline. We are currently investigating the cause of the issues and will hopefully have a solution shortly. Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com Support Open Source LiveCode on Kick-starter http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode -- > Trying to upload a stack to RevOnline and getting nowhere (not for the > first time by a long way): > > The following server error was encountered: > --------------------------------------------------------- > pUrl: > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUSygWJRYm5qSWpRcVAHgMjE5Dgy0wBsZnNLC0ZQHzZxOSSzPw8%0D%0AkBhfWmpJckZwSWJytktiSSIDAID9CnpIAAAA > pStatus: cached > UrlData: > H4sIAAAAAAAAA42QwU4CMRCGCwo3MUgIHjTpUQ8qu0swcFKEGKLBA148bZrtLDR02812kOCD%0D%0A%2BjzuVCDxZtJMOt9M%2FvlnaoyxarUMlyJBZU35Y40UMFnOUSSrsUBRY6zyXYBba6Rqk7rbSxBS%0D%0AKwNEjqezlw%2BiHZVYEzv15XEtCvr3AfHWHtWDMAoHEbF3CS4pVL4f%2BvCotd04vrVrjpY7AI5L%0D%0A4JCmkKDjNuVCa49GGox0d1OzKrHhhqtMLOCWRE8LgcosSI9R3lCSvkf9wYDSq6QAgSBjWUYq%0D%0AtMJuEN10y9fjQW%2FYC4ehN3ydWalS9Y%2FOEyMyOMzroM1jFAvnl%2FW%2BHPFz3OYQ71vrxhaZ0FS4%0D%0AQIXaw8bodTIbT2fP%2FOltPJn7s0m7MdoK6eUqXWLNtYMi%2Fl1rR3ItMC0VDy7aUrkSbuM%2F3s4K%0D%0A%2BFRud%2B1KwNgP52j%2BRvsBAAA%3D > > > > sLastCallback: 30 > Error: 219,37,22,tOffset > 380,37,17 > 572,37,10 > 253,36,1 > 490,35,1 > 241,35,1,updateRecentlyOpenedStacks > 353,0,0,group id 937651 of group id 937645 of group id 31860 of group id > 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" > 573,4,1,updateRecentlyOpenedStacks > 241,4,1,resize > 353,0,0,group id 937651 of group id 937645 of group id 31860 of group id > 31859 of card id 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" > 529,69,1,resize > 241,69,1,resize > 353,0,0,group id 937645 of group id 31860 of group id 31859 of card id > 1002 of stack "/home/jrm/RR45/Toolset/revonline.rev" > 529,719,1,resize > 241,719,1,resize > 353,0,0,group id 31860 of group id 31859 of card id 1002 of stack > "/home/jrm/RR45/Toolset/revonline.rev" > 529,40,1,resize > 253,39,1 > 241,39,1,resize > 353,0,0,group id 31859 of card id 1002 of stack > "/home/jrm/RR45/Toolset/revonline.rev" > 529,180,1,resize > 241,180,1,updateStackDetailsCallback > 353,0,0,group id 31860 of group id 31859 of card id 1002 of stack > "/home/jrm/RR45/Toolset/revonline.rev" > 529,966,1,updateStackDetailsCallback > 241,966,1,revCallbackApply > 353,0,0,stack "/home/jrm/RR45/Toolset/revonlinelibrary.rev" > 573,978,1,revCallbackApply > 241,978,1,revCallbackApplyLast > 353,0,0,stack "/home/jrm/RR45/Toolset/revonlinelibrary.rev" > 573,752,1,revCallbackApplyLast > --------------------------------------------------------- > > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Hakan at Exformedia.se Thu Mar 7 07:05:16 2013 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Thu, 7 Mar 2013 13:05:16 +0100 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: Message-ID: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> Can't see the logic behind that list? Funambol : A syncronizing engine Livecode : Well we all now what this is Memotoo : Also a synchronizing engine MobiCart : Lets you easily take your product catalog to mobile devices SaasMob : Can't wrap my head around that? It says that you can "create mobile apps in the cloud in minutes, without writing any code." But later on if you want to go "native" you can read: "Developers must have command of HTML, Javascript and CSS. Depending on the extent of native interaction required, the developers must also be familiar with Objective-c for iPhone, Java for Android, Mojo for Palm WebOS, J2ME for Blackberry and Silverlight for Windows Mobile." So, for me there is only one generic app-designer tool in that list. Voted of course... ___________________________ http://www.exformedia.se Check out my new iOS game at http://appstore.com/swapatiswap 5 mar 2013 kl. 10:36 skrev Dirk prive : > Done and now at 62%. > > We also need to vote for LiveCode as "best tool for app designers". > We're only at 16% there. > > http://mobiledevices.about.com/library/rca2013/bl-best-app-designer-tools.htm > > Dirk Cleenwerck > From matthias_livecode_150811 at m-r-d.de Thu Mar 7 07:34:09 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 7 Mar 2013 13:34:09 +0100 Subject: Anyone using App Wrapper from Ohanaware.com Message-ID: <4CF43CA1-5484-4E29-90F7-15ED2D1FE057@m-r-d.de> Hi, today MacZot is selling App Wrapper from Ohanaware for just 24.95$ instead of 49.95$. Is anyone of you using that tool for your Livecode standalones? And if so how is your experience? Regards Matthias From livfoss at mac.com Thu Mar 7 08:27:24 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 07 Mar 2013 14:27:24 +0100 Subject: Update process in the Apple App Store Message-ID: <707FDC23-BAE5-4EA2-BB41-154168C9DB9B@mac.com> Folks, I'm thinking of selling a desktop app from the Mac via the App Store. I daresay I can struggle with the Apple bureaucracy to get the thing into the Store, but there's one thing I'd like to ask LiveCoders before I start, concerning the subsequent update process. The nature of my app is that when it's updated, I have to do a special initialisation action which is needed to change or delete some data kept in the support folder for the app which will have been left there by the previous version (in effect a data stack, since this app is designed using the 'splash screen' method). Of course if the user elects to do an update from within the previous version of the app, there isn't a problem, since the whole update process is under the app's control. However, what happens if the update is initiated from within the App Store, where presumably I will have previously deposited the updated code? I can of course ask the user to go through some process (like clicking a button) to complete the update, but it would be far preferable for the app to do this aspect of the update automatically without user intervention. This would imply that my app knows that its just been updated and can therefore run a once-only routine of some kind. I can think of a number of techniques for doing this, but I wondered if there is an approved one, or indeed whether the App Store's update service actually allows the app to run in some special update mode by executing additional code etc. Of course I may have fundamentally misunderstood what the App Store does. TIA for any insight into this. Graham From john at splash21.com Thu Mar 7 08:28:18 2013 From: john at splash21.com (John Craig) Date: Thu, 07 Mar 2013 13:28:18 +0000 Subject: Editing polygon points Message-ID: <513895F2.50407@splash21.com> Is it possible to visually edit the points of a polygon and can I add and delete individual points? http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode From toolbook at kestner.de Thu Mar 7 08:41:52 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Mar 2013 14:41:52 +0100 Subject: AW: Anyone using App Wrapper from Ohanaware.com In-Reply-To: <4CF43CA1-5484-4E29-90F7-15ED2D1FE057@m-r-d.de> References: <4CF43CA1-5484-4E29-90F7-15ED2D1FE057@m-r-d.de> Message-ID: <005901ce1b39$871095e0$9531c1a0$@de> Hi Matthias, I don't know App Wrapper. I'm using Installer Maker from Mark S. and it's integrated in LC: http://www3.economy-x-talk.com/file.php?node=installer-maker Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Matthias Rebbe > Gesendet: Donnerstag, 7. M?rz 2013 13:34 > An: How to use LiveCode > Betreff: Anyone using App Wrapper from Ohanaware.com > > > > Hi, > > today MacZot is selling App Wrapper from Ohanaware for just 24.95$ instead > of 49.95$. > > Is anyone of you using that tool for your Livecode standalones? And if so > how is your experience? > > 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 dunbarx at aol.com Thu Mar 7 09:07:28 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 7 Mar 2013 09:07:28 -0500 (EST) Subject: Editing polygon points In-Reply-To: <513895F2.50407@splash21.com> References: <513895F2.50407@splash21.com> Message-ID: <8CFE9543BADA5EE-18C8-202C@Webmail-m123.sysops.aol.com> Hi. I don't think you can access the points of a polygon directly, nor can you address a particular point, as in: set the loc of point 3 of grc "yourGraphic" to newValue I could be wrong. But you can address the points as a group. Make a simple polygon with a few vertices. Make a button, and put this into its script: on mouseUp put the points of grc 1 into temp repeat 10 add random(10) to item 2 of line 3 of temp set the points of grc 1 to temp wait 20 end repeat end mouseUp Is this enough for you? Craig Newman age----- From: John Craig To: How to use LiveCode Sent: Thu, Mar 7, 2013 8:29 am Subject: Editing polygon points Is it possible to visually edit the points of a polygon and can I add and delete individual points? http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From guglielmo at braguglia.ch Thu Mar 7 09:08:36 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 07 Mar 2013 15:08:36 +0100 Subject: AW: Anyone using App Wrapper from Ohanaware.com In-Reply-To: <005901ce1b39$871095e0$9531c1a0$@de> References: <4CF43CA1-5484-4E29-90F7-15ED2D1FE057@m-r-d.de> <005901ce1b39$871095e0$9531c1a0$@de> Message-ID: <51389F64.8000702@braguglia.ch> Hi Tiemo, mmm ... App Wrapper is something different, more like "RB Package Maker" (http://www.bluecolin.com/rbpms/index.html) which I use and work very fine with LiveCode (/he does //Packaging, Code Signing, Sandboxing, Override info.plist settings, etc./). Guglielmo On 3/7/13 14:41 PM, Tiemo Hollmann TB wrote: > Hi Matthias, > I don't know App Wrapper. I'm using Installer Maker from Mark S. and it's > integrated in LC: > http://www3.economy-x-talk.com/file.php?node=installer-maker > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Matthias Rebbe >> Gesendet: Donnerstag, 7. M?rz 2013 13:34 >> An: How to use LiveCode >> Betreff: Anyone using App Wrapper from Ohanaware.com >> >> >> >> Hi, >> >> today MacZot is selling App Wrapper from Ohanaware for just 24.95$ instead >> of 49.95$. >> >> Is anyone of you using that tool for your Livecode standalones? And if so >> how is your experience? >> >> 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 index at kenjikojima.com Thu Mar 7 09:19:14 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Thu, 7 Mar 2013 09:19:14 -0500 Subject: Editing polygon points In-Reply-To: <513895F2.50407@splash21.com> References: <513895F2.50407@splash21.com> Message-ID: <6F31B1AB-BCF2-4B32-AE88-A5C30866ED72@kenjikojima.com> John, I have made a wireframe drawing stack. You have to open stack "animationEngine" before this. go stack url "http://www.kenjikojima.com/runrev/draw3D.livecode" Create a New Point: Click on Grid Move a Point: MacOS: Option Key + Drag a Point Windows: Alt Key + Drag a Point Add a New Point: Shift Key + Click on a Line Delete a Point: Control Key + Click on a Point -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Mar 7, 2013, at 8:28 AM, John Craig wrote: > Is it possible to visually edit the points of a polygon and can I add and delete individual points? > > http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Mar 7 10:09:20 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Mar 2013 16:09:20 +0100 Subject: 1001 things to do... Message-ID: <007201ce1b45$bec3f610$3c4be230$@de> It's really interesting and great to see the variety of skills and creativity of the list members on http://livecode1001.blogspot.de/ But Scotts Rossis UIs are really mind-blowing! Chapeau! Tiemo From irog at mac.com Thu Mar 7 10:20:00 2013 From: irog at mac.com (Roger Guay) Date: Thu, 07 Mar 2013 08:20:00 -0700 Subject: 1001 things to do... In-Reply-To: <007201ce1b45$bec3f610$3c4be230$@de> References: <007201ce1b45$bec3f610$3c4be230$@de> Message-ID: <20A00733-235E-496A-82AF-92D28EE759E2@mac.com> Hear, hear!! On Mar 7, 2013, at 8:09 AM, Tiemo Hollmann TB wrote: > It's really interesting and great to see the variety of skills and > creativity of the list members on http://livecode1001.blogspot.de/ > > But Scotts Rossis UIs are really mind-blowing! > > Chapeau! > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Thu Mar 7 10:21:05 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 7 Mar 2013 16:21:05 +0100 Subject: Update process in the Apple App Store In-Reply-To: <707FDC23-BAE5-4EA2-BB41-154168C9DB9B@mac.com> References: <707FDC23-BAE5-4EA2-BB41-154168C9DB9B@mac.com> Message-ID: On 07.03.2013 at 14:27 Uhr +0100 Graham Samuel apparently wrote: >I can of course ask the user to go through some process (like >clicking a button) to complete the update, but it would be far >preferable for the app to do this aspect of the update automatically >without user intervention. This would imply that my app knows that >its just been updated and can therefore run a once-only routine of >some kind. I can think of a number of techniques for doing this, but >I wondered if there is an approved one, or indeed whether the App >Store's update service actually allows the app to run in some >special update mode by executing additional code etc. Of course I >may have fundamentally misunderstood what the App Store does. what about if your app checks the version of the stored stack when it launches and updates it as needed if it detects an older version? yes, it has to do it at each launch but this eliminates the issues you mention wth different update modes. robert From jhurley0305 at sbcglobal.net Thu Mar 7 10:38:13 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 7 Mar 2013 07:38:13 -0800 Subject: Editing polygon points In-Reply-To: References: Message-ID: Hi John, There is a much overlooked feature in RR that allows you to manually reshape points. Under the Object menu select "Reshape graphic." And you can delete points using the Inspector. Just delete the offending line among the Points. Adding points is tricky. But you can just add a new line to the Points and then reposition the points. And then, as you know, there are Bezier curves. Jim Hurley > > Message: 27 > Date: Thu, 07 Mar 2013 13:28:18 +0000 > From: John Craig > To: How to use LiveCode > Subject: Editing polygon points > Message-ID: <513895F2.50407 at splash21.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Is it possible to visually edit the points of a polygon and can I add > and delete individual points? > > http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode > From meitnik at bellsouth.net Thu Mar 7 10:39:48 2013 From: meitnik at bellsouth.net (Andrew Meit) Date: Thu, 7 Mar 2013 10:39:48 -0500 Subject: LiveCode and Mathematica Message-ID: I would help test it. I have been wanting Mathematica support inside an x-talk for decades. Go for it. Please. andrew From jeff at siphonophore.com Thu Mar 7 11:34:49 2013 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 7 Mar 2013 11:34:49 -0500 Subject: 1001 things to do... In-Reply-To: References: Message-ID: <0579550F-5869-4FB6-9F4B-9763E08E6195@siphonophore.com> Tiemo, i believe one of the wikipedia entries for mind blowing is scott rossi jeff On Mar 7, 2013, at 10:20 AM, use-livecode-request at lists.runrev.com wrote: > But Scotts Rossis UIs are really mind-blowing! From bvg at mac.com Thu Mar 7 12:46:08 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 Mar 2013 18:46:08 +0100 Subject: Pasting a group field In-Reply-To: <83CD798F-D196-44EE-A60F-87999BE4217A@me.com> References: <83CD798F-D196-44EE-A60F-87999BE4217A@me.com> Message-ID: <6865D2F0-246D-4B7C-B1ED-E10B7C5BD26C@mac.com> Pasting complex object into word processing is nontrivial. I suggest not to try to code it yourself :) Most likely it's easier to buy one of the word-exporting add-ons for creating word documents from scratch. On 06.03.2013, at 16:25, Charles Szasz wrote: > I have grouped some rectangles containing label fields into one group. How can I set up up a script for the user to be able to copy and paste the group into a word processing document? > > Sent from my iPad > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From meitnik at bellsouth.net Thu Mar 7 13:05:51 2013 From: meitnik at bellsouth.net (Andrew Meit) Date: Thu, 7 Mar 2013 13:05:51 -0500 Subject: Bezier curves and open source Message-ID: Kevin, Will Bezier curves finally get full support in open source LC?? I assume the svg support from the stretch goals handle Bezier curves?? Thanks andrew From bvg at mac.com Thu Mar 7 13:13:55 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 Mar 2013 19:13:55 +0100 Subject: passing binary data to MySQL BLOB field In-Reply-To: References: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> <7E3EF7FB-DD65-4B33-A7D3-31ACCB553A26@mac.com> Message-ID: <602F2250-2D5C-4797-BAF1-BA4B3C9F82F2@mac.com> Why me, and not one of the hundreds of other list-readers :P I've never done arrays with binary, but the dictionary entry for revExecuteSQL says: "To pass binary data in an array element, prepend "*b" to the element's key." I Assume that means: put "I am binary!" into myArray["*bSomeKey"] revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') VALUES(:1)", "myArray" and not: put "I am binary!" into myArray["SomeKey] revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') VALUES(:1)", "myArray[*bSomeKey]" On 07.03.2013, at 02:59, Peter Haworth wrote: > Bjornke, > How do you specify binary data if you use the an array instead of a list of > variable names? > Pete > lcSQL Software > > > On Tue, Mar 5, 2013 at 5:01 AM, Bj?rnke von Gierke wrote: > >> Not sure why it won't work for you, but it seems that your first try had >> some typo or otherwise wrong code. Your copy/paste has code missing so it's >> hard to say what the problem is. The second error looks like you forgot >> some closing brackets or quotation marks, again it's hard to tell due to >> lack of full code. One thing to note is that all variables used for >> substitution have to exist, unlike all other places in LC, where missing >> variables are assumed to be empty. Here's an example that probably should >> work, but is untested: >> >> --assuming revopendatabase works as expected >> put "blah" into fileNameVar >> put "pretend this is binary" into binaryObjectVar >> revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') >> VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" >> >> On 05.03.2013, at 02:26, Sieg Lindstrom wrote: >> >>> Can anyone advise what the correct syntax should be to construct a MySQL >> "INSERT" query that passes variables from LiveCode when one of said >> variables is a binary object? I am trying to construct the statement and >> then use it with RevExecuteSQL. I'm particularly trying to understand the >> LC Dictionary note that reads, "To pass binary data in a variable in the >> variablesList, prepend "*b" to the variable name. The revExecuteSQL command >> strips the binary marker "*b" and passes it to the database as binary data, >> rather than text data. >>> >>> Fair enough. My second variable in the query below, binaryObjectVar, is >> a binary object. So I try this: >>> >>> INSERT INTO Assets (`FileName`, `File`) VALUES(:1,:2)", "fileNameVar", >> "*bbinaryObjectVar" >>> >>> The result is this LC error: "compilation error at line 486 (Expression: >> double binary operator) near "*", char 24" >>> >>> If I try the query without using "*b" MySQL chokes on the binary data in >> binaryObjectVar and sends the following error message: >>> >>> "You have an error in your SQL syntax; check the manual that corresponds >> to your MySQL server version for the right syntax to use near >> ':1,:2,:3,:4)", "test_file.pdf", %PDF-1.5%...' at line 1" >>> >>> So I've tried a number of permutations for including "*b". I've tried >> quotes around the variable name with "*b" prepended within those quotes, >> "*b" prepended before the open quote, etc. In each case, MySQL still gags >> on the binary data. >>> >>> Help! While this may sound like a misplaced MySQL syntax question, it's >> not. What I'm missing is how to properly prepend "*b" so LC sends the >> variable as binary data. ??? >>> >>> Thanks in advance, >>> >>> Sieg Lindstrom >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> -- >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From benr_mc at cogapp.com Thu Mar 7 13:22:23 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 07 Mar 2013 18:22:23 +0000 Subject: docs.runrev.com (and structured docs, and BvG docu) Message-ID: <5138DADF.5030905@cogapp.com> A recent post from Alejandro tipped me off to docs.runrev.com, which somehow I'd never discovered. Does anyone know the status of this? It's labelled as "Revolution community documentation" - and looks almost really useful, except that it's very out of date - no mention of any of the mobile stuff, for example, and the 'Version' drop-down offers only 4.0. More generally, what's the best chance to access structured documentation? (I tried to launch BvG docu recently, but couldn't get it going - it was unhappy at the lack of an index file in recent editions, and even when I found an older edition with that file to point it at, it failed for some reason I failed to figure out.) Has anyone else posted a tool to generate out the XML version of the docs? thanks, Ben From bvg at mac.com Thu Mar 7 13:39:57 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 Mar 2013 19:39:57 +0100 Subject: docs.runrev.com (and structured docs, and BvG docu) In-Reply-To: <5138DADF.5030905@cogapp.com> References: <5138DADF.5030905@cogapp.com> Message-ID: <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> On 07.03.2013, at 19:22, Ben Rubinstein wrote: > (I tried to launch BvG docu recently, but couldn't get it going - it was unhappy at the lack of an index file in recent editions, and even when I found an older edition with that file to point it at, it failed for some reason I failed to figure out.) Whoa, hold your horses! what's your problem exactly and why is bvg docu not working? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pete at lcsql.com Thu Mar 7 13:49:45 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Mar 2013 10:49:45 -0800 Subject: passing binary data to MySQL BLOB field In-Reply-To: <602F2250-2D5C-4797-BAF1-BA4B3C9F82F2@mac.com> References: <98E7CD4B-DC7D-4186-840B-5703AEC0FF4F@trackandfieldnews.com> <7E3EF7FB-DD65-4B33-A7D3-31ACCB553A26@mac.com> <602F2250-2D5C-4797-BAF1-BA4B3C9F82F2@mac.com> Message-ID: 'Cause you replied to the original question about using blobs! I see the dictionary entry now, missed that. Pete lcSQL Software On Thu, Mar 7, 2013 at 10:13 AM, Bj?rnke von Gierke wrote: > Why me, and not one of the hundreds of other list-readers :P > > I've never done arrays with binary, but the dictionary entry for > revExecuteSQL says: > > "To pass binary data in an array element, prepend "*b" to the element's > key." > > I Assume that means: > > put "I am binary!" into myArray["*bSomeKey"] > revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') > VALUES(:1)", "myArray" > > and not: > > put "I am binary!" into myArray["SomeKey] > revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') > VALUES(:1)", "myArray[*bSomeKey]" > > > > On 07.03.2013, at 02:59, Peter Haworth wrote: > > > Bjornke, > > How do you specify binary data if you use the an array instead of a list > of > > variable names? > > Pete > > lcSQL Software > > > > > > On Tue, Mar 5, 2013 at 5:01 AM, Bj?rnke von Gierke wrote: > > > >> Not sure why it won't work for you, but it seems that your first try had > >> some typo or otherwise wrong code. Your copy/paste has code missing so > it's > >> hard to say what the problem is. The second error looks like you forgot > >> some closing brackets or quotation marks, again it's hard to tell due to > >> lack of full code. One thing to note is that all variables used for > >> substitution have to exist, unlike all other places in LC, where missing > >> variables are assumed to be empty. Here's an example that probably > should > >> work, but is untested: > >> > >> --assuming revopendatabase works as expected > >> put "blah" into fileNameVar > >> put "pretend this is binary" into binaryObjectVar > >> revexecuteSQL MyDatabaseID, "INSERT INTO Assets ('FileName', 'File') > >> VALUES(:1,:2)", "fileNameVar", "*bbinaryObjectVar" > >> > >> On 05.03.2013, at 02:26, Sieg Lindstrom wrote: > >> > >>> Can anyone advise what the correct syntax should be to construct a > MySQL > >> "INSERT" query that passes variables from LiveCode when one of said > >> variables is a binary object? I am trying to construct the statement and > >> then use it with RevExecuteSQL. I'm particularly trying to understand > the > >> LC Dictionary note that reads, "To pass binary data in a variable in the > >> variablesList, prepend "*b" to the variable name. The revExecuteSQL > command > >> strips the binary marker "*b" and passes it to the database as binary > data, > >> rather than text data. > >>> > >>> Fair enough. My second variable in the query below, binaryObjectVar, is > >> a binary object. So I try this: > >>> > >>> INSERT INTO Assets (`FileName`, `File`) VALUES(:1,:2)", "fileNameVar", > >> "*bbinaryObjectVar" > >>> > >>> The result is this LC error: "compilation error at line 486 > (Expression: > >> double binary operator) near "*", char 24" > >>> > >>> If I try the query without using "*b" MySQL chokes on the binary data > in > >> binaryObjectVar and sends the following error message: > >>> > >>> "You have an error in your SQL syntax; check the manual that > corresponds > >> to your MySQL server version for the right syntax to use near > >> ':1,:2,:3,:4)", "test_file.pdf", %PDF-1.5%...' at line 1" > >>> > >>> So I've tried a number of permutations for including "*b". I've tried > >> quotes around the variable name with "*b" prepended within those quotes, > >> "*b" prepended before the open quote, etc. In each case, MySQL still > gags > >> on the binary data. > >>> > >>> Help! While this may sound like a misplaced MySQL syntax question, it's > >> not. What I'm missing is how to properly prepend "*b" so LC sends the > >> variable as binary data. ??? > >>> > >>> Thanks in advance, > >>> > >>> Sieg Lindstrom > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> -- > >> > >> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > 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 monte at sweattechnologies.com Thu Mar 7 14:44:06 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Mar 2013 06:44:06 +1100 Subject: Editing polygon points In-Reply-To: <513895F2.50407@splash21.com> References: <513895F2.50407@splash21.com> Message-ID: <0B0CC27A-7ECB-42C3-8A7A-ABDFEB825CC9@sweattechnologies.com> On 08/03/2013, at 12:28 AM, John Craig wrote: > Is it possible to visually edit the points of a polygon and can I add and delete individual points? > > http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode It appears everyone is too used to replying here... I did the deed ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From benr_mc at cogapp.com Thu Mar 7 14:43:14 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 07 Mar 2013 19:43:14 +0000 Subject: docs.runrev.com (and structured docs, and BvG docu) In-Reply-To: <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> References: <5138DADF.5030905@cogapp.com> <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> Message-ID: <5138EDD2.3000205@cogapp.com> On 07/03/2013 18:39, Bj?rnke von Gierke wrote: > > On 07.03.2013, at 19:22, Ben Rubinstein wrote: > >> (I tried to launch BvG docu recently, but couldn't get it going - it was unhappy at the lack of an index file in recent editions, and even when I found an older edition with that file to point it at, it failed for some reason I failed to figure out.) > > Whoa, hold your horses! what's your problem exactly and why is bvg docu not working? Hi Bj?rnke! Thanks for responding. Consider my horses held. When I tried BvG Docu on a current version of LiveCode, attempting to generate produced an error "sorry, I couldn't find the '/packaged_xml/dictionary/clumps.index' file. And indeed, it appears that this file doesn't exist in recent app bundles. I then walked back through old version of LiveCode until I found one which did have that file - but when I pointed it at that and said go, nothing happened. I'm afraid I didn't investigate further (I did try it several times). Ben From richmondmathewson at gmail.com Thu Mar 7 15:09:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 07 Mar 2013 22:09:53 +0200 Subject: Mucking around with polygon graphics. Message-ID: <5138F411.4090406@gmail.com> Boy-O-Boy; here I am at my most 'dangerous'; nothing to do than get stimulated by postings on the Use-List. So, I made a regular polygon graphic with 7 points, called it "G1", and then thought "funny things" and tried this in a button: on mouseUp put item 1 of point 1 of graphic "G1" into WUN end mouseUp obviously didn't get any further than that as the script-editor "threw a blue one" at that point: "button "Button": compilation error at line 2 (Handler: bad command) near "1", char 18 Now . . . I know that each point of a polygon graphic is defined by its position on a stack - which I, quite reasonably thought might be 'item 1' and 'item 2' . . . Come on: throw it at me! Richmond. From francois.chaplais at mines-paristech.fr Thu Mar 7 15:11:56 2013 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 7 Mar 2013 21:11:56 +0100 Subject: docs.runrev.com (and structured docs, and BvG docu) In-Reply-To: <5138EDD2.3000205@cogapp.com> References: <5138DADF.5030905@cogapp.com> <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> <5138EDD2.3000205@cogapp.com> Message-ID: make sure you have the latest version of the docu stack, especially if you are on the mac. Fran?ois Le 7 mars 2013 ? 20:43, Ben Rubinstein a ?crit : > On 07/03/2013 18:39, Bj?rnke von Gierke wrote: >> >> On 07.03.2013, at 19:22, Ben Rubinstein wrote: >> >>> (I tried to launch BvG docu recently, but couldn't get it going - it was unhappy at the lack of an index file in recent editions, and even when I found an older edition with that file to point it at, it failed for some reason I failed to figure out.) >> >> Whoa, hold your horses! what's your problem exactly and why is bvg docu not working? > > Hi Bj?rnke! > > Thanks for responding. Consider my horses held. > > When I tried BvG Docu on a current version of LiveCode, attempting to generate produced an error "sorry, I couldn't find the '/packaged_xml/dictionary/clumps.index' file. And indeed, it appears that this file doesn't exist in recent app bundles. > > I then walked back through old version of LiveCode until I found one which did have that file - but when I pointed it at that and said go, nothing happened. I'm afraid I didn't investigate further (I did try it several times). > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu Mar 7 15:16:24 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 7 Mar 2013 20:16:24 +0000 Subject: Mucking around with polygon graphics. In-Reply-To: <5138F411.4090406@gmail.com> References: <5138F411.4090406@gmail.com> Message-ID: > Boy-O-Boy; here I am at my most 'dangerous'; nothing to do than get > stimulated by postings on the Use-List. > > So, I made a regular polygon graphic with 7 points, called it "G1", and > then thought "funny things" and tried this in a button: > > on mouseUp > put item 1 of point 1 of graphic "G1" into WUN > > end mouseUp > > obviously didn't get any further than that as the > script-editor "threw a blue one" at that point: > > "button "Button": compilation error at line 2 (Handler: bad command) > near "1", char 18 > > Now . . . > > I know that each point of a polygon graphic is defined by its position > on a stack - which I, quite > reasonably thought might be 'item 1' and 'item 2' . . . > > Come on: throw it at me! > > Richmond. put the points of grc 1 put line 1 of the points of grc 1 From john at splash21.com Thu Mar 7 15:22:47 2013 From: john at splash21.com (John Craig) Date: Thu, 07 Mar 2013 20:22:47 +0000 Subject: Editing polygon points In-Reply-To: <0B0CC27A-7ECB-42C3-8A7A-ABDFEB825CC9@sweattechnologies.com> References: <513895F2.50407@splash21.com> <0B0CC27A-7ECB-42C3-8A7A-ABDFEB825CC9@sweattechnologies.com> Message-ID: <5138F717.4030108@splash21.com> Well - that will do your reputation no harm ;) On 07/03/2013 19:44, Monte Goulding wrote: > On 08/03/2013, at 12:28 AM, John Craig wrote: > >> Is it possible to visually edit the points of a polygon and can I add and delete individual points? >> >> http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode > It appears everyone is too used to replying here... I did the deed ;-) > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Mar 7 15:24:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Mar 2013 07:24:57 +1100 Subject: Editing polygon points In-Reply-To: <5138F717.4030108@splash21.com> References: <513895F2.50407@splash21.com> <0B0CC27A-7ECB-42C3-8A7A-ABDFEB825CC9@sweattechnologies.com> <5138F717.4030108@splash21.com> Message-ID: <4F205B27-A340-4AFD-B1C4-591DA9A436B9@sweattechnologies.com> On 08/03/2013, at 7:22 AM, John Craig wrote: > Well - that will do your reputation no harm ;) Wohoo... 91... only 1409 to go so I can create a LiveCode tag ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From bvg at mac.com Thu Mar 7 15:25:58 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 Mar 2013 21:25:58 +0100 Subject: docs.runrev.com (and structured docs, and BvG docu) In-Reply-To: <5138EDD2.3000205@cogapp.com> References: <5138DADF.5030905@cogapp.com> <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> <5138EDD2.3000205@cogapp.com> Message-ID: > Hi Bj?rnke! > > Thanks for responding. Consider my horses held. > > When I tried BvG Docu on a current version of LiveCode, attempting to generate produced an error "sorry, I couldn't find the '/packaged_xml/dictionary/clumps.index' file. And indeed, it appears that this file doesn't exist in recent app bundles. > > I then walked back through old version of LiveCode until I found one which did have that file - but when I pointed it at that and said go, nothing happened. I'm afraid I didn't investigate further (I did try it several times). > > Ben Ah I see. I guess you are using the deprecated version 1 of BvG Docu, not 2? See my site for the current version: http://bjoernke.com/bvgdocu/ The 1.x versions can't work with LC versions newer then 4.5. The current 2.x versions also have full search capabilities and store the documentation as a sqlite database, which makes it a lot easier to use with your own code, compared to the older "million files" approach. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From skip at magicgate.com Thu Mar 7 16:50:21 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 7 Mar 2013 16:50:21 -0500 Subject: Progress bar color Message-ID: Is there a way to change the default color of the progress bar to any color other than green? For instance, I would like it to be red until it gets to 100% and then it turns green. SKIP From monte at sweattechnologies.com Thu Mar 7 17:04:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Mar 2013 09:04:00 +1100 Subject: Progress bar color In-Reply-To: References: Message-ID: Here you go: http://stackoverflow.com/questions/15282648/can-i-change-the-default-color-of-a-progress-bar-in-livecode/15282649#15282649 On 08/03/2013, at 8:50 AM, Magicgate Software - Skip Kimpel wrote: > Is there a way to change the default color of the progress bar to any color > other than green? For instance, I would like it to be red until it gets to > 100% and then it turns green. > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From skip at magicgate.com Thu Mar 7 17:08:06 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 7 Mar 2013 17:08:06 -0500 Subject: Progress bar color In-Reply-To: References: Message-ID: Thank you Monte... was hoping I could do it with the built in control. Guess I will have to use a custom progress bar if I want to do this. SKIP On Thu, Mar 7, 2013 at 5:04 PM, Monte Goulding wrote: > Here you go: > > > http://stackoverflow.com/questions/15282648/can-i-change-the-default-color-of-a-progress-bar-in-livecode/15282649#15282649 > > On 08/03/2013, at 8:50 AM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Is there a way to change the default color of the progress bar to any > color > > other than green? For instance, I would like it to be red until it gets > to > > 100% and then it turns green. > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at elementarysoftware.com Thu Mar 7 20:50:01 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 7 Mar 2013 17:50:01 -0800 Subject: Update process in the Apple App Store In-Reply-To: <707FDC23-BAE5-4EA2-BB41-154168C9DB9B@mac.com> References: <707FDC23-BAE5-4EA2-BB41-154168C9DB9B@mac.com> Message-ID: Would it work to have the (updated app) check and notice that the data in the support folder had been created / last modified by an older version? -- Scott Morrow On Mar 7, 2013, at 5:27 AM, Graham Samuel wrote: > > I can of course ask the user to go through some process (like clicking a button) to complete the update, but it would be far preferable for the app to do this aspect of the update automatically without user intervention. This would imply that my app knows that its just been updated and can therefore run a once-only routine of some kind. I can think of a number of techniques for doing this, but I wondered if there is an approved one, or indeed whether the App Store's update service actually allows the app to run in some special update mode by executing additional code etc. Of course I may have fundamentally misunderstood what the App Store does. > From probert.dave at gmail.com Thu Mar 7 21:49:47 2013 From: probert.dave at gmail.com (Dave Probert) Date: Thu, 7 Mar 2013 18:49:47 -0800 (PST) Subject: Mucking around with polygon graphics. In-Reply-To: <5138F411.4090406@gmail.com> References: <5138F411.4090406@gmail.com> Message-ID: <1362710987132-4661954.post@n4.nabble.com> Hi, The list of points is in a property (points) of the graphic and it's simply a return separated list of x,y, coords. put item 1 of line 1 of the points of grc "G1" into WUN That should do it. Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mucking-around-with-polygon-graphics-tp4661944p4661954.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Thu Mar 7 23:31:21 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 8 Mar 2013 12:31:21 +0800 Subject: 1001 things to do... In-Reply-To: <007201ce1b45$bec3f610$3c4be230$@de> References: <007201ce1b45$bec3f610$3c4be230$@de> Message-ID: <38E1C2C9-ED8D-40E8-B5BE-CF3B9655F6A1@gmail.com> On 7 Mar 2013, at 23:09, Tiemo Hollmann TB wrote: > It's really interesting and great to see the variety of skills and > creativity of the list members on http://livecode1001.blogspot.de/ > > But Scotts Rossis UIs are really mind-blowing! A couple more to come :-) Peter http://LiveCode1001.blogspot.com From jacque at hyperactivesw.com Fri Mar 8 00:48:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Mar 2013 23:48:29 -0600 Subject: Saving by script takes you to a new dimension Message-ID: <51397BAD.4040102@hyperactivesw.com> I have a text file with html strings that I am transferring to fields in a stack. One line of text equals one card's field content. A handler loops through the text one line at a time, setting the htmltext of a background field on every card. The html text is very simple and sometimes contains italics, like this: This is the text of the field on one card. After the repeat loop completes, the script issues a "save" command and closes the stack. Now the story goes into the twilight zone... When I re-open the stack, all the italicized words thoughout have become bold. If I put the htmltext of an affected field into the message box, it comes out like this: This is the text of the field on one card. There are no bolds anywhere in the text file. There are no "" additions anywhere in my script. There are no scripts in the stack that alter the field contents. Now Rod Serling appears... If I abort the handler right before the "save" command, which leaves the stack open, I can page through it and see that all the italics are intact. No bolds anywhere. If I then manually save with Cmd-S, the stack remains intact and I can open and close it forever and the italics are still there. After trying to track this down for a couple of days, my brain exploded. What's different between Cmd-S and a scripted "save this stack"? LiveCode 5.5.4. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Fri Mar 8 01:38:10 2013 From: john at splash21.com (John Craig) Date: Fri, 08 Mar 2013 06:38:10 +0000 Subject: Editing polygon points In-Reply-To: References: Message-ID: <51398752.7060207@splash21.com> Thanks, Jim- that's half way there ! :) On 07/03/2013 15:38, Jim Hurley wrote: > Hi John, > > There is a much overlooked feature in RR that allows you to manually reshape points. > > Under the Object menu select "Reshape graphic." > > And you can delete points using the Inspector. Just delete the offending line among the Points. > > Adding points is tricky. But you can just add a new line to the Points and then reposition the points. > > And then, as you know, there are Bezier curves. > > Jim Hurley > >> Message: 27 >> Date: Thu, 07 Mar 2013 13:28:18 +0000 >> From: John Craig >> To: How to use LiveCode >> Subject: Editing polygon points >> Message-ID: <513895F2.50407 at splash21.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> Is it possible to visually edit the points of a polygon and can I add >> and delete individual points? >> >> http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Mar 8 01:39:52 2013 From: john at splash21.com (John Craig) Date: Fri, 08 Mar 2013 06:39:52 +0000 Subject: Editing polygon points In-Reply-To: <6F31B1AB-BCF2-4B32-AE88-A5C30866ED72@kenjikojima.com> References: <513895F2.50407@splash21.com> <6F31B1AB-BCF2-4B32-AE88-A5C30866ED72@kenjikojima.com> Message-ID: <513987B8.40207@splash21.com> Wow - looks like an interesting stack! I'm after something much simpler, though :) On 07/03/2013 14:19, index at kenjikojima.com wrote: > John, > > I have made a wireframe drawing stack. > You have to open stack "animationEngine" before this. > go stack url "http://www.kenjikojima.com/runrev/draw3D.livecode" > > Create a New Point: Click on Grid > Move a Point: > MacOS: Option Key + Drag a Point > Windows: Alt Key + Drag a Point > Add a New Point: > Shift Key + Click on a Line > Delete a Point: > Control Key + Click on a Point > > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > On Mar 7, 2013, at 8:28 AM, John Craig wrote: > >> Is it possible to visually edit the points of a polygon and can I add and delete individual points? >> >> http://stackoverflow.com/questions/15272215/editing-polygon-points-with-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Mar 8 02:14:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Mar 2013 23:14:00 -0800 Subject: Saving by script takes you to a new dimension In-Reply-To: <51397BAD.4040102@hyperactivesw.com> References: <51397BAD.4040102@hyperactivesw.com> Message-ID: Hi Jacque, I don't have an answer for you, just a suggestion. Looking at the code in the IDE File menu handler for Save, it does not use the save command but calls a handler named revIDESaveRequest. I didn't spot anything weird in that handler but it calls another handler named revSave which I have not been able to track down. I guess it's highly unlikely that revSave would be causing what you're seeing, but..... Pete On Thu, Mar 7, 2013 at 9:48 PM, J. Landman Gay wrote: > After trying to track this down for a couple of days, my brain exploded. > What's different between Cmd-S and a scripted "save this stack"? Pete lcSQL Software From monte at sweattechnologies.com Fri Mar 8 02:19:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Mar 2013 18:19:57 +1100 Subject: Saving by script takes you to a new dimension In-Reply-To: <51397BAD.4040102@hyperactivesw.com> References: <51397BAD.4040102@hyperactivesw.com> Message-ID: <0D073B20-0740-43F8-ABE2-D1D5A2FCC1E7@sweattechnologies.com> Would stackFileVersion make any difference? -- M E R Goulding Software development services mergExt - There's an external for that! On 08/03/2013, at 4:48 PM, "J. Landman Gay" wrote: > What's different between Cmd-S and a scripted "save this stack"? From niggemann at uni-wh.de Fri Mar 8 03:52:34 2013 From: niggemann at uni-wh.de (BNig) Date: Fri, 8 Mar 2013 00:52:34 -0800 (PST) Subject: Saving by script takes you to a new dimension In-Reply-To: <51397BAD.4040102@hyperactivesw.com> References: <51397BAD.4040102@hyperactivesw.com> Message-ID: <1362732754169-4661961.post@n4.nabble.com> Hi Jacque, have a look at Bug 10558 also http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=13362 it is supposed to be fixed in 6.0 dp2 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Saving-by-script-takes-you-to-a-new-dimension-tp4661956p4661961.html Sent from the Revolution - User mailing list archive at Nabble.com. From th.douez at gmail.com Fri Mar 8 04:10:00 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 8 Mar 2013 10:10:00 +0100 Subject: the systemVersion Message-ID: Hi, Can someone tell me what's the value of the systemVersion for Windows 8 ? Some results for other windows version: -- Windows 2000: NT 5.0 -- Windows XP : NT 5.1 -- Windows Vista: NT 6.0 -- Windows 7: NT 6.1 Regards, Thierry From toolbook at kestner.de Fri Mar 8 04:20:01 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 8 Mar 2013 10:20:01 +0100 Subject: AW: the systemVersion In-Reply-To: References: Message-ID: <002101ce1bde$1d3c3de0$57b4b9a0$@de> NT 6.2 > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Thierry Douez > Gesendet: Freitag, 8. M?rz 2013 10:10 > An: How to use LiveCode > Betreff: the systemVersion > > Hi, > > Can someone tell me what's the value of the systemVersion for Windows 8 ? > > Some results for other windows version: > -- Windows 2000: NT 5.0 > -- Windows XP : NT 5.1 > -- Windows Vista: NT 6.0 > -- Windows 7: NT 6.1 > > Regards, > > Thierry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Fri Mar 8 04:20:54 2013 From: kevin at runrev.com (Kevin Miller) Date: Fri, 08 Mar 2013 09:20:54 +0000 Subject: Bezier curves and open source In-Reply-To: Message-ID: Yes. The shape object will support arbitrary 2d vector paths. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Everyone can code On 07/03/2013 18:05, "Andrew Meit" wrote: >Kevin, > >Will Bezier curves finally get full support in open source LC?? I assume >the svg support from the stretch goals handle Bezier curves?? Thanks > >andrew >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Fri Mar 8 04:23:31 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 8 Mar 2013 10:23:31 +0100 Subject: the systemVersion In-Reply-To: <002101ce1bde$1d3c3de0$57b4b9a0$@de> References: <002101ce1bde$1d3c3de0$57b4b9a0$@de> Message-ID: 2013/3/8 Tiemo Hollmann TB > NT 6.2 > Great. Many thanks. Thierry From benr_mc at cogapp.com Fri Mar 8 04:53:55 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 08 Mar 2013 09:53:55 +0000 Subject: docs.runrev.com (and structured docs, and BvG docu) In-Reply-To: References: <5138DADF.5030905@cogapp.com> <5D05F65A-4D32-4662-BF9E-76A9662E2B93@mac.com> <5138EDD2.3000205@cogapp.com> Message-ID: <5139B533.3020509@cogapp.com> On 07/03/2013 20:25, Bj?rnke von Gierke wrote: > Ah I see. I guess you are using the deprecated version 1 of BvG Docu, not 2? > > See my site for the current version: http://bjoernke.com/bvgdocu/ > > The 1.x versions can't work with LC versions newer then 4.5. The current 2.x versions also have full search capabilities and store the documentation as a sqlite database, which makes it a lot easier to use with your own code, compared to the older "million files" approach. Aha, my apologies - I'd somehow missed the new version. This is brilliant. Many thanks, Ben From coiin at verizon.net Fri Mar 8 07:37:09 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 08 Mar 2013 07:37:09 -0500 Subject: conference last day questions... Message-ID: <78F03320-30FF-4549-AB1D-6A9173C71410@verizon.net> This thing that Kevin said made me think of a question about the conference: "Yes. The shape object will support arbitrary 2d vector paths." Something was talked about in the last day of the conference near Atlantic City, and as that was an NDA session I can't ask a question about it here. But the new question I have is: If LiveCode is open source, and all ongoing developments will be known, what will the last day of the confence look like? I mean, it surely can't be an NDA session, can it? Regardless of the nature of the last day, can you say what time it will wrap up? I need to book my travel away from Edinburgh. From MikeKerner at roadrunner.com Fri Mar 8 10:44:25 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 8 Mar 2013 10:44:25 -0500 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> References: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> Message-ID: Voted on day 1 when it was 50/50 On Thu, Mar 7, 2013 at 7:05 AM, Hakan at Exformedia.se wrote: > Can't see the logic behind that list? > > Funambol : A syncronizing engine > Livecode : Well we all now what this is > Memotoo : Also a synchronizing engine > MobiCart : Lets you easily take your product catalog to mobile devices > SaasMob : Can't wrap my head around that? It says that you can "create > mobile apps in the cloud in minutes, without writing any code." But later > on if you want to go "native" you can read: "Developers must have command > of HTML, Javascript and CSS. Depending on the extent of native interaction > required, the developers must also be familiar with Objective-c for iPhone, > Java for Android, Mojo for Palm WebOS, J2ME for Blackberry and Silverlight > for Windows Mobile." > > So, for me there is only one generic app-designer tool in that list. Voted > of course... > ___________________________ > http://www.exformedia.se > Check out my new iOS game at http://appstore.com/swapatiswap > > 5 mar 2013 kl. 10:36 skrev Dirk prive : > > > Done and now at 62%. > > > > We also need to vote for LiveCode as "best tool for app designers". > > We're only at 16% there. > > > > > http://mobiledevices.about.com/library/rca2013/bl-best-app-designer-tools.htm > > > > Dirk Cleenwerck > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From nm at studionm.pl Fri Mar 8 10:49:47 2013 From: nm at studionm.pl (Marek Niesiobedzki) Date: Fri, 8 Mar 2013 16:49:47 +0100 Subject: StackOverflow Message-ID: Hi Monte, Maybe I don't understand something, so sorry in that case. Please explain in which is StackOverflow better than our forums or use-livecode list? Why should we make next place to ask and look for answers? I tried to visit StackOverflow links you posted and only experience is that StackOverflow service is: - ugly, - difficult to navigate and find any info - full of advertisements I prefer, as opposite experience I have, to still use our forums as well organised, clear of what is not needed and interesting for visitors. Specially the most useful is possibility to quick find unread messages and treads. It's my favourite tool to contact with other LC users and I don't need anything else. Also searching in old content is quick and effective there. Little less comfortable in use are raw user lists, but still much better than colourful but not readable StackOverflow. So if there is not any more reasons than just fashion, I don't want to vote or use it. Why to change what is well working if new solution is not better? Marek From marty at ucls.uchicago.edu Fri Mar 8 10:57:41 2013 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Fri, 8 Mar 2013 09:57:41 -0600 Subject: Sauce Bottle In-Reply-To: References: Message-ID: <347B20BC-9D7E-4EC4-A75B-479132946615@ucls.uchicago.edu> iCode (coding for the masses?.) > Roger Eller wrote: > > How about "HyperCard"? > On Mar 3, 2013 12:04 PM, "Colin Holgate" wrote: > >> AliveAndWellCode perhaps? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From coiin at verizon.net Fri Mar 8 11:00:27 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 08 Mar 2013 11:00:27 -0500 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> Message-ID: <656FBBC9-910B-4C83-8569-0F6F06497CA5@verizon.net> You can vote again each day. LiveCode is in second place at the moment. On Mar 8, 2013, at 10:44 AM, Mike Kerner wrote: > Voted on day 1 when it was 50/50 From MikeKerner at roadrunner.com Fri Mar 8 11:13:18 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 8 Mar 2013 11:13:18 -0500 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: <656FBBC9-910B-4C83-8569-0F6F06497CA5@verizon.net> References: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> <656FBBC9-910B-4C83-8569-0F6F06497CA5@verizon.net> Message-ID: I just voted again and it was in first when I looked. On Fri, Mar 8, 2013 at 11:00 AM, Colin Holgate wrote: > You can vote again each day. LiveCode is in second place at the moment. > > > On Mar 8, 2013, at 10:44 AM, Mike Kerner > wrote: > > > Voted on day 1 when it was 50/50 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From andrew at ctech.me Fri Mar 8 11:40:40 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 8 Mar 2013 10:40:40 -0600 Subject: StackOverflow In-Reply-To: References: Message-ID: 90 percent of the issues I am trying to search and fix in other programming languages end up being found on StackOverflow. I am not a big user there, but it seems that it is quickly becoming the most popular help forum directed at developers of all kinds. I think the attempt is to get the development industry at large to notice livecode by making sure there is a presence there. Andrew On Fri, Mar 8, 2013 at 9:49 AM, Marek Niesiobedzki wrote: > Hi Monte, > > Maybe I don't understand something, so sorry in that case. > > Please explain in which is StackOverflow better than our forums or > use-livecode list? Why should we make next place to ask and look for > answers? I tried to visit StackOverflow links you posted and only > experience is that StackOverflow service is: > - ugly, > - difficult to navigate and find any info > - full of advertisements > > I prefer, as opposite experience I have, to still use our forums as well > organised, clear of what is not needed and interesting for visitors. > Specially the most useful is possibility to quick find unread messages and > treads. It's my favourite tool to contact with other LC users and I don't > need anything else. Also searching in old content is quick and effective > there. > > Little less comfortable in use are raw user lists, but still much better > than colourful but not readable StackOverflow. > > So if there is not any more reasons than just fashion, I don't want to > vote or use it. Why to change what is well working if new solution is not > better? > > Marek > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Fri Mar 8 13:08:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Mar 2013 12:08:03 -0600 Subject: Saving by script takes you to a new dimension In-Reply-To: <1362732754169-4661961.post@n4.nabble.com> References: <51397BAD.4040102@hyperactivesw.com> <1362732754169-4661961.post@n4.nabble.com> Message-ID: <513A2903.8090808@hyperactivesw.com> On 3/8/13 2:52 AM, BNig wrote: > Hi Jacque, > > have a look at Bug 10558 > > also > > http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=13362 > > it is supposed to be fixed in 6.0 dp2 That's it! Same problem. And I see I was a participant in the forum discussion and completely forgot about it. I'm glad at least one of us still has a brain. I hope 6.0 will be out before my deadline. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hatchfactory at gmail.com Fri Mar 8 14:25:38 2013 From: hatchfactory at gmail.com (Michael Hatch) Date: Fri, 8 Mar 2013 11:25:38 -0800 Subject: StackOverflow In-Reply-To: References: Message-ID: I for one applaud Montes efforts in increasing the web presence of Livecode. :-) I believe it is of upmost importance that programmers of other languages see that Livecode is serious business and a viable tool and option. Increasing the popularity, image and the amount of users is in all Livecoders best interests. If you Livecode for work it increases the security of your personal investment. If your a hobbyist, then more users = better livecode, more documentation, more community examples, demand for better features etc. etc. Apple's Hypercard was a great tool with incredible potential. Towards the end of it's life Apple couldn't communicate the vision "everyone can and should program (not just for an elitist group of buddies)" or maybe they had their sights set elsewhere. It seems that RunRev has the right idea currently and the source going open is "opening" :-) the flood gates to many new users - who - will need help from experienced mentors, tutorials and examples. Experienced users should be active answering in the forum, and it is a great place to find answers. StackOverflow isn't a replacement for the official forum but SO viewers or Google searchers will see replies and say "Oh, I didn't know Livecode could do that." On Fri, Mar 8, 2013 at 8:40 AM, Andrew Kluthe wrote: > 90 percent of the issues I am trying to search and fix in other programming > languages end up being found on StackOverflow. I am not a big user there, > but it seems that it is quickly becoming the most popular help forum > directed at developers of all kinds. I think the attempt is to get the > development industry at large to notice livecode by making sure there is a > presence there. > > Andrew > > On Fri, Mar 8, 2013 at 9:49 AM, Marek Niesiobedzki wrote: > > > Hi Monte, > > > > Maybe I don't understand something, so sorry in that case. > > > > Please explain in which is StackOverflow better than our forums or > > use-livecode list? Why should we make next place to ask and look for > > answers? I tried to visit StackOverflow links you posted and only > > experience is that StackOverflow service is: > > - ugly, > > - difficult to navigate and find any info > > - full of advertisements > > > > I prefer, as opposite experience I have, to still use our forums as well > > organised, clear of what is not needed and interesting for visitors. > > Specially the most useful is possibility to quick find unread messages > and > > treads. It's my favourite tool to contact with other LC users and I don't > > need anything else. Also searching in old content is quick and effective > > there. > > > > Little less comfortable in use are raw user lists, but still much better > > than colourful but not readable StackOverflow. > > > > So if there is not any more reasons than just fashion, I don't want to > > vote or use it. Why to change what is well working if new solution is not > > better? > > > > Marek > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Fri Mar 8 14:41:12 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 8 Mar 2013 20:41:12 +0100 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> <656FBBC9-910B-4C83-8569-0F6F06497CA5@verizon.net> Message-ID: LC : 48 ; MobiCart : 49 Le 8 mars 2013 ? 17:13, Mike Kerner a ?crit : > I just voted again and it was in first when I looked. > > > On Fri, Mar 8, 2013 at 11:00 AM, Colin Holgate wrote: > >> You can vote again each day. LiveCode is in second place at the moment. >> >> >> On Mar 8, 2013, at 10:44 AM, Mike Kerner >> wrote: >> >>> Voted on day 1 when it was 50/50 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From monte at sweattechnologies.com Fri Mar 8 14:50:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 06:50:15 +1100 Subject: StackOverflow In-Reply-To: References: Message-ID: <8BE628A7-EF06-4106-83B1-2A25ADD76F8C@sweattechnologies.com> Use what you prefer. I hope some others will see the benefits of stackoverflow and join me in developing the LiveCode presence there. -- M E R Goulding Software development services mergExt - There's an external for that! On 09/03/2013, at 2:49 AM, Marek Niesiobedzki wrote: > I prefer, as opposite experience I have, to still use our forums From MikeKerner at roadrunner.com Fri Mar 8 14:49:54 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 8 Mar 2013 14:49:54 -0500 Subject: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator In-Reply-To: References: <64CDDD4A-A21B-4914-AD6B-131D66C73BF0@Exformedia.se> <656FBBC9-910B-4C83-8569-0F6F06497CA5@verizon.net> Message-ID: well then we should be reminding everyone every day to vote On Fri, Mar 8, 2013 at 2:41 PM, Pierre Sahores wrote: > LC : 48 ; MobiCart : 49 > > > Le 8 mars 2013 ? 17:13, Mike Kerner a ?crit : > > > I just voted again and it was in first when I looked. > > > > > > On Fri, Mar 8, 2013 at 11:00 AM, Colin Holgate > wrote: > > > >> You can vote again each day. LiveCode is in second place at the moment. > >> > >> > >> On Mar 8, 2013, at 10:44 AM, Mike Kerner > >> wrote: > >> > >>> Voted on day 1 when it was 50/50 > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sc at sahores-conseil.com Fri Mar 8 14:52:40 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 8 Mar 2013 20:52:40 +0100 Subject: Fwd: StackOverflow References: Message-ID: <0846BC93-6FA8-43C7-9AF7-C9B492F6AD4F@sahores-conseil.com> Yep ! Thanks you Colin, Monte, RunRev and to our sweet dev community. Unfortunately, my froggy's english would't help in about the StackOverflow enterprise... D?but du message r?exp?di? : > I for one applaud Montes efforts in increasing the web presence of > Livecode. :-) > > I believe it is of upmost importance that programmers of other languages > see that Livecode is serious business and a viable tool and option. > Increasing the popularity, image and the amount of users is in all > Livecoders best interests. > > If you Livecode for work it increases the security of your personal > investment. If your a hobbyist, then more users = better livecode, more > documentation, more community examples, demand for better features etc. > etc. Apple's Hypercard was a great tool with incredible potential. Towards > the end of it's life Apple couldn't communicate the vision "everyone can > and should program (not just for an elitist group of buddies)" or maybe > they had their sights set elsewhere. > > It seems that RunRev has the right idea currently and the source going > open is "opening" :-) the flood gates to many new users - who - will need > help from experienced mentors, tutorials and examples. Experienced users > should be active answering in the forum, and it is a great place to find > answers. StackOverflow isn't a replacement for the official forum but SO > viewers or Google searchers will see replies and say "Oh, I didn't know > Livecode could do that." -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From monte at sweattechnologies.com Fri Mar 8 15:00:21 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 07:00:21 +1100 Subject: StackOverflow In-Reply-To: References: Message-ID: <1067B5B3-2D1A-462C-A78B-7521A09D8148@sweattechnologies.com> Agreed... Imagine your coming from JavaScript to LC and you are used to resolving all your problems on stackoverflow. If there is only a very minor LiveCode presence there and no tag then you would feel like there's no help available. You might not be used to the difficulty of finding the right answer to a previously posed question in forum archives so you need to ask the questions again and wait for answers. You might not understand the language enough to realize that someone posed an incorrect solution. On page 1 and page 6 has the best solution. Anyway... I seem to be taking heat on this (on the dev list too) so let's just leave it that ill do what I feel is good for the platform and if folks agree with me you are more than welcome to join me. -- M E R Goulding Software development services mergExt - There's an external for that! On 09/03/2013, at 6:25 AM, Michael Hatch wrote: > StackOverflow isn't a replacement for the official forum but SO > viewers or Google searchers will see replies and say "Oh, I didn't know > Livecode could do that." From ambassador at fourthworld.com Fri Mar 8 15:07:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Mar 2013 12:07:57 -0800 Subject: StackOverflow In-Reply-To: <1067B5B3-2D1A-462C-A78B-7521A09D8148@sweattechnologies.com> References: <1067B5B3-2D1A-462C-A78B-7521A09D8148@sweattechnologies.com> Message-ID: <513A451D.2000708@fourthworld.com> Monte Goulding wrote: > ill do what I feel is good for the platform and if folks agree > with me you are more than welcome to join me. I appreciate your efforts to add Stack Overflow to the ever-growing range of options available for people to learn LiveCode. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Fri Mar 8 15:21:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Mar 2013 20:21:18 +0000 (UTC) Subject: Saving by script takes you to a new dimension References: <51397BAD.4040102@hyperactivesw.com> Message-ID: But meanwhile it's so nice to have Rod Serling back. If you see Gene Roddenberry, tell him we miss him. -- Mark Wieder mwieder at ahsoftware.net From bvg at mac.com Fri Mar 8 15:23:22 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 08 Mar 2013 21:23:22 +0100 Subject: conference last day questions... In-Reply-To: <78F03320-30FF-4549-AB1D-6A9173C71410@verizon.net> References: <78F03320-30FF-4549-AB1D-6A9173C71410@verizon.net> Message-ID: Maybe instead we could have a democracy day, where Kevin shows us 5 features, and then the participants vote on which they like most. Completely non-binding of course. Or maybe a quiz, like the gong show, where random members from the audience can get up to an half hour of rant time to advertise their favourite new feature, while Kevin, Ben and Mark vote down stuff that's too far out there or too boring. I suggest to leave the day after the last conference day, that is way more relaxed :) On 08.03.2013, at 13:37, Colin Holgate wrote: > This thing that Kevin said made me think of a question about the conference: > > "Yes. The shape object will support arbitrary 2d vector paths." > > Something was talked about in the last day of the conference near Atlantic City, and as that was an NDA session I can't ask a question about it here. But the new question I have is: > > If LiveCode is open source, and all ongoing developments will be known, what will the last day of the confence look like? I mean, it surely can't be an NDA session, can it? > > Regardless of the nature of the last day, can you say what time it will wrap up? I need to book my travel away from Edinburgh. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From monte at sweattechnologies.com Fri Mar 8 16:22:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 08:22:25 +1100 Subject: conference last day questions... In-Reply-To: <78F03320-30FF-4549-AB1D-6A9173C71410@verizon.net> References: <78F03320-30FF-4549-AB1D-6A9173C71410@verizon.net> Message-ID: <56CC8678-89CB-448F-B071-20CFBDA5641B@sweattechnologies.com> My hope is that %99 of this NDA business is a thing of the past. We're kicking on for another night then off to Paris on Saturday for a bit of culture. London for a few nights before is going to be great too... Already have tickets and dinner reservations for The Tempest at the Globe on Saturday night ;-) On 08/03/2013, at 11:37 PM, Colin Holgate wrote: > Regardless of the nature of the last day, can you say what time it will wrap up? I need to book my travel away from Edinburgh. > -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Fri Mar 8 17:44:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 8 Mar 2013 14:44:06 -0800 Subject: Place command question Message-ID: I'm using the place command in a script to place a shared group onto a card. I need to be able to refer to the new group after placing it but it seems that the place command, unlike other commands that create controls, does not put the long ID of the new group into the it variable. I can kind of understand that since the it's not really a "new" control. I think I'm correct in saying that a shared group will always have the same id no matter which card it's on. If so, it's easy to refer to it after I have placed it. Could someone confirm that is the case? Thanks, Pete lcSQL Software From livecode.list at gmail.com Fri Mar 8 19:31:56 2013 From: livecode.list at gmail.com (Chip Thomas) Date: Fri, 8 Mar 2013 16:31:56 -0800 Subject: iOS - using USB to transfer files Message-ID: There are some applications out there that enable you to transfer files from your computer to your iOS device through the USB cable and/or WiFi. It seems that these apps are using the iTunes library to perform these transfers. Does anyone know the secret to accessing these libraries and transfer functions? From m.schonewille at economy-x-talk.com Fri Mar 8 19:52:58 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 09 Mar 2013 01:52:58 +0100 Subject: Place command question In-Reply-To: References: Message-ID: <513A87EA.8080005@economy-x-talk.com> Hi Pete, Yes, I can confirm his. You could also give the group a name and use this name. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 14 January, we suffered severe server problems. If you tried to send an e-mail between 13 and 18 January and didn't get a reply, please try again. On 3/8/2013 23:44, Peter Haworth wrote: > I'm using the place command in a script to place a shared group onto a > card. I need to be able to refer to the new group after placing it but it > seems that the place command, unlike other commands that create controls, > does not put the long ID of the new group into the it variable. I can kind > of understand that since the it's not really a "new" control. > > I think I'm correct in saying that a shared group will always have the same > id no matter which card it's on. If so, it's easy to refer to it after I > have placed it. > > Could someone confirm that is the case? > > Thanks, > > Pete > lcSQL Software From monte at sweattechnologies.com Fri Mar 8 20:06:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 12:06:52 +1100 Subject: iOS - using USB to transfer files In-Reply-To: References: Message-ID: On 09/03/2013, at 11:31 AM, Chip Thomas wrote: > There are some applications out there that enable you to transfer files > from your computer to your iOS device through the USB cable and/or WiFi. > It seems that these apps are using the iTunes library to perform these > transfers. > > Does anyone know the secret to accessing these libraries and transfer > functions? There's no api for using the apple usb cable. You can use the documents folder or you can create an app on desktop that will accept connections and send data over sockets. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Fri Mar 8 20:17:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 8 Mar 2013 17:17:33 -0800 Subject: Place command question In-Reply-To: <513A87EA.8080005@economy-x-talk.com> References: <513A87EA.8080005@economy-x-talk.com> Message-ID: Thanks Mark. I thought of using the name but I guess there's always the slight chance that there might already be a group with the same name on the card that the group is copied to. Pete lcSQL Software On Fri, Mar 8, 2013 at 4:52 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > Yes, I can confirm his. You could also give the group a name and use this > name. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > On 14 January, we suffered severe server problems. If you tried to send an > e-mail between 13 and 18 January and didn't get a reply, please try again. > > > On 3/8/2013 23:44, Peter Haworth wrote: > >> I'm using the place command in a script to place a shared group onto a >> card. I need to be able to refer to the new group after placing it but it >> seems that the place command, unlike other commands that create controls, >> does not put the long ID of the new group into the it variable. I can >> kind >> of understand that since the it's not really a "new" control. >> >> I think I'm correct in saying that a shared group will always have the >> same >> id no matter which card it's on. If so, it's easy to refer to it after I >> have placed it. >> >> Could someone confirm that is the case? >> >> Thanks, >> >> Pete >> lcSQL Software >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From igor at semperuna.com Fri Mar 8 20:54:30 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 9 Mar 2013 12:54:30 +1100 Subject: StackOverflow In-Reply-To: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> Message-ID: <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> Sites like StackOverflow can be extremely useful in promoting LiveCode among developers: On 07/03/2013, at 3:15 PM, Monte Goulding wrote: > I'd like to encourage people to ask and answer questions on StackOverflow. I would also suggest that people consider using popular snippet-sharing sites, like "Snipplr": http://snipplr.com The LiveCode gurus might be interested to know, that Snipplr has a public api (supposedly XML-RPC based). So, I guess, it would be possible to create a 'snippet library' stack that would allow LiveCoders to store their snippets in Snipplr, as well as search and download LiveCode snippets from others... Kindest regards to all, -- Igor Couto Sydney, Australia From monte at sweattechnologies.com Fri Mar 8 21:12:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 13:12:32 +1100 Subject: StackOverflow In-Reply-To: <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> Message-ID: <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> On 09/03/2013, at 12:54 PM, Igor de Oliveira Couto wrote: > I would also suggest that people consider using popular snippet-sharing sites, like "Snipplr": > > http://snipplr.com > > The LiveCode gurus might be interested to know, that Snipplr has a public api (supposedly XML-RPC based). So, I guess, it would be possible to create a 'snippet library' stack that would allow LiveCoders to store their snippets in Snipplr, as well as search and download LiveCode snippets from others... Sounds like a fun project. Many people on stackoverflow post to gist if a significant amount of code is required for the question or answer. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From hatchfactory at gmail.com Fri Mar 8 21:20:11 2013 From: hatchfactory at gmail.com (Michael Hatch) Date: Fri, 8 Mar 2013 18:20:11 -0800 Subject: StackOverflow In-Reply-To: <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> Message-ID: I'm not enough of a livecode guru yet as to provide many confident answers but I'll join you by voting up and asking questions. On Fri, Mar 8, 2013 at 6:12 PM, Monte Goulding wrote: > > On 09/03/2013, at 12:54 PM, Igor de Oliveira Couto > wrote: > > > I would also suggest that people consider using popular snippet-sharing > sites, like "Snipplr": > > > > http://snipplr.com > > > > The LiveCode gurus might be interested to know, that Snipplr has a > public api (supposedly XML-RPC based). So, I guess, it would be possible to > create a 'snippet library' stack that would allow LiveCoders to store their > snippets in Snipplr, as well as search and download LiveCode snippets from > others... > > Sounds like a fun project. Many people on stackoverflow post to gist if a > significant amount of code is required for the question or answer. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From igor at semperuna.com Fri Mar 8 21:23:01 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 9 Mar 2013 13:23:01 +1100 Subject: StackOverflow In-Reply-To: <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> Message-ID: <06D248CE-4F50-484D-8904-FC117D5DCDCC@semperuna.com> On 09/03/2013, at 1:12 PM, Monte Goulding wrote: > Sounds like a fun project. Many people on stackoverflow post to gist if a significant amount of code is required for the question or answer. Indeed, Gist would provide even more features than Snipplr - ie., forks and versioning - and I'm sure there is a public api for it, too (there is a Gist plug-in for Sublime Text), but my guess is that the api would probably be much more complex to implement. Increased LiveCode presence and visibility on GitHub, however, would be a definite bonus. :-) -- Igor Couto Sydney, Australia From igor at semperuna.com Fri Mar 8 21:32:36 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Sat, 9 Mar 2013 13:32:36 +1100 Subject: StackOverflow In-Reply-To: <06D248CE-4F50-484D-8904-FC117D5DCDCC@semperuna.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> <06D248CE-4F50-484D-8904-FC117D5DCDCC@semperuna.com> Message-ID: <6D309371-DD1F-4EBF-AEEF-C08254EEDC62@semperuna.com> I know this is becoming a bit [OT], but another worthwhile project for a LiveCode guru: add LiveCode syntax to the ACE editor project: http://ace.ajax.org/ ACE is an in-browser text editor made for programming. It is widely used in many programming and coding sites, like GitHub, and supports dozens of programming languages - from the most popular ones, to many you've never heard of. Unfortunately, ACE does not recognise LiveCode. Helping add LiveCode syntax to ACE can increase the visibility of LiveCode as a language in the greater programmer community. It may also have side benefits - such as perhaps allowing us to edit .irev and .lc server files in-browser! :-) The structure of ACE syntax files is quite well documented on their website, and there is even a way to translate a TextMate Language file (TMLanguage) into ACE. Kindest regards to all, -- Igor Couto Sydney, Australia From monte at sweattechnologies.com Fri Mar 8 21:44:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 13:44:02 +1100 Subject: StackOverflow In-Reply-To: <6D309371-DD1F-4EBF-AEEF-C08254EEDC62@semperuna.com> References: <2977800B-7957-4921-9B04-510CD1A7002F@sweattechnologies.com> <645FC3F2-940A-4B77-B84B-54236BCF20C4@semperuna.com> <606E9F3A-D5A8-4279-AFAE-6C02B28AB50E@sweattechnologies.com> <06D248CE-4F50-484D-8904-FC117D5DCDCC@semperuna.com> <6D309371-DD1F-4EBF-AEEF-C08254EEDC62@semperuna.com> Message-ID: <56ADBBF7-695E-4216-98D3-2F06BDEBE044@sweattechnologies.com> On 09/03/2013, at 1:32 PM, Igor de Oliveira Couto wrote: > The structure of ACE syntax files is quite well documented on their website, and there is even a way to translate a TextMate Language file (TMLanguage) into ACE. There's a TextMate bundle here http://revigniter.com/accessory for anyone who wants to take this on. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Mar 9 02:12:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 18:12:38 +1100 Subject: Anyone got any clues on this? Message-ID: http://stackoverflow.com/questions/15307005/are-livecode-gradient-to-from-via-properties-relative-to-the-object-of-card-coor Scott Rossi I'm looking at you! -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From capellan2000 at gmail.com Sat Mar 9 03:18:49 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 9 Mar 2013 00:18:49 -0800 (PST) Subject: Translating Docs and Tutorials Message-ID: <1362817129153-4661997.post@n4.nabble.com> Hi all, Does exists within Runrev some collaborative infrastructure that helps groups from different language to translate and/or adapt the Docs and Tutorials provided by Runrev for LiveCode? If possible, this could be web based and, at the same time, stackware running inside LiveCode. Thanks in advance! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Translating-Docs-and-Tutorials-tp4661997.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Mar 9 03:20:09 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 9 Mar 2013 00:20:09 -0800 (PST) Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <1362817209831-4661998.post@n4.nabble.com> Hi Monte, I posted a reply, already. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Anyone-got-any-clues-on-this-tp4661996p4661998.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sat Mar 9 03:34:16 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 09 Mar 2013 00:34:16 -0800 Subject: Anyone got any clues on this? In-Reply-To: Message-ID: If you had posted here, I would have answered already :-P Point locations are relative to card. See this stack: go url "http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev" Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/8/13 11:12 PM, "Monte Goulding" wrote: >http://stackoverflow.com/questions/15307005/are-livecode-gradient-to-from- >via-properties-relative-to-the-object-of-card-coor > >Scott Rossi I'm looking at you! > >-- >Monte Goulding > >M E R Goulding - software development services >mergExt - There's an external for that! > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sat Mar 9 03:52:24 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 19:52:24 +1100 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: On 09/03/2013, at 7:34 PM, Scott Rossi wrote: > Point locations are relative to card. I kind of worked that out. What I don't understand is why given there's a portable option of points being relative to the loc of the object just like markerPoints are relative to the loc of the point. I guess though I'd only get that kind of detail from RunRev. Either way it seems to me that the fact that it's relative to the card should be noted in the docs. I do realise I would have had a faster response here but there is a method to my madness ;-) Thanks -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From scott at tactilemedia.com Sat Mar 9 04:06:27 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 09 Mar 2013 01:06:27 -0800 Subject: Anyone got any clues on this? In-Reply-To: Message-ID: True on all accounts. When RunRev first introduced the feature, that was one of the first questions asked: why are points relative to the card and not the object? I don't recall ever hearing an official answer. It's kind of a PITA because copying a gradient from one object to another requires some hoop jumping to figure out the relative point locations. On the other hand, one benefit of having gradient points card based is it allows you to easily spread a gradient across multiple objects by setting the gradient of all objects to the same gradient points. This creates the illusion of a gradient applied to one complex object when it is really composed of several objects. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/9/13 12:52 AM, "Monte Goulding" wrote: > >On 09/03/2013, at 7:34 PM, Scott Rossi wrote: > >> Point locations are relative to card. > >I kind of worked that out. What I don't understand is why given there's a >portable option of points being relative to the loc of the object just >like markerPoints are relative to the loc of the point. I guess though >I'd only get that kind of detail from RunRev. Either way it seems to me >that the fact that it's relative to the card should be noted in the docs. > >I do realise I would have had a faster response here but there is a >method to my madness ;-) > >Thanks > >-- >Monte Goulding > >M E R Goulding - software development services >mergExt - There's an external for that! > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sat Mar 9 04:29:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Mar 2013 20:29:31 +1100 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <772B0A42-54A2-4DE4-AC62-61760B5D9ECA@sweattechnologies.com> On 09/03/2013, at 8:06 PM, Scott Rossi wrote: > On the other hand, one benefit of having gradient points card based is it > allows you to easily spread a gradient across multiple objects by setting > the gradient of all objects to the same gradient points. This creates the > illusion of a gradient applied to one complex object when it is really > composed of several objects. That's a very interesting concept. I've edited your answer with this stuff because it's all good to know ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lists at mangomultimedia.com Sat Mar 9 07:58:20 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 9 Mar 2013 07:58:20 -0500 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: On Sat, Mar 9, 2013 at 3:34 AM, Scott Rossi wrote: > If you had posted here, I would have answered already :-P > FWIW, Monte's effort to get LiveCode answers on StackOverflow is a good thing. StackOverflow is an invaluable resource when you are trying to track down answers to questions about other programming languages and developers use it. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From mcgrath3 at mac.com Sat Mar 9 09:45:17 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 09 Mar 2013 09:45:17 -0500 Subject: URL File extra spaces Message-ID: I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? The text in the file is: 09-03-2013 09:01:16 F3 F3 F3 ? and the text I am getting back with extra spaces: 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 Here is the code: function TAGetEvent put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile return tFile end TAGetEvent Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mcgrath3 at mac.com Sat Mar 9 10:32:21 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 09 Mar 2013 10:32:21 -0500 Subject: URL File extra spaces In-Reply-To: References: Message-ID: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> I don't know what the heck is going on here. I can't even filter the resulting field without spaces. filter field "Input" without spaces yet the field still has the spaces I then in a button tried with one of the spaces selected and get 32 so I know it's a space: answer charToNum(the selectedText of field "Input") Then why does the filter not work???? aaargh Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 9, 2013, at 9:45 AM, Thomas McGrath III wrote: > I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? > > > The text in the file is: > 09-03-2013 09:01:16 F3 F3 F3 ? > > and the text I am getting back with extra spaces: > 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 > > Here is the code: > > function TAGetEvent > put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile > return tFile > end TAGetEvent > > > > Thanks, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 jmac at consensustech.com Sat Mar 9 10:33:00 2013 From: jmac at consensustech.com (Jim MacConnell) Date: Sat, 9 Mar 2013 07:33:00 -0800 Subject: URL File extra spaces In-Reply-To: References: Message-ID: <4A89A9C3-DAED-4F79-B588-6775A4B99B98@consensustech.com> Encountered this for first time last week when file exported by script from ERP system was different than a manual export. Issues was UTF-8 vs UTF-16 I believe. I didn't have to deal with it though. Simply pointed out the issue to the database guy and he changed the export format. Solved my problem... Not yours. Jim Sent from my iPad On Mar 9, 2013, at 6:45 AM, Thomas McGrath III wrote: > I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? > > > The text in the file is: > 09-03-2013 09:01:16 F3 F3 F3 ? > > and the text I am getting back with extra spaces: > 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 > > Here is the code: > > function TAGetEvent > put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile > return tFile > end TAGetEvent > > > > Thanks, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 roger.e.eller at sealedair.com Sat Mar 9 10:36:39 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 9 Mar 2013 10:36:39 -0500 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: What would be useful would be a LiveCode plugin that polls StackOverflow for new LiveCode posts. On Mar 9, 2013 3:34 AM, "Scott Rossi" wrote: > If you had posted here, I would have answered already :-P > > Point locations are relative to card. > > See this stack: > go url > "http://www.tactilemedia.com/site_files/downloads/gradient_explorer.rev" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/8/13 11:12 PM, "Monte Goulding" wrote: > > > > http://stackoverflow.com/questions/15307005/are-livecode-gradient-to-from- > >via-properties-relative-to-the-object-of-card-coor > > > >Scott Rossi I'm looking at you! > > > >-- > >Monte Goulding > > > >M E R Goulding - software development services > >mergExt - There's an external for that! > > > > > > > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Mar 9 10:59:01 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Mar 2013 07:59:01 -0800 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <513B5C45.3020508@fourthworld.com> Roger Eller wrote: > What would be useful would be a LiveCode plugin that polls > StackOverflow for new LiveCode posts. In progress; started on it last night.... -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat Mar 9 11:13:35 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 9 Mar 2013 08:13:35 -0800 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Hi Trevor: Nobody is saying that being on Stack Overflow is a bad thing. What I and a few others are pointing out is the labor involved in tracking down questions and answering them on SO is greater than being a part of the existing help resources. All of them have their own communities which have been developed over years, and are just as valid resources as SO -- they provide help to developers who need it. I can't speak for other folks but what I need in my life is less work, not more. If SO's subscription service works, that will be good for me, and I will happily do what I can throw in my two cents over there. But again, and this is just for me, if I have to go hunt down questions and play the voting game to be involved on SO, my involvement will be less. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 4:58 AM, Trevor DeVore wrote: > On Sat, Mar 9, 2013 at 3:34 AM, Scott Rossi wrote: > >> If you had posted here, I would have answered already :-P > > FWIW, Monte's effort to get LiveCode answers on StackOverflow is a good > thing. StackOverflow is an invaluable resource when you are trying to track > down answers to questions about other programming languages and developers > use it. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sat Mar 9 11:22:35 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 9 Mar 2013 08:22:35 -0800 Subject: URL File extra spaces In-Reply-To: References: Message-ID: <5244756A-5AAD-4404-A553-B94FB0432B67@tactilemedia.com> This is really dumb, but have you tried reading as binary (binfile) instead of file? I recently found that LiveCode was not seeing returns in text files saved out of LiveCode, and opening using binfile seems to have solved my issue (though don't know why). Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 6:45 AM, Thomas McGrath III wrote: > I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? > > > The text in the file is: > 09-03-2013 09:01:16 F3 F3 F3 ? > > and the text I am getting back with extra spaces: > 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 > > Here is the code: > > function TAGetEvent > put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile > return tFile > end TAGetEvent > > > > Thanks, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 lcsql.com Sat Mar 9 12:19:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 9 Mar 2013 09:19:37 -0800 Subject: URL File extra spaces In-Reply-To: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> References: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> Message-ID: Hi Tom, I think the filter command works on complete lines, not characters. Maybe try "replace space with empty in ...." instead. Not sure why the spaces appeared in the first place but, as someone else suggested, perhaps using binfile instead of file might fix it. Pete lcSQL Software On Sat, Mar 9, 2013 at 7:32 AM, Thomas McGrath III wrote: > I don't know what the heck is going on here. I can't even filter the > resulting field without spaces. > > filter field "Input" without spaces > > yet the field still has the spaces > > I then in a button tried with one of the spaces selected and get 32 so I > know it's a space: > > answer charToNum(the selectedText of field "Input") > > Then why does the filter not work???? > > > aaargh > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 9, 2013, at 9:45 AM, Thomas McGrath III wrote: > > > I am getting back an extra space between each character when getting the > contents of a file. Any ideas how this is happening? Why? How to fix it? > > > > > > The text in the file is: > > 09-03-2013 09:01:16 F3 F3 F3 > > > > and the text I am getting back with extra spaces: > > 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 > > > > Here is the code: > > > > function TAGetEvent > > put URL ("file:" & (specialFolderPath("Support") & slash & > "KeyTrapper" & slash & "Events.txt")) into tFile > > return tFile > > end TAGetEvent > > > > > > > > Thanks, > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Mar 9 12:22:28 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 9 Mar 2013 12:22:28 -0500 Subject: URL File extra spaces In-Reply-To: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> References: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> Message-ID: <5DC86EA5-E565-47B1-898D-192EB68158F5@gmail.com> I recall a thread on this problem a year or two ago, can't find in in Gmane, though. It did have to do with UTF-8 vs UTF-16. You have to unidecode the text then uniencode it again (or vice versa) to change it from UTF-16 to UTF-8 (or vice versa). Sorry I can't recall the details. As far as the filter command, your problem is that filter only works on whole lines (check the dictionary for the filter command). "Filter tContainer without space" will only delete any lines that consist of a space. You could use the "replace" command instead: replace space with empty in fld "Input" but that would take out word divisions as well. Best to work out the UTF problem, probably. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 9, 2013, at 10:32 AM, Thomas McGrath III wrote: > I don't know what the heck is going on here. I can't even filter the resulting field without spaces. > > filter field "Input" without spaces > > yet the field still has the spaces > > I then in a button tried with one of the spaces selected and get 32 so I know it's a space: > > answer charToNum(the selectedText of field "Input") > > Then why does the filter not work???? > > > aaargh > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 9, 2013, at 9:45 AM, Thomas McGrath III wrote: > >> I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? >> >> >> The text in the file is: >> 09-03-2013 09:01:16 F3 F3 F3 ? >> >> and the text I am getting back with extra spaces: >> 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 >> >> Here is the code: >> >> function TAGetEvent >> put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile >> return tFile >> end TAGetEvent >> >> >> >> Thanks, >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Mar 9 12:28:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 9 Mar 2013 09:28:04 -0800 Subject: Anyone got any clues on this? In-Reply-To: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: I agree with that. If using SO gets more visibility to Livecode, that's great but it's one more resource to add to the list of places to check. I signed up for SO yesterday, created filters for Livecode and SQLite and requested a daily email summary of new activity. I haven't received an email yet but I don't know what time of the day they send them out. The daily email summary will be my way of keeping up to date with SO. If I'm looking for an answer to something, I'll add SO to my list of places to search before emailing the list. I also tried the RSS feed but all that did was to display an XML version of the feed in my browser (Chrome). I probably need to change some settings in Chrome to make it work, I guess. Pete lcSQL Software On Sat, Mar 9, 2013 at 8:13 AM, Scott Rossi wrote: > Hi Trevor: > > Nobody is saying that being on Stack Overflow is a bad thing. What I and > a few others are pointing out is the labor involved in tracking down > questions and answering them on SO is greater than being a part of the > existing help resources. All of them have their own communities which have > been developed over years, and are just as valid resources as SO -- they > provide help to developers who need it. > > I can't speak for other folks but what I need in my life is less work, not > more. If SO's subscription service works, that will be good for me, and I > will happily do what I can throw in my two cents over there. But again, > and this is just for me, if I have to go hunt down questions and play the > voting game to be involved on SO, my involvement will be less. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Mar 9, 2013, at 4:58 AM, Trevor DeVore > wrote: > > > On Sat, Mar 9, 2013 at 3:34 AM, Scott Rossi > wrote: > > > >> If you had posted here, I would have answered already :-P > > > > FWIW, Monte's effort to get LiveCode answers on StackOverflow is a good > > thing. StackOverflow is an invaluable resource when you are trying to > track > > down answers to questions about other programming languages and > developers > > use it. > > > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > www.clarify-it.com - www.screensteps.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Sat Mar 9 12:44:00 2013 From: irog at mac.com (Roger Guay) Date: Sat, 09 Mar 2013 10:44:00 -0700 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: Hi Peter, How do you sign up for daily summaries on SO? I couldn't find a way. Thanks, Roger On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: > I signed up for SO yesterday, created filters for Livecode and SQLite and > requested a daily email summary of new activity. From scott at tactilemedia.com Sat Mar 9 12:54:39 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 9 Mar 2013 09:54:39 -0800 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: I believe you go to this page, enter LiveCode in the field, and you will be given the option to subscribe to the tag. http://stackoverflow.com/tags Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 9:44 AM, Roger Guay wrote: > Hi Peter, > > How do you sign up for daily summaries on SO? I couldn't find a way. > > Thanks, > Roger > > On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: > >> I signed up for SO yesterday, created filters for Livecode and SQLite and >> requested a daily email summary of new activity. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 9 12:59:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Mar 2013 11:59:50 -0600 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <513B7896.6010705@hyperactivesw.com> On 3/9/13 2:52 AM, Monte Goulding wrote: > I do realise I would have had a faster response here but there is a > method to my madness ;-) I understand, but for the benefit of everyone, it would be better if you posted the actual question both places. Those of us who are busy or technologically disabled won't be able to help and won't take a detour to go look it up. Those who are willing and able to switch over to a different app and take the time to deal with a non-intuitive web interface can answer at SO. You will help not only your cause that way, but the rest of us as well. We need the information in both places. There is a very good record of these archives in at least two places already, it stretches back ten years, and it is easy to search. I would like to continue that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Sat Mar 9 13:09:48 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 09 Mar 2013 13:09:48 -0500 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: I saw something about adding it to your RSS reader, but if you don't use those, is there a way to subscribe and be sent emails? On Mar 9, 2013, at 12:54 PM, Scott Rossi wrote: > I believe you go to this page, enter LiveCode in the field, and you will be given the option to subscribe to the tag. > > http://stackoverflow.com/tags From roger.e.eller at sealedair.com Sat Mar 9 13:10:45 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 9 Mar 2013 13:10:45 -0500 Subject: Anyone got any clues on this? In-Reply-To: <513B7896.6010705@hyperactivesw.com> References: <513B7896.6010705@hyperactivesw.com> Message-ID: On Mar 9, 2013 1:00 PM, "J. Landman Gay" wrote: > > On 3/9/13 2:52 AM, Monte Goulding wrote: > >> I do realise I would have had a faster response here but there is a >> method to my madness ;-) > > > Those who are willing and able to switch over to a different app > and take the time to deal with a non-intuitive web interface........ Richard Gaskin is making a plugin to poll SO for new posts. Imagine if it could also post and reply with all the nonsense stripped out. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > ~Roger From mcgrath3 at mac.com Sat Mar 9 13:11:31 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 09 Mar 2013 13:11:31 -0500 Subject: URL File extra spaces In-Reply-To: <5244756A-5AAD-4404-A553-B94FB0432B67@tactilemedia.com> References: <5244756A-5AAD-4404-A553-B94FB0432B67@tactilemedia.com> Message-ID: <184183A0-F482-436C-A082-CF98C500EF61@mac.com> Scott, After changing to binfile it loads without the extra spaces. But then I run into other issues using contains etc. on the returned text. So I had to come up with a bit of code to strip out what I need etc. But I think It must be the UTF issue. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 9, 2013, at 11:22 AM, Scott Rossi wrote: > This is really dumb, but have you tried reading as binary (binfile) instead of file? I recently found that LiveCode was not seeing returns in text files saved out of LiveCode, and opening using binfile seems to have solved my issue (though don't know why). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Mar 9, 2013, at 6:45 AM, Thomas McGrath III wrote: > >> I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? >> >> >> The text in the file is: >> 09-03-2013 09:01:16 F3 F3 F3 ? >> >> and the text I am getting back with extra spaces: >> 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 >> >> Here is the code: >> >> function TAGetEvent >> put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile >> return tFile >> end TAGetEvent >> >> >> >> Thanks, >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat Mar 9 13:16:49 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 09 Mar 2013 13:16:49 -0500 Subject: Anyone got any clues on this? In-Reply-To: References: <513B7896.6010705@hyperactivesw.com> Message-ID: <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> It would be quite neat if SO could appear as a member of this list. Messages would come in to here with a link to the SO page. It would be just as if all of us had subscribed to the SO LiveCode tag. On Mar 9, 2013, at 1:10 PM, Roger Eller wrote: > Richard Gaskin is making a plugin to poll SO for new posts. Imagine if it > could also post and reply with all the nonsense stripped out. From scott at tactilemedia.com Sat Mar 9 13:19:28 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 9 Mar 2013 10:19:28 -0800 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: <500BCACE-CB85-408C-A3ED-C5FF36D127CB@tactilemedia.com> Subscribe and RSS are two different links, so I assume subscribe implies email. Plus you get a notice saying the subscription is supposed to start within 24 hours or something like that. Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 10:09 AM, Colin Holgate wrote: > I saw something about adding it to your RSS reader, but if you don't use those, is there a way to subscribe and be sent emails? > > > On Mar 9, 2013, at 12:54 PM, Scott Rossi wrote: > >> I believe you go to this page, enter LiveCode in the field, and you will be given the option to subscribe to the tag. >> >> http://stackoverflow.com/tags > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Mar 9 13:30:20 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 09 Mar 2013 13:30:20 -0500 Subject: Anyone got any clues on this? In-Reply-To: <500BCACE-CB85-408C-A3ED-C5FF36D127CB@tactilemedia.com> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <500BCACE-CB85-408C-A3ED-C5FF36D127CB@tactilemedia.com> Message-ID: <0FCD45C5-C39A-4FB5-839D-3906820A9932@verizon.net> There was no subscribe option on the tag search page, but in the results page there was. I then had to go through the stage of associating my Google Plus account, in order to make filters. On Mar 9, 2013, at 1:19 PM, Scott Rossi wrote: > >Subscribe and RSS are two different links, so I assume subscribe implies email. Plus you get a notice saying the subscription is supposed to start within 24 hours or something like that. From mcgrath3 at mac.com Sat Mar 9 13:30:41 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 09 Mar 2013 13:30:41 -0500 Subject: URL File extra spaces In-Reply-To: <5DC86EA5-E565-47B1-898D-192EB68158F5@gmail.com> References: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> <5DC86EA5-E565-47B1-898D-192EB68158F5@gmail.com> Message-ID: <984F5224-8F1E-4C7F-83B5-E9835C722D7F@mac.com> Peter, I realized after I sent that email that I needed replace instead of filter. But of course that is not the cause of the issue. I think it must be a UTF issue. For now I came up with another workaround. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 9, 2013, at 12:22 PM, "Peter M. Brigham" wrote: > I recall a thread on this problem a year or two ago, can't find in in Gmane, though. It did have to do with UTF-8 vs UTF-16. You have to unidecode the text then uniencode it again (or vice versa) to change it from UTF-16 to UTF-8 (or vice versa). Sorry I can't recall the details. > > As far as the filter command, your problem is that filter only works on whole lines (check the dictionary for the filter command). "Filter tContainer without space" will only delete any lines that consist of a space. You could use the "replace" command instead: > > replace space with empty in fld "Input" > > but that would take out word divisions as well. Best to work out the UTF problem, probably. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Sat Mar 9 13:54:32 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Mar 2013 12:54:32 -0600 Subject: Anyone got any clues on this? In-Reply-To: <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> References: <513B7896.6010705@hyperactivesw.com> <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> Message-ID: <513B8568.9050007@hyperactivesw.com> On 3/9/13 12:16 PM, Colin Holgate wrote: > It would be quite neat if SO could appear as a member of this list. > Messages would come in to here with a link to the SO page. It would > be just as if all of us had subscribed to the SO LiveCode tag. Now that would be ideal. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 9 14:11:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Mar 2013 13:11:34 -0600 Subject: ATTN Ewan Richardson Message-ID: <513B8966.2040208@hyperactivesw.com> Sorry list. If Ewan is reading, please contact me with a different email address. The one I have for you is apparently not getting through. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 9 14:18:23 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 9 Mar 2013 11:18:23 -0800 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: That's it. I can't remember for sure but I think to get the RSS feed, you may have to create a filter. Pete lcSQL Software On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi wrote: > I believe you go to this page, enter LiveCode in the field, and you will > be given the option to subscribe to the tag. > > http://stackoverflow.com/tags > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Mar 9, 2013, at 9:44 AM, Roger Guay wrote: > > > Hi Peter, > > > > How do you sign up for daily summaries on SO? I couldn't find a way. > > > > Thanks, > > Roger > > > > On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: > > > >> I signed up for SO yesterday, created filters for Livecode and SQLite > and > >> requested a daily email summary of new activity. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Mar 9 14:28:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Mar 2013 11:28:09 -0800 Subject: Anyone got any clues on this? In-Reply-To: <513B8568.9050007@hyperactivesw.com> References: <513B7896.6010705@hyperactivesw.com> <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> <513B8568.9050007@hyperactivesw.com> Message-ID: <22522393937.20130309112809@ahsoftware.net> Jacque- Saturday, March 9, 2013, 10:54:32 AM, you wrote: > On 3/9/13 12:16 PM, Colin Holgate wrote: >> It would be quite neat if SO could appear as a member of this list. >> Messages would come in to here with a link to the SO page. It would >> be just as if all of us had subscribed to the SO LiveCode tag. > Now that would be ideal. It would have to be post-only, though. I'd hate to subject SO to our banter here. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Sat Mar 9 14:40:33 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 09 Mar 2013 14:40:33 -0500 Subject: Anyone got any clues on this? In-Reply-To: <22522393937.20130309112809@ahsoftware.net> References: <513B7896.6010705@hyperactivesw.com> <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> <513B8568.9050007@hyperactivesw.com> <22522393937.20130309112809@ahsoftware.net> Message-ID: <18972B3A-D45A-488A-A53D-9523FE76644E@verizon.net> Yes indeed, wouldn't wish that on anyone! I only see it as a digest link list, for anyone here interested to pop over and help them out. The list could show whether the question has been answer already, by those of us that are directly subscribed to the LiveCode tag. On Mar 9, 2013, at 2:28 PM, Mark Wieder wrote: > >It would have to be post-only, though. I'd hate to subject SO to our > banter here. From irog at mac.com Sat Mar 9 15:25:47 2013 From: irog at mac.com (Roger Guay) Date: Sat, 09 Mar 2013 13:25:47 -0700 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> Message-ID: <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> Aw Man . . . why do I have these problems? I still see no way to subscribe! I tried everything suggested so far. On Mar 9, 2013, at 12:18 PM, Peter Haworth wrote: > That's it. I can't remember for sure but I think to get the RSS feed, you > may have to create a filter. > > Pete > lcSQL Software > > > On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi wrote: > >> I believe you go to this page, enter LiveCode in the field, and you will >> be given the option to subscribe to the tag. >> >> http://stackoverflow.com/tags >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> On Mar 9, 2013, at 9:44 AM, Roger Guay wrote: >> >>> Hi Peter, >>> >>> How do you sign up for daily summaries on SO? I couldn't find a way. >>> >>> Thanks, >>> Roger >>> >>> On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: >>> >>>> I signed up for SO yesterday, created filters for Livecode and SQLite >> and >>>> requested a daily email summary of new activity. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Mar 9 15:28:47 2013 From: irog at mac.com (Roger Guay) Date: Sat, 09 Mar 2013 13:28:47 -0700 Subject: Anyone got any clues on this? In-Reply-To: <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> Message-ID: <8FB7E229-1843-4242-A57D-EE92F5E1D193@mac.com> Never mind, I found the RSS feed link but I find I don't have an RSS reader installed. Back to the drawing board?. On Mar 9, 2013, at 1:25 PM, Roger Guay wrote: > Aw Man . . . why do I have these problems? I still see no way to subscribe! I tried everything suggested so far. > > > On Mar 9, 2013, at 12:18 PM, Peter Haworth wrote: > >> That's it. I can't remember for sure but I think to get the RSS feed, you >> may have to create a filter. >> >> Pete >> lcSQL Software >> >> >> On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi wrote: >> >>> I believe you go to this page, enter LiveCode in the field, and you will >>> be given the option to subscribe to the tag. >>> >>> http://stackoverflow.com/tags >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> On Mar 9, 2013, at 9:44 AM, Roger Guay wrote: >>> >>>> Hi Peter, >>>> >>>> How do you sign up for daily summaries on SO? I couldn't find a way. >>>> >>>> Thanks, >>>> Roger >>>> >>>> On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: >>>> >>>>> I signed up for SO yesterday, created filters for Livecode and SQLite >>> and >>>>> requested a daily email summary of new activity. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Mar 9 15:31:57 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 09 Mar 2013 15:31:57 -0500 Subject: Anyone got any clues on this? In-Reply-To: <8FB7E229-1843-4242-A57D-EE92F5E1D193@mac.com> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> <8FB7E229-1843-4242-A57D-EE92F5E1D193@mac.com> Message-ID: <56818937-E8AC-4C56-BFA1-D377E32B664E@verizon.net> Like I mentioned, go to a results page (just click on the livecode tag), then over to the right there is a subscribe option, which will take you through associating one of your other accounts, to make the filters then work. On Mar 9, 2013, at 3:28 PM, Roger Guay wrote: > Never mind, I found the RSS feed link but I find I don't have an RSS reader installed. Back to the drawing board?. From irog at mac.com Sat Mar 9 15:43:24 2013 From: irog at mac.com (Roger Guay) Date: Sat, 09 Mar 2013 13:43:24 -0700 Subject: Anyone got any clues on this? In-Reply-To: <56818937-E8AC-4C56-BFA1-D377E32B664E@verizon.net> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> <8FB7E229-1843-4242-A57D-EE92F5E1D193@mac.com> <56818937-E8AC-4C56-BFA1-D377E32B664E@verizon.net> Message-ID: Ok, Got it . . . Thanks! On Mar 9, 2013, at 1:31 PM, Colin Holgate wrote: > Like I mentioned, go to a results page (just click on the livecode tag), then over to the right there is a subscribe option, which will take you through associating one of your other accounts, to make the filters then work. > > > On Mar 9, 2013, at 3:28 PM, Roger Guay wrote: > >> Never mind, I found the RSS feed link but I find I don't have an RSS reader installed. Back to the drawing board?. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmac at consensustech.com Sat Mar 9 16:29:53 2013 From: jmac at consensustech.com (Jim MacConnell) Date: Sat, 9 Mar 2013 13:29:53 -0800 Subject: URL File extra spaces In-Reply-To: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> References: <5ADF423C-662A-4B7A-AD69-2C9C176AFC22@mac.com> Message-ID: No idea. In my case, there was a space "before" the first char. Took me a while to realize that. Maybe the breaks filter without spaces? Sent from my iPad On Mar 9, 2013, at 7:32 AM, Thomas McGrath III wrote: > I don't know what the heck is going on here. I can't even filter the resulting field without spaces. > > filter field "Input" without spaces > > yet the field still has the spaces > > I then in a button tried with one of the spaces selected and get 32 so I know it's a space: > > answer charToNum(the selectedText of field "Input") > > Then why does the filter not work???? > > > aaargh > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 9, 2013, at 9:45 AM, Thomas McGrath III wrote: > >> I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it? >> >> >> The text in the file is: >> 09-03-2013 09:01:16 F3 F3 F3 ? >> >> and the text I am getting back with extra spaces: >> 0 9 - 0 3 - 2 0 1 3 0 9 : 0 1 : 1 6 F 3 F 3 F 3 >> >> Here is the code: >> >> function TAGetEvent >> put URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile >> return tFile >> end TAGetEvent >> >> >> >> Thanks, >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Mar 9 16:28:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Mar 2013 08:28:38 +1100 Subject: Anyone got any clues on this? In-Reply-To: <513B8568.9050007@hyperactivesw.com> References: <513B7896.6010705@hyperactivesw.com> <63779933-3C65-4556-B4BA-71432166A1F5@verizon.net> <513B8568.9050007@hyperactivesw.com> Message-ID: <98AF3D4C-5D8F-424B-ABE2-7CCBA03652D2@sweattechnologies.com> On 10/03/2013, at 5:54 AM, J. Landman Gay wrote: >> It would be quite neat if SO could appear as a member of this list. >> Messages would come in to here with a link to the SO page. It would >> be just as if all of us had subscribed to the SO LiveCode tag. > > Now that would be ideal. Not really. The answers will come here and the stackoverflow question will suffer for it. Look folks I understand this isn't for everyone but if it's not for you then there's a delete button in your email client. Hopefully there will be someone else in the community that will know the answer and be prepared to provide it on stackoverflow. I do realise that many of us are in a comfy place here on this list (I am myself). I can't stand the forum personally there's too much spam, posts and info seem to be all over the place, search usually brings up unhelpful discussions etc... I'm time poor myself and I really struggle to have much input there so I focus on the iOS forum because it's most likely to have mergExt related questions... I strongly believe that building stackoverflow as a solid resource for LiveCode will be a big benefit for the platform. Here's an example why: Someone asked this question http://stackoverflow.com/questions/15296151/auto-focus-field-using-livecode It's tagged android, focus, livecode Android is obviously a popular tag with over 300k questions. There would be a heap of people subscribing to it and they all just found out about LiveCode Then I see the twitter service @AndroidAtSO tweeted the question too... How many people had never heard of LiveCode during the kickstarter campaign and couldn't believe it had been around for 20 years? Maybe there's a reason? Maybe something needs to change? We are whispering in the corner here when we should be shouting at each other across a crowded room so everyone hears. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Sat Mar 9 17:20:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 9 Mar 2013 14:20:02 -0800 Subject: Anyone got any clues on this? In-Reply-To: <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> Message-ID: Hi Roger, I think you have to set up a filter to get an email summary. Navigation around SO is not exactly intuitive in my opinion but I think this is how you can set up a filter. (If you already have one, just click the edit link for it and there's a section at the bottom that deals with getting the email summary). Get to the Questions tab (I think that's where you are when you go directly to www.stackoverflow.com) Scroll down and look for the "tag subscriptions" link on the right of the page. Click on it and you'll get a page to set up a filter - Section 3 has to do with getting email summaries. HTH, Pete lcSQL Software On Sat, Mar 9, 2013 at 12:25 PM, Roger Guay wrote: > Aw Man . . . why do I have these problems? I still see no way to > subscribe! I tried everything suggested so far. > > > On Mar 9, 2013, at 12:18 PM, Peter Haworth wrote: > > > That's it. I can't remember for sure but I think to get the RSS feed, > you > > may have to create a filter. > > > > Pete > > lcSQL Software > > > > > > On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi > wrote: > > > >> I believe you go to this page, enter LiveCode in the field, and you will > >> be given the option to subscribe to the tag. > >> > >> http://stackoverflow.com/tags > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX Design > >> > >> On Mar 9, 2013, at 9:44 AM, Roger Guay wrote: > >> > >>> Hi Peter, > >>> > >>> How do you sign up for daily summaries on SO? I couldn't find a way. > >>> > >>> Thanks, > >>> Roger > >>> > >>> On Mar 9, 2013, at 10:28 AM, Peter Haworth wrote: > >>> > >>>> I signed up for SO yesterday, created filters for Livecode and SQLite > >> and > >>>> requested a daily email summary of new activity. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sat Mar 9 17:22:26 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 09 Mar 2013 14:22:26 -0800 Subject: Anyone got any clues on this? In-Reply-To: <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> Message-ID: Roger: When I go to http://stackoverflow.com/tags there's a field labeled "Type to find tags". Enter LiveCode in the field and hit return. You should get one "livecode" result in a blue box. Hover over that box and you'll get yet another box that gives you "subscribe" and "RSS" options. I believe "subscribe" will (eventually) send emails to whatever address is in your account). Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/9/13 12:25 PM, "Roger Guay" wrote: >Aw Man . . . why do I have these problems? I still see no way to >subscribe! I tried everything suggested so far. > From jacque at hyperactivesw.com Sat Mar 9 17:38:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Mar 2013 16:38:34 -0600 Subject: Anyone got any clues on this? In-Reply-To: References: Message-ID: <513BB9EA.8050506@hyperactivesw.com> On 3/9/13 4:22 PM, Scott Rossi wrote: > Roger: > > When I go to http://stackoverflow.com/tags there's a field labeled "Type > to find tags". Enter LiveCode in the field and hit return. You should > get one "livecode" result in a blue box. Hover over that box and you'll > get yet another box that gives you "subscribe" and "RSS" options. I > believe "subscribe" will (eventually) send emails to whatever address is > in your account). That's what I did too, only typing the tag didn't get me any useful results. I found a link to the LiveCode questions here and once I got there I pointed at the tag under one of the questions and chose "subscribe". So far, nothing has arrived except a verification form mail. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sat Mar 9 17:51:35 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Mar 2013 09:51:35 +1100 Subject: Anyone got any clues on this? In-Reply-To: <41F471F5-4315-4F83-A43A-C7130F591E36@sweattechnologies.com> References: <513BB9EA.8050506@hyperactivesw.com> <41F471F5-4315-4F83-A43A-C7130F591E36@sweattechnologies.com> Message-ID: <3359F6B9-9835-49C8-9317-4D173929500E@sweattechnologies.com> On 10/03/2013, at 9:41 AM, Monte Goulding wrote: > > On 10/03/2013, at 9:38 AM, "J. Landman Gay" wrote: > >> So far, nothing has arrived except a verification form mail. > > It's a daily digest. I got one this morning. Anyone on OS X might want to use this http://hewgill.com/senotifier/ to get notifications on your questions, answers and anything you comment on. For example, I commented on Jacque's answer yesterday and she commented on it today and a notification popped up. Can use growl on older macs too I believe... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Sat Mar 9 17:58:25 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Mar 2013 14:58:25 -0800 Subject: Anyone got any clues on this? In-Reply-To: <98AF3D4C-5D8F-424B-ABE2-7CCBA03652D2@sweattechnologies.com> References: <98AF3D4C-5D8F-424B-ABE2-7CCBA03652D2@sweattechnologies.com> Message-ID: <513BBE91.7090308@fourthworld.com> Monte Goulding wrote: > On 10/03/2013, at 5:54 AM, J. Landman Gay wrote: > >>> It would be quite neat if SO could appear as a member of this list. >>> Messages would come in to here with a link to the SO page. It would >>> be just as if all of us had subscribed to the SO LiveCode tag. >> >> Now that would be ideal. > > Not really. The answers will come here and the stackoverflow question > will suffer for it. I'm with you, Monte. Rather than subscribe other venues where LiveCode is discussed to this list (like the forums, Stack Overflow, etc.), I much prefer letting this list be what it is and building up answers for Stack Overflow on Stack Overflow. > I strongly believe that building stackoverflow as a solid resource > for LiveCode will be a big benefit for the platform. Fully agreed, and I very much appreciate the attention you've been giving LiveCode there. It's not a bad UI once you get used to it, and now that the "LiveCode" tag is in place (thanks again for making that happen) it's easy to find stuff related to our favorite language there. I look forward to spending more time on Stack Overflow in the coming weeks. It's a nice system. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Sat Mar 9 18:04:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Mar 2013 10:04:12 +1100 Subject: Anyone got any clues on this? In-Reply-To: <513BB9EA.8050506@hyperactivesw.com> References: <513BB9EA.8050506@hyperactivesw.com> Message-ID: <988E7C51-7D7B-4FE5-AC21-4E81D5CCEEEF@sweattechnologies.com> On 10/03/2013, at 9:38 AM, J. Landman Gay wrote: > On 3/9/13 4:22 PM, Scott Rossi wrote: >> Roger: >> >> When I go to http://stackoverflow.com/tags there's a field labeled "Type >> to find tags". Enter LiveCode in the field and hit return. You should >> get one "livecode" result in a blue box. Hover over that box and you'll >> get yet another box that gives you "subscribe" and "RSS" options. I >> believe "subscribe" will (eventually) send emails to whatever address is >> in your account). > > That's what I did too, only typing the tag didn't get me any useful results. I found a link to the LiveCode questions here and once I got there I pointed at the tag under one of the questions and chose "subscribe". > > So far, nothing has arrived except a verification form mail. People might want to go here as their first stop: http://stackexchange.com/filters/77687/livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Mar 9 18:06:36 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Mar 2013 10:06:36 +1100 Subject: Anyone got any clues on this? In-Reply-To: <988E7C51-7D7B-4FE5-AC21-4E81D5CCEEEF@sweattechnologies.com> References: <513BB9EA.8050506@hyperactivesw.com> <988E7C51-7D7B-4FE5-AC21-4E81D5CCEEEF@sweattechnologies.com> Message-ID: On 10/03/2013, at 10:04 AM, Monte Goulding wrote: > > On 10/03/2013, at 9:38 AM, J. Landman Gay wrote: > >> On 3/9/13 4:22 PM, Scott Rossi wrote: >>> Roger: >>> >>> When I go to http://stackoverflow.com/tags there's a field labeled "Type >>> to find tags". Enter LiveCode in the field and hit return. You should >>> get one "livecode" result in a blue box. Hover over that box and you'll >>> get yet another box that gives you "subscribe" and "RSS" options. I >>> believe "subscribe" will (eventually) send emails to whatever address is >>> in your account). >> >> That's what I did too, only typing the tag didn't get me any useful results. I found a link to the LiveCode questions here and once I got there I pointed at the tag under one of the questions and chose "subscribe". >> >> So far, nothing has arrived except a verification form mail. > > People might want to go here as their first stop: > > http://stackexchange.com/filters/77687/livecode Sorry... I think this one will lead to less confusion: http://stackoverflow.com/questions/tagged/livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Mar 9 17:41:50 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Mar 2013 09:41:50 +1100 Subject: Anyone got any clues on this? In-Reply-To: <513BB9EA.8050506@hyperactivesw.com> References: <513BB9EA.8050506@hyperactivesw.com> Message-ID: <41F471F5-4315-4F83-A43A-C7130F591E36@sweattechnologies.com> On 10/03/2013, at 9:38 AM, "J. Landman Gay" wrote: > So far, nothing has arrived except a verification form mail. It's a daily digest. I got one this morning. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lan.kc.macmail at gmail.com Sun Mar 10 05:52:07 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 10 Mar 2013 17:52:07 +0800 Subject: using the internal postgres on OSX In-Reply-To: References: Message-ID: Not exactly sure what you are after. Andre a while ago posted this link: http://postgresapp.com/ If you are on Lion or above it is a very easy way to start and stop the internal postgreSQL server on OSX. If you want something to build tables and relationships I've used Navicat Premium Essentials for a while (get it from the Mac App Store) and that works fine. If you are looking to spend less money, Paradigma Software just released their 5.0 version of Valentina Studio as Free software: http://www.valentina-db.com/valentina-studio-overview I've not used it much for work with postgreSQL as I've been using Navicat, but I've used Val Studio with Pardigma's own Valentina DB engine and it does all I need it to do. As Val Studio is now free and now works with Valentina DB, mySQL, postgreSQL and SQLite I image I'll slowly wean myself off Navicat and just stick with Val Studio. HTH On Sun, Mar 3, 2013 at 11:13 AM, Dr. Hawkins wrote: > Is there *anything* out there that suggests how to use the internal > postresql server on OSX? > > In particular, I want to configure it to use on the local network for my > stack. sqlite just doesn't cut it when simultaneous access is possible . . > . > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 10 08:43:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Mar 2013 14:43:43 +0200 Subject: Brown Sauce Message-ID: <513C7FFF.4020006@gmail.com> The plan was for the "as is" version of Open Source Livecode to be released at the end of March . . . . . . wondering if anyone can confirm this as have plans that are dependent on the release date. Richmond. From irog at mac.com Sun Mar 10 11:01:57 2013 From: irog at mac.com (Roger Guay) Date: Sun, 10 Mar 2013 09:01:57 -0600 Subject: Anyone got any clues on this? In-Reply-To: References: <4677A01A-47FE-44EC-B56C-58D5748DC5A0@tactilemedia.com> <9FF853DB-5D05-42FF-9196-113DBDE76220@mac.com> Message-ID: <0B0CDF74-863D-4FCF-B854-89D0A7366662@mac.com> I agree with you, Peter, on the non-intuitive interface of SO. That's my rationalization and I'm sticking to it! But, I think I'm all set now. Thanks to you and others. Cheers, Roger On Mar 9, 2013, at 3:20 PM, Peter Haworth wrote: > Navigation > around SO is not exactly intuitive in my opinion but I think this is how > you can set up a filter. (If you already have one, just click the edit > link for it and there's a section at the bottom that deals with getting the > email summary). > > Get to the Questions tab (I think that's where you are when you go directly > to www.stackoverflow.com) > > Scroll down and look for the "tag subscriptions" link on the right of the > page. Click on it and you'll get a page to set up a filter - Section 3 has > to do with getting email summaries. From dochawk at gmail.com Sun Mar 10 11:59:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 10 Mar 2013 08:59:39 -0700 Subject: using the internal postgres on OSX In-Reply-To: References: Message-ID: On Sun, Mar 10, 2013 at 1:52 AM, Kay C Lan wrote: > Not exactly sure what you are after. > Turning the bloody thing on :) What worked was http://www.shellperson.net/connect-ml-postgres/ I had found that some time ago. What was stopping me was an ancient PATH setting in my .tcshrc. It turns out that the problem wasmy hard-setting my path for Darwin (there were also branches for FreeBSD, a couple of linux variants, and even whatever used to run on Alphas!). Things moved from Lion to Mountain Lion, and serveradmin and its friends weren't found any more. Adjusting my path to ${PATH}":/other/paths/I/Need" did the trick. > If you want something to build tables and relationships I've used Navicat > Premium Essentials for a while (get it from the Mac App Store) and that > works fine. > I'm largely using it as a random-access "file system" for my application. I already accomplished it with the internal sqlite, but I want the networked and clouded options. And, hurrah, yesterday I successfully got it running on the localnet, with the db open on two separate machines once! Now I need to figure out the VPN . . . Anyway, I use it for the debtor data for my bankruptcy program. One narrow table with basic data, and a wide table with debts & assets. Years ago, it was two substacks in HyperCard 2 and SuperCard 1.5 . . . with a card per debt/asset. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From revlist at azurevision.co.uk Sun Mar 10 13:31:56 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Sun, 10 Mar 2013 17:31:56 +0000 Subject: Brown Sauce In-Reply-To: <513C7FFF.4020006@gmail.com> References: <513C7FFF.4020006@gmail.com> Message-ID: <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk> 'Once we get through that planning we'll be working away to bring you the "as is" open source release of the platform. We promised March for that and for anyone unfamiliar with software schedules, that means the end of March.' http://blog.runrev.com/blog/bid/272739/We-Kickstarted-LiveCode Ian On 10 Mar 2013, at 12:43, Richmond wrote: > The plan was for the "as is" version of Open Source Livecode to > be released at the end of March . . . > > . . . wondering if anyone can confirm this as have plans that are dependent on the release date. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 10 14:21:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Mar 2013 20:21:34 +0200 Subject: Brown Sauce In-Reply-To: <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk> References: <513C7FFF.4020006@gmail.com> <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk> Message-ID: <513CCF2E.3090708@gmail.com> On 03/10/2013 07:31 PM, Ian Wood wrote: > 'Once we get through that planning we'll be working away to bring you the "as is" open source release of the platform. We promised March for that and for anyone unfamiliar with software schedules, that means the end of March.' Oo, a bit sn*tty methinks. As someone familiar with software schedules I am well aware that a very large proportion of them miss "the end of March", unforeseen factors slowing things down. That, of itself, is not a source of worry, what is is that that one of the ways of keeping the punters happy is by constantly drip-feeding them gobbets of information so that they feel they are not being excluded from the development process. > > http://blog.runrev.com/blog/bid/272739/We-Kickstarted-LiveCode > > Ian > > On 10 Mar 2013, at 12:43, Richmond wrote: > >> The plan was for the "as is" version of Open Source Livecode to >> be released at the end of March . . . >> >> . . . wondering if anyone can confirm this as have plans that are dependent on the release date. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Mar 10 14:48:06 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 10 Mar 2013 11:48:06 -0700 Subject: Brown Sauce In-Reply-To: <513CCF2E.3090708@gmail.com> References: <513C7FFF.4020006@gmail.com> <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk> <513CCF2E.3090708@gmail.com> Message-ID: What's obvious about March and schedules? Is this just one of those things we're 'supposed to know', like how to pronounce Edinburgh properly? On Sun, Mar 10, 2013 at 11:21 AM, Richmond wrote: > On 03/10/2013 07:31 PM, Ian Wood wrote: > >> 'Once we get through that planning we'll be working away to bring you the >> "as is" open source release of the platform. We promised March for that and >> for anyone unfamiliar with software schedules, that means the end of March.' >> > > Oo, a bit sn*tty methinks. > > As someone familiar with software schedules I am well aware that a very > large proportion of them miss "the end of March", > unforeseen factors slowing things down. > > That, of itself, is not a source of worry, what is is that that one of the > ways of keeping the punters happy is by constantly drip-feeding > them gobbets of information so that they feel they are not being excluded > from the development process. > > > >> http://blog.runrev.com/blog/**bid/272739/We-Kickstarted-**LiveCode >> >> Ian >> >> On 10 Mar 2013, at 12:43, Richmond wrote: >> >> The plan was for the "as is" version of Open Source Livecode to >>> be released at the end of March . . . >>> >>> . . . wondering if anyone can confirm this as have plans that are >>> dependent on the release date. >>> >>> Richmond. >>> >> Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sun Mar 10 15:11:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Mar 2013 21:11:03 +0200 Subject: Brown Sauce In-Reply-To: References: <513C7FFF.4020006@gmail.com> <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk> <513CCF2E.3090708@gmail.com> Message-ID: <513CDAC7.9070409@gmail.com> On 03/10/2013 08:48 PM, stephen barncard wrote: > What's obvious about March and schedules? > > Is this just one of those things we're 'supposed to know', like how to > pronounce Edinburgh properly? Try and say 'Auchtermuchty': http://www.howjsay.com/index.php?word=auchtermuchty. D'Ye ken how to grow mushrooms? Richmond. > > On Sun, Mar 10, 2013 at 11:21 AM, Richmond wrote: > >> On 03/10/2013 07:31 PM, Ian Wood wrote: >> >>> 'Once we get through that planning we'll be working away to bring you the >>> "as is" open source release of the platform. We promised March for that and >>> for anyone unfamiliar with software schedules, that means the end of March.' >>> >> Oo, a bit sn*tty methinks. >> >> As someone familiar with software schedules I am well aware that a very >> large proportion of them miss "the end of March", >> unforeseen factors slowing things down. >> >> That, of itself, is not a source of worry, what is is that that one of the >> ways of keeping the punters happy is by constantly drip-feeding >> them gobbets of information so that they feel they are not being excluded >> from the development process. >> >> >> >>> http://blog.runrev.com/blog/**bid/272739/We-Kickstarted-**LiveCode >>> >>> Ian >>> >>> On 10 Mar 2013, at 12:43, Richmond wrote: >>> >>> The plan was for the "as is" version of Open Source Livecode to >>>> be released at the end of March . . . >>>> >>>> . . . wondering if anyone can confirm this as have plans that are >>>> dependent on the release date. >>>> >>>> Richmond. >>>> > 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 dixonja at hotmail.co.uk Sun Mar 10 15:21:33 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 10 Mar 2013 19:21:33 +0000 Subject: Brown Sauce In-Reply-To: <513CDAC7.9070409@gmail.com> References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> Message-ID: > Date: Sun, 10 Mar 2013 21:11:03 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: Brown Sauce > > On 03/10/2013 08:48 PM, stephen barncard wrote: > > What's obvious about March and schedules? > > > > Is this just one of those things we're 'supposed to know', like how to > > pronounce Edinburgh properly? > > Try and say 'Auchtermuchty': > > Richmond. or... Llanfairpwllgwyngyllgogerychwyrndrobwll-llantysiliogogogoch a village on the isle of Anglesey From richmondmathewson at gmail.com Sun Mar 10 15:32:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Mar 2013 21:32:45 +0200 Subject: Brown Sauce In-Reply-To: References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> Message-ID: <513CDFDD.8070107@gmail.com> On 03/10/2013 09:21 PM, John Dixon wrote: > >> Date: Sun, 10 Mar 2013 21:11:03 +0200 >> From: richmondmathewson at gmail.com >> To: use-livecode at lists.runrev.com >> Subject: Re: Brown Sauce >> >> On 03/10/2013 08:48 PM, stephen barncard wrote: >>> What's obvious about March and schedules? >>> >>> Is this just one of those things we're 'supposed to know', like how to >>> pronounce Edinburgh properly? >> Try and say 'Auchtermuchty': >> Richmond. > or... Llanfairpwllgwyngyllgogerychwyrndrobwll-llantysiliogogogoch a village on the isle of Anglesey Aye; but the difference is that people who stay at that place in Innis Anglesey don't actually pronounce the whole of that word, opting for simple "Llanfair", while those who stay in the field of pigs still say "Auchtermuchty" in full. Try to pronounce the name of the programming language that resides inside the Livecode IDE! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Sun Mar 10 15:35:57 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 10 Mar 2013 20:35:57 +0100 Subject: Brown Sauce In-Reply-To: References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> Message-ID: <17749B87-B795-4E57-BB1A-72B348BD0EE4@unil.ch> Le 10 mars 2013 ? 20:21, John Dixon a ?crit : > > or... Llanfairpwllgwyngyllgogerychwyrndrobwll-llantysiliogogogoch a village on the isle of Anglesey > answer of http://www.howjsay.com: our nearest entry is: laryngotracheobronchitis (!!!) From klaus at major.on-rev.com Sun Mar 10 16:30:29 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 10 Mar 2013 21:30:29 +0100 Subject: Brown Sauce In-Reply-To: <17749B87-B795-4E57-BB1A-72B348BD0EE4@unil.ch> References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> <17749B87-B795-4E57-BB1A-72B348BD0EE4@unil.ch> Message-ID: <21FE25DB-CBFF-4EFE-93DC-2C8EB975B145@major.on-rev.com> Hi friends, Am 10.03.2013 um 20:35 schrieb Jacques Hausser : > Le 10 mars 2013 ? 20:21, John Dixon a ?crit : >> >> or... Llanfairpwllgwyngyllgogerychwyrndrobwll-llantysiliogogogoch a village on the isle of Anglesey > answer of http://www.howjsay.com: > our nearest entry is: laryngotracheobronchitis (!!!) C'mon guys, that's Klingon, isn't it? :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Sun Mar 10 16:34:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Mar 2013 13:34:28 -0700 Subject: Brown Sauce In-Reply-To: <21FE25DB-CBFF-4EFE-93DC-2C8EB975B145@major.on-rev.com> References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> <17749B87-B795-4E57-BB1A-72B348BD0EE4@unil.ch> <21FE25DB-CBFF-4EFE-93DC-2C8EB975B145@major.on-rev.com> Message-ID: <193612772421.20130310133428@ahsoftware.net> Klaus- Sunday, March 10, 2013, 1:30:29 PM, you wrote: >> our nearest entry is: laryngotracheobronchitis (!!!) > C'mon guys, that's Klingon, isn't it? :-D Nope. Too many vowels. -- -Mark Wieder mwieder at ahsoftware.net From mail at richard-hillen.de Sun Mar 10 16:36:13 2013 From: mail at richard-hillen.de (R. Hillen) Date: Sun, 10 Mar 2013 21:36:13 +0100 Subject: UUID: how to get one Message-ID: Hello list, some years ago there was a tip to get an UUID: _internal call "generate_uuid" put the result is there now a official cmd? Thank you in advance, Richard. From revlist at azurevision.co.uk Sun Mar 10 16:46:16 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Sun, 10 Mar 2013 20:46:16 +0000 Subject: Brown Sauce In-Reply-To: <513CDFDD.8070107@gmail.com> References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> <513CDFDD.8070107@gmail.com> Message-ID: On 10 Mar 2013, at 19:32, Richmond wrote: > Aye; but the difference is that people who stay at that place in Innis Anglesey don't actually pronounce > the whole of that word, opting for simple "Llanfair", Not that many people outside Wales can pronounce the double-L sound properly. ;-) Ian From klaus at major.on-rev.com Sun Mar 10 16:48:16 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 10 Mar 2013 21:48:16 +0100 Subject: UUID: how to get one In-Reply-To: References: Message-ID: <3F7E8C2F-EEA0-47C3-BEEE-613049289A0B@major.on-rev.com> Hi Richard, Am 10.03.2013 um 21:36 schrieb R. Hillen : > Hello list, > > some years ago there was a tip to get an UUID: > > _internal call "generate_uuid" > put the result > > is there now a official cmd? nope, still _internal! But on the Mac you can: ... put shell("uuidgen") into tUUID ... Maybe there is windows VB or shell script with the same functionality, but I don't know :-) > Thank you in advance, > Richard. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sun Mar 10 16:51:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Mar 2013 22:51:23 +0200 Subject: Brown Sauce In-Reply-To: References: <513C7FFF.4020006@gmail.com>, <0AF07A9F-4704-4554-92CE-80680A9F744F@azurevision.co.uk>, <513CCF2E.3090708@gmail.com>, , <513CDAC7.9070409@gmail.com> <513CDFDD.8070107@gmail.com> Message-ID: <513CF24B.2050903@gmail.com> On 03/10/2013 10:46 PM, Ian Wood wrote: > On 10 Mar 2013, at 19:32, Richmond wrote: > >> Aye; but the difference is that people who stay at that place in Innis Anglesey don't actually pronounce >> the whole of that word, opting for simple "Llanfair", > Not that many people outside Wales can pronounce the double-L sound properly. ;-) It's no that different than the 'hl' in 'hl?f' = Anglo-Saxon 'bread', war '????' = Bulgarian 'bread'. > > 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 john at splash21.com Sun Mar 10 18:48:27 2013 From: john at splash21.com (John Craig) Date: Sun, 10 Mar 2013 22:48:27 +0000 Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: References: Message-ID: <513D0DBB.2040408@splash21.com> I've got a cron job running on on-rev that checks for new LiveCode questions on stack overflow. If there are new questions it hasn't seen before, it emails me the details as a digest (see output below). I can set up an email list if anyone is interested - or even post to this list. The cron job can be modified to run every minute, every hour, etc. , but only sends a report when new data is available. -------- Original Message -------- Subject: Stackoverflow : new LiveCode questions Date: Sun, 10 Mar 2013 17:38:21 -0500 From: robot at splash21.on-rev.com To: john at splash21.com Can I use iphoneSetDoNotBackupFile on a folder of files rather than individual files? Asked by Monte Goulding URL: http://stackoverflow.com/q/15316457 Are LiveCode gradient to,from,via properties relative to the object or card coordinates? Asked by Monte Goulding URL: http://stackoverflow.com/q/15307005 How do I add annotations at coordinates from a database to a mergMK map in a LiveCode app? Asked by Monte Goulding URL: http://stackoverflow.com/q/15303948 LiveCode negative "firstIndent" - or other way to achieve the effect? Asked by Ben Rubinstein URL: http://stackoverflow.com/q/15299002 LiveCode field level input validation Asked by Roger Eller URL: http://stackoverflow.com/q/15297875 From monte at sweattechnologies.com Sun Mar 10 18:55:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 09:55:03 +1100 Subject: Stackoverflow : new LiveCode questions In-Reply-To: <513D0DBB.2040408@splash21.com> References: <513D0DBB.2040408@splash21.com> Message-ID: Hmm.. might be a good idea if there's a statement at the top not to reply to the list... On 11/03/2013, at 9:48 AM, John Craig wrote: > I've got a cron job running on on-rev that checks for new LiveCode questions on stack overflow. If there are new questions it hasn't seen before, it emails me the details as a digest (see output below). > I can set up an email list if anyone is interested - or even post to this list. The cron job can be modified to run every minute, every hour, etc. , but only sends a report when new data is available. > > > -------- Original Message -------- > Subject: Stackoverflow : new LiveCode questions > Date: Sun, 10 Mar 2013 17:38:21 -0500 > From: robot at splash21.on-rev.com > To: john at splash21.com > > > > Can I use iphoneSetDoNotBackupFile on a folder of files rather than individual files? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/15316457 > > Are LiveCode gradient to,from,via properties relative to the object or card coordinates? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/15307005 > > How do I add annotations at coordinates from a database to a mergMK map in a LiveCode app? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/15303948 > > LiveCode negative "firstIndent" - or other way to achieve the effect? > Asked by Ben Rubinstein > URL: http://stackoverflow.com/q/15299002 > > LiveCode field level input validation > Asked by Roger Eller > URL: http://stackoverflow.com/q/15297875 > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From roger.e.eller at sealedair.com Sun Mar 10 18:59:34 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 10 Mar 2013 18:59:34 -0400 Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: <513D0DBB.2040408@splash21.com> References: <513D0DBB.2040408@splash21.com> Message-ID: Nice work! I would like the posts to come to the Use-list unless other subscribers object. I never received anything from the built in subscription on SO. I'd think an hourly or even twice or three times a day would be plenty. ~Roger On Mar 10, 2013 6:48 PM, "John Craig" wrote: > I've got a cron job running on on-rev that checks for new LiveCode > questions on stack overflow. If there are new questions it hasn't seen > before, it emails me the details as a digest (see output below). > I can set up an email list if anyone is interested - or even post to this > list. The cron job can be modified to run every minute, every hour, etc. , > but only sends a report when new data is available. > > > -------- Original Message -------- > Subject: Stackoverflow : new LiveCode questions > Date: Sun, 10 Mar 2013 17:38:21 -0500 > From: robot at splash21.on-rev.com > To: john at splash21.com > > > > Can I use iphoneSetDoNotBackupFile on a folder of files rather than > individual files? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15316457 > > Are LiveCode gradient to,from,via properties relative to the object or > card coordinates? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15307005 > > How do I add annotations at coordinates from a database to a mergMK map in > a LiveCode app? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15303948 > > LiveCode negative "firstIndent" - or other way to achieve the > effect? > Asked by Ben Rubinstein > URL: http://stackoverflow.com/q/**15299002 > > LiveCode field level input validation > Asked by Roger Eller > URL: http://stackoverflow.com/q/**15297875 > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Mar 10 19:00:03 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 10 Mar 2013 19:00:03 -0400 Subject: Stackoverflow : new LiveCode questions In-Reply-To: References: <513D0DBB.2040408@splash21.com> Message-ID: <459B020A-F919-44CB-BEA1-F9A6726BB0F8@verizon.net> Or instead, instructions to click the link of any question you can help on. On Mar 10, 2013, at 6:55 PM, Monte Goulding wrote: > > >Hmm.. might be a good idea if there's a statement at the top not to reply to the list... From jacque at hyperactivesw.com Sun Mar 10 19:04:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Mar 2013 18:04:17 -0500 Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: References: <513D0DBB.2040408@splash21.com> Message-ID: <513D1171.4030007@hyperactivesw.com> On 3/10/13 5:59 PM, Roger Eller wrote: > I never received anything from the built in subscription on SO. Me either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Mar 10 19:07:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 10:07:04 +1100 Subject: Stackoverflow : new LiveCode questions In-Reply-To: <459B020A-F919-44CB-BEA1-F9A6726BB0F8@verizon.net> References: <513D0DBB.2040408@splash21.com> <459B020A-F919-44CB-BEA1-F9A6726BB0F8@verizon.net> Message-ID: On 11/03/2013, at 10:00 AM, Colin Holgate wrote: > Or instead, instructions to click the link of any question you can help on. Yep, that's fine too... I wonder if we could have a forum bot too? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Mar 10 19:10:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Mar 2013 18:10:10 -0500 Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: <513D0DBB.2040408@splash21.com> References: <513D0DBB.2040408@splash21.com> Message-ID: <513D12D2.7080008@hyperactivesw.com> On 3/10/13 5:48 PM, John Craig wrote: > I've got a cron job running on on-rev that checks for new LiveCode > questions on stack overflow. If there are new questions it hasn't seen > before, it emails me the details as a digest (see output below). > I can set up an email list if anyone is interested - or even post to > this list. The cron job can be modified to run every minute, every > hour, etc. , but only sends a report when new data is available. I'd be interested in seeing one post a day to this list of any new material available. The links are handy, and if it's only once a day I don't think too many people would object. If people complain we could take it to a private mailing list. But having it here could inspire more participation on SO because it would only take a click to get over there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Sun Mar 10 21:06:45 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Mar 2013 01:06:45 +0000 Subject: [mergext] Help with Dropbox external Message-ID: I can't seem to get a response from Dropbox when I call any of the mergDropbox commands. I've setup an app on Dropbox, so I have an app key and secret to pass in the mergDropbox setup command but nothing happens when I do. All this works fine in the demo stack that comes with the external (which links me to Monte's demo Dropbox app) BTW. I wonder if it has anything to do with the fact that my Dropbox app status is 'development' rather than 'production', but if it is then I'm unsure how to proceed as I am unable to apply for production status until I have successfully linked to the app - which seems like a catch 22 situation to me. Any ideas? Monte? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From monte at sweattechnologies.com Sun Mar 10 21:16:29 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 12:16:29 +1100 Subject: [mergext] Help with Dropbox external In-Reply-To: References: Message-ID: Ooo... You're testing me by asking a mergExt question here instead of StackOverflow ;-) It's definitely not a production/development issue because my demo app is development. Have you tried using your app key and secret in the demo? The most common reason for dropbox not linking would be people forgetting to handle urlWakUp with the mergDropboxHandleOpenURL command. on urlWakeUp pURL mergDropboxHandleOpenURL pURL end urlWakeUp On 11/03/2013, at 12:06 PM, Terry Judd wrote: > I can't seem to get a response from Dropbox when I call any of the mergDropbox commands. I've setup an app on Dropbox, so I have an app key and secret to pass in the mergDropbox setup command but nothing happens when I do. All this works fine in the demo stack that comes with the external (which links me to Monte's demo Dropbox app) BTW. > > I wonder if it has anything to do with the fact that my Dropbox app status is 'development' rather than 'production', but if it is then I'm unsure how to proceed as I am unable to apply for production status until I have successfully linked to the app - which seems like a catch 22 situation to me. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sun Mar 10 21:20:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 12:20:42 +1100 Subject: Stackoverflow : new LiveCode questions In-Reply-To: <513D12D2.7080008@hyperactivesw.com> References: <513D0DBB.2040408@splash21.com> <513D12D2.7080008@hyperactivesw.com> Message-ID: <78B9BA6A-63F0-4801-A87B-CC9C4B7BA6BD@sweattechnologies.com> On 11/03/2013, at 10:10 AM, J. Landman Gay wrote: > On 3/10/13 5:48 PM, John Craig wrote: >> I've got a cron job running on on-rev that checks for new LiveCode >> questions on stack overflow. If there are new questions it hasn't seen >> before, it emails me the details as a digest (see output below). >> I can set up an email list if anyone is interested - or even post to >> this list. The cron job can be modified to run every minute, every >> hour, etc. , but only sends a report when new data is available. > > I'd be interested in seeing one post a day to this list of any new material available. The links are handy, and if it's only once a day I don't think too many people would object. If people complain we could take it to a private mailing list. But having it here could inspire more participation on SO because it would only take a click to get over there. After thinking about this for a bit I wonder if it might just check daily and find any posts that are older than a day and haven't had an answer. It would only prompt here if there's no answer there. That way people here aren't bothered so much and people there are likely to get a response within 2 days at most. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From terry.judd at unimelb.edu.au Sun Mar 10 21:34:10 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Mar 2013 01:34:10 +0000 Subject: [mergext] Help with Dropbox external In-Reply-To: References: Message-ID: On 11/03/2013, at 12:16 PM, Monte Goulding wrote: > Ooo... You're testing me by asking a mergExt question here instead of StackOverflow ;-) Hey Monte!. I nearly did. Still feels a tad foreign though. > > It's definitely not a production/development issue because my demo app is development. Have you tried using your app key and secret in the demo? Good idea - and that's where the problem seems to lie. No dice with my details included. I've tried copying and pasting the key and secret in as well as typing them in directly. No go either way and there don't appear to be any dodgy characters in either. Is there likely to be a delay in these things being recognised? > > The most common reason for dropbox not linking would be people forgetting to handle urlWakUp with the mergDropboxHandleOpenURL command. If only I could get that far ;) Terry... > > on urlWakeUp pURL > mergDropboxHandleOpenURL pURL > end urlWakeUp > > On 11/03/2013, at 12:06 PM, Terry Judd wrote: > >> I can't seem to get a response from Dropbox when I call any of the mergDropbox commands. I've setup an app on Dropbox, so I have an app key and secret to pass in the mergDropbox setup command but nothing happens when I do. All this works fine in the demo stack that comes with the external (which links me to Monte's demo Dropbox app) BTW. >> >> I wonder if it has anything to do with the fact that my Dropbox app status is 'development' rather than 'production', but if it is then I'm unsure how to proceed as I am unable to apply for production status until I have successfully linked to the app - which seems like a catch 22 situation to me. > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From monte at sweattechnologies.com Sun Mar 10 21:41:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 12:41:12 +1100 Subject: [mergext] Help with Dropbox external In-Reply-To: References: Message-ID: <3797ACC6-3E3D-4A14-8117-E54A3BADAE06@sweattechnologies.com> On 11/03/2013, at 12:34 PM, Terry Judd wrote: > > On 11/03/2013, at 12:16 PM, Monte Goulding wrote: > >> Ooo... You're testing me by asking a mergExt question here instead of StackOverflow ;-) > > Hey Monte!. I nearly did. Still feels a tad foreign though. It takes a little getting used to but once you do it's an easy and often fun place to both ask and answer questions. >> >> It's definitely not a production/development issue because my demo app is development. Have you tried using your app key and secret in the demo? > > Good idea - and that's where the problem seems to lie. No dice with my details included. I've tried copying and pasting the key and secret in as well as typing them in directly. No go either way and there don't appear to be any dodgy characters in either. Is there likely to be a delay in these things being recognised? Hmm... perhaps send me your app key and secret off list and I'll see what I can work out. >> >> The most common reason for dropbox not linking would be people forgetting to handle urlWakUp with the mergDropboxHandleOpenURL command. > > If only I could get that far ;) > > Terry... > >> >> on urlWakeUp pURL >> mergDropboxHandleOpenURL pURL >> end urlWakeUp >> >> On 11/03/2013, at 12:06 PM, Terry Judd wrote: >> >>> I can't seem to get a response from Dropbox when I call any of the mergDropbox commands. I've setup an app on Dropbox, so I have an app key and secret to pass in the mergDropbox setup command but nothing happens when I do. All this works fine in the demo stack that comes with the external (which links me to Monte's demo Dropbox app) BTW. >>> >>> I wonder if it has anything to do with the fact that my Dropbox app status is 'development' rather than 'production', but if it is then I'm unsure how to proceed as I am unable to apply for production status until I have successfully linked to the app - which seems like a catch 22 situation to me. >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lan.kc.macmail at gmail.com Sun Mar 10 22:47:56 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 11 Mar 2013 10:47:56 +0800 Subject: using the internal postgres on OSX In-Reply-To: References: Message-ID: On Sun, Mar 10, 2013 at 11:59 PM, Dr. Hawkins wrote: > On Sun, Mar 10, 2013 at 1:52 AM, Kay C Lan > wrote: > > > Not exactly sure what you are after. > > > > Turning the bloody thing on :) > > As you appear to have moved to Lion and then Mountain Lion, as per my last post, and thanks to Andre: http://postgresapp.com/ Download it, install it, and it can't get any easier to manually turn the OS X postgre server On and Off. It also includes the option to have postgre server automatically start when your machine starts up. HTH From terry.judd at unimelb.edu.au Sun Mar 10 22:58:42 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 11 Mar 2013 02:58:42 +0000 Subject: [mergext] Help with Dropbox external In-Reply-To: <3797ACC6-3E3D-4A14-8117-E54A3BADAE06@sweattechnologies.com> References: <3797ACC6-3E3D-4A14-8117-E54A3BADAE06@sweattechnologies.com> Message-ID: On 11/03/2013, at 12:41 PM, Monte Goulding wrote: > > On 11/03/2013, at 12:34 PM, Terry Judd wrote: > >> >> On 11/03/2013, at 12:16 PM, Monte Goulding wrote: >> >>> Ooo... You're testing me by asking a mergExt question here instead of StackOverflow ;-) >> >> Hey Monte!. I nearly did. Still feels a tad foreign though. > > It takes a little getting used to but once you do it's an easy and often fun place to both ask and answer questions. >>> >>> It's definitely not a production/development issue because my demo app is development. Have you tried using your app key and secret in the demo? >> >> Good idea - and that's where the problem seems to lie. No dice with my details included. I've tried copying and pasting the key and secret in as well as typing them in directly. No go either way and there don't appear to be any dodgy characters in either. Is there likely to be a delay in these things being recognised? > > Hmm... perhaps send me your app key and secret off list and I'll see what I can work out. Done. Terry... >>> >>> The most common reason for dropbox not linking would be people forgetting to handle urlWakUp with the mergDropboxHandleOpenURL command. >> >> If only I could get that far ;) >> >> Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dochawk at gmail.com Mon Mar 11 01:01:05 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 10 Mar 2013 22:01:05 -0700 Subject: using the internal postgres on OSX In-Reply-To: References: Message-ID: On Sun, Mar 10, 2013 at 7:47 PM, Kay C Lan wrote: > As you appear to have moved to Lion and then Mountain Lion, as per my last > post, and thanks to Andre: > > http://postgresapp.com/ > > Download it, install it, and it can't get any easier to manually turn the > OS X postgre server On and Off. It also includes the option to have postgre > server automatically start when your machine starts up. > Thanks. I think I have it licked from the command line, though, which will be easier to bundle into my own installer. A couple of calls to serveradmin, a line to listen on sockets in one file, and a file to give db permissison in another (both of which seem to have dupliicates, so four files). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From scott at tactilemedia.com Mon Mar 11 02:23:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Mar 2013 22:23:25 -0800 Subject: [mergext] Help with Dropbox external In-Reply-To: Message-ID: Hi Monte: Not sure if this is relavent to your external or not but I recently received a notice from Dropbox about their Sync API: https://www.dropbox.com/developers/sync Maybe your add-on is already based on this but just thought I'd mention it since they sent out the notice 3 days ago. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/10/13 5:16 PM, "Monte Goulding" wrote: >Ooo... You're testing me by asking a mergExt question here instead of >StackOverflow ;-) > >It's definitely not a production/development issue because my demo app is >development. Have you tried using your app key and secret in the demo? > >The most common reason for dropbox not linking would be people forgetting >to handle urlWakUp with the mergDropboxHandleOpenURL command. > >on urlWakeUp pURL > mergDropboxHandleOpenURL pURL >end urlWakeUp > >On 11/03/2013, at 12:06 PM, Terry Judd wrote: > >> I can't seem to get a response from Dropbox when I call any of the >>mergDropbox commands. I've setup an app on Dropbox, so I have an app key >>and secret to pass in the mergDropbox setup command but nothing happens >>when I do. All this works fine in the demo stack that comes with the >>external (which links me to Monte's demo Dropbox app) BTW. >> >> I wonder if it has anything to do with the fact that my Dropbox app >>status is 'development' rather than 'production', but if it is then I'm >>unsure how to proceed as I am unable to apply for production status >>until I have successfully linked to the app - which seems like a catch >>22 situation to me. > >-- >Monte Goulding > >M E R Goulding - software development services >mergExt - There's an external for that! > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Mar 11 01:37:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 16:37:25 +1100 Subject: [mergext] Help with Dropbox external In-Reply-To: References: Message-ID: <444F6A96-22E2-4699-8828-EDD434353AF2@sweattechnologies.com> They now have two ios and android SDKs. It looks like I might be doing sync for a client so that will hopefully make it into mergExt too but it would be a separate external. Should be much simpler if you want a local cache to be auto synced with the app folder. On 11/03/2013, at 5:23 PM, Scott Rossi wrote: > Hi Monte: > > Not sure if this is relavent to your external or not but I recently > received a notice from Dropbox about their Sync API: > https://www.dropbox.com/developers/sync > Maybe your add-on is already based on this but just thought I'd mention it > since they sent out the notice 3 days ago. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/10/13 5:16 PM, "Monte Goulding" wrote: > >> Ooo... You're testing me by asking a mergExt question here instead of >> StackOverflow ;-) >> >> It's definitely not a production/development issue because my demo app is >> development. Have you tried using your app key and secret in the demo? >> >> The most common reason for dropbox not linking would be people forgetting >> to handle urlWakUp with the mergDropboxHandleOpenURL command. >> >> on urlWakeUp pURL >> mergDropboxHandleOpenURL pURL >> end urlWakeUp >> >> On 11/03/2013, at 12:06 PM, Terry Judd wrote: >> >>> I can't seem to get a response from Dropbox when I call any of the >>> mergDropbox commands. I've setup an app on Dropbox, so I have an app key >>> and secret to pass in the mergDropbox setup command but nothing happens >>> when I do. All this works fine in the demo stack that comes with the >>> external (which links me to Monte's demo Dropbox app) BTW. >>> >>> I wonder if it has anything to do with the fact that my Dropbox app >>> status is 'development' rather than 'production', but if it is then I'm >>> unsure how to proceed as I am unable to apply for production status >>> until I have successfully linked to the app - which seems like a catch >>> 22 situation to me. >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From john at splash21.com Mon Mar 11 03:29:38 2013 From: john at splash21.com (John Craig) Date: Mon, 11 Mar 2013 07:29:38 +0000 Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: References: Message-ID: <513D87E2.7000004@splash21.com> The on-rev server job seems to be working OK as Roger's post was waiting in my inbox. I'll ask Heather what she thinks. -------- Original Message -------- Subject: Stackoverflow : new LiveCode questions Date: Sun, 10 Mar 2013 21:50:02 -0500 From: robot at splash21.on-rev.com To: john at splash21.com What is a good way to indicate that data has changed, but not updated? Asked by Roger Eller URL: http://stackoverflow.com/q/15330414 From monte at sweattechnologies.com Mon Mar 11 06:35:50 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 21:35:50 +1100 Subject: [mergext] Help with Dropbox external In-Reply-To: References: <3797ACC6-3E3D-4A14-8117-E54A3BADAE06@sweattechnologies.com> Message-ID: <3C591D85-3930-4084-BC9A-EF7D2164F8EA@sweattechnologies.com> >>>> >>>> It's definitely not a production/development issue because my demo app is development. Have you tried using your app key and secret in the demo? >>> >>> Good idea - and that's where the problem seems to lie. No dice with my details included. I've tried copying and pasting the key and secret in as well as typing them in directly. No go either way and there don't appear to be any dodgy characters in either. Is there likely to be a delay in these things being recognised? >> >> Hmm... perhaps send me your app key and secret off list and I'll see what I can work out. > > Done. > For anyone following along on this one here's the answer: http://stackoverflow.com/questions/15336290/why-cant-i-link-my-dropbox-app-using-mergdropbox/15336292#15336292 Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Mon Mar 11 07:32:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Mar 2013 22:32:52 +1100 Subject: top 2% on StackOverflow Message-ID: <0391FA01-F765-4E3C-A8AD-90959AE47DE3@sweattechnologies.com> Hey this is cool... everyone around here keeps up voting my stuff on StackOverflow so I'm currently in the top 2% for rep this month.... http://stackexchange.com/leagues/1/month/stackoverflow/2013-03-01/1239143#1239143 Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From larsbrehmer at mac.com Mon Mar 11 09:02:13 2013 From: larsbrehmer at mac.com (Lars Brehmer) Date: Mon, 11 Mar 2013 15:02:13 +0200 Subject: testing installer pkg for App Store Message-ID: OK, this is a little bit spooky! Once again I am testing for app store submission, using the Mac App Submit article in RevUp June 17th 2011. I did this a few weeks ago for the first time and got help solving an initial problem. It worked. Now I am back at it with a new problem. After a few tries I successfully got the .pkg file, put a copy of it on my desktop and ran the "sudo installer -store -pkg" in terminal. The result looked good. In the terminal, these lines were among the results; installer: Installation Check: Passed installer: Volume Check: Passed and; installer: Starting install installer: Install 0.0% complete installer: Install 28.9% complete installer: Install 100.0% complete installer: Finished install so it looked pretty good, right? But to my surprise, there was no application in my applications folder! So I double clicked on the installer package, which did everything I expected from an OSX installer, including the chime and the message "Aplication successfully installed" at the end. But again, still no application the the applications folder! I also looked into my user applications folder, but nothing! I can hardly submit an app that doesn't show up ;-) The only difference between now and when it worked a few weeks ago is that I upgraded to LiveCode 5.5.4, but surely that can't be the problem or it would have appeared in this forum a long time ago. Any ideas? This really has me spooked! Cheers, Lars From ben at runrev.com Mon Mar 11 09:38:28 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 11 Mar 2013 13:38:28 +0000 Subject: Stackoverflow : new LiveCode questions In-Reply-To: <513D0DBB.2040408@splash21.com> References: <513D0DBB.2040408@splash21.com> Message-ID: Hi John, Now that we have a LiveCode tag you can subscribe to the email digest from the StackOverflow site itself. I hope that helps, Ben On 10 March 2013 22:48, John Craig wrote: > I've got a cron job running on on-rev that checks for new LiveCode > questions on stack overflow. If there are new questions it hasn't seen > before, it emails me the details as a digest (see output below). > I can set up an email list if anyone is interested - or even post to this > list. The cron job can be modified to run every minute, every hour, etc. , > but only sends a report when new data is available. > > > -------- Original Message -------- > Subject: Stackoverflow : new LiveCode questions > Date: Sun, 10 Mar 2013 17:38:21 -0500 > From: robot at splash21.on-rev.com > To: john at splash21.com > > > > Can I use iphoneSetDoNotBackupFile on a folder of files rather than > individual files? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15316457 > > Are LiveCode gradient to,from,via properties relative to the object or > card coordinates? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15307005 > > How do I add annotations at coordinates from a database to a mergMK map in > a LiveCode app? > Asked by Monte Goulding > URL: http://stackoverflow.com/q/**15303948 > > LiveCode negative "firstIndent" - or other way to achieve the > effect? > Asked by Ben Rubinstein > URL: http://stackoverflow.com/q/**15299002 > > LiveCode field level input validation > Asked by Roger Eller > URL: http://stackoverflow.com/q/**15297875 > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Unleash Your Killer App From ben at runrev.com Mon Mar 11 09:39:55 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 11 Mar 2013 13:39:55 +0000 Subject: Stackoverflow : new LiveCode questions In-Reply-To: References: <513D0DBB.2040408@splash21.com> Message-ID: Ok, John had emailed to say the emails are a little temperamental that come from StackOverflow. A premature email! Warm regards, Ben On 11 March 2013 13:38, Benjamin Beaumont wrote: > Hi John, > > Now that we have a LiveCode tag you can subscribe to the email digest from > the StackOverflow site itself. > > I hope that helps, > > Ben > > On 10 March 2013 22:48, John Craig wrote: > >> I've got a cron job running on on-rev that checks for new LiveCode >> questions on stack overflow. If there are new questions it hasn't seen >> before, it emails me the details as a digest (see output below). >> I can set up an email list if anyone is interested - or even post to this >> list. The cron job can be modified to run every minute, every hour, etc. , >> but only sends a report when new data is available. >> >> >> -------- Original Message -------- >> Subject: Stackoverflow : new LiveCode questions >> Date: Sun, 10 Mar 2013 17:38:21 -0500 >> From: robot at splash21.on-rev.com >> To: john at splash21.com >> >> >> >> Can I use iphoneSetDoNotBackupFile on a folder of files rather than >> individual files? >> Asked by Monte Goulding >> URL: http://stackoverflow.com/q/**15316457 >> >> Are LiveCode gradient to,from,via properties relative to the object or >> card coordinates? >> Asked by Monte Goulding >> URL: http://stackoverflow.com/q/**15307005 >> >> How do I add annotations at coordinates from a database to a mergMK map >> in a LiveCode app? >> Asked by Monte Goulding >> URL: http://stackoverflow.com/q/**15303948 >> >> LiveCode negative "firstIndent" - or other way to achieve the >> effect? >> Asked by Ben Rubinstein >> URL: http://stackoverflow.com/q/**15299002 >> >> LiveCode field level input validation >> Asked by Roger Eller >> URL: http://stackoverflow.com/q/**15297875 >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Unleash Your Killer App > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Unleash Your Killer App From nigels at amglighthouse.co.za Mon Mar 11 11:12:28 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Mon, 11 Mar 2013 17:12:28 +0200 Subject: UI Painter Message-ID: <65AE0109-3A39-4E38-988F-BE77CB5D352E@amglighthouse.co.za> Greeting - I need to pretty up the UI objects for an application I'm developing for the iPad. I'm looking for a application that can help me create a mask to use on the objects. Can someone advice what application I can use for such. From m.schonewille at economy-x-talk.com Mon Mar 11 11:32:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Mar 2013 16:32:13 +0100 Subject: UI Painter In-Reply-To: <65AE0109-3A39-4E38-988F-BE77CB5D352E@amglighthouse.co.za> References: <65AE0109-3A39-4E38-988F-BE77CB5D352E@amglighthouse.co.za> Message-ID: <513DF8FD.80509@economy-x-talk.com> Hi Nigel, My GUI elements for iOS at http://qery.us/35s uses graphics controls with graphics effects and gradients, all created with LiveCode. For other apps, I use Photoshop and Illustrator or GIMP and InkSkape. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 14 January, we suffered severe server problems. If you tried to send an e-mail between 13 and 18 January and didn't get a reply, please try again. On 3/11/2013 16:12, Nigel Soden wrote: > Greeting - I need to pretty up the UI objects for an application I'm developing for the iPad. I'm looking for a application that can help me create a mask to use on the objects. Can someone advice what application I can use for such. From mcgrath3 at mac.com Mon Mar 11 11:32:17 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 11:32:17 -0400 Subject: Launch Process on windows loses focus from main app Message-ID: <5246619F-B859-497F-8AE1-2A1C59191D36@mac.com> I have a window version of my LC app that I launch my KeyTrapper Monitor process after my app launches. The problem I am having is that after the KT launches I lose focus on my apps main card and even though I send code to top-level and focus on field "Input" of card main I can't get it to focus without using the mouse to click on the window. This is not good. Does anyone here know of a way to bring the app back to focus after using the Launch command? on TALaunchKeyTrapper -- other launch code here send "TATopLevelTypeAbility" to this stack in 1 second end TALaunchKeyTrapper on TATopLevelTypeAbility toplevel stack "TypeAbility" focus on field "Input" of card "Main" of stack "TypeAbility" end TATopLevelTypeAbility Thank you, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mcgrath3 at mac.com Mon Mar 11 11:46:24 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 11:46:24 -0400 Subject: Launch Process on windows loses focus from main app In-Reply-To: <5246619F-B859-497F-8AE1-2A1C59191D36@mac.com> References: <5246619F-B859-497F-8AE1-2A1C59191D36@mac.com> Message-ID: In the docs it says under the launch command that the launched app will come to the front and when my app quits the process then my app will come to the front. That is not what I need here. I need to launch the app in the background since it monitors the keys that LC can't trap and then I need to act upon them in my app without having the user to click in the app. I tried: get shell("start KeyTrapper.exe") because the docs don't mention if using shell will also bring it to front but it seems to do the same thing. Any ideas are greatly welcome at this point. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 11:32 AM, Thomas McGrath III wrote: > I have a window version of my LC app that I launch my KeyTrapper Monitor process after my app launches. The problem I am having is that after the KT launches I lose focus on my apps main card and even though I send code to top-level and focus on field "Input" of card main I can't get it to focus without using the mouse to click on the window. This is not good. Does anyone here know of a way to bring the app back to focus after using the Launch command? > > on TALaunchKeyTrapper > -- other launch code here > send "TATopLevelTypeAbility" to this stack in 1 second > end TALaunchKeyTrapper > > on TATopLevelTypeAbility > toplevel stack "TypeAbility" > focus on field "Input" of card "Main" of stack "TypeAbility" > end TATopLevelTypeAbility > > Thank you, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 lists at mangomultimedia.com Mon Mar 11 11:47:25 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 11 Mar 2013 11:47:25 -0400 Subject: UUID: how to get one In-Reply-To: <3F7E8C2F-EEA0-47C3-BEEE-613049289A0B@major.on-rev.com> References: <3F7E8C2F-EEA0-47C3-BEEE-613049289A0B@major.on-rev.com> Message-ID: On Sun, Mar 10, 2013 at 4:48 PM, Klaus on-rev wrote: > > Maybe there is windows VB or shell script with the same functionality, > but I don't know :-) Here is a function that works on OS X, Windows an Linux. https://gist.github.com/trevordevore/5135156 VBScript is used on Windows. You will run into people that do not have VBScript activated (some anti-virus software seems to turn it off). One of the first things I would like to do when the source code is available for LiveCode is add a UUID generator and get rid of shell calls for copying files. In the last few months I've seen a few reports from my customers who have shell calls deactivated as well. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From pete at lcsql.com Mon Mar 11 12:27:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Mar 2013 09:27:36 -0700 Subject: Stackoverflow : new LiveCode questions In-Reply-To: References: <513D0DBB.2040408@splash21.com> Message-ID: I'm getting the daily SO emails for both the filters I set up just fine. I'm not very anxious to get it from another source. I admire the evangelistic enthusiasm to help get the word out about Livecode by using SO but it[s yet another place to deal with when deciding where to ask questions or where to look for answers. I'm quite happy to ask my questions on either the developer or the regular user mailing list, and every now and then take a look at the forums and I'm not particularly enthusiastic about adding another location to the list of places to be checked. Plus, to complicate things further, there seems to be a suggestion of using yet another online site, Expert Answers. I don't have much to add to the cumulative knowledge of the email list users but on the few occasions that I do, I'll do it via the lists. Pete lcSQL Software On Mon, Mar 11, 2013 at 6:39 AM, Benjamin Beaumont wrote: > Ok, John had emailed to say the emails are a little temperamental that come > from StackOverflow. A premature email! > > Warm regards, > > Ben > > On 11 March 2013 13:38, Benjamin Beaumont wrote: > > > Hi John, > > > > Now that we have a LiveCode tag you can subscribe to the email digest > from > > the StackOverflow site itself. > > > > I hope that helps, > > > > Ben > > > > On 10 March 2013 22:48, John Craig wrote: > > > >> I've got a cron job running on on-rev that checks for new LiveCode > >> questions on stack overflow. If there are new questions it hasn't seen > >> before, it emails me the details as a digest (see output below). > >> I can set up an email list if anyone is interested - or even post to > this > >> list. The cron job can be modified to run every minute, every hour, > etc. , > >> but only sends a report when new data is available. > >> > >> > >> -------- Original Message -------- > >> Subject: Stackoverflow : new LiveCode questions > >> Date: Sun, 10 Mar 2013 17:38:21 -0500 > >> From: robot at splash21.on-rev.com > >> To: john at splash21.com > >> > >> > >> > >> Can I use iphoneSetDoNotBackupFile on a folder of files rather than > >> individual files? > >> Asked by Monte Goulding > >> URL: http://stackoverflow.com/q/**15316457< > http://stackoverflow.com/q/15316457> > >> > >> Are LiveCode gradient to,from,via properties relative to the object or > >> card coordinates? > >> Asked by Monte Goulding > >> URL: http://stackoverflow.com/q/**15307005< > http://stackoverflow.com/q/15307005> > >> > >> How do I add annotations at coordinates from a database to a mergMK map > >> in a LiveCode app? > >> Asked by Monte Goulding > >> URL: http://stackoverflow.com/q/**15303948< > http://stackoverflow.com/q/15303948> > >> > >> LiveCode negative "firstIndent" - or other way to achieve the > >> effect? > >> Asked by Ben Rubinstein > >> URL: http://stackoverflow.com/q/**15299002< > http://stackoverflow.com/q/15299002> > >> > >> LiveCode field level input validation > >> Asked by Roger Eller > >> URL: http://stackoverflow.com/q/**15297875< > http://stackoverflow.com/q/15297875> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > _____________________________________________ > > > > Benjamin Beaumont . RunRev Ltd > > > > LiveCode Product Manager > > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > > email : ben at runrev.com > > company : +44(0) 845 219 89 23 > > fax : +44(0) 845 458 8487 > > web : www.runrev.com > > > > LiveCode - Unleash Your Killer App > > > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Unleash Your Killer App > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mkoob at rogers.com Mon Mar 11 12:34:12 2013 From: mkoob at rogers.com (Martin Koob) Date: Mon, 11 Mar 2013 09:34:12 -0700 (PDT) Subject: [ANN] Toronto LiveCode Meetup March, 27 2013 Message-ID: <1363019652233-4662091.post@n4.nabble.com> Hi Greater Toronto Area LiveCode Users Group (gTALUG) will be having a meetup on March 27th, 7:00 pm at MaRS Commons, 101 College St. Suite 230, Toronto, ON. LiveCode's Open Source Edition's KicksStarter campaign has succeeded in raising ?493,795 141% of their goal of ?350,000. Lets have a meet up to celebrate that and discuss the future now that LiveCode will be going open source and is going have a lot of new and improved features due to the stretch goals being achieved. http://kck.st/WutiWr Whether you are an experienced LiveCoder or are just starting out this will be a great chance to meet other LiveCoders, and learn more about the platform. The meeting will be at the board room of the MaRS Commons. MaRS (www.marsdd.com) is a community partner that is graciously providing meeting space. You can see more information join and RSVP here. http://www.meetup.com/Greater-Toronto-Area-LiveCode-Users-Group/ (You don't have to join Meetup.com to come to the meeting but please RSVP by email then.) Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Toronto-LiveCode-Meetup-March-27-2013-tp4662091.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Mon Mar 11 12:47:22 2013 From: revolution at derbrill.de (Malte Brill) Date: Mon, 11 Mar 2013 17:47:22 +0100 Subject: UUID: how to get one In-Reply-To: References: Message-ID: <31C658D9-F9B6-4EEF-93C2-2F78CBF009C6@derbrill.de> The late Mark Smith wrote a library that works pretty well. I remember to have patched it a few years back and when I wanted to return the patch I learned that Mark no longer is with us. :-( However the library is still to find. And was originally released under an open source license. His libs still appear to be online: http://www.webring.org/l/rd?ring=runtimerevoluti1;id=15;url=http%3A%2F%2Fmarksmith%2Eon-rev%2Ecom%2Frevstuff%2F Cheers, Malte From richmondmathewson at gmail.com Mon Mar 11 13:44:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 11 Mar 2013 19:44:24 +0200 Subject: UI Painter In-Reply-To: <65AE0109-3A39-4E38-988F-BE77CB5D352E@amglighthouse.co.za> References: <65AE0109-3A39-4E38-988F-BE77CB5D352E@amglighthouse.co.za> Message-ID: <513E17F8.6050103@gmail.com> On 03/11/2013 05:12 PM, Nigel Soden wrote: > Greeting - I need to pretty up the UI objects for an application I'm developing for the iPad. I'm looking for a application that can help me create a mask to use on the objects. Can someone advice what application I can use for such. GIMP http://www.gimp.org/ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Mar 11 13:48:03 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 13:48:03 -0400 Subject: Windows kill process Message-ID: Ok, so again I have still yet another problem I can't seem to figure out. After I launch my external key trapper app from livecode and then want to quit I can't seem to get it to quit. I have been trying all of these with what appears to be no luck: put the itemDelimiter into tItemDelimiter put the effective filename of this stack into tPath set the itemDelimiter to slash put item 1 to -2 of tPath into tPath set the itemDelimiter to tItemDelimiter put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath kill QUIT process tKeyTrapperPath or put the itemDelimiter into tItemDelimiter put the effective filename of this stack into tPath set the itemDelimiter to slash put item 1 to -2 of tPath into tPath set the itemDelimiter to tItemDelimiter put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath kill 9 process tKeyTrapperPath get shell("killall KeyTrapper") get shell("killall KeyTrapper.exe") get shell("killall keytrapper.exe") kill 9 process "KeyTrapper.exe" ANy ideas what I'm doing wrong here???? Thank you, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From pete at lcsql.com Mon Mar 11 13:55:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Mar 2013 10:55:51 -0700 Subject: No closeStack message Message-ID: A stack that has been working fine has suddenly started misbehaving. When I close the stack by clicking the close button in the title bar, I do not get a closeStack message. I verified this by setting a red-dot debug break and a breakpoint command at the start of my closeStack message and also looking at the output from the message watcher. Another oddity is that, although neither destroystack nor destroywindow are set, when the stack is closed, it is removed from memory (doesn't appear in the Application Browser), and any script editor tabs I have open are closed. Any ideas what might be causing this? Pete lcSQL Software From bonnmike at gmail.com Mon Mar 11 14:17:21 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 11 Mar 2013 12:17:21 -0600 Subject: Windows kill process In-Reply-To: References: Message-ID: on windows use taskkill /F /IM processname.exe /F is force, assuming /IM means all matches, but can't look it up at the moment. on mac or linux it seems that killall KeyTrapper should work, though you might do a ps -ef at the command line and confirm caps and such to make sure your match text is right. (not sure if its case sensitive or not, seems like it should be) You can also check the returned data, if its a 2 it means there was a command error (on mac, probably on linux) if its a 1 it means no matches were found OR not all were killed. Otherwise 0 is returned. On Mon, Mar 11, 2013 at 11:48 AM, Thomas McGrath III wrote: > Ok, so again I have still yet another problem I can't seem to figure out. > After I launch my external key trapper app from livecode and then want to > quit I can't seem to get it to quit. > > I have been trying all of these with what appears to be no luck: > > put the itemDelimiter into tItemDelimiter > put the effective filename of this stack into tPath > set the itemDelimiter to slash > put item 1 to -2 of tPath into tPath > set the itemDelimiter to tItemDelimiter > put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath > kill QUIT process tKeyTrapperPath > > or > put the itemDelimiter into tItemDelimiter > put the effective filename of this stack into tPath > set the itemDelimiter to slash > put item 1 to -2 of tPath into tPath > set the itemDelimiter to tItemDelimiter > put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath > kill 9 process tKeyTrapperPath > > get shell("killall KeyTrapper") > > get shell("killall KeyTrapper.exe") > > get shell("killall keytrapper.exe") > > kill 9 process "KeyTrapper.exe" > > > ANy ideas what I'm doing wrong here???? > > Thank you, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 lcsql.com Mon Mar 11 14:18:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Mar 2013 11:18:37 -0700 Subject: No closeStack message In-Reply-To: References: Message-ID: I found the problem. The General Preference "if destroyStack is false..." was set to "Close the file". I don't recall setting it but I guess I must have. Somehow, "close the file" doesn't come across to me as removing it from memory but that is what it does. Pete lcSQL Software On Mon, Mar 11, 2013 at 10:55 AM, Peter Haworth wrote: > A stack that has been working fine has suddenly started misbehaving. > > When I close the stack by clicking the close button in the title bar, I do > not get a closeStack message. I verified this by setting a red-dot debug > break and a breakpoint command at the start of my closeStack message and > also looking at the output from the message watcher. > > Another oddity is that, although neither destroystack nor destroywindow > are set, when the stack is closed, it is removed from memory (doesn't > appear in the Application Browser), and any script editor tabs I have open > are closed. > > Any ideas what might be causing this? > > > > Pete > lcSQL Software > From dunbarx at aol.com Mon Mar 11 14:21:31 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 11 Mar 2013 14:21:31 -0400 (EDT) Subject: No closeStack message In-Reply-To: References: Message-ID: <8CFEC9C63235ECA-1324-44AB1@webmail-m245.sysops.aol.com> Did you try quitting LC and reopening? And are you positive there are no other closeStack handlers lurking anywhere? Craig Newman -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Mon, Mar 11, 2013 1:57 pm Subject: No closeStack message A stack that has been working fine has suddenly started misbehaving. When I close the stack by clicking the close button in the title bar, I do not get a closeStack message. I verified this by setting a red-dot debug break and a breakpoint command at the start of my closeStack message and also looking at the output from the message watcher. Another oddity is that, although neither destroystack nor destroywindow are set, when the stack is closed, it is removed from memory (doesn't appear in the Application Browser), and any script editor tabs I have open are closed. Any ideas what might be causing this? Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Mar 11 14:26:00 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 14:26:00 -0400 Subject: Windows kill process In-Reply-To: References: Message-ID: <4A1D0EF5-B2BB-4D63-B2EF-7367527392E8@mac.com> Mike, Hello, and thank you. So to confirm: get shell("taskkill /F /IM KeyTrapper.exe") Thank you so much, I'm under a time crunch and was getting a bit nervous. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 2:17 PM, Mike Bonner wrote: > taskkill /F /IM processname.exe From mcgrath3 at mac.com Mon Mar 11 14:29:04 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 14:29:04 -0400 Subject: Windows kill process In-Reply-To: <4A1D0EF5-B2BB-4D63-B2EF-7367527392E8@mac.com> References: <4A1D0EF5-B2BB-4D63-B2EF-7367527392E8@mac.com> Message-ID: Just tried it and that worked. But for a second there is a flash of the terminal window. Any way to prevent that on windows? THanks again real life saver. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 2:26 PM, Thomas McGrath III wrote: > Mike, > > Hello, and thank you. > > So to confirm: get shell("taskkill /F /IM KeyTrapper.exe") > > Thank you so much, I'm under a time crunch and was getting a bit nervous. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 11, 2013, at 2:17 PM, Mike Bonner wrote: > >> taskkill /F /IM processname.exe > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Mar 11 14:41:30 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Mar 2013 18:41:30 +0000 (UTC) Subject: Windows kill process References: <4A1D0EF5-B2BB-4D63-B2EF-7367527392E8@mac.com> Message-ID: Thomas McGrath III writes: > > Just tried it and that worked. But for a second there is a flash of the terminal window. Any way to prevent that > on windows? Before the call Set the hideconsolewindows to true -- Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Mon Mar 11 15:48:51 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 11 Mar 2013 11:48:51 -0800 Subject: Windows kill process In-Reply-To: Message-ID: Hi Thomas: Try setting the hideConsoleWindows property to true before you execute the shell command. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/11/13 10:29 AM, "Thomas McGrath III" wrote: >Just tried it and that worked. But for a second there is a flash of the >terminal window. Any way to prevent that on windows? > >THanks again real life saver. > >Tom > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 at mac.com > >On Mar 11, 2013, at 2:26 PM, Thomas McGrath III wrote: > >> Mike, >> >> Hello, and thank you. >> >> So to confirm: get shell("taskkill /F /IM KeyTrapper.exe") >> >> Thank you so much, I'm under a time crunch and was getting a bit >>nervous. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Mar 11, 2013, at 2:17 PM, Mike Bonner wrote: >> >>> taskkill /F /IM processname.exe >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Mar 11 14:58:31 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Mar 2013 11:58:31 -0700 Subject: No closeStack message In-Reply-To: <8CFEC9C63235ECA-1324-44AB1@webmail-m245.sysops.aol.com> References: <8CFEC9C63235ECA-1324-44AB1@webmail-m245.sysops.aol.com> Message-ID: Hi Craig, Thanks for the reply - see my follow up post, it was due to a preference setting. Pete lcSQL Software On Mon, Mar 11, 2013 at 11:21 AM, wrote: > Did you try quitting LC and reopening? And are you positive there are no > other closeStack handlers lurking anywhere? > > > Craig Newman > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Mon, Mar 11, 2013 1:57 pm > Subject: No closeStack message > > > A stack that has been working fine has suddenly started misbehaving. > > When I close the stack by clicking the close button in the title bar, I do > not get a closeStack message. I verified this by setting a red-dot debug > break and a breakpoint command at the start of my closeStack message and > also looking at the output from the message watcher. > > Another oddity is that, although neither destroystack nor destroywindow are > set, when the stack is closed, it is removed from memory (doesn't appear in > the Application Browser), and any script editor tabs I have open are > closed. > > Any ideas what might be causing this? > > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Mar 11 15:20:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Mar 2013 06:20:46 +1100 Subject: Windows kill process In-Reply-To: References: Message-ID: <80528EA5-A8B3-4B1E-A6C5-DD1E80994446@sweattechnologies.com> While you seem to have an answer I'm wondering if open process / close process wouldn't be a simpler solution for you. If I remember right you are polling a file but you could be polling the process too if you open the process for read. -- M E R Goulding Software development services mergExt - There's an external for that! On 12/03/2013, at 4:48 AM, Thomas McGrath III wrote: > Ok, so again I have still yet another problem I can't seem to figure out. After I launch my external key trapper app from livecode and then want to quit I can't seem to get it to quit. > > I have been trying all of these with what appears to be no luck: > > put the itemDelimiter into tItemDelimiter > put the effective filename of this stack into tPath > set the itemDelimiter to slash > put item 1 to -2 of tPath into tPath > set the itemDelimiter to tItemDelimiter > put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath > kill QUIT process tKeyTrapperPath > > or > put the itemDelimiter into tItemDelimiter > put the effective filename of this stack into tPath > set the itemDelimiter to slash > put item 1 to -2 of tPath into tPath > set the itemDelimiter to tItemDelimiter > put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath > kill 9 process tKeyTrapperPath > > get shell("killall KeyTrapper") > > get shell("killall KeyTrapper.exe") > > get shell("killall keytrapper.exe") > > kill 9 process "KeyTrapper.exe" > > > ANy ideas what I'm doing wrong here???? > > Thank you, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 monte at sweattechnologies.com Mon Mar 11 15:23:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Mar 2013 06:23:18 +1100 Subject: UUID: how to get one In-Reply-To: References: <3F7E8C2F-EEA0-47C3-BEEE-613049289A0B@major.on-rev.com> Message-ID: It's worse than that. I've run into a policy in an education setting that will cause any shell call to block. Always use open process instead of shell. -- M E R Goulding Software development services mergExt - There's an external for that! On 12/03/2013, at 2:47 AM, Trevor DeVore wrote: > In the last few months I've seen a few reports from my customers who > have shell calls deactivated as well. From monte at sweattechnologies.com Mon Mar 11 15:39:41 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Mar 2013 06:39:41 +1100 Subject: Stackoverflow : new LiveCode questions In-Reply-To: References: <513D0DBB.2040408@splash21.com> Message-ID: <6F4A27F8-255B-4B5C-A100-9A7B072D8327@sweattechnologies.com> On 12/03/2013, at 3:27 AM, Peter Haworth wrote: > yet another online site, Expert Answers I hope someone follows up on that. I'll probably focus on StackOverflow but if someone wants to take on http://www.experts-exchange.com it would be great. The more the merrier ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dunbarx at aol.com Mon Mar 11 15:59:08 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 11 Mar 2013 15:59:08 -0400 (EDT) Subject: Stackoverflow : new LiveCode questions In-Reply-To: <6F4A27F8-255B-4B5C-A100-9A7B072D8327@sweattechnologies.com> References: <513D0DBB.2040408@splash21.com> <6F4A27F8-255B-4B5C-A100-9A7B072D8327@sweattechnologies.com> Message-ID: <8CFECAA069BBA04-1324-47B84@webmail-m245.sysops.aol.com> Monte. This site costs $13 per month. Much as I love to kibitz about LC, I don't know if I am willing to pay for the privilege. Craig Newman -----Original Message----- From: Monte Goulding To: How to use LiveCode Sent: Mon, Mar 11, 2013 3:40 pm Subject: Re: Stackoverflow : new LiveCode questions On 12/03/2013, at 3:27 AM, Peter Haworth wrote: > yet another online site, Expert Answers I hope someone follows up on that. I'll probably focus on StackOverflow but if someone wants to take on http://www.experts-exchange.com it would be great. The more the merrier ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Mar 11 16:06:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Mar 2013 07:06:02 +1100 Subject: Stackoverflow : new LiveCode questions In-Reply-To: <8CFECAA069BBA04-1324-47B84@webmail-m245.sysops.aol.com> References: <513D0DBB.2040408@splash21.com> <6F4A27F8-255B-4B5C-A100-9A7B072D8327@sweattechnologies.com> <8CFECAA069BBA04-1324-47B84@webmail-m245.sysops.aol.com> Message-ID: <38310BB2-FDCB-4A92-AD00-9FD587165145@sweattechnologies.com> On 12/03/2013, at 6:59 AM, dunbarx at aol.com wrote: > This site costs $13 per month. Much as I love to kibitz about LC, I don't know if I am willing to pay for the privilege. Ah... missed that. I suspect I'd give it a miss too... perhaps RunRev should have a rep there though incase someone asks a LiveCode question although I'm not even sure if it's worth it for them. There's too many ways to get good answers without moving it behind a paywall. It appears if you answer a few questions a month then you get free membership but even still... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From userev at canelasoftware.com Mon Mar 11 18:11:52 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 11 Mar 2013 15:11:52 -0700 Subject: Returns Don't Return? In-Reply-To: References: Message-ID: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> On Mar 6, 2013, at 9:29 PM, Scott Rossi wrote: > I have a stack that generates a return-delimited list of files in a folder > and writes the list to a simple text file. > put theFileList into url ("file:" & dropBoxFolder() & "flist.txt") > > > When I retrieve this file within LiveCode, it ignores the returns and places > all entries in a single line. If I open the text file in a text editor, the > lines are displayed properly. I tried resaving the file from the text > editor, but LiveCode still ignores the returns unless I explicitly return > each line by hand in the text editor. > > I tried using all the return forms: return, cr, crlf, with no difference. > > Now, if I write the file list using "binfile", LiveCode is then able to read > the returns correctly. Why is this? Hi Scott, I find that to get get reliable CR on all platforms I use LF instead. You can also run: replace numToChar(13) with numToChar(10) in {variableNameHere} This will clean out all the offenders. Best regards, Mark Talluto canelasoftware.com From mcgrath3 at mac.com Mon Mar 11 18:59:08 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 18:59:08 -0400 Subject: Windows kill process In-Reply-To: <80528EA5-A8B3-4B1E-A6C5-DD1E80994446@sweattechnologies.com> References: <80528EA5-A8B3-4B1E-A6C5-DD1E80994446@sweattechnologies.com> Message-ID: Monte, My problem is that it is too late in the game for me to switch. I thought about open process for text read first off but we had already had it set up this way. Now, I only have two more days till my dead line. So I can't change course now. I thought it would have been much smoother using open close process. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 3:20 PM, Monte Goulding wrote: > While you seem to have an answer I'm wondering if open process / close process wouldn't be a simpler solution for you. If I remember right you are polling a file but you could be polling the process too if you open the process for read. From mcgrath3 at mac.com Mon Mar 11 19:00:53 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 19:00:53 -0400 Subject: Windows kill process In-Reply-To: References: <4A1D0EF5-B2BB-4D63-B2EF-7367527392E8@mac.com> Message-ID: <8D68EE44-0BB2-4440-AF8D-F7141E09EF0E@mac.com> Mark, Yes that takes care of it. Thank you. If I wasn't under the gun to get this done i would have remembered that. I used it in my iTunes controller suite. Thanks so much, can't wait till Thursday when this is all behind me, for now?.. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 2:41 PM, Mark Wieder wrote: > Thomas McGrath III writes: > >> >> Just tried it and that worked. But for a second there is a flash of the > terminal window. Any way to prevent that >> on windows? > > Before the call > Set the hideconsolewindows to true > > -- > 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 mcgrath3 at mac.com Mon Mar 11 19:02:22 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 19:02:22 -0400 Subject: Windows kill process In-Reply-To: References: Message-ID: <5B02C236-2814-45E1-AA10-FB207A33A46C@mac.com> Scott, Yes, Mark offered the same answer. It's seems under this deadline I am forgetting everything?. Even stuff I have used before.. Thanks Again, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 3:48 PM, Scott Rossi wrote: > Hi Thomas: > > Try setting the hideConsoleWindows property to true before you execute the > shell command. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/11/13 10:29 AM, "Thomas McGrath III" wrote: > >> Just tried it and that worked. But for a second there is a flash of the >> terminal window. Any way to prevent that on windows? >> >> THanks again real life saver. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Mar 11, 2013, at 2:26 PM, Thomas McGrath III wrote: >> >>> Mike, >>> >>> Hello, and thank you. >>> >>> So to confirm: get shell("taskkill /F /IM KeyTrapper.exe") >>> >>> Thank you so much, I'm under a time crunch and was getting a bit >>> nervous. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Mar 11, 2013, at 2:17 PM, Mike Bonner wrote: >>> >>>> taskkill /F /IM processname.exe >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Mar 11 19:07:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Mar 2013 10:07:38 +1100 Subject: Windows kill process In-Reply-To: References: <80528EA5-A8B3-4B1E-A6C5-DD1E80994446@sweattechnologies.com> Message-ID: <9E66818E-3137-4D0B-92C7-E279FE29DA24@sweattechnologies.com> You could still use open/close process and poll the file. As I said to Trevor regarding UUIDs you can't rely on shell not locking up your whole app. On 12/03/2013, at 9:59 AM, Thomas McGrath III wrote: > My problem is that it is too late in the game for me to switch. I thought about open process for text read first off but we had already had it set up this way. Now, I only have two more days till my dead line. So I can't change course now. I thought it would have been much smoother using open close process. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Mon Mar 11 19:03:42 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Mar 2013 19:03:42 -0400 Subject: Windows kill process In-Reply-To: <9E66818E-3137-4D0B-92C7-E279FE29DA24@sweattechnologies.com> References: <80528EA5-A8B3-4B1E-A6C5-DD1E80994446@sweattechnologies.com> <9E66818E-3137-4D0B-92C7-E279FE29DA24@sweattechnologies.com> Message-ID: <56A96003-5C80-4948-8A2F-69E2DC826E13@mac.com> Good thing to know. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 11, 2013, at 7:07 PM, Monte Goulding wrote: > You could still use open/close process and poll the file. As I said to Trevor regarding UUIDs you can't rely on shell not locking up your whole app. > > On 12/03/2013, at 9:59 AM, Thomas McGrath III wrote: > >> My problem is that it is too late in the game for me to switch. I thought about open process for text read first off but we had already had it set up this way. Now, I only have two more days till my dead line. So I can't change course now. I thought it would have been much smoother using open close process. > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Mon Mar 11 19:08:26 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 11 Mar 2013 16:08:26 -0700 Subject: Setting button hilite in a script In-Reply-To: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> Message-ID: <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> Hi all, In the course of a script that does other things, I want to set the hilite of a radio button--but it's not happening: if there is a button "Local" then set the hilite of button "Local" to true doesn't do that. click button 1 at the loc of button "Local" doesn't work either. I've tried adding to the script wait 1 milliseconds with messages No go. ?? Peter Bogdanoff UCLA From devin_asay at byu.edu Mon Mar 11 19:32:03 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 Mar 2013 23:32:03 +0000 Subject: Setting button hilite in a script In-Reply-To: <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A0106B63C@Peas2.byu.local> On Mar 11, 2013, at 5:08 PM, Peter Bogdanoff wrote: > Hi all, > > In the course of a script that does other things, I want to set the hilite of a radio button--but it's not happening: > > if there is a button "Local" then > set the hilite of button "Local" to true > > doesn't do that. > > click button 1 at the loc of button "Local" > > doesn't work either. > > I've tried adding to the script > > wait 1 milliseconds with messages > > No go. > > ?? Peter, This first thing I do in cases like this is check to see whether I have inadvertently created two buttons with the same name. Only the button with the lower layer will be affected. HTH Devin Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Mon Mar 11 19:36:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Mar 2013 16:36:55 -0700 Subject: Setting button hilite in a script In-Reply-To: <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> Message-ID: Sounds like the autohilite property of the button is off. Pete lcSQL Software On Mon, Mar 11, 2013 at 4:08 PM, Peter Bogdanoff wrote: > Hi all, > > In the course of a script that does other things, I want to set the hilite > of a radio button--but it's not happening: > > if there is a button "Local" then > set the hilite of button "Local" to true > > doesn't do that. > > click button 1 at the loc of button "Local" > > doesn't work either. > > I've tried adding to the script > > wait 1 milliseconds with messages > > No go. > > ?? > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Mon Mar 11 19:43:57 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 11 Mar 2013 16:43:57 -0700 Subject: Setting button hilite in a script In-Reply-To: <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> <697CE8C6-C5A9-45EA-9096-8003A020A5C3@me.com> Message-ID: try using a full path to the object btn "local" of card 1 of stack "whatever" if the calling script isn't in the right place in the message path, it may never 'see' the object. On Mon, Mar 11, 2013 at 4:08 PM, Peter Bogdanoff wrote: > Hi all, > > In the course of a script that does other things, I want to set the hilite > of a radio button--but it's not happening: > > if there is a button "Local" then > set the hilite of button "Local" to true > > doesn't do that. > > click button 1 at the loc of button "Local" > > doesn't work either. > > I've tried adding to the script > > wait 1 milliseconds with messages > > No go. > > ?? > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From scott at tactilemedia.com Mon Mar 11 21:15:20 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 11 Mar 2013 17:15:20 -0800 Subject: Returns Don't Return? In-Reply-To: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> Message-ID: Thanks Mark, will give it a try. I thought "return" was supposed to be the new universal way to refer to the platform-appropriate return character but I guess not. Then again, I'm not even sure this is really a platform related issue. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/11/13 2:11 PM, "Mark Talluto" wrote: >On Mar 6, 2013, at 9:29 PM, Scott Rossi wrote: > >> I have a stack that generates a return-delimited list of files in a >>folder >> and writes the list to a simple text file. >> put theFileList into url ("file:" & dropBoxFolder() & "flist.txt") >> >> >> When I retrieve this file within LiveCode, it ignores the returns and >>places >> all entries in a single line. If I open the text file in a text >>editor, the >> lines are displayed properly. I tried resaving the file from the text >> editor, but LiveCode still ignores the returns unless I explicitly >>return >> each line by hand in the text editor. >> >> I tried using all the return forms: return, cr, crlf, with no >>difference. >> >> Now, if I write the file list using "binfile", LiveCode is then able to >>read >> the returns correctly. Why is this? > > >Hi Scott, > >I find that to get get reliable CR on all platforms I use LF instead. >You can also run: replace numToChar(13) with numToChar(10) in >{variableNameHere} > >This will clean out all the offenders. > > >Best regards, > >Mark Talluto >canelasoftware.com >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From userev at canelasoftware.com Mon Mar 11 20:33:06 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 11 Mar 2013 17:33:06 -0700 Subject: Returns Don't Return? In-Reply-To: References: Message-ID: <44B53D03-99DF-46F1-9C2B-0D7512E8FE81@canelasoftware.com> On Mar 11, 2013, at 6:15 PM, Scott Rossi wrote: > Thanks Mark, will give it a try. > I thought "return" was supposed to be the new universal way to refer to > the platform-appropriate return character but I guess not. Then again, I'm > not even sure this is really a platform related issue. I started losing hair once I started developing software that read files from a server. LF was the only way to get consistent line endings on all platforms. See how it goes for you. I will be interested to see if this makes a difference. Best regards, Mark Talluto canelasoftware.com From jhj at jhj.com Mon Mar 11 20:48:38 2013 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 11 Mar 2013 17:48:38 -0700 Subject: Returns Don't Return? In-Reply-To: References: Message-ID: <0D96D9CF-6C6F-4A4F-BD6F-EFB2519CF91F@jhj.com> Speaking to "small animals" over "serial interfaces" often requires CR+LF. Learning this can be quite frustrating. .Jerry On Mar 11, 2013, at 6:15 PM, Scott Rossi wrote: > Thanks Mark, will give it a try. > I thought "return" was supposed to be the new universal way to refer to > the platform-appropriate return character but I guess not. Then again, I'm > not even sure this is really a platform related issue. From mkoob at rogers.com Mon Mar 11 23:41:58 2013 From: mkoob at rogers.com (Martin Koob) Date: Mon, 11 Mar 2013 23:41:58 -0400 Subject: [ANN] Toronto LiveCode Meetup March, 27 2013 Message-ID: <29FE3E29-8575-4AE5-94ED-025772C8E249@rogers.com> (I posted this through the archive at Nabble.com but I don't think it was accepted. Sorry if this is a double post.) Greater Toronto Area LiveCode Users Group (gTALUG) will be having a meetup on March 27th, 7:00 pm at MaRS Commons, 101 College St. Suite 230, Toronto, ON. LiveCode's Open Source Edition's KicksStarter campaign has succeeded in raising ?493,795 141% of their goal of ?350,000. Lets have a meet up to celebrate that and discuss the future now that LiveCode will be going open source and is going have a lot of new and improved features due to the stretch goals being achieved. http://kck.st/WutiWr Whether you are an experienced LiveCoder or are just starting out this will be a great chance to meet other LiveCoders, and learn more about the platform. The meeting will be at the board room of the MaRS Commons. MaRS (www.marsdd.com) is a community partner that is graciously providing meeting space. You can see more information join and RSVP here. http://www.meetup.com/Greater-Toronto-Area-LiveCode-Users-Group/ (You don't have to join Meetup.com to come to the meeting but please RSVP by email then.) Martin Koob From bogdanoff at me.com Tue Mar 12 01:24:32 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 12 Mar 2013 05:24:32 +0000 (GMT) Subject: Setting button hilite in a script In-Reply-To: Message-ID: <4c1d4a04-2564-4ccd-b34e-2c86f2000e26@me.com> I've got this working somehow... Pete: "Sounds like the autohilite property of the button is off." Autohilite was on. Devin: "This first thing I do in cases like this is check to see whether I have inadvertently created two buttons with the same name. Only the button with the lower layer will be affected." Checked for that. Stephen: "try using a full path to the object...if the calling script isn't in the right place in the message path, it may never 'see' the object." This got me closer. It apparently had to do with the visible of the stack being false (and maybe a lock screen as well). I set the visible to true and then it responded--even though before I could actually see the card ignoring my script. It seems that invisible stacks don't respond very well (???) I don't think the lock screen was throwing me off. But, I may be wrong... Peter Bogdanoff UCLA From dunbarx at aol.com Tue Mar 12 09:59:24 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Mar 2013 09:59:24 -0400 (EDT) Subject: New parsing possibilities In-Reply-To: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> Message-ID: <8CFED40EFB4023D-160C-2D89@webmail-m245.sysops.aol.com> I had started something trivial on the forum that has become very interesting. Not sure how many here also lurk there, so I thought I would bring it over. Originally, I had commented that something like: if x,y,z = 0 then beep threw no error. That has evolved quite nicely into a parsing discussion, and it is worth looking at. It is currently at a stage where new capabilities are being discovered, since: put 2*2,3*3=4,9 -- returns "true", or put 2*2,3*3 --yields "4,9". There are undocumented rules here, for example: put 2*2,3*3,(0=0) -- yields "4,9,true" whereas put 2*2,3*3,0=0 -- yields "false" Implying that the comma delimited list is parsed as "2*2,3*3,0" = "0" and not as '2*2,3*3,0=0" yields some value as in the first case. Not sure how useful this all might be, but that is what they said about electricity. Craig Newman From m.schonewille at economy-x-talk.com Tue Mar 12 10:06:41 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 12 Mar 2013 15:06:41 +0100 Subject: New parsing possibilities In-Reply-To: <8CFED40EFB4023D-160C-2D89@webmail-m245.sysops.aol.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> <8CFED40EFB4023D-160C-2D89@webmail-m245.sysops.aol.com> Message-ID: <513F3671.40507@economy-x-talk.com> Hi, I think a link to the discussion on the forum would be appropriate: http://qery.us/35v -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/12/2013 14:59, dunbarx at aol.com wrote: > > I had started something trivial on the forum that has become very interesting. Not sure how many here also lurk there, so I thought I would bring it over. > > > Originally, I had commented that something like: > > > if x,y,z = 0 then beep > > > threw no error. That has evolved quite nicely into a parsing discussion, and it is worth looking at. It is currently at a stage where new capabilities are being discovered, since: > > > put 2*2,3*3=4,9 -- returns "true", or > put 2*2,3*3 --yields "4,9". > > > There are undocumented rules here, for example: > > > put 2*2,3*3,(0=0) -- yields "4,9,true" > > > whereas > > > put 2*2,3*3,0=0 -- yields "false" > > > Implying that the comma delimited list is parsed as "2*2,3*3,0" = "0" and not as '2*2,3*3,0=0" yields some value as in the first case. Not sure how useful this all might be, but that is what they said about electricity. > > > > > > Craig Newman > From mwieder at ahsoftware.net Tue Mar 12 11:52:19 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Mar 2013 08:52:19 -0700 Subject: New parsing possibilities In-Reply-To: <8CFED40EFB4023D-160C-2D89@webmail-m245.sysops.aol.com> References: <472217F5-C9FA-496F-B401-1E16BB1CEAF4@canelasoftware.com> <8CFED40EFB4023D-160C-2D89@webmail-m245.sysops.aol.com> Message-ID: <147768643625.20130312085219@ahsoftware.net> Craig- Tuesday, March 12, 2013, 6:59:24 AM, you wrote: > put 2*2,3*3=4,9 -- returns "true", or > put 2*2,3*3 --yields "4,9". And as Mark pointed out there, it's not entirely the stringification of the lValues and rValues that I assumed, since evaluation of the math operators does take place before the equivalence statement. put 2*2,3*3=2*2,9 --> true -- -Mark Wieder mwieder at ahsoftware.net From lfredricks at proactive-intl.com Tue Mar 12 14:34:43 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 12 Mar 2013 11:34:43 -0700 Subject: Ouya Game Console Based on Android Message-ID: Hi all, Did anyone get the developer kit for this? http://www.ouya.tv/ This console is due to launch in June, and it looks like they are asking for dev stories. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From benr_mc at cogapp.com Tue Mar 12 15:35:37 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 12 Mar 2013 19:35:37 +0000 Subject: Accessing Unicode (ntext, nvarchar) text fields from SQL Server over ODBC Message-ID: <513F8389.805@cogapp.com> I'm having this problem using LiveCode, but I don't know whether that's where the issue resides. So this may be OT - but I'd appreciate any suggestions anyway! An app built in LiveCode regularly connects to a SQL Server database, over ODBC, to retrieve various data. The application responsible for the database is being upgraded, and as part of this, all the text fields are being turned into Unicode text fields. Essentially this means that fields that were previously defined as varchar are now defined as nvarchar, and those previously defined as text are now defines as ntext. (This is SQL Server 2008 by the way.) Using the queries we've always used in the past, we now get a single character (the first character in the field) instead of the whole text. I can work around for this for now by specifying a conversion to varchar in the select query, eg where the app used to make a request like SELECT id, name FROM tab1 it now makes a request like SELECT id, convert(varchar(255), name) AS name FROM tab1 That works - I get back what I used to get - but (a) it's clumsy and (b) this is fine for now, when the client is just migrating all their existing data into the database, but sooner or later they may actually take advantage of this upgrade to enter some Unicode characters into the fields, and then I'll presumably not get them out. So is there a way that a LiveCode app, using the current ODBC drivers, can retrieve data correctly from an nvarchar or ntext field? Or at least, is there some simpler solution than apply the correction above to all my queries? Any suggestions or tips gratefully received. TIA Ben From richmondmathewson at gmail.com Tue Mar 12 15:38:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Mar 2013 21:38:17 +0200 Subject: [OT] Slugworth Message-ID: <513F8429.40006@gmail.com> Why do I get the funny feeling that Ubuntu is getting a bit too big for its open source boots? http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ Of course, this could be an object lesson to those who are in the process of releasing something open source as to how much they continue to exert control on the thing. Richmond. From ambassador at fourthworld.com Tue Mar 12 16:09:22 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Mar 2013 13:09:22 -0700 Subject: [OT] Slugworth In-Reply-To: <513F8429.40006@gmail.com> References: <513F8429.40006@gmail.com> Message-ID: <513F8B72.8030301@fourthworld.com> Richmond wrote: > Why do I get the funny feeling that Ubuntu is getting a bit too big for its > open source boots? > > http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ > > Of course, this could be an object lesson to those who are in the > process of releasing something > open source as to how much they continue to exert control on the thing. Because the sky is falling? I sincerely hope RunRev shows at least as much interest in managing the LiveCode code base as Canonical does with Ubuntu. Mir offers a leaner solution across a wider range of device types than Wayland appears likely to achieve. This takes nothing away from Wayland; the same engineers can continue to do the same work they've been doing thus far, and it's Linux: there are enough distros that anything of merit will find a home in at least some of them. But Canonical is more ambitious with Ubuntu than most projects are with their own distros. Most distros seem content to limit themselves to the desktop, but Ubuntu has expanded to include phones, tablets, and TVs, in an architecture scalable and adaptable to handle just about anything else that comes along. By comparison, imagine if RunRev had chosen something like the WASTE text engine as the solution to their Unicode needs. That would have definitely helped on OS X, possibly been portable to other desktop OSes, but likely to have been prohibitively expensive to try to use it across all supported platforms. So IMNSHO this who "controversy" over Wayland/Mir is an invention unrelated to how software gets built, because the bottom line remains the same the whole time: It's Linux, with so many options available that anyone can choose whatever they like to have exactly what they want at any time. This is as true for developers as for end-users. Canonical is simply doing what they feel is best for their distro; those who want a fully-community-driven distro can contribute to Debian and others. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Tue Mar 12 16:29:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 12 Mar 2013 22:29:17 +0200 Subject: [OT] Slugworth In-Reply-To: <513F8B72.8030301@fourthworld.com> References: <513F8429.40006@gmail.com> <513F8B72.8030301@fourthworld.com> Message-ID: <513F901D.5020501@gmail.com> On 03/12/2013 10:09 PM, Richard Gaskin wrote: > Richmond wrote: >> Why do I get the funny feeling that Ubuntu is getting a bit too big >> for its >> open source boots? >> >> http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ >> >> Of course, this could be an object lesson to those who are in the >> process of releasing something >> open source as to how much they continue to exert control on the thing. > > Because the sky is falling? Not that I have noticed. But, howevermuch Ubuntu might be pushing the development envelope and being jolly cleveevr and innovative, they are also at risk of cheesing-off their installed-base. How much this actually matters to Canonical I just don't know; they make their revenue in a different way to the way RunRev does; they sell system support rather than a commercial variant of Ubuntu. However I would suppose the level of system support bought and paid for also depends on how many people are using Ubuntu for mission critical stuff. This could also happen with RunRev's Open Source fork. Richmond. From mwieder at ahsoftware.net Tue Mar 12 16:32:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Mar 2013 20:32:20 +0000 (UTC) Subject: [OT] Slugworth References: <513F8429.40006@gmail.com> <513F8B72.8030301@fourthworld.com> <513F901D.5020501@gmail.com> Message-ID: Richmond writes: > > Because the sky is falling? > > Not that I have noticed. Also. Don't believe everything you read on the internet. Even if it's in color. -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Tue Mar 12 17:30:06 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Mar 2013 14:30:06 -0700 Subject: [OT] Slugworth Message-ID: <513F9E5E.6090908@fourthworld.com> Richmond wrote: > On 03/12/2013 10:09 PM, Richard Gaskin wrote: >> Richmond wrote: >>> Why do I get the funny feeling that Ubuntu is getting a bit too big >>> for its open source boots? >>> >>> http://www.wired.com/wiredenterprise/2013/03/ubuntu-mir/ >>> >>> Of course, this could be an object lesson to those who are in the >>> process of releasing something >>> open source as to how much they continue to exert control on the thing. >> >> Because the sky is falling? > > Not that I have noticed. > > But, howevermuch Ubuntu might be pushing the development envelope and > being jolly cleveevr and innovative, > they are also at risk of cheesing-off their installed-base. > > How much this actually matters to Canonical I just don't know; they make > their revenue in a different way to the way RunRev does; > > they sell system support rather than a commercial variant of Ubuntu. > However I would suppose the level of system support bought > and paid for also depends on how many people are using Ubuntu for > mission critical stuff. > > This could also happen with RunRev's Open Source fork. I suppose anything's possible, but in a world where folks are still blaming Canonical for Gnome.org's decision to kill Gnome2, I tend to not get too excited about such invented controversies. Canonical wouldn't have committed to Mir if they didn't have the resources to complete it. Likewise, I'm confident RunRev will choose with similar wisdom. If along the way some folks get upset that LiveCode isn't altering all of the company's priorities to fit their personal preferences (the #1 criticism against Ubuntu), well, we just have to accept that some aspects of managing FOSS projects are like herding cats, and now and then there will always be a few malcontents among those willing to roll up their sleeves and contribute. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From larsbrehmer at mac.com Tue Mar 12 17:40:05 2013 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 12 Mar 2013 23:40:05 +0200 Subject: Mac App Submit (again) Message-ID: <136E7BE6-4B8A-4481-B861-6507295EE612@mac.com> I am still trying to prepare an app for app store submission, but still failing. I follow the instructions in the Mac App Submit article in RevUp June 17th 2011 to the letter. It all seems to work, but testing the resulting installer package fails. I follow the instructions to the letter, the results in the terminal are exactly as the article predicts (last line - installer: Finished install) but there is no app in my applications folder. And if I just run the installer itself, it seems to work, I get the chime and "Application successfully installed" message, but there is no application in the applications folder! The thing that concerns me is this: > type a space after the closing quote and then in the Finder drag your standalone application file into the Terminal. Terminal will put the absolute path to the standalone application. The final line will look something like: > > jdough:~ jdough$ codesign -f -s "3rd Party Mac Developer Application: J Dough" /Users/jdough/Documents/MyLiveCodeApp/MyLiveCodeApp/MyLiveCodeApp.app > > hit the return key and codesign should add a "_CodeSignature" folder (and other files) into the package contents of your standalone. This DOES create the "_CodeSignature" folder with a "CodeResources" file in it. (but no other files as suggested above in the instructions) But it also results in an error in the terminal window: object file format unrecognized, invalid, or unsuitable But even after this error, everything after works just fine, until the app doesn't show up in the applications folder. By everything els I mean the codesign and productbuild in terminal. You can imagine the confusion - I follow the instructions precisely, get to the end of the process and no application. I can't believe it doesn't have anything to do with that error message after the code sign, but I always get that error message. That RevUp article states Snow Leopard, so maybe something is slightly different with Mountain Lion? Help appreciated! Cheers, Lars From Mark_Smith at cpe.umanitoba.ca Tue Mar 12 21:16:08 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 12 Mar 2013 18:16:08 -0700 (PDT) Subject: Fwd: Stackoverflow : new LiveCode questions In-Reply-To: <513D0DBB.2040408@splash21.com> References: <513D0DBB.2040408@splash21.com> Message-ID: <1363137368721-4662135.post@n4.nabble.com> John Craig-4 wrote > I can set up an email list if anyone is interested - or even post to > this list. The cron job can be modified to run every minute, every > hour, etc. , but only sends a report when new data is available. Hi John, I'd be interested, especially if the digest is once a day and contains a list of all new messages. As Pete pointed out, it would mean having to go to one less place on a regular basis and yet still be able to monitor the traffic there, or link to it. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fwd-Stackoverflow-new-LiveCode-questions-tp4662062p4662135.html Sent from the Revolution - User mailing list archive at Nabble.com. From ueliweb at gmx.ch Wed Mar 13 02:11:07 2013 From: ueliweb at gmx.ch (Ueliweb) Date: Wed, 13 Mar 2013 08:11:07 +0200 Subject: How to start a LiveCode stack without running scripts? Message-ID: Hei How to start a LiveCode stack without running scripts? By scripting a splash with some additional functions there is also a closeStack and now every time I load it in LiveCode environment it does the things start(load) the main app and close so I never more able to correct or programming scripts of the splashStack. Is there any switch/ setting, that can prevent automatic running the scripts by loading the stacks? I tried suppress message and errors also "Suspend Development Tools" ... some more Ideas? Thanks ueliweb From monte at sweattechnologies.com Wed Mar 13 02:25:06 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Mar 2013 17:25:06 +1100 Subject: How to start a LiveCode stack without running scripts? In-Reply-To: References: Message-ID: <8D02A25C-9419-4B09-8AD1-AF0972FE9DF3@sweattechnologies.com> Up on the toolbar there's an Icon that says Messages and looks like an envelope. Click that then open your stack. On 13/03/2013, at 5:11 PM, Ueliweb wrote: > Hei > > How to start a LiveCode stack without running scripts? > > By scripting a splash with some additional functions there is also a > closeStack and now every time I load it in LiveCode environment it does the > things start(load) the main app and close so I never more able to correct > or programming scripts of the splashStack. > > Is there any switch/ setting, that can prevent automatic running the > scripts by loading the stacks? > > I tried suppress message and errors also "Suspend Development Tools" ... > > some more Ideas? > > Thanks > ueliweb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From igor at semperuna.com Wed Mar 13 02:42:34 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Wed, 13 Mar 2013 17:42:34 +1100 Subject: How to start a LiveCode stack without running scripts? In-Reply-To: References: Message-ID: On 13/03/2013, at 5:11 PM, Ueliweb wrote: > How to start a LiveCode stack without running scripts? That's one that should be put on StackOverflow, me thinks... Perhaps a title such as "How to open a stack without triggering openStack/openCard scripts?" -- Igor Couto Sydney, Australia From revolution at derbrill.de Wed Mar 13 02:55:28 2013 From: revolution at derbrill.de (Malte Brill) Date: Wed, 13 Mar 2013 07:55:28 +0100 Subject: animationEngine 5.0.2 First code dump In-Reply-To: References: Message-ID: <58D529C5-8302-4165-AEF7-4F4ECF248DDF@derbrill.de> Hi all, as promised, I am following runrevs lead and am going dual licensed with animationEngine. As I traded leaving in the nasty german comments against a 50 pound pledge (Yes Mats, they are still in there) There hasn't been much cleanup I had to do. For those who have been waiting for this, you find the unlocked stack here: http://derbrill.de/animationEngine5.0.2.zip If you are interested in how I think this will pan out, please continue reading. I have removed everything that had to do with registration of the stack. Instead I put in the following license Header to the stack script: -- animationEngine 5.0.2 -- ?2005 - 2013 derbrill IT service. To get in touch contact info at derbrill.de -- This stack was written by Malte Pfaff-Brill with the help of quite a few people -- No rocket sience involved, however many books read any a lot of work went into -- this stack. -- Licensing terms: -- These scripts are licensed to you if you agree to be bound to one of the following -- License types at your choice. -- 1) GPL 3 -- You may use animationEngine as FREE Software as outlined in the terms of the GPL3 or any -- higher version of the GPL as found here: http://www.gnu.org/licenses/gpl-3.0.html -- 2) Commercial license: -- If you do not want to disclose the sources of your application you have the option to purchase a commercial license -- by paying a fee. You can buy a commercial license from the runrev marketplace. At the time of the writing of this document -- this can be done following this link: http://www.runrev.com/store/ -- You are paying a license fee for the major version of animationEngine. If you are licensing animationEngine 5.0.2, you will be -- able to use all upgrades that carry the same major version number (in this case 5.x). Once the switch is made to a version -- 6.x of the library, you will need to upgrade your license to use the latest version. However, of course you may continue to use -- any version of the library you currently have licensed, without needing to purchase an upgrade. -- Such a commercial license releases you from the requirements of the copyleft GPL license, which include: distribution of all -- source code, including your own product; licensing of your own product under the GPL license; prominent mention of the -- derbrill copyright and the GPL license; and disclosure of modifications to the library. -- Code Contributions -- If you want to contribute to animationEngines codebase and want your changes to be accepted into the main trunc, -- you will have to accept our open source contribution agreement as found here: http://www.derbrill.de/osca.pdf I will continue to be the maintainer of the official fork of animationEngine, however, if you are interested in using and improving it, I highly encourage you to get involved. AnimationEngine has a dedicated forum here: http://forums.runrev.com/phpBB2/viewforum.php?f=27 Hope to see you here / there. I hope dumping the code may be useful. It will be a while until the open version will make it to the marketplace site and gets updated there. If there is anyone who might suggest an appropriate repository where to host the development version for contributions, I am all ears. Not that experienced with OSS dev, so I am eager to learn how to handle this in the best and most convenient way. Best, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From bogdanoff at me.com Wed Mar 13 02:58:32 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 13 Mar 2013 06:58:32 +0000 (GMT) Subject: How to start a LiveCode stack without running scripts? In-Reply-To: Message-ID: <9581db59-2d0d-470d-890c-9d821a7c46bc@me.com> You can get directly to the script from another stack. Type in the message box: ? ? ?edit the script of stack "the name of the stack" if it's the stack script, or? ? ? ? ? ?edit the script of card 1 of stack?"the name of the stack" etc. Peter Bogdanoff UCLA On Mar 12, 2013, at 11:11 PM, Ueliweb wrote: Hei How to start a LiveCode stack without running scripts? By scripting a splash with some additional functions there is also a closeStack and now every time I load it in LiveCode environment it does the things start(load) the main app and close so I never more able to correct or programming scripts of the splashStack. Is there any switch/ setting, that can prevent automatic running the scripts by loading the stacks? I tried suppress message and errors also "Suspend Development Tools" ... some more Ideas? Thanks ueliweb _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed Mar 13 03:14:30 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 13 Mar 2013 00:14:30 -0700 Subject: How to start a LiveCode stack without running scripts? In-Reply-To: References: Message-ID: <51402756.5000601@pdslabs.net> One thing you can do is make your script check the environment before running: if the environment = "development" then -- don't run else -- run end if But a simpler way is to do what someone else already said: in the IDE, suppress messages before opening the stack. Thanks - Phil Davis On 3/12/13 11:11 PM, Ueliweb wrote: > Hei > > How to start a LiveCode stack without running scripts? > > By scripting a splash with some additional functions there is also a > closeStack and now every time I load it in LiveCode environment it does the > things start(load) the main app and close so I never more able to correct > or programming scripts of the splashStack. > > Is there any switch/ setting, that can prevent automatic running the > scripts by loading the stacks? > > I tried suppress message and errors also "Suspend Development Tools" ... > > some more Ideas? > > Thanks > ueliweb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From scott at tactilemedia.com Wed Mar 13 04:47:11 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 01:47:11 -0700 Subject: [Shameless Post] Forgotten Reel Message-ID: I was going through some stored files recently and came across a demo reel I put together in 2009 that showcases a bunch of UI work done from about 1998 to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution is not great, but thought it might be of interest to see some of the LiveCode projects briefly in action. http://www.youtube.com/watch?v=pBNGit8xlhI Regards, Scott Rossi Creative Director Tactile Media, UX Design From keith.clarke at clarkeandclarke.co.uk Wed Mar 13 05:34:04 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 13 Mar 2013 09:34:04 +0000 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: <64651058-463C-480B-9CFA-A30C6AFE328E@clarkeandclarke.co.uk> ?thanks for sharing Scott. There are some brilliant examples of user-centric design here and I for one am inspired by the way you have bridged art & engineering to create engaging interfaces. Best, Keith.. On 13 Mar 2013, at 08:47, Scott Rossi wrote: > I was going through some stored files recently and came across a demo reel I > put together in 2009 that showcases a bunch of UI work done from about 1998 > to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution is > not great, but thought it might be of interest to see some of the LiveCode > projects briefly in action. > > http://www.youtube.com/watch?v=pBNGit8xlhI > > 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 th.douez at gmail.com Wed Mar 13 05:44:08 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 13 Mar 2013 10:44:08 +0100 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: 2013/3/13 Scott Rossi very inspiring... could be a nice entry for Peter's 1001 blog. Thierry > http://www.youtube.com/watch?v=pBNGit8xlhI > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > From gerry.orkin at gmail.com Wed Mar 13 06:51:50 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 13 Mar 2013 21:51:50 +1100 Subject: Graphic text labels Message-ID: Is there any way I can change the line height for a graphic's label? Whatever font or size I use it's never vertically centred. Cheers Gerry From scott at tactilemedia.com Wed Mar 13 06:58:44 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 03:58:44 -0700 Subject: Graphic text labels In-Reply-To: References: Message-ID: <4CC7FA48-3440-4DF9-A135-68504D4CCAA7@tactilemedia.com> Try adjusting the margins, specifically the topMargin. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 13, 2013, at 3:51 AM, Gerry Orkin wrote: > Is there any way I can change the line height for a graphic's label? Whatever font or size I use it's never vertically centred. > > Cheers > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Wed Mar 13 07:03:57 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 13 Mar 2013 22:03:57 +1100 Subject: Graphic text labels In-Reply-To: <4CC7FA48-3440-4DF9-A135-68504D4CCAA7@tactilemedia.com> References: <4CC7FA48-3440-4DF9-A135-68504D4CCAA7@tactilemedia.com> Message-ID: <65FC7DC6-91C9-40C4-8587-25AF5B465E78@gmail.com> Yup. Many thanks! "set the topMargin of graphic "select country" to -10" works perfectly. Gerry On 13/03/2013, at 9:58 PM, Scott Rossi wrote: > Try adjusting the margins, specifically the topMargin. From klaus at major.on-rev.com Wed Mar 13 07:11:50 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 13 Mar 2013 12:11:50 +0100 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: Hi Scott, Am 13.03.2013 um 09:47 schrieb Scott Rossi : > I was going through some stored files recently and came across a demo reel I > put together in 2009 that showcases a bunch of UI work done from about 1998 > to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution is > not great, but thought it might be of interest to see some of the LiveCode > projects briefly in action. > > http://www.youtube.com/watch?v=pBNGit8xlhI "This video is not available in your country!"? YouTube :-( > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From rene.micout at numericable.com Wed Mar 13 07:30:52 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 13 Mar 2013 12:30:52 +0100 Subject: animationEngine 5.0.2 First code dump In-Reply-To: <58D529C5-8302-4165-AEF7-4F4ECF248DDF@derbrill.de> References: <58D529C5-8302-4165-AEF7-4F4ECF248DDF@derbrill.de> Message-ID: <7E30EB02-7ACF-426B-8EED-17FC471F6925@numericable.com> Le 13 mars 2013 ? 07:55, Malte Brill a ?crit : > Hi all, > > as promised, I am following runrevs lead and am going dual licensed with animationEngine. As I traded leaving in the nasty german comments against a 50 pound pledge (Yes Mats, they are still in there) There hasn't been much cleanup I had to do. For those who have been waiting for this, you find the unlocked stack here: > > http://derbrill.de/animationEngine5.0.2.zip Thank you Malte !!! Ha ! All these people with strange language ;-) Bon souvenir de Paris Ren? From roger.e.eller at sealedair.com Wed Mar 13 07:35:11 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 13 Mar 2013 07:35:11 -0400 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: YouTube says "The content owner has not made this video available for mobile." Sent from my Pipo M2 On Mar 13, 2013 4:47 AM, "Scott Rossi" wrote: > I was going through some stored files recently and came across a demo reel > I > put together in 2009 that showcases a bunch of UI work done from about 1998 > to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution > is > not great, but thought it might be of interest to see some of the LiveCode > projects briefly in action. > > http://www.youtube.com/watch?v=pBNGit8xlhI > > 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 skip at magicgate.com Wed Mar 13 09:35:16 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 13 Mar 2013 09:35:16 -0400 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: Very nice! On Wed, Mar 13, 2013 at 4:47 AM, Scott Rossi wrote: > I was going through some stored files recently and came across a demo reel > I > put together in 2009 that showcases a bunch of UI work done from about 1998 > to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution > is > not great, but thought it might be of interest to see some of the LiveCode > projects briefly in action. > > http://www.youtube.com/watch?v=pBNGit8xlhI > > 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 scott at tactilemedia.com Wed Mar 13 10:32:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 07:32:22 -0700 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: <9153E251-4157-414D-B7F7-57A2693CCD66@tactilemedia.com> Open the sidebar menu (click the icon at the top left that looks like 3 bars), scroll down to the bottom and select the "Desktop" option. The page layout will change and you should be able to view the video. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 13, 2013, at 4:35 AM, Roger Eller wrote: > YouTube says "The content owner has not made this video available for > mobile." > > Sent from my Pipo M2 > On Mar 13, 2013 4:47 AM, "Scott Rossi" wrote: > >> I was going through some stored files recently and came across a demo reel >> I >> put together in 2009 that showcases a bunch of UI work done from about 1998 >> to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution >> is >> not great, but thought it might be of interest to see some of the LiveCode >> projects briefly in action. >> >> http://www.youtube.com/watch?v=pBNGit8xlhI >> >> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 13 10:36:00 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 07:36:00 -0700 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: <380707DE-019B-420E-BB13-1C867406B371@tactilemedia.com> Hi Klaus: A Flash version is here that could work: http://tactilemedia.com/site_files/demos/reel/ Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 13, 2013, at 4:11 AM, Klaus on-rev wrote: >> http://www.youtube.com/watch?v=pBNGit8xlhI > > "This video is not available in your country!"? From klaus at major.on-rev.com Wed Mar 13 10:59:06 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 13 Mar 2013 15:59:06 +0100 Subject: [Shameless Post] Forgotten Reel In-Reply-To: <380707DE-019B-420E-BB13-1C867406B371@tactilemedia.com> References: <380707DE-019B-420E-BB13-1C867406B371@tactilemedia.com> Message-ID: <0362B675-F162-4C0E-AB09-78298719D5B2@major.on-rev.com> Hi Scott, Am 13.03.2013 um 15:36 schrieb Scott Rossi : > Hi Klaus: > > A Flash version is here that could work: http://tactilemedia.com/site_files/demos/reel/ yeah, great, thanks! :-) > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Mar 13, 2013, at 4:11 AM, Klaus on-rev wrote: > >>> http://www.youtube.com/watch?v=pBNGit8xlhI >> >> "This video is not available in your country!"? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From palcibiades-first at yahoo.co.uk Wed Mar 13 12:14:37 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 13 Mar 2013 09:14:37 -0700 (PDT) Subject: [OT] Slugworth In-Reply-To: <513F9E5E.6090908@fourthworld.com> References: <513F8429.40006@gmail.com> <513F9E5E.6090908@fourthworld.com> Message-ID: <1363191277193-4662155.post@n4.nabble.com> Richmond is right in one respect, the Mir episode shows the kind of difficult choice of approach that LiveCode is going to come up against. Canonical does seem to have the approach of make it and throw it over the wall, source code and all. The danger is that the project gets forked by people who have a vision and want to make contributions but feel they are being shut out. The other side of the same coin is that a small team simply can't manage the chaos of incompatible contributions and submissions by people less than well qualified who want to rewrite chunks of the product, and gets swamped or feel they are losing control. You can see quite a few examples of forking if you look. xfree86 vanished without trace. Libreoffice is picking up speed and being the standard in most distros. Mysql seems to have been forked. The Unity approach is too close to the Windows 8 approach for me to be comfortable with it. Its very much take it or leave it, and it looks to me like that same approach is what is killing both KDE and Gnome 3. I don't know of cases where people have been unable to manage community based products but am sure there must be some. It feels like very much the right decision to open source, and the level of support was very encouraging, but it remains a brave decision, and an awful lot is going to hang on the execution on this very point. I very much hope they manage it better than either Gnome, KDE or Canonical. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Slugworth-tp4662129p4662155.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Mar 13 13:00:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2013 19:00:49 +0200 Subject: [OT] Slugworth In-Reply-To: <1363191277193-4662155.post@n4.nabble.com> References: <513F8429.40006@gmail.com> <513F9E5E.6090908@fourthworld.com> <1363191277193-4662155.post@n4.nabble.com> Message-ID: <5140B0C1.2090206@gmail.com> On 03/13/2013 06:14 PM, Peter Alcibiades wrote: > Richmond is right in one respect, the Mir episode shows the kind of difficult > choice of approach that LiveCode is going to come up against. Canonical > does seem to have the approach of make it and throw it over the wall, source > code and all. The danger is that the project gets forked by people who have > a vision and want to make contributions but feel they are being shut out. > > The other side of the same coin is that a small team simply can't manage the > chaos of incompatible contributions and submissions by people less than well > qualified who want to rewrite chunks of the product, and gets swamped or > feel they are losing control. > > You can see quite a few examples of forking if you look. xfree86 vanished > without trace. Libreoffice is picking up speed and being the standard in > most distros. Mysql seems to have been forked. The Unity approach is too > close to the Windows 8 approach for me to be comfortable with it. Its very > much take it or leave it, and it looks to me like that same approach is what > is killing both KDE and Gnome 3. I don't know of cases where people have > been unable to manage community based products but am sure there must be > some. > > It feels like very much the right decision to open source, and the level of > support was very encouraging, but it remains a brave decision, and an awful > lot is going to hang on the execution on this very point. I very much hope > they manage it better than either Gnome, KDE or Canonical. > Well, at present I use XFCE 4.10 on my "production machine" (that sounds a lot more pretentious than it really is), as does my wife and younger son (older one has 'rebelled' and uses Windows 7; LOL), am currently 'playing' with 'Elementary OS(Luna)' on my other machine: quite nice if you don't want icons on a desktop. In my school I have 8 machines running various incarnations of Ubuntu, Xubuntu and Edubuntu from 5.60 to 12.04 using GNOME 2, GNOME "Fallback", XFCE, and the Edubuntu 7.x hybrid; all are usable straight away by the kids I teach, in a way which Unity is not and nor is KDE 4.x. The Macintoshes I use (several G3 iMacs) run 10.4 (honestly cannot see a good reason to install Linux PPC), and the Faux Mac (VMWare) runs 10.6. BUT, then, the only thing, oddly enough, that made me hesitate before pledging my 'bit' to the Kickstarter was the mockup of the new GUI, as I think the 'current' one is better. ------------------------------------------------------------------------------- RunRev have several choices: 1. Trying to keep absolutely everybody happy (it ain't going to happen). 2. Keeping nobody happy be dictating from on high (turn off). 3. A "very happy tightrope walk" between #1 and #2. 4. Allowing a wide variety of forks of the GUI all sitting on a monolithic IDE. 5. Brain Salad Surgery. ----------------------------------------------------- Richmond. Richmond. From roger.e.eller at sealedair.com Wed Mar 13 13:14:48 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 13 Mar 2013 13:14:48 -0400 Subject: [OT] Slugworth In-Reply-To: <5140B0C1.2090206@gmail.com> References: <513F8429.40006@gmail.com> <513F9E5E.6090908@fourthworld.com> <1363191277193-4662155.post@n4.nabble.com> <5140B0C1.2090206@gmail.com> Message-ID: I have to agree with this. And furthermore, I must say that after seeing Scott's lost demo reel on YouTube, I would use ANY interface for the new IDE if Scott Rossi were contracted to design it. RunRev really should tap into his bucket-o-talent IMHO! ~Roger On Wed, Mar 13, 2013 at 1:00 PM, Richmond wrote: > BUT, then, the only thing, oddly enough, that made me hesitate before > pledging my 'bit' to the Kickstarter was the mockup of the new GUI, as I > think the 'current' one is better. > > > Richmond. > From cford at mailbox.sc.edu Wed Mar 13 14:20:07 2013 From: cford at mailbox.sc.edu (Curt Ford) Date: Wed, 13 Mar 2013 14:20:07 -0400 Subject: [ANN] The Scottish Dialect Message-ID: <84993708-B143-4D17-A74E-545181C7D645@mailbox.sc.edu> For several months I've had the pleasure of working with Paul Meier, a leading dialect coach and Professor of Theatre at the University of Kansas, to bring his materials from print & CD onto desktop computers; we've been using LiveCode, naturally. We've just released The Scottish Dialect, the 7th in a series of 24 books on various dialects and accents, and it's available on his website at www.paulmeier.com. There are also previews of the ePub versions are in the Apple iBookstore. If you're headed to Edinburgh in May, this may be the time to brush up on your accent & see if you can pass for a local.. Also: a big thanks to Jacque for her help with the registration scheme! Curt Curt Ford Sona Software LLC From lists at mangomultimedia.com Wed Mar 13 14:51:30 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Mar 2013 14:51:30 -0400 Subject: Washington DC User Group Meeting this Saturday Message-ID: There is a Washington DC LiveCode User Group meeting this Saturday at 2:00 pm. If you are interested in coming then please join our LinkedIn group and let everyone know. The meeting is at the National Foreign Language Center, University of Maryland. You can find more info here: http://www.linkedin.com/groups/Can-you-meet-this-Saturday-4837481%2ES%2E222325047 -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From richmondmathewson at gmail.com Wed Mar 13 14:53:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2013 20:53:08 +0200 Subject: [ANN] The Scottish Dialect In-Reply-To: <84993708-B143-4D17-A74E-545181C7D645@mailbox.sc.edu> References: <84993708-B143-4D17-A74E-545181C7D645@mailbox.sc.edu> Message-ID: <5140CB14.5070308@gmail.com> On 03/13/2013 08:20 PM, Curt Ford wrote: > For several months I've had the pleasure of working with Paul Meier, a leading dialect coach and Professor of Theatre at the University of Kansas, to bring his materials from print & CD onto desktop computers; we've been using LiveCode, naturally. > > We've just released The Scottish Dialect, the 7th in a series of 24 books on various dialects and accents, and it's available on his website at www.paulmeier.com. There are also previews of the ePub versions are in the Apple iBookstore. > > If you're headed to Edinburgh in May, this may be the time to brush up on your accent & see if you can pass for a local.. > > Also: a big thanks to Jacque for her help with the registration scheme! I hae allus jaloused at Lallans as a dialeck o Sudron, an it isnae aa mensefu ettlin but gowks fae sooth o the innis an a byous bit of politickan: http://www.lallans.co.uk/ --------------------------------- Oh, wait a minute, you seem to think that 'the Scottish Dialect' is English spoken with some sort of strained accent; that is 'English as she is spoken in Scotland' and NOT Scots; and to "pass for a local" you must just speak English with a funny accent, but you would not, anymore than you would pass for an Indian if you spoke English with a "Baboo" accent - like Peter Sellars with boot-polish on his fizzog. What you, and Paul Meier are doing is confusing Scottish English with Lalland/Scots: "The Scots Leid Associe wis foondit in 1972 an aye ettles tae pit forrit a feckfu case for the Scots language in formal, informal and ilka day uiss. Scots wis aince the state language o Scotland an is aye a grace til oor national leiterature. It lies at the hert o Scotland's heirskep as ane o wir three indigenous leids alang wi Gaelic an Scottish Inglis." --------------------------------- I am aware (having spent 3 years there) that the dominant spoken language in the United States of America is a dialect of English; this is clear as American English and English English are about 95% mutually comprehensible ( a bit like what RunRev says about cross-platform parity); but neither an Englishman nor a north American (unless, just possibly, he is Canadian) can understand Scots. Of course the English colonists have been banging on for about 3 centuries that Scots is some sort of 'degenerate dialect' of Scots; not helped by people introducing apostrophes into Scots words where they would like to imply Scots have been careless and dropped the consonants of their better cousins in England. This is just part of what, in the USA, has been called 'Manifest Destiny'; however the line between Scotland and England is stronger and deeper than the Mason-Dixon line being not just political but religious and cultural in a way that the English (and most of the people in the USA) are quite unable to understand. Unfortunately our attempt at succession was no more successful than that of the CSA; and we have been living with the consequences for nigh on 270 years. I am sorry to 'glitter oon a fair puckle' anent this topic, but far too many people are only aware of what the English want them to see. Richmond. From revdev at pdslabs.net Wed Mar 13 15:13:16 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 13 Mar 2013 12:13:16 -0700 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: <5140CFCC.4020903@pdslabs.net> I sent the link to a client and told him if he ever wants to take a running jump off the edge with a UI makeover of his multi-app desktop system, we should hire this guy. ;-) Of course, hell would freeze over first, but it's a completely fun idea. Thanks Scott! Phil On 3/13/13 4:11 AM, Klaus on-rev wrote: > Hi Scott, > > Am 13.03.2013 um 09:47 schrieb Scott Rossi : > >> I was going through some stored files recently and came across a demo reel I >> put together in 2009 that showcases a bunch of UI work done from about 1998 >> to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution is >> not great, but thought it might be of interest to see some of the LiveCode >> projects briefly in action. >> >> http://www.youtube.com/watch?v=pBNGit8xlhI > "This video is not available in your country!"? > > YouTube :-( > >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From cford at mailbox.sc.edu Wed Mar 13 15:33:16 2013 From: cford at mailbox.sc.edu (Curt Ford) Date: Wed, 13 Mar 2013 15:33:16 -0400 Subject: Scots & English.. [was the Scottish Dialect] Message-ID: <2378298A-D219-4CCA-BCFA-BAC1CEEE61EC@mailbox.sc.edu> Hang on, Richmond! No offense intended. In retrospect I should have known better than to suggest that pronunciation alone can help you 'pass as a local.' I'll retract that bit. In fairness, Paul's material does mention that "the Scots tongue has its origins in the Germanic language spoken by the Jutes, Angles, ..." For practical purposes, I suppose, his work here has a focus on English as pronounced in Scotland (the Scottish dialect of English): he doesn't say that it is Scots. I do have some awareness of the sensitivities of Scots linguistic history: in a class on language & national identity I often refer my students to the site of the Scots Language Society; we also read part of Lorimer's translation of the New Testament, watch clips like this one of Liz Lochhead (http://www.youtube.com/watch?v=L2PfrDrAIR0).. But I'm glad to be corrected and get suggestions of other interesting sources. I'm curious if you've seen L. Colin Wilson's 'Luath Scots Language Learner,' and if you have, what you think of it. ..all of which may be getting OT from LiveCode, so let me know if you'd like to continue this offline! all best Curt Sona Software LLC From mikedoub at gmail.com Wed Mar 13 15:39:48 2013 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 13 Mar 2013 15:39:48 -0400 Subject: Scaling Fonts Message-ID: I would like to create a mobile application where the user can increase and decrease the text in a field. The field contains text on different font sizes for Title, Heading and basic text. I am unsure how to work with fonts. Do I need to find a font that has a wide range of sizes or are there scalable fonts? How do fonts react on different screen resolutions? This makes me wonder about how the text in buttons should be handled. (So far I have only used icons) I would appreciate if someone could point me in the right direction. Thanks Mike From richmondmathewson at gmail.com Wed Mar 13 15:53:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2013 21:53:22 +0200 Subject: Scots & English.. [was the Scottish Dialect] In-Reply-To: <2378298A-D219-4CCA-BCFA-BAC1CEEE61EC@mailbox.sc.edu> References: <2378298A-D219-4CCA-BCFA-BAC1CEEE61EC@mailbox.sc.edu> Message-ID: <5140D932.1080503@gmail.com> On 03/13/2013 09:33 PM, Curt Ford wrote: > Hang on, Richmond! No offense intended. No offense taken :) > > In retrospect I should have known better than to suggest that pronunciation alone can help you 'pass as a local.' I'll retract that bit. > > In fairness, Paul's material does mention that "the Scots tongue has its origins in the Germanic language spoken by the Jutes, Angles, ..." For practical purposes, I suppose, his work here has a focus on English as pronounced in Scotland (the Scottish dialect of English): he doesn't say that it is Scots. > > I do have some awareness of the sensitivities of Scots linguistic history: in a class on language & national identity I often refer my students to the site of the Scots Language Society; we also read part of Lorimer's translation of the New Testament, watch clips like this one of Liz Lochhead (http://www.youtube.com/watch?v=L2PfrDrAIR0).. > > But I'm glad to be corrected and get suggestions of other interesting sources. I'm curious if you've seen L. Colin Wilson's 'Luath Scots Language Learner,' and if you have, what you think of it. > > ..all of which may be getting OT from LiveCode, so let me know if you'd like to continue this offline! Not really necessary. But this, oddly enough, is pertinent to the fact that Livecode is, like Anglo-Saxon about 900 years ago, about to start separating into dialects, which could, if people aren't very careful indeed, become distinct languages: 1. An interesting exercise would be to compare SuperCard's language with Livecode's language and reflect that they came from the same place only a relatively short while ago. The Open Sourcing of Livecode could accelerate this sort of process, where, instead of enhancing Livecode as we all hope it will, we end up with a tower of Babel consisting of a lot of 'deviations' that have all specialised in one area and are mutually incompatible. In the 1700s a variety of Englishmen, including Jonathon Swift (who, logically enough, spent most of his adult life in Ireland), set up an 'academy' to attempt to regulate English; and, as you can see and hear, it did no good whatsoever as we are all talking a wide variety of dialects that are all fairly far from 18th century English. The French are still pushing against such 'linguistic perversions' such as "Les Longdrinks". As I mentioned in another posting, recently, it will be a difficult job for RunRev to play 'Dr Johnson'. Richmond. > > all best > > Curt > > Sona Software LLC > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 13 16:02:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Mar 2013 22:02:22 +0200 Subject: Scaling Fonts In-Reply-To: References: Message-ID: <5140DB4E.1040805@gmail.com> On 03/13/2013 09:39 PM, Michael Doub wrote: > I would like to create a mobile application where the user can increase and decrease the text in a field. The field contains text on different font sizes for Title, Heading and basic text. > > I am unsure how to work with fonts. Do I need to find a font that has a wide range of sizes or are there scalable fonts? How do fonts react on different screen resolutions? This makes me wonder about how the text in buttons should be handled. (So far I have only used icons) > > I would appreciate if someone could point me in the right direction. > > Thanks > Mike > > _______________________________________________ > I know absolutely nothing about Mobile Operating Systems (good start, that), but, coming from desktop PCs my first question would be: 1. Truetype fonts? And if the answer were 'YES' I would feel very comfortable indeed. In a stack for a desktop OS all one needs is a slide-control and something like this: on mouseUp put the thumbPosition of me into PINKY set the textSize of fld "myText" to PINKY end mouseUp Richmond. From bogdanoff at me.com Wed Mar 13 16:14:48 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 13 Mar 2013 20:14:48 +0000 (GMT) Subject: Scaling Fonts In-Reply-To: Message-ID: <989509e3-0de4-412b-affc-71b9afb2382c@me.com> LiveCode scales fonts pretty well-- ? ? set the textSize of field "theField" to 12 -- or whatever TrueType fonts can scale any size and still look good. Peter Bogdanoff UCLA On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: I would like to create a mobile application where the user can increase and decrease the text in a field. The field contains text on different font sizes for Title, Heading and basic text. I am unsure how to work with fonts. Do I need to find a font that has a wide range of sizes or are there scalable fonts? How do fonts react on different screen resolutions? This makes me wonder about how the text in buttons should be handled. (So far I have only used icons) I would appreciate if someone could point me in the right direction. Thanks Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 13 17:36:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Mar 2013 16:36:24 -0500 Subject: [Shameless Post] Forgotten Reel In-Reply-To: References: Message-ID: <5140F158.5020303@hyperactivesw.com> On 3/13/13 3:47 AM, Scott Rossi wrote: > I was going through some stored files recently and came across a demo reel I > put together in 2009 that showcases a bunch of UI work done from about 1998 > to 2009 (when LiveCode was known as Revolution/MetaCard). The resolution is > not great, but thought it might be of interest to see some of the LiveCode > projects briefly in action. > > http://www.youtube.com/watch?v=pBNGit8xlhI Oh. Wow. I feel so...inadequate. Amazing talent, there are no words. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 13 17:38:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Mar 2013 16:38:16 -0500 Subject: [ANN] The Scottish Dialect In-Reply-To: <84993708-B143-4D17-A74E-545181C7D645@mailbox.sc.edu> References: <84993708-B143-4D17-A74E-545181C7D645@mailbox.sc.edu> Message-ID: <5140F1C8.3020703@hyperactivesw.com> On 3/13/13 1:20 PM, Curt Ford wrote: > If you're headed to Edinburgh in May, this may be the time to brush > up on your accent & see if you can pass for a local.. > > Also: a big thanks to Jacque for her help with the registration > scheme! You're quite welcome. As for the Scottish controversy, one only needs to talk to a particular RR engineer to see what must be mastered. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Wed Mar 13 18:04:38 2013 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 13 Mar 2013 18:04:38 -0400 Subject: Scaling Fonts In-Reply-To: <989509e3-0de4-412b-affc-71b9afb2382c@me.com> References: <989509e3-0de4-412b-affc-71b9afb2382c@me.com> Message-ID: <7688B167-0AC3-4215-BD12-4D1AA3C0A976@gmail.com> Are there trueType fonts supported on IOS? -= Mike On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: > LiveCode scales fonts pretty well-- > set the textSize of field "theField" to 12 -- or whatever > > TrueType fonts can scale any size and still look good. > > Peter Bogdanoff > UCLA > > On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: > > I would like to create a mobile application where the user can increase and decrease the text in a field. The field contains text on different font sizes for Title, Heading and basic text. > > I am unsure how to work with fonts. Do I need to find a font that has a wide range of sizes or are there scalable fonts? How do fonts react on different screen resolutions? This makes me wonder about how the text in buttons should be handled. (So far I have only used icons) > > I would appreciate if someone could point me in the right direction. > > Thanks > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Mar 13 18:17:31 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 15:17:31 -0700 Subject: Scaling Fonts In-Reply-To: <7688B167-0AC3-4215-BD12-4D1AA3C0A976@gmail.com> Message-ID: I'm pretty sure you need to convert to TTF format (unless something has changed in iOS6). I use this site for online conversion: http://www.freefontconverter.com/ Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/13/13 3:04 PM, "Michael Doub" wrote: >Are there trueType fonts supported on IOS? > >-= Mike > > > >On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: > >> LiveCode scales fonts pretty well-- >> set the textSize of field "theField" to 12 -- or whatever >> >> TrueType fonts can scale any size and still look good. >> >> Peter Bogdanoff >> UCLA >> >> On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: >> >> I would like to create a mobile application where the user can increase >>and decrease the text in a field. The field contains text on different >>font sizes for Title, Heading and basic text. >> >> I am unsure how to work with fonts. Do I need to find a font that has a >>wide range of sizes or are there scalable fonts? How do fonts react on >>different screen resolutions? This makes me wonder about how the text in >>buttons should be handled. (So far I have only used icons) >> >> I would appreciate if someone could point me in the right direction. >> >> Thanks >> Mike >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Wed Mar 13 18:24:54 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 15:24:54 -0700 Subject: Scaling Fonts In-Reply-To: Message-ID: BTW, one thing you'll need to figure out is how iOS "sees" the name of your font. What I do is create a dummy development app for iOS, include the font in the build, install it, and then use the fontNames function in the dummy app to get a list of fonts and determine the name of the font as it appears on IOS. Not sure if there's a better/faster way to do this, but the name that iOS will come up with is never intuitive. AFAIK, there is no way to include a custom font other than including it as a non-stack file to be included in the build of a standalone. If somebody knows otherwise, I'd love to know how to do this. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/13/13 3:17 PM, "Scott Rossi" wrote: >I'm pretty sure you need to convert to TTF format (unless something has >changed in iOS6). >I use this site for online conversion: http://www.freefontconverter.com/ > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX Design > > > > >On 3/13/13 3:04 PM, "Michael Doub" wrote: > >>Are there trueType fonts supported on IOS? >> >>-= Mike >> >> >> >>On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: >> >>> LiveCode scales fonts pretty well-- >>> set the textSize of field "theField" to 12 -- or whatever >>> >>> TrueType fonts can scale any size and still look good. >>> >>> Peter Bogdanoff >>> UCLA >>> >>> On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: >>> >>> I would like to create a mobile application where the user can >>>increase >>>and decrease the text in a field. The field contains text on different >>>font sizes for Title, Heading and basic text. >>> >>> I am unsure how to work with fonts. Do I need to find a font that has >>>a >>>wide range of sizes or are there scalable fonts? How do fonts react on >>>different screen resolutions? This makes me wonder about how the text >>>in >>>buttons should be handled. (So far I have only used icons) >>> >>> I would appreciate if someone could point me in the right direction. >>> >>> Thanks >>> Mike >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 13 18:29:27 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Mar 2013 17:29:27 -0500 Subject: Effective htmltext Message-ID: <5140FDC7.8010909@hyperactivesw.com> I didn't know you could do this: get the effective htmlText of fld 1 You get everything, all the field settings and inherited fonts and sizes and colors and all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Mar 13 18:36:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Mar 2013 09:36:04 +1100 Subject: Effective htmltext In-Reply-To: <5140FDC7.8010909@hyperactivesw.com> References: <5140FDC7.8010909@hyperactivesw.com> Message-ID: On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote: > get the effective htmlText of fld 1 Nice... for finding it you get the privilege of writing the docs bug report ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mikedoub at gmail.com Wed Mar 13 18:37:26 2013 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 13 Mar 2013 18:37:26 -0400 Subject: Scaling Fonts In-Reply-To: References: Message-ID: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> Scott, It sounds like you are implying that none of the existing livecode fonts are TrueType. I thought that Helvetica was a trueType font, but in my testing it does not seem to scale. Humm re-re-reading your message.... so I need to find out the name of the base fonts in IOS and use one of them? I have no fonts of my own and have no idea where to get them or understand any of the licensing issues. So I am looking to use an existing font if possible. -= Mike On Mar 13, 2013, at 6:24 PM, Scott Rossi wrote: > BTW, one thing you'll need to figure out is how iOS "sees" the name of > your font. What I do is create a dummy development app for iOS, include > the font in the build, install it, and then use the fontNames function in > the dummy app to get a list of fonts and determine the name of the font as > it appears on IOS. Not sure if there's a better/faster way to do this, > but the name that iOS will come up with is never intuitive. > > AFAIK, there is no way to include a custom font other than including it as > a non-stack file to be included in the build of a standalone. If somebody > knows otherwise, I'd love to know how to do this. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/13/13 3:17 PM, "Scott Rossi" wrote: > >> I'm pretty sure you need to convert to TTF format (unless something has >> changed in iOS6). >> I use this site for online conversion: http://www.freefontconverter.com/ >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/13/13 3:04 PM, "Michael Doub" wrote: >> >>> Are there trueType fonts supported on IOS? >>> >>> -= Mike >>> >>> >>> >>> On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: >>> >>>> LiveCode scales fonts pretty well-- >>>> set the textSize of field "theField" to 12 -- or whatever >>>> >>>> TrueType fonts can scale any size and still look good. >>>> >>>> Peter Bogdanoff >>>> UCLA >>>> >>>> On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: >>>> >>>> I would like to create a mobile application where the user can >>>> increase >>>> and decrease the text in a field. The field contains text on different >>>> font sizes for Title, Heading and basic text. >>>> >>>> I am unsure how to work with fonts. Do I need to find a font that has >>>> a >>>> wide range of sizes or are there scalable fonts? How do fonts react on >>>> different screen resolutions? This makes me wonder about how the text >>>> in >>>> buttons should be handled. (So far I have only used icons) >>>> >>>> I would appreciate if someone could point me in the right direction. >>>> >>>> Thanks >>>> Mike >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 13 18:47:06 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Mar 2013 15:47:06 -0700 Subject: Scaling Fonts In-Reply-To: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> Message-ID: I got the impression you wanted to use/install custom fonts. Default fonts are no problem. iOS 5 default fonts: http://support.apple.com/kb/ht4980 iOS 6 default fonts: http://support.apple.com/kb/ht5484 Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/13/13 3:37 PM, "Michael Doub" wrote: >Scott, > >It sounds like you are implying that none of the existing livecode fonts >are TrueType. I thought that Helvetica was a trueType font, but in my >testing it does not seem to scale. > >Humm re-re-reading your message.... so I need to find out the name of the >base fonts in IOS and use one of them? > >I have no fonts of my own and have no idea where to get them or >understand any of the licensing issues. So I am looking to use an >existing font if possible. > >-= Mike > > >On Mar 13, 2013, at 6:24 PM, Scott Rossi wrote: > >> BTW, one thing you'll need to figure out is how iOS "sees" the name of >> your font. What I do is create a dummy development app for iOS, include >> the font in the build, install it, and then use the fontNames function >>in >> the dummy app to get a list of fonts and determine the name of the font >>as >> it appears on IOS. Not sure if there's a better/faster way to do this, >> but the name that iOS will come up with is never intuitive. >> >> AFAIK, there is no way to include a custom font other than including it >>as >> a non-stack file to be included in the build of a standalone. If >>somebody >> knows otherwise, I'd love to know how to do this. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/13/13 3:17 PM, "Scott Rossi" wrote: >> >>> I'm pretty sure you need to convert to TTF format (unless something has >>> changed in iOS6). >>> I use this site for online conversion: >>>http://www.freefontconverter.com/ >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> >>> On 3/13/13 3:04 PM, "Michael Doub" wrote: >>> >>>> Are there trueType fonts supported on IOS? >>>> >>>> -= Mike >>>> >>>> >>>> >>>> On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: >>>> >>>>> LiveCode scales fonts pretty well-- >>>>> set the textSize of field "theField" to 12 -- or whatever >>>>> >>>>> TrueType fonts can scale any size and still look good. >>>>> >>>>> Peter Bogdanoff >>>>> UCLA >>>>> >>>>> On Mar 13, 2013, at 12:39 PM, Michael Doub >>>>>wrote: >>>>> >>>>> I would like to create a mobile application where the user can >>>>> increase >>>>> and decrease the text in a field. The field contains text on >>>>>different >>>>> font sizes for Title, Heading and basic text. >>>>> >>>>> I am unsure how to work with fonts. Do I need to find a font that has >>>>> a >>>>> wide range of sizes or are there scalable fonts? How do fonts react >>>>>on >>>>> different screen resolutions? This makes me wonder about how the text >>>>> in >>>>> buttons should be handled. (So far I have only used icons) >>>>> >>>>> I would appreciate if someone could point me in the right direction. >>>>> >>>>> Thanks >>>>> Mike >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Mar 13 18:47:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Mar 2013 17:47:43 -0500 Subject: Scaling Fonts In-Reply-To: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> References: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> Message-ID: <5141020F.3030908@hyperactivesw.com> On 3/13/13 5:37 PM, Michael Doub wrote: > Scott, > > It sounds like you are implying that none of the existing livecode > fonts are TrueType. I thought that Helvetica was a trueType font, > but in my testing it does not seem to scale. > > Humm re-re-reading your message.... so I need to find out the name of > the base fonts in IOS and use one of them? > > I have no fonts of my own and have no idea where to get them or > understand any of the licensing issues. So I am looking to use an > existing font if possible. If you're happy with the default font, it will scale fine without any effort on your part. Leave the textfont setting empty for everything and the default font will be used automatically. You can still set the textsize and textstyle if you want, it won't interfere. Textsize does need to be adjusted depending on the screen resolution. You'd need to experiment to see what sizes look right on regular and retina screens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Mar 13 18:48:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Mar 2013 17:48:04 -0500 Subject: Effective htmltext In-Reply-To: References: <5140FDC7.8010909@hyperactivesw.com> Message-ID: <51410224.3060806@hyperactivesw.com> On 3/13/13 5:36 PM, Monte Goulding wrote: > > On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote: > >> get the effective htmlText of fld 1 > > Nice... for finding it you get the privilege of writing the docs bug report ;-) I knew there'd be a catch. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Wed Mar 13 18:51:29 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 13 Mar 2013 22:51:29 +0000 Subject: Scaling Fonts In-Reply-To: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> References: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A0106FD1C@Peas2.byu.local> Mike, The easiest way I know is to create a simple iOS app with a field. In the openCard script just 'put the fontnames into fld 1'. Then run the app in the simulator. If I understand correctly the simulator contains the same default fonts as the devices themselves; it doesn't just report what is on the desktop system. I'm sure someone will correct me if this isn't right. ;-) Devin On Mar 13, 2013, at 4:37 PM, Michael Doub wrote: > Scott, > > It sounds like you are implying that none of the existing livecode fonts are TrueType. I thought that Helvetica was a trueType font, but in my testing it does not seem to scale. > > Humm re-re-reading your message.... so I need to find out the name of the base fonts in IOS and use one of them? > > I have no fonts of my own and have no idea where to get them or understand any of the licensing issues. So I am looking to use an existing font if possible. > > -= Mike > > > On Mar 13, 2013, at 6:24 PM, Scott Rossi wrote: > >> BTW, one thing you'll need to figure out is how iOS "sees" the name of >> your font. What I do is create a dummy development app for iOS, include >> the font in the build, install it, and then use the fontNames function in >> the dummy app to get a list of fonts and determine the name of the font as >> it appears on IOS. Not sure if there's a better/faster way to do this, >> but the name that iOS will come up with is never intuitive. >> >> AFAIK, there is no way to include a custom font other than including it as >> a non-stack file to be included in the build of a standalone. If somebody >> knows otherwise, I'd love to know how to do this. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 3/13/13 3:17 PM, "Scott Rossi" wrote: >> >>> I'm pretty sure you need to convert to TTF format (unless something has >>> changed in iOS6). >>> I use this site for online conversion: http://www.freefontconverter.com/ >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> >>> On 3/13/13 3:04 PM, "Michael Doub" wrote: >>> >>>> Are there trueType fonts supported on IOS? >>>> >>>> -= Mike >>>> >>>> >>>> >>>> On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: >>>> >>>>> LiveCode scales fonts pretty well-- >>>>> set the textSize of field "theField" to 12 -- or whatever >>>>> >>>>> TrueType fonts can scale any size and still look good. >>>>> >>>>> Peter Bogdanoff >>>>> UCLA >>>>> >>>>> On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: >>>>> >>>>> I would like to create a mobile application where the user can >>>>> increase >>>>> and decrease the text in a field. The field contains text on different >>>>> font sizes for Title, Heading and basic text. >>>>> >>>>> I am unsure how to work with fonts. Do I need to find a font that has >>>>> a >>>>> wide range of sizes or are there scalable fonts? How do fonts react on >>>>> different screen resolutions? This makes me wonder about how the text >>>>> in >>>>> buttons should be handled. (So far I have only used icons) >>>>> >>>>> I would appreciate if someone could point me in the right direction. >>>>> >>>>> Thanks >>>>> Mike >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Office of Digital Humanities Brigham Young University From mikedoub at gmail.com Wed Mar 13 19:10:52 2013 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 13 Mar 2013 19:10:52 -0400 Subject: Scaling Fonts In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A0106FD1C@Peas2.byu.local> References: <6FC2DADB-57A3-4A4A-B9D0-8D4014229082@gmail.com> <31BDC56EACAAF64688457CE3F71D9F1A0106FD1C@Peas2.byu.local> Message-ID: <29302C23-9CF9-4D16-8C57-B9FA9AC91292@gmail.com> Humm, I may have just found a bug on 6.0 rc 1. get the fontSizes of "Helvetica" if it is empty then answer "empty" else answer it end if This returns the list of sizes on my Mac, but empty on IOS on an iPad4. I am building the field output in an array using the new styledText array form. It seems to work fine if I am setting the size to the normal 14, 18, 24. But not at other sizes. Another bug maybe? -= Mike On Mar 13, 2013, at 6:51 PM, Devin Asay wrote: > Mike, > > The easiest way I know is to create a simple iOS app with a field. In the openCard script just 'put the fontnames into fld 1'. Then run the app in the simulator. If I understand correctly the simulator contains the same default fonts as the devices themselves; it doesn't just report what is on the desktop system. I'm sure someone will correct me if this isn't right. ;-) > > Devin > > > On Mar 13, 2013, at 4:37 PM, Michael Doub wrote: > >> Scott, >> >> It sounds like you are implying that none of the existing livecode fonts are TrueType. I thought that Helvetica was a trueType font, but in my testing it does not seem to scale. >> >> Humm re-re-reading your message.... so I need to find out the name of the base fonts in IOS and use one of them? >> >> I have no fonts of my own and have no idea where to get them or understand any of the licensing issues. So I am looking to use an existing font if possible. >> >> -= Mike >> >> >> On Mar 13, 2013, at 6:24 PM, Scott Rossi wrote: >> >>> BTW, one thing you'll need to figure out is how iOS "sees" the name of >>> your font. What I do is create a dummy development app for iOS, include >>> the font in the build, install it, and then use the fontNames function in >>> the dummy app to get a list of fonts and determine the name of the font as >>> it appears on IOS. Not sure if there's a better/faster way to do this, >>> but the name that iOS will come up with is never intuitive. >>> >>> AFAIK, there is no way to include a custom font other than including it as >>> a non-stack file to be included in the build of a standalone. If somebody >>> knows otherwise, I'd love to know how to do this. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> >>> On 3/13/13 3:17 PM, "Scott Rossi" wrote: >>> >>>> I'm pretty sure you need to convert to TTF format (unless something has >>>> changed in iOS6). >>>> I use this site for online conversion: http://www.freefontconverter.com/ >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX Design >>>> >>>> >>>> >>>> >>>> On 3/13/13 3:04 PM, "Michael Doub" wrote: >>>> >>>>> Are there trueType fonts supported on IOS? >>>>> >>>>> -= Mike >>>>> >>>>> >>>>> >>>>> On Mar 13, 2013, at 4:14 PM, Peter Bogdanoff wrote: >>>>> >>>>>> LiveCode scales fonts pretty well-- >>>>>> set the textSize of field "theField" to 12 -- or whatever >>>>>> >>>>>> TrueType fonts can scale any size and still look good. >>>>>> >>>>>> Peter Bogdanoff >>>>>> UCLA >>>>>> >>>>>> On Mar 13, 2013, at 12:39 PM, Michael Doub wrote: >>>>>> >>>>>> I would like to create a mobile application where the user can >>>>>> increase >>>>>> and decrease the text in a field. The field contains text on different >>>>>> font sizes for Title, Heading and basic text. >>>>>> >>>>>> I am unsure how to work with fonts. Do I need to find a font that has >>>>>> a >>>>>> wide range of sizes or are there scalable fonts? How do fonts react on >>>>>> different screen resolutions? This makes me wonder about how the text >>>>>> in >>>>>> buttons should be handled. (So far I have only used icons) >>>>>> >>>>>> I would appreciate if someone could point me in the right direction. >>>>>> >>>>>> Thanks >>>>>> Mike >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Thu Mar 14 04:08:22 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 14 Mar 2013 16:08:22 +0800 Subject: Effective htmltext In-Reply-To: <51410224.3060806@hyperactivesw.com> References: <5140FDC7.8010909@hyperactivesw.com> <51410224.3060806@hyperactivesw.com> Message-ID: No catch at all, the docs are quite well written in this regard: effective [keyword] Use the effective keyword to get the displayed color or font of an object, regardless of whether the object itself has that property set. The effective keyword can also be used to get the filename of a substack or the current rectangle of an object. Comments: If one of an object's text, color, or pattern properties is set to empty, the owner's setting is used instead. (If the owner's setting is empty, the setting of that object's owner is used.) The effective keyword can be used with the following inherited properties: * backgroundColor property * backgroundPattern property * backgroundPixel property * bottomColor property * bottomPattern property * bottomPixel property * focusColor property * focusPattern property * focusPixel property * foregroundColor property * foregroundPattern property * foregroundPixel property * hiliteColor property * hilitePattern property * hilitePixel property * topColor property * topPattern property * topPixel property * shadowColor property * shadowPattern property * shadowPixel property * textFont property * textHeight property * textSize property * textStyle property * filename of stack property * rectangle property * layerMode property As always the problem isn't so much with the docs but actually stumbling across the gems that are hidden in them. On Thu, Mar 14, 2013 at 6:48 AM, J. Landman Gay wrote: > > On 3/13/13 5:36 PM, Monte Goulding wrote: >> >> >> On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote: >> >>> get the effective htmlText of fld 1 >> >> >> Nice... for finding it you get the privilege of writing the docs bug report ;-) > > > I knew there'd be a catch. :) > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 14 05:53:29 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Mar 2013 20:53:29 +1100 Subject: Effective htmltext In-Reply-To: References: <5140FDC7.8010909@hyperactivesw.com> <51410224.3060806@hyperactivesw.com> Message-ID: Er... I can't see htmlText in the list there nor can I see the working screenRect which also accepts the effective keyword. Either way it should be documented also under all these properties. On 14/03/2013, at 7:08 PM, Kay C Lan wrote: > No catch at all, the docs are quite well written in this regard: > > effective [keyword] > > Use the effective keyword to get the displayed color or font of an > object, regardless of whether the object itself has that property set. > The effective keyword can also be used to get the filename of a > substack or the current rectangle of an object. > > Comments: > If one of an object's text, color, or pattern properties is set to > empty, the owner's setting is used instead. (If the owner's setting is > empty, the setting of that object's owner is used.) > > The effective keyword can be used with the following inherited properties: > > * backgroundColor property > * backgroundPattern property > * backgroundPixel property > * bottomColor property > * bottomPattern property > * bottomPixel property > * focusColor property > * focusPattern property > * focusPixel property > * foregroundColor property > * foregroundPattern property > * foregroundPixel property > * hiliteColor property > * hilitePattern property > * hilitePixel property > * topColor property > * topPattern property > * topPixel property > * shadowColor property > * shadowPattern property > * shadowPixel property > > * textFont property > * textHeight property > * textSize property > * textStyle property > > * filename of stack property > * rectangle property > > * layerMode property > > As always the problem isn't so much with the docs but actually > stumbling across the gems that are hidden in them. > > On Thu, Mar 14, 2013 at 6:48 AM, J. Landman Gay > wrote: >> >> On 3/13/13 5:36 PM, Monte Goulding wrote: >>> >>> >>> On 14/03/2013, at 9:29 AM, "J. Landman Gay" wrote: >>> >>>> get the effective htmlText of fld 1 >>> >>> >>> Nice... for finding it you get the privilege of writing the docs bug report ;-) >> >> >> I knew there'd be a catch. :) >> >> >> -- >> 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 -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From endernafi at gmail.com Thu Mar 14 13:42:05 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 14 Mar 2013 19:42:05 +0200 Subject: Alternative To A Specific Switch Statement Message-ID: <66721958EA974A8480A750047083D257@gmail.com> Hello Dear LiveCode Gurus, Here is a little code snippet: __switch ____case sin(pAngleInRadians) > 0 ______put 1 into tX ______break ____case sin(pAngleInRadians) = 0 ______put 0 into tX ______break ____case sin(pAngleInRadians) < 0 ______put -1 into tX ______break __end switch It's for a complex rotation command. Is there a more elegant way to achieve the same result with built-in functions? I mean, something like a combination of abs(), max() and/or round()? Just an intellectual curiosity :) Thanks for any insights... Best, ~ Ender Nafi ~ ? together, we're smarter ? ~ ~ ? Keehuna Studio ~ ? Sorcerers of Design From jacque at hyperactivesw.com Thu Mar 14 13:37:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Mar 2013 12:37:48 -0500 Subject: Effective htmltext In-Reply-To: References: <5140FDC7.8010909@hyperactivesw.com> <51410224.3060806@hyperactivesw.com> Message-ID: <51420AEC.7050800@hyperactivesw.com> On 3/14/13 4:53 AM, Monte Goulding wrote: > Er... I can't see htmlText in the list there nor can I see the working screenRect which also accepts the effective keyword. I did report it, against the "effective" entry. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Thu Mar 14 13:56:13 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Mar 2013 13:56:13 -0400 (EDT) Subject: Alternative To A Specific Switch Statement In-Reply-To: <66721958EA974A8480A750047083D257@gmail.com> References: <66721958EA974A8480A750047083D257@gmail.com> Message-ID: <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> Hi. This is a pretty tight switch construct, of a typical form. And very readable. What makes you feel it ought to be tightened? Craig Newman -----Original Message----- From: Ender Nafi Elek?io? lu To: List LiveCode Sent: Thu, Mar 14, 2013 1:37 pm Subject: Alternative To A Specific Switch Statement Hello Dear LiveCode Gurus, Here is a little code snippet: __switch ____case sin(pAngleInRadians) > 0 ______put 1 into tX ______break ____case sin(pAngleInRadians) = 0 ______put 0 into tX ______break ____case sin(pAngleInRadians) < 0 ______put -1 into tX ______break __end switch It's for a complex rotation command. Is there a more elegant way to achieve the same result with built-in functions? I mean, something like a combination of abs(), max() and/or round()? Just an intellectual curiosity :) Thanks for any insights... Best, ~ Ender Nafi ~ ? together, we're smarter ? ~ ~ ? Keehuna Studio ~ ? Sorcerers of 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 alex at tweedly.net Thu Mar 14 14:06:53 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 14 Mar 2013 18:06:53 +0000 Subject: Alternative To A Specific Switch Statement In-Reply-To: <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> References: <66721958EA974A8480A750047083D257@gmail.com> <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> Message-ID: <514211BD.3040908@tweedly.net> I have to agree it's pretty readable right now. If you *really* want a shorter, less readable, way, try .... put sin(pAngleInRadians) into tX if tX <> 0 then divide tX by abs(tX) -- Alex. On 14/03/2013 17:56, dunbarx at aol.com wrote: > Hi. > > > This is a pretty tight switch construct, of a typical form. And very readable. What makes you feel it ought to be tightened? > > > Craig Newman > > > > > > -----Original Message----- > From: Ender Nafi Elek?io? > lu > To: List LiveCode > Sent: Thu, Mar 14, 2013 1:37 pm > Subject: Alternative To A Specific Switch Statement > > > Hello Dear LiveCode Gurus, > > > > Here is a little code snippet: > > __switch > ____case sin(pAngleInRadians) > 0 > ______put 1 into tX > ______break > ____case sin(pAngleInRadians) = 0 > ______put 0 into tX > ______break > ____case sin(pAngleInRadians) < 0 > ______put -1 into tX > ______break > __end switch > > It's for a complex rotation command. > Is there a more elegant way to achieve the same result with built-in functions? > I mean, something like a combination of abs(), max() and/or round()? > Just an intellectual curiosity :) > > Thanks for any insights... > > > Best, > > ~ Ender Nafi > > > > ~ ? together, we're smarter ? ~ > > ~ ? Keehuna Studio > ~ ? Sorcerers of Design > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Thu Mar 14 14:08:40 2013 From: kee at kagi.com (kee nethery) Date: Thu, 14 Mar 2013 11:08:40 -0700 Subject: Alternative To A Specific Switch Statement In-Reply-To: <66721958EA974A8480A750047083D257@gmail.com> References: <66721958EA974A8480A750047083D257@gmail.com> Message-ID: <22AB2A9C-E5FC-4FF0-9DA4-5DC5DFC437FD@kagi.com> I would do the calc once. I would make the last one default just in case the calc provides you with something funky. Kee __put sin(pAngleInRadians) into sinCalc __switch ____case sinCalc > 0 ______put 1 into tX ______break ____case sinCalc = 0 ______put 0 into tX ______break ____default ______put -1 into tX ______break __end switch From pete at lcsql.com Thu Mar 14 14:09:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Mar 2013 11:09:52 -0700 Subject: No closeStack message In-Reply-To: References: Message-ID: Thinking about this more, I think this is a bug. Removing the stack from memory is fine, just needs to be clearer that's what happens, but not sending a closeStack message seems wrong. Pete lcSQL Software On Mon, Mar 11, 2013 at 11:18 AM, Peter Haworth wrote: > I found the problem. The General Preference "if destroyStack is false..." > was set to "Close the file". I don't recall setting it but I guess I must > have. Somehow, "close the file" doesn't come across to me as removing it > from memory but that is what it does. > Pete > lcSQL Software > > > On Mon, Mar 11, 2013 at 10:55 AM, Peter Haworth wrote: > >> A stack that has been working fine has suddenly started misbehaving. >> >> When I close the stack by clicking the close button in the title bar, I >> do not get a closeStack message. I verified this by setting a red-dot >> debug break and a breakpoint command at the start of my closeStack message >> and also looking at the output from the message watcher. >> >> Another oddity is that, although neither destroystack nor destroywindow >> are set, when the stack is closed, it is removed from memory (doesn't >> appear in the Application Browser), and any script editor tabs I have open >> are closed. >> >> Any ideas what might be causing this? >> >> >> >> Pete >> lcSQL Software >> > > From mwieder at ahsoftware.net Thu Mar 14 15:23:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Mar 2013 19:23:06 +0000 (UTC) Subject: Happy Pi day Message-ID: I would normally post this at 1:59PM, but I have a meeting. -- Mark Wieder mwieder at ahsoftware.net From effendi at wanadoo.fr Thu Mar 14 15:27:56 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 14 Mar 2013 20:27:56 +0100 Subject: Scots & English.. [was the Scottish Dialect] Message-ID: <557E1A2D-A8CE-44E9-B1B5-5901E0F17091@wanadoo.fr> Hi from my little Irish haven on the coast of southern Brittany, While we are on the subject of LiveCode and the way in which the Scots attempt to make themselves understood, and knowing well the chances of ruffling a few of Richmonds feathers, I would like to add my "2 punts" worth. We all can accept the basic rule that languages change over time, often due to external influence. The French spoken in Quebec has been likened to the 17th century French spoken in France, but which has been partially "frozen" because of its isolation from its original roots. We may hesitate to say that Canadian French is "backwards" with reference to the modern "dynamic" language used in France today, surrounded as it is by so many influences. Should we hesitate to liken the Scottish "dialect" to a mixture of 17th century English, rounded off by an atrocious way of of pronouncing (and spelling) every word, washed down with liberal quantities of Scotch whisky (that we all know originated with St. Patrick, in Ireland), and possibly associating all this with an influx of Irish into Scotland during the sixth century). I can't imagine todays Scottish dialects having many roots in Germany (there is probably more Danish influence than anything else) We may then study the way in which several European languages have a different way of pronouncing their "r"s (The Spanish somewhere far down in the epiglottis, the French somewhere at the back of the throat, the English on the tip of their tongue, and finally, the Scots, who pronounce their "r"s about 30 inches in front of their face. All this makes it even more difficult to understand a Scot, unless of course you have the same intake of whisky as he does, when it becomes perfectly understandable. Finally, if you use absolutely normal English words in a sentence (and English IS the official language of a much abused Scotland), and shift the "rr"s backwards 30 inches, "In y'rrrr Tarrrrtan Brrrrreeks" becomes "In your trousers", a totally useless but oft used Scots comment, closely allied to the popular "Piss Off" used in England. I shudder at the thought of a Scot saying out loud "Round the ruggd rock, the ragged rascal ran". John Cleese can say this so much better ! Dear Richmond, from a Celt to a Celt, hoping that I have stirred the cauldron enough, and hoping that you please make an effort to beat the shit out of the French Rugby team on Saturday?. Best Regards -Francis From coiin at verizon.net Thu Mar 14 15:27:57 2013 From: coiin at verizon.net (Colin Holgate) Date: Thu, 14 Mar 2013 15:27:57 -0400 Subject: Happy Pi day In-Reply-To: References: Message-ID: I'm looking forward to two years from now, when briefly it will be (for the US anyway) 3/14/15 9:26:53.5897932384626433832795028841971693993751058209749 ? On Mar 14, 2013, at 3:23 PM, Mark Wieder wrote: > >I would normally post this at 1:59PM, but I have a meeting. From richmondmathewson at gmail.com Thu Mar 14 15:38:11 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Mar 2013 21:38:11 +0200 Subject: Scots & English.. [was the Scottish Dialect] In-Reply-To: <557E1A2D-A8CE-44E9-B1B5-5901E0F17091@wanadoo.fr> References: <557E1A2D-A8CE-44E9-B1B5-5901E0F17091@wanadoo.fr> Message-ID: <51422723.8020201@gmail.com> On 03/14/2013 09:27 PM, Francis Nugent Dixon wrote: > Hi from my little Irish haven on the coast of southern Brittany, > > While we are on the subject of LiveCode and the way in which the Scots attempt to make themselves understood, and knowing well the chances of ruffling a few of Richmonds feathers, I would like to add my "2 punts" worth. > > We all can accept the basic rule that languages change over time, often due to external influence. The French spoken in Quebec has been likened to the 17th century French spoken in France, but which has been partially "frozen" because of its isolation from its original roots. We may hesitate to say that Canadian French is "backwards" with reference to the modern "dynamic" language used in France today, surrounded as it is by so many influences. > > Should we hesitate to liken the Scottish "dialect" to a mixture of 17th century English, rounded off by an atrocious way of of pronouncing (and spelling) every word, washed down with liberal quantities of Scotch whisky (that we all know originated with St. Patrick, in Ireland), and possibly associating all this with an influx of Irish into Scotland during the sixth century). I can't imagine todays Scottish dialects having many roots in Germany (there is probably more Danish influence than anything else) > > We may then study the way in which several European languages have a different way of pronouncing their "r"s I always thought it had something to do with the 'arse' . . . LOL. > (The Spanish somewhere far down in the epiglottis, the French somewhere at the back of the throat, the English on the tip of their tongue, and finally, the Scots, who pronounce their "r"s about 30 inches in front of their face. All this makes it even more difficult to understand a Scot, unless of course you have the same intake of whisky as he does, when it becomes perfectly understandable. > > Finally, if you use absolutely normal English words in a sentence (and English IS the official language of a much abused Scotland), and shift the "rr"s backwards 30 inches, "In y'rrrr Tarrrrtan Brrrrreeks" becomes "In your trousers", a totally useless but oft used Scots comment, closely allied to the popular "Piss Off" used in England. > > I shudder at the thought of a Scot saying out loud "Round the ruggd rock, the ragged rascal ran". John Cleese can say this so much better ! > > Dear Richmond, from a Celt to a Celt, hoping that I have stirred the cauldron enough, Ha, Ha, Ha; you did that alright. > and hoping that you please make an effort to beat the shit out of the French Rugby team on Saturday?. Ho,Ho: I am not a 'Celt' as my folk came over from Norway about 800 years ago. And when it comes to Rugby (or any other team sport for that matter) I am not interested at all. > > Best Regards > > -Francis > _______________________________________________ > Ooer; I forgot, this is a place to discuss Livecode. So, not mincing my words, I'll repeat a question that has gone unanswered: Will the Open Source version of Livecode come with a single GUI 'locked on' (i.e. so if we want a different one, such as, say, the current one, we have to muck around for ages), or will it come with a choice of the "new thing that made me shudder on the Kickstarter page" and the "older one"? Richmond. From dunbarx at aol.com Thu Mar 14 16:04:23 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 14 Mar 2013 16:04:23 -0400 (EDT) Subject: Happy Pi day In-Reply-To: References: Message-ID: <8CFEF0641D703F7-160C-1EA95@webmail-m245.sysops.aol.com> So I can look forward, in about five years, to "e" day? Craig Newman -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Thu, Mar 14, 2013 3:28 pm Subject: Re: Happy Pi day I'm looking forward to two years from now, when briefly it will be (for the US anyway) 3/14/15 9:26:53.5897932384626433832795028841971693993751058209749 ? On Mar 14, 2013, at 3:23 PM, Mark Wieder wrote: > >I would normally post this at 1:59PM, but I have a meeting. _______________________________________________ use-livecode mailing list use-livecode at 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 Mar 14 16:09:19 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 14 Mar 2013 20:09:19 +0000 Subject: Happy Pi day In-Reply-To: <8CFEF0641D703F7-160C-1EA95@webmail-m245.sysops.aol.com> References: <8CFEF0641D703F7-160C-1EA95@webmail-m245.sysops.aol.com> Message-ID: ?but by the time we get half way there, it'll be twice as far away ;) or am I thinking of 1/Xmas? Best, Keith.. On 14 Mar 2013, at 20:04, dunbarx at aol.com wrote: > So I can look forward, in about five years, to "e" day? > > > Craig Newman From mwieder at ahsoftware.net Thu Mar 14 16:24:48 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Mar 2013 20:24:48 +0000 (UTC) Subject: Happy Pi day References: Message-ID: Colin Holgate writes: > > I'm looking forward to two years from now, when briefly it will be (for the US anyway) 3/14/15 ...and at 9:26AM we will be running around in circles... -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Thu Mar 14 16:32:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Mar 2013 07:32:22 +1100 Subject: Happy Pi day In-Reply-To: References: Message-ID: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> Colin Holgate writes: > for the US anyway > lol... whoever decided to write dates in the wrong order in the US anyway... drives me nuts. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Thu Mar 14 16:43:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Mar 2013 22:43:02 +0200 Subject: Happy Pi day In-Reply-To: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> References: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> Message-ID: <51423656.4070808@gmail.com> On 03/14/2013 10:32 PM, Monte Goulding wrote: > Colin Holgate writes: > >> for the US anyway >> > > lol... whoever decided to write dates in the wrong order in the US anyway... drives me nuts. Today seems to be 2013.03.14 ! > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Mar 14 17:36:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Mar 2013 21:36:22 +0000 (UTC) Subject: Happy Pi day References: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> <51423656.4070808@gmail.com> Message-ID: Richmond writes: > > lol... whoever decided to write dates in the wrong order in the US anyway... > drives me nuts. > > Today seems to be 2013.03.14 ! Yeah. That doesn't seem like "the wrong order" to me. -- Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Thu Mar 14 18:58:03 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 14 Mar 2013 18:58:03 -0400 Subject: Lion vs Mtn Lion Message-ID: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> As many are aware, I have an app with a key trapper that I hired out to write. I am making heavy use of open, read, close and put URL file: and also I am using specialFolderPath("Support"). Any way i am having a lot of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is working here on Mtn Lion OSX 10.8.2 The drop dead deadline is tomorrow and it will be a flop if I can't get it working on the clients machine for his big presentation. (My responsibility, because I should have said NO once I saw how big this project kept getting as time wore on.) Anyway, I am stilling plugging away and I really need to know if anyone has experienced any issues with specialFolderPath with 10.7.? and if there is any kind of workaround? The other thing I thought of was maybe a timing issue about polling for updates, But after the first read I don't seem to get anymore info coming in.??? One very last thing is that the KeyTrapper is running 64 bit and of course my App is 32 bit. But I don't think that should matter as we are only sharing a txt file?.. Thanks to anyone for any ideas. Tom open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" until EOF put it into tFile close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" put empty into URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mwieder at ahsoftware.net Thu Mar 14 19:12:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Mar 2013 23:12:39 +0000 (UTC) Subject: Lion vs Mtn Lion References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> Message-ID: Thomas McGrath III writes: I don't know how much of an answer this is to your question, but a) could there be a permissions problem on the 10.7 machine? b) any chance of running the demo on 10.8? -- Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Mar 14 19:16:43 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Mar 2013 16:16:43 -0700 Subject: Lion vs Mtn Lion In-Reply-To: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> Message-ID: Tom: Which version of LiveCode? Are you getting a result using "support" as an argument in specialFolderPath? In 5.5.1 that's not a "built-in" option. I'm on Lion and using "support" in 5.5.1 returns empty (no path), but 5.5.4 seems to work. Also, if you're using URL to write an empty file, can you not use URL to read a file? get url ("file:" & specialFolderPath("Support") & "/KeyTrapper/Events.txt") Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/14/13 3:58 PM, "Thomas McGrath III" wrote: >As many are aware, I have an app with a key trapper that I hired out to >write. I am making heavy use of open, read, close and put URL file: and >also I am using specialFolderPath("Support"). Any way i am having a lot >of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is >working here on Mtn Lion OSX 10.8.2 > >The drop dead deadline is tomorrow and it will be a flop if I can't get >it working on the clients machine for his big presentation. (My >responsibility, because I should have said NO once I saw how big this >project kept getting as time wore on.) > >Anyway, I am stilling plugging away and I really need to know if anyone >has experienced any issues with specialFolderPath with 10.7.? and if >there is any kind of workaround? The other thing I thought of was maybe a >timing issue about polling for updates, But after the first read I don't >seem to get anymore info coming in.??? > >One very last thing is that the KeyTrapper is running 64 bit and of >course my App is 32 bit. But I don't think that should matter as we are >only sharing a txt file?.. > >Thanks to anyone for any ideas. > >Tom > > >open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >until EOF >put it into tFile >close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" > > > >put empty into URL ("file:" & (specialFolderPath("Support") & slash & >"KeyTrapper" & slash & "Events.txt")) > > > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 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 monte at sweattechnologies.com Thu Mar 14 19:23:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Mar 2013 10:23:12 +1100 Subject: Lion vs Mtn Lion In-Reply-To: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> Message-ID: <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? On 15/03/2013, at 9:58 AM, Thomas McGrath III wrote: > As many are aware, I have an app with a key trapper that I hired out to write. I am making heavy use of open, read, close and put URL file: and also I am using specialFolderPath("Support"). Any way i am having a lot of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is working here on Mtn Lion OSX 10.8.2 > > The drop dead deadline is tomorrow and it will be a flop if I can't get it working on the clients machine for his big presentation. (My responsibility, because I should have said NO once I saw how big this project kept getting as time wore on.) > > Anyway, I am stilling plugging away and I really need to know if anyone has experienced any issues with specialFolderPath with 10.7.? and if there is any kind of workaround? The other thing I thought of was maybe a timing issue about polling for updates, But after the first read I don't seem to get anymore info coming in.??? > > One very last thing is that the KeyTrapper is running 64 bit and of course my App is 32 bit. But I don't think that should matter as we are only sharing a txt file?.. > > Thanks to anyone for any ideas. > > Tom > > > open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" > read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" until EOF > put it into tFile > close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" > > > > put empty into URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) > > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Thu Mar 14 21:07:48 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 14 Mar 2013 21:07:48 -0400 Subject: Lion vs Mtn Lion In-Reply-To: <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: Scott and Monte, I am using LC 5.5.4 and downloaded LC and my stack on my Wifes 10.7.5 and built from there too with LC 5.5.4 LC runs on it but the built app still does not work. It seems to be writing the files to the correct place there as on my machine, but I will check again. I was using the get URL earlier and just changed Just in case. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 14, 2013, at 7:23 PM, Monte Goulding wrote: > It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? > > On 15/03/2013, at 9:58 AM, Thomas McGrath III wrote: > >> As many are aware, I have an app with a key trapper that I hired out to write. I am making heavy use of open, read, close and put URL file: and also I am using specialFolderPath("Support"). Any way i am having a lot of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is working here on Mtn Lion OSX 10.8.2 >> >> The drop dead deadline is tomorrow and it will be a flop if I can't get it working on the clients machine for his big presentation. (My responsibility, because I should have said NO once I saw how big this project kept getting as time wore on.) >> >> Anyway, I am stilling plugging away and I really need to know if anyone has experienced any issues with specialFolderPath with 10.7.? and if there is any kind of workaround? The other thing I thought of was maybe a timing issue about polling for updates, But after the first read I don't seem to get anymore info coming in.??? >> >> One very last thing is that the KeyTrapper is running 64 bit and of course my App is 32 bit. But I don't think that should matter as we are only sharing a txt file?.. >> >> Thanks to anyone for any ideas. >> >> Tom >> >> >> open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >> read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" until EOF >> put it into tFile >> close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >> >> >> >> put empty into URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) >> >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 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 > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 14 21:16:24 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Mar 2013 12:16:24 +1100 Subject: Lion vs Mtn Lion In-Reply-To: References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: <671FC448-8171-466A-9ABD-4C94942B966E@sweattechnologies.com> OK, is it your app that won't write to the folder or the one you outsourced? On 15/03/2013, at 12:07 PM, Thomas McGrath III wrote: > I am using LC 5.5.4 and downloaded LC and my stack on my Wifes 10.7.5 and built from there too with LC 5.5.4 LC runs on it but the built app still does not work. It seems to be writing the files to the correct place there as on my machine, but I will check again. > > I was using the get URL earlier and just changed Just in case. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Thu Mar 14 21:14:18 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 14 Mar 2013 21:14:18 -0400 Subject: Lion vs Mtn Lion In-Reply-To: References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: That is what I will check tomorrow. Cause I check on launch and write them there if they are not and the outsourcer app writes to there as well. I read them once loaded. What are you thinking???? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 14, 2013, at 9:07 PM, Thomas McGrath III wrote: > Scott and Monte, > > I am using LC 5.5.4 and downloaded LC and my stack on my Wifes 10.7.5 and built from there too with LC 5.5.4 LC runs on it but the built app still does not work. It seems to be writing the files to the correct place there as on my machine, but I will check again. > > I was using the get URL earlier and just changed Just in case. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 14, 2013, at 7:23 PM, Monte Goulding wrote: > >> It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? >> >> On 15/03/2013, at 9:58 AM, Thomas McGrath III wrote: >> >>> As many are aware, I have an app with a key trapper that I hired out to write. I am making heavy use of open, read, close and put URL file: and also I am using specialFolderPath("Support"). Any way i am having a lot of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is working here on Mtn Lion OSX 10.8.2 >>> >>> The drop dead deadline is tomorrow and it will be a flop if I can't get it working on the clients machine for his big presentation. (My responsibility, because I should have said NO once I saw how big this project kept getting as time wore on.) >>> >>> Anyway, I am stilling plugging away and I really need to know if anyone has experienced any issues with specialFolderPath with 10.7.? and if there is any kind of workaround? The other thing I thought of was maybe a timing issue about polling for updates, But after the first read I don't seem to get anymore info coming in.??? >>> >>> One very last thing is that the KeyTrapper is running 64 bit and of course my App is 32 bit. But I don't think that should matter as we are only sharing a txt file?.. >>> >>> Thanks to anyone for any ideas. >>> >>> Tom >>> >>> >>> open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >>> read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" until EOF >>> put it into tFile >>> close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >>> >>> >>> >>> put empty into URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) >>> >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 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 >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 14 21:46:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Mar 2013 12:46:30 +1100 Subject: Lion vs Mtn Lion In-Reply-To: References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: On 15/03/2013, at 12:14 PM, Thomas McGrath III wrote: > That is what I will check tomorrow. Cause I check on launch and write them there if they are not and the outsourcer app writes to there as well. I read them once loaded. > > What are you thinking???? Are you responding to me? I'm just wondering exactly what is failing. Your reads/writes or the other app? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mcgrath3 at mac.com Thu Mar 14 21:45:10 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 14 Mar 2013 21:45:10 -0400 Subject: Lion vs Mtn Lion In-Reply-To: References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: <5A7A7B8F-C16D-43BC-9037-A257BED56AFE@mac.com> yep, and that is what I am wondering as well. This is one place to check who is writing and if I am reading at all?. Good idea, Any other ideas? Im gonna be checking everything I can tomorrow?. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 14, 2013, at 9:14 PM, Thomas McGrath III wrote: > That is what I will check tomorrow. Cause I check on launch and write them there if they are not and the outsourcer app writes to there as well. I read them once loaded. > > What are you thinking???? > > Thanks > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 14, 2013, at 9:07 PM, Thomas McGrath III wrote: > >> Scott and Monte, >> >> I am using LC 5.5.4 and downloaded LC and my stack on my Wifes 10.7.5 and built from there too with LC 5.5.4 LC runs on it but the built app still does not work. It seems to be writing the files to the correct place there as on my machine, but I will check again. >> >> I was using the get URL earlier and just changed Just in case. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Mar 14, 2013, at 7:23 PM, Monte Goulding wrote: >> >>> It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? >>> >>> On 15/03/2013, at 9:58 AM, Thomas McGrath III wrote: >>> >>>> As many are aware, I have an app with a key trapper that I hired out to write. I am making heavy use of open, read, close and put URL file: and also I am using specialFolderPath("Support"). Any way i am having a lot of trouble getting this to work on OSX 10.7.2 & on OSX 10.7.5 But it is working here on Mtn Lion OSX 10.8.2 >>>> >>>> The drop dead deadline is tomorrow and it will be a flop if I can't get it working on the clients machine for his big presentation. (My responsibility, because I should have said NO once I saw how big this project kept getting as time wore on.) >>>> >>>> Anyway, I am stilling plugging away and I really need to know if anyone has experienced any issues with specialFolderPath with 10.7.? and if there is any kind of workaround? The other thing I thought of was maybe a timing issue about polling for updates, But after the first read I don't seem to get anymore info coming in.??? >>>> >>>> One very last thing is that the KeyTrapper is running 64 bit and of course my App is 32 bit. But I don't think that should matter as we are only sharing a txt file?.. >>>> >>>> Thanks to anyone for any ideas. >>>> >>>> Tom >>>> >>>> >>>> open file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >>>> read from file specialFolderPath("Support") & "/KeyTrapper/Events.txt" until EOF >>>> put it into tFile >>>> close file specialFolderPath("Support") & "/KeyTrapper/Events.txt" >>>> >>>> >>>> >>>> put empty into URL ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) >>>> >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 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 >>> >>> -- >>> M E R Goulding >>> Software development services >>> Bespoke application development for vertical markets >>> >>> mergExt - There's an external for that! >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 14 21:54:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Mar 2013 12:54:04 +1100 Subject: Lion vs Mtn Lion In-Reply-To: <5A7A7B8F-C16D-43BC-9037-A257BED56AFE@mac.com> References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> <5A7A7B8F-C16D-43BC-9037-A257BED56AFE@mac.com> Message-ID: <10B6D140-DD3D-44AE-AC87-D46D33BA2086@sweattechnologies.com> On 15/03/2013, at 12:45 PM, Thomas McGrath III wrote: > yep, and that is what I am wondering as well. This is one place to check who is writing and if I am reading at all?. Good idea, > > Any other ideas? Im gonna be checking everything I can tomorrow?. Is it possible to launch the other app without a file being written to that folder? If so that'd be my first test.. if a file pops up there open it and see if the data you expect is in there. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Thu Mar 14 21:49:03 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 15 Mar 2013 02:49:03 +0100 Subject: Lion vs Mtn Lion In-Reply-To: <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> Message-ID: <51427E0F.8010108@economy-x-talk.com> Hi, Keep in mind that support returns the user's application support folder, while asup returns the system's application support folder. The user may have no permissions to write to the latter. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/15/2013 00:23, Monte Goulding wrote: > It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? From benr_mc at cogapp.com Fri Mar 15 07:12:38 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 15 Mar 2013 11:12:38 +0000 Subject: Using browser control on mobile - can I provide files locally? Message-ID: <51430226.8020302@cogapp.com> I want to embed a browser control, and have my app act as the web server for it. On mobile, but especially on Android. Looking at the reference docs, I can see when it is loading a URL, and when it's finished; and on iOS I get the opportunity to deny a load request; but I can't see a way to intercept a load request and fulfill it myself. Is this possible? Is there a workaround? Or as an alternative approach, can I use LiveCode to build a web server app, that would run in the background; and have a separate app (or just a browser) pointing at localhost? Or is this approach defeated by the lack of socket support, and/or the inability to make a LiveCode app run in the background? Any suggestions gratefully received... Ben From pmbrig at gmail.com Fri Mar 15 08:11:02 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 15 Mar 2013 08:11:02 -0400 Subject: Alternative To A Specific Switch Statement In-Reply-To: <22AB2A9C-E5FC-4FF0-9DA4-5DC5DFC437FD@kagi.com> References: <66721958EA974A8480A750047083D257@gmail.com> <22AB2A9C-E5FC-4FF0-9DA4-5DC5DFC437FD@kagi.com> Message-ID: On Mar 14, 2013, at 2:08 PM, kee nethery wrote: > I would do the calc once. > I would make the last one default just in case the calc provides you with something funky. > Kee > > __put sin(pAngleInRadians) into sinCalc > __switch > ____case sinCalc > 0 > ______put 1 into tX > ______break > ____case sinCalc = 0 > ______put 0 into tX > ______break > ____default > ______put -1 into tX > ______break > __end switch And combining the suggestions, you could do: put sin(pAngleInRadians) into sinCalc switch sinCalc case 0 put 0 into tX break default put sinCalc/abs(sinCalc) into tX end switch -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From coiin at verizon.net Fri Mar 15 08:23:05 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 15 Mar 2013 08:23:05 -0400 Subject: Alternative To A Specific Switch Statement In-Reply-To: References: <66721958EA974A8480A750047083D257@gmail.com> <22AB2A9C-E5FC-4FF0-9DA4-5DC5DFC437FD@kagi.com> Message-ID: If there are only two possibly outcomes, wouldn't you use an if statement? On Mar 15, 2013, at 8:11 AM, "Peter M. Brigham" wrote: > And combining the suggestions, you could do: > > put sin(pAngleInRadians) into sinCalc > switch sinCalc > case 0 > put 0 into tX > break > default > put sinCalc/abs(sinCalc) into tX > end switch From MikeKerner at roadrunner.com Fri Mar 15 08:56:27 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 15 Mar 2013 08:56:27 -0400 Subject: retina datagrid Message-ID: Hey, guys, I'm building a monster over here (bwuhahahahaha) but the datagrid is making me sad. The main problem is not the data area, but the headers, which are being uncooperative when I want to resize them to make them larger so I can jack up the font size. Has anybody else tweaked the DG for retina? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jhurley0305 at sbcglobal.net Fri Mar 15 09:17:50 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 15 Mar 2013 06:17:50 -0700 Subject: Alternative To A Specific Switch Statement In-Reply-To: References: Message-ID: Hi Ender, I don't know how this trig function arose in you application, but you may want to take a look at the atan2 function in Live Code. It handles all the funny things that happen at the branch cuts in the trig functions beautifully. It dispenses with the need for a switch function. Jim > > Message: 1 > Date: Thu, 14 Mar 2013 19:42:05 +0200 > From: Ender Nafi Elek?io?lu > To: List LiveCode > Subject: Alternative To A Specific Switch Statement > Message-ID: <66721958EA974A8480A750047083D257 at gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello Dear LiveCode Gurus, > > > > Here is a little code snippet: > > __switch > ____case sin(pAngleInRadians) > 0 > ______put 1 into tX > ______break > ____case sin(pAngleInRadians) = 0 > ______put 0 into tX > ______break > ____case sin(pAngleInRadians) < 0 > ______put -1 into tX > ______break > __end switch > > It's for a complex rotation command. > Is there a more elegant way to achieve the same result with built-in functions? > I mean, something like a combination of abs(), max() and/or round()? > Just an intellectual curiosity :) > > Thanks for any insights... > > > Best, > > ~ Ender Nafi > From MikeKerner at roadrunner.com Fri Mar 15 09:18:46 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 15 Mar 2013 09:18:46 -0400 Subject: stopwatch app Message-ID: anybody build a stopwatch app that I can rip? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jhurley0305 at sbcglobal.net Fri Mar 15 09:28:07 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 15 Mar 2013 06:28:07 -0700 Subject: Happy Pi day In-Reply-To: References: Message-ID: I had it for dinner. It was peachy. Jim > > Message: 7 > Date: Thu, 14 Mar 2013 19:23:06 +0000 (UTC) > From: Mark Wieder > To: use-livecode at lists.runrev.com > Subject: Happy Pi day > Message-ID: > Content-Type: text/plain; charset=us-ascii > > I would normally post this at 1:59PM, but I have a meeting. > > -- > Mark Wieder > mwieder at ahsoftware.net > From downs.david.j at gmail.com Fri Mar 15 09:48:50 2013 From: downs.david.j at gmail.com (david j downs) Date: Fri, 15 Mar 2013 08:48:50 -0500 Subject: Alternative To A Specific Switch Statement In-Reply-To: <514211BD.3040908@tweedly.net> References: <66721958EA974A8480A750047083D257@gmail.com> <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> <514211BD.3040908@tweedly.net> Message-ID: This is probably a hold-over from my formative years programming a 64KB Atari, but I try to reduce the number of variables used, if possible. This is situationally dependent, of course, and may not work in all instances. That's why I really like Alex's offering. It is elegant, minimizes conditional statements, and uses only one variable. On Thu, Mar 14, 2013 at 1:06 PM, Alex Tweedly wrote: > > I have to agree it's pretty readable right now. > > If you *really* want a shorter, less readable, way, try .... > > put sin(pAngleInRadians) into tX > if tX <> 0 then divide tX by abs(tX) > > -- Alex. > > > On 14/03/2013 17:56, dunbarx at aol.com wrote: >> >> Hi. >> >> >> This is a pretty tight switch construct, of a typical form. And very >> readable. What makes you feel it ought to be tightened? >> >> >> Craig Newman >> >> >> >> >> >> -----Original Message----- >> From: Ender Nafi Elek?io? >> lu >> To: List LiveCode >> Sent: Thu, Mar 14, 2013 1:37 pm >> Subject: Alternative To A Specific Switch Statement >> >> >> Hello Dear LiveCode Gurus, >> >> >> >> Here is a little code snippet: >> >> __switch >> ____case sin(pAngleInRadians) > 0 >> ______put 1 into tX >> ______break >> ____case sin(pAngleInRadians) = 0 >> ______put 0 into tX >> ______break >> ____case sin(pAngleInRadians) < 0 >> ______put -1 into tX >> ______break >> __end switch >> >> It's for a complex rotation command. >> Is there a more elegant way to achieve the same result with built-in >> functions? >> I mean, something like a combination of abs(), max() and/or round()? >> Just an intellectual curiosity :) >> >> Thanks for any insights... >> >> >> Best, >> >> ~ Ender Nafi >> >> >> >> ~ ? together, we're smarter ? ~ >> >> ~ ? Keehuna Studio >> ~ ? Sorcerers of Design >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Mar 15 10:18:36 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 15 Mar 2013 10:18:36 -0400 Subject: Lion vs Mtn Lion In-Reply-To: <51427E0F.8010108@economy-x-talk.com> References: <17230F45-B295-4E0A-B3BA-EDBD37D621F2@mac.com> <97462576-5FBF-4E69-9E8B-8BF7FD2BED8C@sweattechnologies.com> <51427E0F.8010108@economy-x-talk.com> Message-ID: <970918C8-E1D1-47B0-ADDB-CF74551D3954@mac.com> Thanks Mark, One thing that I am noticing is that on my Wife's 10.7.5 I am having problems launching apps that I built as stand-alones on my 10.8.2 machine as "Universal". I have to copy the stack over to 10.7.5 and then build from there in order for them to work. Not sure what that is about and too tired to figure it out. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 14, 2013, at 9:49 PM, Mark Schonewille wrote: > Hi, > > Keep in mind that support returns the user's application support folder, while asup returns the system's application support folder. The user may have no permissions to write to the latter. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > On 3/15/2013 00:23, Monte Goulding wrote: >> It was only introduced in LC 5.5.3 RC2... Are you using the same LC version on Lion? Ave you tried asup? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Fri Mar 15 13:20:53 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Fri, 15 Mar 2013 19:20:53 +0200 Subject: Alternative To A Specific Switch Statement In-Reply-To: References: <66721958EA974A8480A750047083D257@gmail.com> <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> <514211BD.3040908@tweedly.net> Message-ID: <734A526A936C4995A8B09B800155167E@gmail.com> Hi all, @Craig Well, I like shorter codes. Maybe it's an illusion of "the shorter, the faster" ? Nevertheless, I seek a level of sophistication balanced with readability in my code. A very, very simple example: __put random(2) into tRandomNumber __if tRandomNumber is 1 then ____put "L" into tLeftOrRight __else ____put "R" into tLeftOrRight __end if vs. __put any item of "L,R" into tLeftOrRight Isn't this much more elegant programming? That was my intention by posting the question. @Alex, Kee, Peter, David I followed your advice, did the calc once and used *sinCalc/abs(sinCalc)* @Colin You're right, *if* would do just fine :) @Jim Hurley *atan2* function looks very promising, I'll dig deep; thanks... Thanks, all of you? I'm at the very beginning of that learning curve, you {all the gurus in lists and forums} helped a lot. Best, ~ Ender Nafi ~ ? ? together, we're smarter ? ? ~ From MikeKerner at roadrunner.com Fri Mar 15 14:58:21 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 15 Mar 2013 14:58:21 -0400 Subject: "verify error:num=20:unable to get local issuer certificate" Message-ID: I'm trying to start using push again with ios. I've created the certificates and the keys, but when I try to connect, I get that error. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From benr_mc at cogapp.com Fri Mar 15 16:08:43 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 15 Mar 2013 20:08:43 +0000 Subject: Trouble with Android Message-ID: <51437FCB.5060507@cogapp.com> Hmm... attempting to do some very simple trial stacks on Android, after not having done any for a long time - having fought my way through a few strangeness with regards to expired debug certificates and the like, I now find that all my stacks - built with 5.5.3 or above - simply display black, on two different test devices. An older version of one of the stacks, an APK I happen to have lying around my hard drive that was built about 14 months ago, can be re-installed and works fine. Do I need to re-install the Android SDK if I haven't done so for over a year? Or is there some other obvious thing that someone can tell me I'm doing wrong? Many thanks, Ben From david at rotundasoftware.com Fri Mar 15 16:31:31 2013 From: david at rotundasoftware.com (David Beck) Date: Fri, 15 Mar 2013 13:31:31 -0700 Subject: revBrowser and modal dialogs? Message-ID: <8E357143-C666-4E38-BA4D-6A2EDA55C038@rotundasoftware.com> Whoa... does revBrowser not work on modal dialogs? On Mac at least I can not get it to instantiate in a modal dialog. Works as expected if the dialog is not modal. Is there a trick or something I am missing? thank you. David Beck Rotunda Software From hatchfactory at gmail.com Fri Mar 15 16:41:52 2013 From: hatchfactory at gmail.com (Michael Hatch) Date: Fri, 15 Mar 2013 13:41:52 -0700 Subject: Trouble with Android In-Reply-To: <51437FCB.5060507@cogapp.com> References: <51437FCB.5060507@cogapp.com> Message-ID: I have found that in android setting the acceleratedrendering of a stack in preopenstack will sometimes cause black screens and other unwanted effects, so I now set it via opencard of the first card. Setting the compositor to software or disabling acceleratedrendering might be a good starting point to check while debugging. Kind Regards, Michael Hatch On Fri, Mar 15, 2013 at 1:08 PM, Ben Rubinstein wrote: > Hmm... attempting to do some very simple trial stacks on Android, after > not having done any for a long time - having fought my way through a few > strangeness with regards to expired debug certificates and the like, I now > find that all my stacks - built with 5.5.3 or above - simply display black, > on two different test devices. > > An older version of one of the stacks, an APK I happen to have lying > around my hard drive that was built about 14 months ago, can be > re-installed and works fine. > > Do I need to re-install the Android SDK if I haven't done so for over a > year? Or is there some other obvious thing that someone can tell me I'm > doing wrong? > > Many thanks, > > Ben > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From david at rotundasoftware.com Fri Mar 15 16:53:16 2013 From: david at rotundasoftware.com (David Beck) Date: Fri, 15 Mar 2013 13:53:16 -0700 Subject: Another revBrowser quirk Message-ID: <63CAB83E-7BF4-4D58-9132-B74CF6A43CFF@rotundasoftware.com> I have IE 9 installed on my Windows box, but it looks like revBrowser is using the IE 7 engine? At least, $.browser.version is returning 7. Might anybody know what is going on there or of a way to force the browser to use the most recent version of IE? David Beck From bonnmike at gmail.com Fri Mar 15 17:01:04 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 15 Mar 2013 15:01:04 -0600 Subject: revBrowser and modal dialogs? In-Reply-To: <8E357143-C666-4E38-BA4D-6A2EDA55C038@rotundasoftware.com> References: <8E357143-C666-4E38-BA4D-6A2EDA55C038@rotundasoftware.com> Message-ID: Just a guess but it probably depends on WHEN you start revbrowser. Its linked to a particular windowid, and changing stack modes changes this ID. You might instance the revbrowser for that modal in opencard and might even consider using a send in time to instantiate it. Not sure this is the issue, but is probably as good a guess as any. I read somewhere in some rev doc quite a while back that there was a method to change which windowid a browser instance was associated with, but never got it to work (it was experimental if I recall correctly) Either way, just a guess. If I have time I may try it myself just because but these last couple weeks have been something to behold! On Fri, Mar 15, 2013 at 2:31 PM, David Beck wrote: > > Whoa... does revBrowser not work on modal dialogs? On Mac at least I can > not get it to instantiate in a modal dialog. Works as expected if the > dialog is not modal. > > Is there a trick or something I am missing? > > thank you. > > David Beck > Rotunda Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From simon at asato-media.com Fri Mar 15 18:06:49 2013 From: simon at asato-media.com (As_Simon) Date: Fri, 15 Mar 2013 15:06:49 -0700 (PDT) Subject: stopwatch app In-Reply-To: References: Message-ID: <1363385209280-4662228.post@n4.nabble.com> Here in the forum: http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=14222&hilit=stop+watch Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/stopwatch-app-tp4662216p4662228.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Fri Mar 15 18:37:04 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 15 Mar 2013 15:37:04 -0700 Subject: Happy Pi day In-Reply-To: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> References: <75C59C85-47EC-4618-B838-EEE2A4F39610@sweattechnologies.com> Message-ID: On Thu, Mar 14, 2013 at 1:32 PM, Monte Goulding wrote: > lol... whoever decided to write dates in the wrong order in the US > anyway... drives me nuts. > Yeah, that bit about putting the year after rather than at the beginning is silly. At least it's not like the Europoeans, with multiple out-of-sequence elements . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 15 19:57:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 15 Mar 2013 16:57:00 -0700 Subject: serial numbers on standalones Message-ID: Is there a practical way to build serial numbers into standalones? That is, without taking the 10 minutes or so each to compile? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 15 20:26:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 15 Mar 2013 17:26:00 -0700 Subject: Alternative To A Specific Switch Statement In-Reply-To: References: <66721958EA974A8480A750047083D257@gmail.com> <8CFEEF45A3706E8-160C-1D98C@webmail-m245.sysops.aol.com> <514211BD.3040908@tweedly.net> Message-ID: On Fri, Mar 15, 2013 at 6:48 AM, david j downs wrote: > > This is probably a hold-over from my formative years programming a > 64KB Atari, but I try to reduce the number of variables used, if > possible. Don't feel too bad about that--i still have a bit of a pre-version 5 MS basic hangover, and still have to suppress some of the optimizations from back then--short variable names, crowded lines, assuming that the program gets scanned from the beginning for every jump/call, and one that I have blacked out that makes me shudder. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lc at pbh.on-rev.com Fri Mar 15 20:44:44 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 15 Mar 2013 17:44:44 -0700 Subject: serial numbers on standalones In-Reply-To: References: Message-ID: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> I can fully recommend Jacque's Zygodact, its on the RunRev store. It's easy to set up and it is possible to integrate with PayPal if you have an On-Rev account or use revServer. Jacque's own site is http://www.hyperactivesw.com There's some info and a demo video that's well worth watching. Paul On 2013-03-15, at 4:57 PM, Dr. Hawkins wrote: > Is there a practical way to build serial numbers into standalones? That > is, without taking the 10 minutes or so each to compile? > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Mar 15 20:58:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 15 Mar 2013 17:58:13 -0700 Subject: serial numbers on standalones In-Reply-To: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> References: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> Message-ID: +1 Pete lcSQL Software On Fri, Mar 15, 2013 at 5:44 PM, Paul Hibbert wrote: > I can fully recommend Jacque's Zygodact, its on the RunRev store. It's > easy to set up and it is possible to integrate with PayPal if you have an > On-Rev account or use revServer. > > Jacque's own site is http://www.hyperactivesw.com > > There's some info and a demo video that's well worth watching. > > Paul > > On 2013-03-15, at 4:57 PM, Dr. Hawkins wrote: > > > Is there a practical way to build serial numbers into standalones? That > > is, without taking the 10 minutes or so each to compile? > > > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Fri Mar 15 21:35:15 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 15 Mar 2013 18:35:15 -0700 Subject: serial numbers on standalones In-Reply-To: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> References: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> Message-ID: On Fri, Mar 15, 2013 at 5:44 PM, Paul Hibbert wrote: > I can fully recommend Jacque's Zygodact, its on the RunRev store. It's easy to set up and it is >possible to integrate with PayPal if you have an On-Rev account or use revServer. It's both more and less than I need :) I've pretty much dealt with registration keys, including the one-use keys, which are keyed to both he user name and his client name. What I'm looking to do is hardcode the serial number, and possibly the user name, into the actual executable I distribute without it taking ten minutes on a fast machine per copy. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bogdanoff at me.com Sat Mar 16 01:00:08 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 15 Mar 2013 22:00:08 -0700 Subject: serial numbers on standalones In-Reply-To: References: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> Message-ID: <4CF409ED-5338-4FBC-ACD4-2C32840C6BA2@me.com> Richard, You could... 1. If you have a limited number of installations, you could store internally a list of keys, then issue one of them to each user. If it matches one of the internal list, it's good. 2. You could have a separate program with an algorithm that creates keys in a particular pattern. Those are the keys issued to users. When a key is entered by the user, the program decodes the key to see if it matches the algorithm thus a valid sequence. I've used something as simple as a test to see if a letter or number is in a particular position, but it could be much more complex. These don't allow for a user name. And of course, none of these eliminates the reuse of a key by someone else. For that you would need an Internet/server system. Peter Bogdanoff UCLA On Mar 15, 2013, at 6:35 PM, "Dr. Hawkins" wrote: > On Fri, Mar 15, 2013 at 5:44 PM, Paul Hibbert wrote: >> I can fully recommend Jacque's Zygodact, its on the RunRev store. It's easy to set up and it is >> possible to integrate with PayPal if you have an On-Rev account or use revServer. > > It's both more and less than I need :) > > I've pretty much dealt with registration keys, including the one-use > keys, which are keyed to both he user name and his client name. > > What I'm looking to do is hardcode the serial number, and possibly the > user name, into the actual executable I distribute without it taking > ten minutes on a fast machine per copy. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 16 01:10:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Mar 2013 00:10:14 -0500 Subject: serial numbers on standalones In-Reply-To: References: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> Message-ID: <5143FEB6.1070101@hyperactivesw.com> On 3/15/13 8:35 PM, Dr. Hawkins wrote: > On Fri, Mar 15, 2013 at 5:44 PM, Paul Hibbert wrote: >> I can fully recommend Jacque's Zygodact, its on the RunRev store. It's easy to set up and it is >> possible to integrate with PayPal if you have an On-Rev account or use revServer. > > It's both more and less than I need :) > > I've pretty much dealt with registration keys, including the one-use > keys, which are keyed to both he user name and his client name. > > What I'm looking to do is hardcode the serial number, and possibly the > user name, into the actual executable I distribute without it taking > ten minutes on a fast machine per copy. > > Thanks for the recommendations, P & P. As for the standalones, you'll have to build one for each customer if you want them customized like that, but you probably know that. So it won't take any longer for each one than it takes to build them. If you don't want to edit a custom property in the stack before building, you can catch the savingStandalone message and have an automated handler that sets the property. It will only show up in the standalone and won't be saved to your stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 16 01:13:47 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Mar 2013 00:13:47 -0500 Subject: Trouble with Android In-Reply-To: <51437FCB.5060507@cogapp.com> References: <51437FCB.5060507@cogapp.com> Message-ID: <5143FF8B.20603@hyperactivesw.com> On 3/15/13 3:08 PM, Ben Rubinstein wrote: > Hmm... attempting to do some very simple trial stacks on Android, after > not having done any for a long time - having fought my way through a few > strangeness with regards to expired debug certificates and the like, I > now find that all my stacks - built with 5.5.3 or above - simply display > black, on two different test devices. > > An older version of one of the stacks, an APK I happen to have lying > around my hard drive that was built about 14 months ago, can be > re-installed and works fine. As mentioned, using acceleratedRendering on an Android device running OS 2.2 or earlier will launch to a black screen if you use the defaults. If you set the compositorType to "software" it works, but I got some unwanted artifacts when I did that. As far as I know it hasn't been fixed yet, so I had to require Android 2.3 or higher. Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen on Jelly Bean. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee at kagi.com Sat Mar 16 03:31:36 2013 From: kee at kagi.com (kee nethery) Date: Sat, 16 Mar 2013 00:31:36 -0700 Subject: serial numbers on standalones In-Reply-To: <4CF409ED-5338-4FBC-ACD4-2C32840C6BA2@me.com> References: <74D0ABF1-C3C4-485D-A968-133440F06178@pbh.on-rev.com> <4CF409ED-5338-4FBC-ACD4-2C32840C6BA2@me.com> Message-ID: Instead of user name, I recommend using their email. Why? Because my user name is Richard Hawkins but my email is kee at kagi.com (if I want to receive the app you are going to send to me). "Richard Hawkins" On Mar 15, 2013, at 10:00 PM, Peter Bogdanoff wrote: > Richard, > > You could... > > 1. If you have a limited number of installations, you could store internally a list of keys, then issue one of them to each user. If it matches one of the internal list, it's good. > > 2. You could have a separate program with an algorithm that creates keys in a particular pattern. Those are the keys issued to users. When a key is entered by the user, the program decodes the key to see if it matches the algorithm thus a valid sequence. I've used something as simple as a test to see if a letter or number is in a particular position, but it could be much more complex. > > These don't allow for a user name. And of course, none of these eliminates the reuse of a key by someone else. For that you would need an Internet/server system. > > Peter Bogdanoff > UCLA > > > On Mar 15, 2013, at 6:35 PM, "Dr. Hawkins" wrote: > >> On Fri, Mar 15, 2013 at 5:44 PM, Paul Hibbert wrote: >>> I can fully recommend Jacque's Zygodact, its on the RunRev store. It's easy to set up and it is >>> possible to integrate with PayPal if you have an On-Rev account or use revServer. >> >> It's both more and less than I need :) >> >> I've pretty much dealt with registration keys, including the one-use >> keys, which are keyed to both he user name and his client name. >> >> What I'm looking to do is hardcode the serial number, and possibly the >> user name, into the actual executable I distribute without it taking >> ten minutes on a fast machine per copy. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Mar 16 05:09:48 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Mar 2013 10:09:48 +0100 Subject: serial numbers on standalones In-Reply-To: References: Message-ID: <514436DC.5040007@economy-x-talk.com> Hi, You can append a string to the end of a Windows executable and add a file with a string to an OSX application package. You could use a standalone on which you drop an executable or application package and automate the process. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/16/2013 00:57, Dr. Hawkins wrote: > Is there a practical way to build serial numbers into standalones? That > is, without taking the 10 minutes or so each to compile? > > > From ludovic.thebault at laposte.net Sat Mar 16 06:47:59 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 16 Mar 2013 11:47:59 +0100 Subject: Get the source from an browser instance ? Message-ID: <2FA7FDA5-D3C8-4801-8E54-26A5594DD753@laposte.net> Hello How get the source from an revbrowser instance ? I've made a web page wich is displayed with revbrowser. The user can modify some parameters in the page ( with javascript ) which are visible in the code source of the page with a real browser but not with revbrowserget(browserId, "htmltext") which return the original code source. Any ideas ? Thks From bvg at mac.com Sat Mar 16 09:42:19 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 16 Mar 2013 14:42:19 +0100 Subject: serial numbers on standalones In-Reply-To: <514436DC.5040007@economy-x-talk.com> References: <514436DC.5040007@economy-x-talk.com> Message-ID: I think it should also be possible to alter an existing custom property in a standalone, as long as the replacement text is the same length in bytes as the one you replace. This is because there's no redundancy caching in the stack file format. Better ask RunRev support if that's still true before investing any time into an approach like that tho. So what you'd do is: Make standalone with a custom property that contains dummy string, for example 16 chars long. Now use a stack, script or other means to find that dummy string in the standalone, and replace it with a "proper" license string that is also 16 chars long. Finally, your code in the standalone checks for the license string cprop, whenever the user enters his credentials. The standalone is now custom-coded for your customer, and no second one exists. Pretty easy to workaround for anyone snooping around, but so are most DRM measures.. Just think of Sim City 2013 ;-) On 16.03.2013, at 10:09, Mark Schonewille wrote: > Hi, > > You can append a string to the end of a Windows executable and add a file with a string to an OSX application package. You could use a standalone on which you drop an executable or application package and automate the process. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > On 3/16/2013 00:57, Dr. Hawkins wrote: >> Is there a practical way to build serial numbers into standalones? That >> is, without taking the 10 minutes or so each to compile? >> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From irog at mac.com Sat Mar 16 11:17:28 2013 From: irog at mac.com (Roger Guay) Date: Sat, 16 Mar 2013 09:17:28 -0600 Subject: [OT] My First iPad App Message-ID: Hello Folks! I am very pleased and proud to announce that my first iPad app is now available on iTunes. SETIsyncProb was created by me and donated to (and published by) the SETI Institute so that all proceeds would go to them. (This was a long and painful process compared to actually building the app.) Please have a look, download a copy and please give it a great review. It will cost you less than a buck, and you'll be supporting a worthy non-profit scientific institution! https://itunes.apple.com/us/app/seti-sync-problem/id602368776?mt=8 BTW, It is available only as an iPad app because I needed the pixel real estate to accurately scale the simulation. But, for anyone on this list, I'll give you a Mac or Windows (untested) version for free. Just let me know. And, I would love to get your honest feedback via email. Thanks and cheers, Roger From stephenREVOLUTION2 at barncard.com Sat Mar 16 12:19:48 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 16 Mar 2013 09:19:48 -0700 Subject: Get the source from an browser instance ? In-Reply-To: <2FA7FDA5-D3C8-4801-8E54-26A5594DD753@laposte.net> References: <2FA7FDA5-D3C8-4801-8E54-26A5594DD753@laposte.net> Message-ID: Well if one could easily get the source code of any page through a browser then the internet would stop working, due to all the security breaches. It would be a steaming mess. When a web page renders, it may make more than one pass at the data. There's an intentional thick wall between 'browser side' and 'server side'. Server code, PHP, Livecode or whatever will be executed on the first read of the source page and that data will never be seen, having been executed on that first pass. What you are left with is only the HTML and javascript required to make the page display as you see it, not the underlying code that generated it. That's a good thing. On Sat, Mar 16, 2013 at 3:47 AM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello > > How get the source from an revbrowser instance ? > > I've made a web page wich is displayed with revbrowser. The user can > modify some parameters in the page ( with javascript ) which are visible in > the code source of the page with a real browser but not with > revbrowserget(browserId, "htmltext") which return the original code source. > > Any ideas ? > > Thks > _______________________________________________ > use-livecode mailing list > use-livecode 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 ludovic.thebault at laposte.net Sat Mar 16 12:27:57 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 16 Mar 2013 17:27:57 +0100 Subject: Get the source from an browser instance ? In-Reply-To: References: <2FA7FDA5-D3C8-4801-8E54-26A5594DD753@laposte.net> Message-ID: Le 16 mars 2013 ? 17:19, stephen barncard a ?crit : > Well if one could easily get the source code of any page through a browser > then the internet would stop working, due to all the security breaches. It > would be a steaming mess. Sure, but here the web page is created locally (in the temp folder). If it is not possible to get the source it is possible to pass variable from javascript to livecode (within a rev browser instance) ? For now, in the web page i notice the user to copy the data i want to get in livecode. Thanks. From dochawk at gmail.com Sat Mar 16 12:52:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 16 Mar 2013 09:52:20 -0700 Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> Message-ID: On Sat, Mar 16, 2013 at 6:42 AM, Bj?rnke von Gierke wrote: > > Make standalone with a custom property that contains dummy string, for example 16 chars >long. Now use a stack, script or other means to find that dummy string in the standalone, and >replace it with a "proper" license string that is also 16 chars long. Finally, your code in the >standalone checks for the license string cprop, whenever the user enters his credentials. The >standalone is now custom-coded for your customer, and no second one exists. Pretty easy to >workaround Thank you (and everyone else!). And this really gets to the crux of it: anything that comes out of the compiler is either in the clear, or encrypted. If I can edit it like that, so can anyone else. If it's encrypted, neither can I. So I'm asking the wrong question . . . I suppose I have to look at how compilation actually works. Perhaps if I go under the hood, I can look at the order in which things are compiled, set a button or two so that they come at the end (or at least on the last card, save the state before that card is hit, and then cycle through load, change button script, finish; load . . . The more I think about it, not hard-coding may not be as disastrous as I had first thought (there were discussions some months ago; attorneys are particularly adept at rationalizing stealing software). It looks like I'm going to have public/private keys for each user anyway (wonderfully built in to livecode!) One of the messages that decrypts at runtime will have the attorney name, bar (law license) number, address, and program serial number, all of which appear in the output--with the name, and serial number actually appearing on the copyright notice on each page of output. Using someone else's key will also put their name and address on the output, which is only useful for filing with the court . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 16 12:54:14 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 16 Mar 2013 09:54:14 -0700 Subject: datagrids and databases Message-ID: As I continue to wrestle with datagrids, I'm wondering if I missed the obvious: Do I need to load the entire database table into the array before I can use it with a datagrid, rather than just part of it? I had assumed that I was simply going to mate the table to the grid, but if I can't do that, it explains a lot . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From skip at magicgate.com Sat Mar 16 13:00:15 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 16 Mar 2013 13:00:15 -0400 Subject: Documents folder on Windows 7 Message-ID: When trying to get the documents folder using either: answer specialFolderPath("Documents") or answer the documents folder I get an invalid path... it is looking for the folder "Documents" instead of "My Documents". Am I missing something or is this a bug? SKIP From lvhdgc7 at gmail.com Sat Mar 16 13:16:20 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 16 Mar 2013 10:16:20 -0700 (PDT) Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> Message-ID: <1363454180147-4662248.post@n4.nabble.com> >One of the messages that decrypts at runtime will have the attorney >name, bar (law license) number, address, and program serial number, >all of which appear in the output--with the name, and serial number >actually appearing on the copyright notice on each page of output. >Using someone else's key will also put their name and address on the >output, which is only useful for filing with the court . . . Excellent strategy. The psychological deterrence is at least as important as the technical implementation. We use a similar strategy in a presentation tool to publicly show who is the authorized user of the software. While not a perfect defense, it's good enough and does not inconvenience a valid customer. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/serial-numbers-on-standalones-tp4662230p4662248.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Sat Mar 16 13:51:37 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 16 Mar 2013 10:51:37 -0700 Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> Message-ID: <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> On Mar 16, 2013, at 9:52 AM, Dr. Hawkins wrote: > Using someone else's key will also put their name and address on the > output, which is only useful for filing with the court . . . We used a technique similar to that years ago. I figured that no respectable doctor would want the practice name of another on their screen. The deterrent failed horribly. We found universities that were willing to use pirated software as well as private practices. I wrote you on the side about the solution we are using for copy protection. It might have landed in your spam folder. You can experience the SpiceKit solution we developed by downloading one of our products and registering it. try2020.com You will find a very professional solution to a problem all developers have. How can we protect our investment without causing pain to our end users. If you have any questions, let me know. Best regards, Mark Talluto canelasoftware.com From richmondmathewson at gmail.com Sat Mar 16 14:09:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 16 Mar 2013 20:09:38 +0200 Subject: serial numbers on standalones In-Reply-To: <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> Message-ID: <5144B562.4060007@gmail.com> On 03/16/2013 07:51 PM, Mark Talluto wrote: > On Mar 16, 2013, at 9:52 AM, Dr. Hawkins wrote: > >> Using someone else's key will also put their name and address on the >> output, which is only useful for filing with the court . . . > We used a technique similar to that years ago. I figured that no respectable doctor would want the practice name of another on their screen. The deterrent failed horribly. We found universities that were willing to use pirated software as well as private practices. > > I wrote you on the side about the solution we are using for copy protection. It might have landed in your spam folder. > You can experience the SpiceKit solution we developed by downloading one of our products and registering it. > > try2020.com > > You will find a very professional solution to a problem all developers have. How can we protect our investment without causing pain to our end users. If you have any questions, let me know. > People are going to pirate software, and that is an unavoidable fact; surely the 'trick' is to try and minimise that. I issue personalised standalones with the purchaser's name and/or institution just below the title on the start up card. Obviously this means that one has to go through building a standalone each time. ------------------------------------ And, yes, I suppose some professor of Sanskrit, for all his/her exhaulted academic position, will not mind having a program that says: "Registered to His Holiness 108 Raksha-Vinodabhandan Swami", or somesuch, slap, bang on the start up screen although it's going to look bl**dy funny to his/her colleagues. ---------------------------------- It does seem that all the extra fuss and work involved sorting out a serial number system is hardly worth the effort. Of course . . . one could send out a standalone of a stack to find out one's potential client's Mac Address, then make a standalone for him/her that checks against that Mac Address; although that seems a bit mean as when his/her computer goes 'pop' s/he will have to pay out all over again. > Best regards, > > Mark Talluto > canelasoftware.com > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sat Mar 16 14:58:17 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 16 Mar 2013 19:58:17 +0100 Subject: Documents folder on Windows 7 In-Reply-To: References: Message-ID: The path is valid (try it). windows is schizophrenic about the "my xxx" folders (I especially like the way you can create a "documents" folder on german systems, that really confuses it!). Always remember, these folders belong to Microsoft, and are only lent to you ;-) On 16.03.2013, at 18:00, Magicgate Software - Skip Kimpel wrote: > When trying to get the documents folder using either: > answer specialFolderPath("Documents") > or > answer the documents folder > > I get an invalid path... it is looking for the folder "Documents" instead > of "My Documents". Am I missing something or is this a bug? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From kee at kagi.com Sat Mar 16 15:00:13 2013 From: kee at kagi.com (kee nethery) Date: Sat, 16 Mar 2013 12:00:13 -0700 Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> Message-ID: <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> On Mar 16, 2013, at 9:52 AM, "Dr. Hawkins" wrote: > > Using someone else's key will also put their name and address on the > output, which is only useful for filing with the court . . . Unless you are postal mailing the software to your customers AND looking at every order before you create a unique standalone, my name is "Free Copy" and my address is "Any Street, USA". And I don't know how my copy got up on that torrent site. The people who make a lot of money selling software are those that focus on how to get more people to use their software, not those who focus on how to get less people to use their software. The "get more people" group occasionally will "crack" their software and upload that crack to a crack site so that people can steal their software. Having a crack shows that someone cared enough about the software to spend time to crack it because of the street cred that would give them. No one cracks lame software thus ? this software must not be lame. In addition, no one wants to be the second person to crack some software so other cracks don't appear. Secondly, most people that pirate software don't really use it. And if they do, you've just had someone experience your software and figure out what it is good for. People like me who pay for software, ask for recommendations, and I'm fairly certain that many of the recommendations come from people who have pirated software. Pirates can be your advertising channel. Finally, the crack if the pirate is still using the cracked software after 6 months, they can be converted into a buyer. It has some weird bug that pops up. The solution to that specific bug is to buy the upgrade. If someone running a cracked version gets that error message, they are using it for real and they will frequently pay for the upgrade. Kee Nethery From userev at canelasoftware.com Sat Mar 16 15:33:07 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 16 Mar 2013 12:33:07 -0700 Subject: serial numbers on standalones In-Reply-To: <5144B562.4060007@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> Message-ID: <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> On Mar 16, 2013, at 11:09 AM, Richmond wrote: > It does seem that all the extra fuss and work involved sorting out a serial number system is hardly > worth the effort. The amount of effort is dependent on situation. > Of course . . . one could send out a standalone of a stack to find out one's potential client's > Mac Address, then make a standalone for him/her that checks against that Mac Address; although > that seems a bit mean as when his/her computer goes 'pop' s/he will have to pay out all over again. DRM should never lock a client out because their hardware changed. Binding to a MAC address is also not reliable. They can be spoofed and some systems change their MAC address on every startup. A system that can adapt to hardware changes, not knock the client out, but let you know that this is taking place so you can make a decision on how to proceed is what we are using. Best regards, Mark Talluto canelasoftware.com From dunbarx at aol.com Sat Mar 16 16:04:20 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 16 Mar 2013 16:04:20 -0400 (EDT) Subject: datagrids and databases In-Reply-To: References: Message-ID: <8CFF098946712A9-7C8-BF06@webmail-d152.sysops.aol.com> You could certainly load just a part of your data, but why? Unless it is large and you want to see and scroll only a relevant section, for visual and user friendliness? Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Sat, Mar 16, 2013 12:54 pm Subject: datagrids and databases As I continue to wrestle with datagrids, I'm wondering if I missed the obvious: Do I need to load the entire database table into the array before I can use it with a datagrid, rather than just part of it? I had assumed that I was simply going to mate the table to the grid, but if I can't do that, it explains a lot . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 16 16:07:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 16 Mar 2013 22:07:18 +0200 Subject: serial numbers on standalones In-Reply-To: <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> Message-ID: <5144D0F6.3070908@gmail.com> On 03/16/2013 09:33 PM, Mark Talluto wrote: > On Mar 16, 2013, at 11:09 AM, Richmond wrote: > >> It does seem that all the extra fuss and work involved sorting out a serial number system is hardly >> worth the effort. > The amount of effort is dependent on situation. > >> Of course . . . one could send out a standalone of a stack to find out one's potential client's >> Mac Address, then make a standalone for him/her that checks against that Mac Address; although >> that seems a bit mean as when his/her computer goes 'pop' s/he will have to pay out all over again. > DRM should never lock a client out because their hardware changed. Binding to a MAC address is also not reliable. They can be spoofed and some systems change their MAC address on every startup. A system that can adapt to hardware changes, not knock the client out, but let you know that this is taking place so you can make a decision on how to proceed is what we are using. If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. > > Best regards, > > Mark Talluto > canelasoftware.com > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Sat Mar 16 16:30:45 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 16 Mar 2013 13:30:45 -0700 Subject: serial numbers on standalones In-Reply-To: <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> Message-ID: On Mar 16, 2013, at 12:00 PM, kee nethery wrote: > The people who make a lot of money selling software are those that focus on how to get more people to use their software, not those who focus on how to get less people to use their software. > > The "get more people" group occasionally will "crack" their software and upload that crack to a crack site so that people can steal their software. Having a crack shows that someone cared enough about the software to spend time to crack it because of the street cred that would give them. No one cracks lame software thus ? this software must not be lame. In addition, no one wants to be the second person to crack some software so other cracks don't appear. > > Secondly, most people that pirate software don't really use it. And if they do, you've just had someone experience your software and figure out what it is good for. People like me who pay for software, ask for recommendations, and I'm fairly certain that many of the recommendations come from people who have pirated software. Pirates can be your advertising channel. > > Finally, the crack if the pirate is still using the cracked software after 6 months, they can be converted into a buyer. It has some weird bug that pops up. The solution to that specific bug is to buy the upgrade. If someone running a cracked version gets that error message, they are using it for real and they will frequently pay for the upgrade. > > Kee Nethery Wow! You really nailed it. I've read similar commentaries, but yours is clear and concise. I'm working on a book, thinking about self-publishing, selling to the public from a website, while taking care to maintain control of the copyright, maybe going with a commercial publisher later, if it's successful. I've feared piracy, heard both sides of the debate. You've convinced me (unless someone later on this thread changes my mind). With software, it seems, one way to limit piracy damage is to upgrade routinely. With literature, it might help to release periodic revisions, or regularly add new material. Cheers, Tim Miller From pete at lcsql.com Sat Mar 16 16:38:05 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 16 Mar 2013 13:38:05 -0700 Subject: datagrids and databases In-Reply-To: References: Message-ID: There is a way to load only the data fro the visible number of lines into a datagrid. It takes a fair amount more code and isn't usually worth it you are loading a very large amount of data into the datagrid and performance is suffering. Take a look at section 9.1 of the Datagrid Manual for details. There's a download link for a demo stack in that section. Pete lcSQL Software On Sat, Mar 16, 2013 at 9:54 AM, Dr. Hawkins wrote: > As I continue to wrestle with datagrids, I'm wondering if I missed the > obvious: > > Do I need to load the entire database table into the array before I > can use it with a datagrid, rather than just part of it? > > I had assumed that I was simply going to mate the table to the grid, > but if I can't do that, it explains a lot . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From userev at canelasoftware.com Sat Mar 16 16:42:31 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 16 Mar 2013 13:42:31 -0700 Subject: serial numbers on standalones In-Reply-To: <5144D0F6.3070908@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> Message-ID: <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> On Mar 16, 2013, at 1:07 PM, Richmond wrote: > If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. The trick is to tie the software to more than one piece of hardware. -Mark From dochawk at gmail.com Sat Mar 16 17:14:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 16 Mar 2013 14:14:38 -0700 Subject: serial numbers on standalones In-Reply-To: <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> Message-ID: On Sat, Mar 16, 2013 at 10:51 AM, Mark Talluto wrote: > On Mar 16, 2013, at 9:52 AM, Dr. Hawkins wrote: > >> Using someone else's key will also put their name and address on the >> output, which is only useful for filing with the court . . . > > We used a technique similar to that years ago. I figured that no respectable doctor would want the .>practice name of another on their screen. The deterrent failed horribly. We found universities that were >willing to use pirated software as well as private practices. This goes a bit farther, though: the filing attorney's name and address must be on these pleadings. The primary license key provided to the client gets decrypted at runtime with the user's public key. providing the name and address for the pleadings, as well as information about expiration date, privilege levels, and what-have-you. For someone else to use it, he will have to edit the pdfs (or possibly tamper with the running copy in memory). Aside from the name information, there are two types of license, one of which is needed: either an unlimited one (which also has the expiration date), or a per-use license, which is keyed to a particular client name and last 4 of social security number [which must be filed with the court, anyway]. Either of these is also dependent upon matching and generating part of the primary license. (53 bytes per packet just isn't quite enough, and to avoid mix & match, the second needs to depend upon the first). The filed PDF will sometimes end up in front of a federal judge, but *always* in front of a trustee. And sometimes creditor attorneys. The trustee's job is to look for assets, and he gets a commission on what he collects. And I offer a huge bounty/contingency fee for any attorney that finds the violations to file. > I wrote you on the side about the solution we are using for copy protection. It might have landed in your spam folder. > You can experience the SpiceKit solution we developed by downloading one of our products and registering it. > > try2020.com > Thank yiou, but I very much do not want to wrap this in another program. Aside from the additional dependency (and cost) it creates for me, I still have my own per-license to deal with (and the fact that the work behind all of these is already done)> -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From skip at magicgate.com Sat Mar 16 17:15:21 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 16 Mar 2013 17:15:21 -0400 Subject: Getting additional data about a file or a folder Message-ID: Is there an easy way to get additional information about a file or a folder? For instance file date, size, modified date, etc.? My primary interest is a folder date but I know sooner or later I am going to want file info as well :) SKIP From bvg at mac.com Sat Mar 16 17:19:34 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 16 Mar 2013 22:19:34 +0100 Subject: Getting additional data about a file or a folder In-Reply-To: References: Message-ID: "the detailed files" or "the detailed folders" it's also possible to get info from the os, by using the shell() function, for example using "ls" on unix based systems. On 16.03.2013, at 22:15, Magicgate Software - Skip Kimpel wrote: > Is there an easy way to get additional information about a file or a > folder? For instance file date, size, modified date, etc.? > > My primary interest is a folder date but I know sooner or later I am going > to want file info as well :) > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bonnmike at gmail.com Sat Mar 16 17:21:46 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 16 Mar 2013 15:21:46 -0600 Subject: Getting additional data about a file or a folder In-Reply-To: References: Message-ID: Look at the detailed folders (and files) if you look in the dicionary under folders it specifies which item of the returned data (the detailed folders) stands for what. On Sat, Mar 16, 2013 at 3:15 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Is there an easy way to get additional information about a file or a > folder? For instance file date, size, modified date, etc.? > > My primary interest is a folder date but I know sooner or later I am going > to want file info as well :) > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Sat Mar 16 17:27:29 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 16 Mar 2013 17:27:29 -0400 Subject: Getting additional data about a file or a folder In-Reply-To: References: Message-ID: You are AWESOME.. thank you! SKIP On Sat, Mar 16, 2013 at 5:19 PM, Bj?rnke von Gierke wrote: > "the detailed files" > or > "the detailed folders" > > it's also possible to get info from the os, by using the shell() function, > for example using "ls" on unix based systems. > > On 16.03.2013, at 22:15, Magicgate Software - Skip Kimpel wrote: > > > Is there an easy way to get additional information about a file or a > > folder? For instance file date, size, modified date, etc.? > > > > My primary interest is a folder date but I know sooner or later I am > going > > to want file info as well :) > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > 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 userev at canelasoftware.com Sat Mar 16 18:47:55 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 16 Mar 2013 15:47:55 -0700 Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> Message-ID: <22A8E4B1-3323-4AE1-B35D-58775DDCF2AC@canelasoftware.com> On Mar 16, 2013, at 2:14 PM, Dr. Hawkins wrote: > This goes a bit farther, though: the filing attorney's name and > address must be on these pleadings. The primary license key provided > to the client gets decrypted at runtime with the user's public key. > providing the name and address for the pleadings, as well as > information about expiration date, privilege levels, and > what-have-you. This should cover you well enough. Best regards, Mark Talluto canelasoftware.com From dochawk at gmail.com Sat Mar 16 19:02:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 16 Mar 2013 16:02:38 -0700 Subject: [OT] "MacMini" 7-8 years later In-Reply-To: <513389A9.3000900@gmail.com> References: <51330B5F.60708@gmail.com> <513389A9.3000900@gmail.com> Message-ID: On Sun, Mar 3, 2013 at 9:34 AM, Richmond wrote: > There doesn't have to be an Open Source fork; if installing Mac OS X is > comparatively easy to install on a machine such as the NUC > and the necessary patches are "out there", then, surely, Apple's software > people could just put various install DVDs together > for non-Apple machines together and sell them. What is missing is any advantage to apple in doing so. They have always viewed themselves as a hardware company. OSX is part of the computer they sell, not a product on its own. That's why it's always been either free or next to nothing to get a newer version. Part of Apple's cost is the amount of R&D they do. They tried licensing, and when the cloners were asked to kick in their pro-rata R&D costs, they all stopped making clones. In the meantime, they badly undercut apple. Apple is far better off selling its own upscale equipment than having other machines chipping away at its market. > Considering that people are already doing "that", and others are doing > "that" via virtualisation solutions (myself > included) Apple, by not doing that, are just losing potential revenue. But a very large portion of the $30 dollar OS sales under such a scenario would cost hundreds of dollars in a computer sale each. They've been getting told this for years, and seem to have ahd the last laugh . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 16 19:25:49 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 16 Mar 2013 16:25:49 -0700 Subject: datagrids and databases In-Reply-To: <8CFF098946712A9-7C8-BF06@webmail-d152.sysops.aol.com> References: <8CFF098946712A9-7C8-BF06@webmail-d152.sysops.aol.com> Message-ID: On Sat, Mar 16, 2013 at 1:04 PM, wrote: > You could certainly load just a part of your data, but why? Unless it is large and you want to see and >scroll only a relevant section, for visual and user friendliness? For one of the places I'm using it, loading it all is practical. Even so, I'm not sure the DG is a real benefit (although it seems to be "the" way of doing things)--the rest of the program updates a database when data changes, allowing simultaneous access on multiple machines. Updating both the DG and the DB is one more thing to deal with . . . The debts and asset screen, though . . . a couple of dozen entries, which can be dependent upon other entries (e.g., second mortgage). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From peterwawood at gmail.com Sat Mar 16 23:50:58 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 17 Mar 2013 11:50:58 +0800 Subject: 1001 things to do with LiveCode - only 400 page views per day In-Reply-To: <1361402753920-4660827.post@n4.nabble.com> References: <2ED80C47-32DA-402E-B8A1-0396848F1E0D@gmail.com> <1361402753920-4660827.post@n4.nabble.com> Message-ID: <338A15D0-1BCC-4B6B-A321-14D96A4C9AC7@gmail.com> Hi Alastair I've just prepared the entry about your trivia app for 1001 things to do with LiveCode. I've taken a little "poetic licence" to avoid mentioning trivial pursuits and to cut it down a little (to fit into the blog style). Let me know if anything needs changing. It should go out within a couple of weeks. Cheers Peter On 21 Feb 2013, at 07:25, planix wrote: > Hi, > > Last week I organised a trivia party with friends. We have been having a > trivial pursuit championship over the last 12 months. Having organised the > party I discovered that my electronic doo-hickey from the Trivia Pursuit > publishers is no longer supported so I couldn't add any more questions. What > to do? Well, if you have Livecode the answer is a bit obvious. Write my own. > That's what I did. It's not flash and it's not fancy. But, it took me about > a day to write an interface that allows me to upload trivia questions from a > text document and then select categories of question to ask during the game. > It's pretty much just an electronic pack of trivia pursuit cards. > > The most interesting thing for me was that in that day of Livecoding I > decided that this really needed to be delivered as a mobile app. I have not > used Livecode for mobile development before so I thought this might be a > really big ask. In fact, this was incredibly easy. I still have to work on > resizing routines and I know I'm actually going to enjoy this tedious task > because Livecode is such an easy environment to play around in. > > So, right now, I have a working Android app that sits on my phone. If I > spend a few more hours I know that I will have the same app prepared for > deployment on devices with different screen sizes. And a few more hours and > I will have developed a more efficient data management process as well. > Given that I am not a professional programmer this has really only been > possible because Livecode makes the task of developing application logic so > straightforward. > > Here is a screenshot of the app- on my Windows machine. Not sure how to get > a screenshot of it running on my phone. > trviaApp.png > > > cheers > > Alistair Campbell > (Australia) > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/1001-things-to-do-with-LiveCode-only-400-page-views-per-day-tp4660715p4660827.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 ludovic.thebault at laposte.net Sun Mar 17 03:26:58 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 17 Mar 2013 08:26:58 +0100 Subject: Repeat, modal and standalone Message-ID: <92E1648C-1502-49D1-AFF6-CFA1D0261F18@laposte.net> Hello, In a repeat, i display a modal stack (a custom "answer") to get an answer from the user (it's for validate datas). In Livecode, the repeat wait until the modal is closed by the user, but in standalone no. What i missing ? Thks From ludovic.thebault at laposte.net Sun Mar 17 03:32:33 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sun, 17 Mar 2013 08:32:33 +0100 Subject: Repeat, modal and standalone In-Reply-To: <92E1648C-1502-49D1-AFF6-CFA1D0261F18@laposte.net> References: <92E1648C-1502-49D1-AFF6-CFA1D0261F18@laposte.net> Message-ID: <8681F88F-7915-47A2-A7FC-253856A59CE3@laposte.net> Le 17 mars 2013 ? 08:26, Ludovic Th?bault a ?crit : > > What i missing ? A bug in my script... From richmondmathewson at gmail.com Sun Mar 17 03:56:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 09:56:38 +0200 Subject: serial numbers on standalones In-Reply-To: <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> Message-ID: <51457736.7070703@gmail.com> On 03/16/2013 10:42 PM, Mark Talluto wrote: > > On Mar 16, 2013, at 1:07 PM, Richmond wrote: > >> If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. > The trick is to tie the software to more than one piece of hardware. How does one do that? > > -Mark > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 17 10:23:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 16:23:57 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: Message-ID: <5145D1FD.7030601@gmail.com> Desperately in need of help: installed 'preload' on my main rig (Ubuntustudio 12.10) and the thing rebooted and got stuck. Tried to remove preload using a Livedisk and chroot to no avail, and now in the 'sh*t' Anubody with any suggestions? Richmond. From kee at kagi.com Sun Mar 17 10:27:38 2013 From: kee at kagi.com (kee nethery) Date: Sun, 17 Mar 2013 07:27:38 -0700 Subject: serial numbers on standalones In-Reply-To: <51457736.7070703@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> Message-ID: <0A9CEC20-D559-49E9-A9AE-13C024CFF662@kagi.com> On Mar 17, 2013, at 12:56 AM, Richmond wrote: > On 03/16/2013 10:42 PM, Mark Talluto wrote: >> >> On Mar 16, 2013, at 1:07 PM, Richmond wrote: >> >>> If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. >> The trick is to tie the software to more than one piece of hardware. > > How does one do that? With a centralized server that coordinates which machine has which license. Kee From coiin at verizon.net Sun Mar 17 10:30:35 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 17 Mar 2013 10:30:35 -0400 Subject: [OT] Preload hoses my system In-Reply-To: <5145D1FD.7030601@gmail.com> References: <5145D1FD.7030601@gmail.com> Message-ID: <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> Can you get to the command line on that system, and do this: sudo apt-get remove preload From richmondmathewson at gmail.com Sun Mar 17 10:44:39 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 16:44:39 +0200 Subject: [OT] Preload hoses my system In-Reply-To: <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> Message-ID: <5145D6D7.3080002@gmail.com> On 03/17/2013 04:30 PM, Colin Holgate wrote: > Can you get to the command line on that system, and do this: > > sudo apt-get remove preload That would be lovely if I could. Especially as that is the most obvious thing to do :P trying "drop to root shell prompt" no joy Not using locking for read only lock file /var/lib/dpkg/lock Unable to write to /var/cache/apt/ trying dpkg nothing Horrible. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Mar 17 11:08:33 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 17 Mar 2013 09:08:33 -0600 Subject: [OT] Preload hoses my system In-Reply-To: <5145D6D7.3080002@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> Message-ID: You might try this: http://blog.troyastle.com/2010/06/boot-to-single-user-mode-in-ubuntu-1004.htmlto get into single user mode. On Sun, Mar 17, 2013 at 8:44 AM, Richmond wrote: > On 03/17/2013 04:30 PM, Colin Holgate wrote: > >> Can you get to the command line on that system, and do this: >> >> sudo apt-get remove preload >> > > That would be lovely if I could. > > Especially as that is the most obvious thing to do :P > > trying "drop to root shell prompt" > > no joy > > Not using locking for read only lock file /var/lib/dpkg/lock > Unable to write to /var/cache/apt/ > > trying dpkg > > nothing > > Horrible. > > >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 17 11:12:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 17:12:58 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> Message-ID: <5145DD7A.9010308@gmail.com> I have successfully got inside and removed preload, but it still will not boot; I suspect that preload has left all sorts of cruft lying around. Richmond. From richmondmathewson at gmail.com Sun Mar 17 11:14:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 17:14:16 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> Message-ID: <5145DDC8.8070404@gmail.com> The most alrming message seems to be this for all disk partitions: No Caching mode page present. Richmond. From userev at canelasoftware.com Sun Mar 17 11:16:38 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 17 Mar 2013 08:16:38 -0700 Subject: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> Message-ID: On Mar 16, 2013, at 1:30 PM, Timothy Miller wrote: > You've convinced me (unless someone later on this thread changes my mind). > > With software, it seems, one way to limit piracy damage is to upgrade routinely. With literature, it might help to release periodic revisions, or regularly add new material. The concept that software piracy can be viewed as a form of marketing is an interesting concept. Give people the software for free and they will convert and/or possibly convert others to use your software into actual sales that you can feed your family with. But, this is useful to a certain subset of products. It is death for others. For the portion of products that it can serve well, you can approach them in a more productive way. One of the keys to a successful software business is to know your customer. Build a relationship with them. You can not do that with pirated software. You do not know anything about that individual. So how can you utilize the power of trying software to its fullest? Give you software away from your site and other download sites. There are a number of reputable download sites like: macupdate.com, cnet.com, and others. Consider giving your software away with a 30 day to year long trial with no limitations. Now you have the power of "free" working for you while not losing the ever important connection with your client. The power of free marketing only works for tools that are not one time utilities. If you make a product that solves a very specific task, the pirate or trial user will get the milk for free and be done with your product. Sure, they may need it again in a year. But if they can use it for free, they will rationalize the theft as I am only using it rarely. This of course questions the validity of the creation of that type of product in the first place, but that is another topic altogether. If I may take a minute more of your time for consideration?consider selling your software as a service. Many products can dove tail nicely into this market. To beat a dead horse once more, I will demonstrate this using one of our products as an example because I can know the statistics that are real and useful for this conversation. We used to only sell our software in a traditional sense. It retails for $1750. In the last two years we started experimenting with the SaaS model. We priced the software from $19/mo to $79/mo with our customer base. We did this by offering it to different groups with varying prices to see which prices worked the best. The results were very interesting. The lower the prices did not work. People thought the product quality matched the lower pricing. The higher pricing actually sold with much higher conversion rates from the trials we handed out. We also tried various trial lengths. We tried everything from 14 days to 1 year. In short, 3 months ended up being the highest conversion rate with individual buyers. 1 year ended up being the highest conversion rate for organizations. You can still use the free trial in your guerrilla marketing plan. Let your users use the service for a period of time, no credit card needed, and build a relationship with them in ways piracy can never achieve. Best regards, Mark Talluto canelasoftware.com From bonnmike at gmail.com Sun Mar 17 11:24:14 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 17 Mar 2013 09:24:14 -0600 Subject: [OT] Preload hoses my system In-Reply-To: <5145DDC8.8070404@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> Message-ID: Most likely is related to a usb drive (stick or external) but if its happening for regular old internal drive NOT usb connected there is definitely something going on. Though if you do have an external drive or two you might try to boot without them and see if you still get the message. Its also possible to set the loglevel different or boot in quiet mode, but if you're like me you actually want to see those messages. if I come across anything else i'll let you know. On Sun, Mar 17, 2013 at 9:14 AM, Richmond wrote: > The most alrming message seems to be this for all disk partitions: > > No Caching mode page present. > > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Mar 17 11:42:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 17 Mar 2013 08:42:38 -0700 Subject: [OT] Preload hoses my system In-Reply-To: <5145D6D7.3080002@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> Message-ID: On Sun, Mar 17, 2013 at 7:44 AM, Richmond wrote: > On 03/17/2013 04:30 PM, Colin Holgate wrote: >> >> Can you get to the command line on that system, and do this: >> sudo apt-get remove preload > That would be lovely if I could. > Especially as that is the most obvious thing to do :P > trying "drop to root shell prompt" > no joy > > Not using locking for read only lock file /var/lib/dpkg/lock > Unable to write to /var/cache/apt/ try booting into single user, then "mount -a", at which point most low-level things should be functional -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sun Mar 17 11:50:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 17:50:22 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> Message-ID: <5145E63E.8010407@gmail.com> On 03/17/2013 05:24 PM, Mike Bonner wrote: > Most likely is related to a usb drive (stick or external) but if its > happening for regular old internal drive NOT usb connected there is > definitely something going on. Though if you do have an external drive or > two you might try to boot without them and see if you still get the > message. I disconnected an internal USB drive (sdb) and those caching messages went away. Naively hoped that was 'it'. BUT still not booting, and getting this: a long list of "Setting IRQ priorities" followed by nothing. Richmond. > > Its also possible to set the loglevel different or boot in quiet mode, but > if you're like me you actually want to see those messages. if I come across > anything else i'll let you know. > > > > On Sun, Mar 17, 2013 at 9:14 AM, Richmond wrote: > >> The most alrming message seems to be this for all disk partitions: >> >> No Caching mode page present. >> >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 17 12:02:22 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 17 Mar 2013 12:02:22 -0400 Subject: [OT] Preload hoses my system In-Reply-To: <5145E63E.8010407@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> Message-ID: If you have another drive, I would install a fresh OS, and mount the old one to recover any important data. Sent from my Pipo M2 On Mar 17, 2013 11:51 AM, "Richmond" wrote: > On 03/17/2013 05:24 PM, Mike Bonner wrote: > >> Most likely is related to a usb drive (stick or external) but if its >> happening for regular old internal drive NOT usb connected there is >> definitely something going on. Though if you do have an external drive or >> two you might try to boot without them and see if you still get the >> message. >> > > I disconnected an internal USB drive (sdb) and those caching messages went > away. > > Naively hoped that was 'it'. > > BUT still not booting, and getting this: > > a long list of "Setting IRQ priorities" followed by nothing. > > Richmond. > >> >> Its also possible to set the loglevel different or boot in quiet mode, but >> if you're like me you actually want to see those messages. if I come >> across >> anything else i'll let you know. >> >> >> >> On Sun, Mar 17, 2013 at 9:14 AM, Richmond ** >> wrote: >> >> The most alrming message seems to be this for all disk partitions: >>> >>> No Caching mode page present. >>> >>> >>> Richmond. >>> >>> ______________________________****_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 17 12:10:55 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 18:10:55 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> Message-ID: <5145EB0F.9090709@gmail.com> To be honest I am beginning to think I made a mistake only allowing 10 Gigs for my root partition, and am now trying to work out a way to non-destructively enlarge that. > If you have another drive, I would install a fresh OS, and mount the old > one to recover any important data. > > Sent from my Pipo M2 > On Mar 17, 2013 11:51 AM, "Richmond" wrote: > >> On 03/17/2013 05:24 PM, Mike Bonner wrote: >> >>> Most likely is related to a usb drive (stick or external) but if its >>> happening for regular old internal drive NOT usb connected there is >>> definitely something going on. Though if you do have an external drive or >>> two you might try to boot without them and see if you still get the >>> message. >>> >> I disconnected an internal USB drive (sdb) and those caching messages went >> away. >> >> Naively hoped that was 'it'. >> >> BUT still not booting, and getting this: >> >> a long list of "Setting IRQ priorities" followed by nothing. >> >> Richmond. >> >>> Its also possible to set the loglevel different or boot in quiet mode, but >>> if you're like me you actually want to see those messages. if I come >>> across >>> anything else i'll let you know. >>> >>> >>> >>> On Sun, Mar 17, 2013 at 9:14 AM, Richmond ** >>> wrote: >>> >>> The most alrming message seems to be this for all disk partitions: >>>> No Caching mode page present. >>>> >>>> >>>> Richmond. >>>> >>>> ______________________________****_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Mar 17 12:29:23 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 17 Mar 2013 10:29:23 -0600 Subject: [OT] Preload hoses my system In-Reply-To: <5145EB0F.9090709@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> Message-ID: Very possible that is the problem. A live cd with gparted would work, but if there is any way you should backup your data first. Might also use gddrescue to create a complete image of the drive to a file in a safe place (gddrescue rocks!) before doing the resize. Think you can gddrescue individual partitions or the whole drive. (been a while since i've had to do it) if you go with partition images it makes it pretty easy to mount them later and get at the contents. Also, while we're talking about this stuff, if you have a machine with enough space to store disk images, clonezilla and fog are great. You can keep clean images, do installs and such to see what happens and recover completely if necessary using your image backups. (the only limitation of fog is that you would need to run ext2 file systems. ext4 is not yet supported though that is coming soon) Nice thing about fog too is you can set it up to pxe boot machines. I use it to send tinycore out to some thin clients I have here. (128 mb diskonchip drives, 256 megs of mem) Makes it nice to do loads too. Install 1 machine the way I like it, grab the image with fog, deploy it to the other machines. To be honest I am beginning to think I made a mistake only allowing 10 Gigs > for my root partition, > and am now trying to work out a way to non-destructively enlarge that. > > From userev at canelasoftware.com Sun Mar 17 12:29:22 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 17 Mar 2013 09:29:22 -0700 Subject: serial numbers on standalones In-Reply-To: <51457736.7070703@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> Message-ID: <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> On Mar 17, 2013, at 12:56 AM, Richmond wrote: > On 03/16/2013 10:42 PM, Mark Talluto wrote: >> >> On Mar 16, 2013, at 1:07 PM, Richmond wrote: >> >>> If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. >> The trick is to tie the software to more than one piece of hardware. > > How does one do that? You can gather a fair amount of hardware data via shell commands. Build a virtual fingerprint of the hardware you see. If one piece changes or is missing then you can record this change locally. Should the amount of changes pass a threshold you set, then the software can pop up a screen, turn off, or do whatever you like. If you require the software to have a net connection every so often, then you can even have this data phone home to your licensing server to notify you of this. You can then call your client and discuss the situation or ignore it and let them continue to use your software. Either way, your DRM is not getting in their way. But it is letting you know the state of affairs. You, the developer, now have the power to act how you see fit. Best regards, Mark Talluto canelasoftware.com From richmondmathewson at gmail.com Sun Mar 17 12:34:11 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 18:34:11 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> Message-ID: <5145F083.60505@gmail.com> On 03/17/2013 06:29 PM, Mike Bonner wrote: > Very possible that is the problem. A live cd with gparted would work, but > if there is any way you should backup your data first. Might also use > gddrescue to create a complete image of the drive to a file in a safe place > (gddrescue rocks!) before doing the resize. Think you can gddrescue > individual partitions or the whole drive. (been a while since i've had to > do it) if you go with partition images it makes it pretty easy to mount > them later and get at the contents. Thank you very much for your advice: I am, indeed, playing around with gparted right this minute from a live Ubuntustudio disk. However I can see a long night ahead of me. Lucky I have got this machine currently running "elementary OS" (a.k.a babiefied Ubuntu) for email and listening to Music. > > Also, while we're talking about this stuff, if you have a machine with > enough space to store disk images, clonezilla and fog are great. You can > keep clean images, do installs and such to see what happens and recover > completely if necessary using your image backups. (the only limitation of > fog is that you would need to run ext2 file systems. ext4 is not yet > supported though that is coming soon) > > Nice thing about fog too is you can set it up to pxe boot machines. I use > it to send tinycore out to some thin clients I have here. (128 mb > diskonchip drives, 256 megs of mem) Makes it nice to do loads too. Install > 1 machine the way I like it, grab the image with fog, deploy it to the > other machines. > > > To be honest I am beginning to think I made a mistake only allowing 10 Gigs >> for my root partition, >> and am now trying to work out a way to non-destructively enlarge that. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 17 13:16:55 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 17 Mar 2013 13:16:55 -0400 Subject: [OT] Preload hoses my system In-Reply-To: <5145EB0F.9090709@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> Message-ID: Gparted. http://www.youtube.com/watch?v=uv1aXOvjK2E Sent from my Pipo M2 On Mar 17, 2013 12:12 PM, "Richmond" wrote: > To be honest I am beginning to think I made a mistake only allowing 10 > Gigs for my root partition, > and am now trying to work out a way to non-destructively enlarge that. > > If you have another drive, I would install a fresh OS, and mount the old >> one to recover any important data. >> >> Sent from my Pipo M2 >> On Mar 17, 2013 11:51 AM, "Richmond" wrote: >> >> On 03/17/2013 05:24 PM, Mike Bonner wrote: >>> >>> Most likely is related to a usb drive (stick or external) but if its >>>> happening for regular old internal drive NOT usb connected there is >>>> definitely something going on. Though if you do have an external drive >>>> or >>>> two you might try to boot without them and see if you still get the >>>> message. >>>> >>>> I disconnected an internal USB drive (sdb) and those caching messages >>> went >>> away. >>> >>> Naively hoped that was 'it'. >>> >>> BUT still not booting, and getting this: >>> >>> a long list of "Setting IRQ priorities" followed by nothing. >>> >>> Richmond. >>> >>> Its also possible to set the loglevel different or boot in quiet mode, >>>> but >>>> if you're like me you actually want to see those messages. if I come >>>> across >>>> anything else i'll let you know. >>>> >>>> >>>> >>>> On Sun, Mar 17, 2013 at 9:14 AM, Richmond >>> >**** >>>> wrote: >>>> >>>> The most alrming message seems to be this for all disk partitions: >>>> >>>>> No Caching mode page present. >>>>> >>>>> >>>>> Richmond. >>>>> >>>>> ______________________________******_________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/******mailman/listinfo/use-livecode >>>>> <**http://lists.runrev.com/****mailman/listinfo/use-livecode >>>>> > >>>>> <**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 >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> > >>>> >>>> >>> ______________________________****_________________ >>> use-livecode mailing list >>> use-livecode 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 mwieder at ahsoftware.net Sun Mar 17 13:23:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 17 Mar 2013 10:23:26 -0700 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> Message-ID: <17314133250.20130317102326@ahsoftware.net> Richmond- And if you're going to go with the repartitioning option, PLEASE make separate root and home partitions. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Mar 17 13:30:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 19:30:16 +0200 Subject: [OT] Preload hoses my system In-Reply-To: <17314133250.20130317102326@ahsoftware.net> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> <17314133250.20130317102326@ahsoftware.net> Message-ID: <5145FDA8.6000104@gmail.com> On 03/17/2013 07:23 PM, Mark Wieder wrote: > Richmond- > > And if you're going to go with the repartitioning option, PLEASE make > separate root and home partitions. > That is what I did; but, foolishly, I made my root partition 'only' 10 GB, thinking that was enough. . . . obviously not! From roger.e.eller at sealedair.com Sun Mar 17 13:35:20 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 17 Mar 2013 13:35:20 -0400 Subject: [OT] Preload hoses my system In-Reply-To: <17314133250.20130317102326@ahsoftware.net> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> <17314133250.20130317102326@ahsoftware.net> Message-ID: It used to be recommended that /var also be a separate partition. A well known dos attack was to fill up /var/tmp, rendering the system dead. Hey Richmond, if you liked Elementary, have a look at the latest Pear Linux. A friend of mine switched from Win7, and he raves about how his laptop is finally fast and reliable. http://www.youtube.com/watch?v=Taa9DXr4wgo Sent from my Pipo M2 On Mar 17, 2013 1:28 PM, "Mark Wieder" wrote: > Richmond- > > And if you're going to go with the repartitioning option, PLEASE make > separate root and home partitions. > > -- > -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 capellan2000 at gmail.com Sun Mar 17 15:49:42 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 17 Mar 2013 12:49:42 -0700 (PDT) Subject: Learning by... avoiding mistakes Message-ID: <1363549782599-4662291.post@n4.nabble.com> Hi all, I was checking in Amazon the impressive collection of books about learning by avoiding mistakes: http://www.amazon.com/s/ref=sr_pg_1?rh=n%3A283155%2Ck%3Amistake%2Cn%3A%211000%2Cn%3A5&bbn=1000&keywords=mistake&ie=UTF8&qid=1363544059 For example: Safe C++: How to avoid common mistakes Web Bloopers: 60 Common Web Design Mistakes, and How to Avoid Them GUI Bloopers 2.0, Second Edition: Common User Interface Design Don'ts and Dos Common Sense Internet Security: The 10 Biggest Internet Security Mistakes How Not to Write a Novel: 200 Mistakes to Avoid at All Costs If You Ever Want to Get Published. Howard Mittelmark... Did anyone in this mail list, keep a detailed account of their own programming mistakes and The methods used to solved them? Does exists a standard format to store and share this particular kind of information? Notice that programming mistakes are different from engine bugs. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Learning-by-avoiding-mistakes-tp4662291.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Mar 17 16:41:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 17 Mar 2013 22:41:46 +0200 Subject: Learning by... avoiding mistakes In-Reply-To: <1363549782599-4662291.post@n4.nabble.com> References: <1363549782599-4662291.post@n4.nabble.com> Message-ID: <51462A8A.8080209@gmail.com> On 03/17/2013 09:49 PM, Alejandro Tejada wrote: > Hi all, > > I was checking in Amazon the impressive collection > of books about learning by avoiding mistakes: > > http://www.amazon.com/s/ref=sr_pg_1?rh=n%3A283155%2Ck%3Amistake%2Cn%3A%211000%2Cn%3A5&bbn=1000&keywords=mistake&ie=UTF8&qid=1363544059 > > For example: > > Safe C++: How to avoid common mistakes > Web Bloopers: 60 Common Web Design Mistakes, and How to Avoid Them > GUI Bloopers 2.0, Second Edition: Common User Interface Design Don'ts and > Dos > Common Sense Internet Security: The 10 Biggest Internet Security Mistakes > How Not to Write a Novel: 200 Mistakes to Avoid at All Costs If You Ever > Want to Get Published. Howard Mittelmark... > > Did anyone in this mail list, keep a detailed account of > their own programming mistakes and The methods used > to solved them? > > Does exists a standard format to store and share this > particular kind of information? > > Notice that programming mistakes are different from engine bugs. > > Thanks in advance! > Al > > > Right now I'm so busy learning by making mistakes I haven't any time left to learn by avoiding mistakes. LOL! Richmond. From jacque at hyperactivesw.com Sun Mar 17 17:09:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Mar 2013 16:09:45 -0500 Subject: Learning by... avoiding mistakes In-Reply-To: <1363549782599-4662291.post@n4.nabble.com> References: <1363549782599-4662291.post@n4.nabble.com> Message-ID: <51463119.6080001@hyperactivesw.com> On 3/17/13 2:49 PM, Alejandro Tejada wrote: > Did anyone in this mail list, keep a detailed account of > their own programming mistakes and The methods used > to solved them? I won't tell you the dumbest thing I ever did. But I'll tell you what I did 3 days ago and maybe you'll think that's the dumbest thing I ever did. I had some Finder windows open and suddenly, without warning, all the files in a folder disappeared. The subfolders were still there and okay but every last file in my current project folder just went poof. I've had some intermittent problems with the hard drive so I ran a Disk Utility check but it said everything was fine. I immediately made an appointment with the Apple Store to replace the drive anyway, since it was part of their Seagate recall and I hadn't done it yet. I wished I had. Luckily Time Machine had done a backup 6 minutes before, so I replaced the files. Then I made a complete, bootable backup with SuperDuper and took the Mac into the store yesterday. It came back today with a new drive and I'm restoring everything as I type this now. Meanwhile I'm on my MacBook, looking at the big project I'm working on. It used to write files to the temporary folder until we changed things, and I'd removed the handler that calculated the path to the temp files. But I'd forgotten to remove the deletion handler that ran on shutdown, and without the correct path, just used the current directory. I deleted my own work. But hey, I have a new hard drive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sun Mar 17 17:27:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 17 Mar 2013 14:27:44 -0700 Subject: Learning by... avoiding mistakes In-Reply-To: <1363549782599-4662291.post@n4.nabble.com> References: <1363549782599-4662291.post@n4.nabble.com> Message-ID: For me, that would be a multi-volume tome! Pete lcSQL Software On Sun, Mar 17, 2013 at 12:49 PM, Alejandro Tejada wrote: > Hi all, > > I was checking in Amazon the impressive collection > of books about learning by avoiding mistakes: > > > http://www.amazon.com/s/ref=sr_pg_1?rh=n%3A283155%2Ck%3Amistake%2Cn%3A%211000%2Cn%3A5&bbn=1000&keywords=mistake&ie=UTF8&qid=1363544059 > > For example: > > Safe C++: How to avoid common mistakes > Web Bloopers: 60 Common Web Design Mistakes, and How to Avoid Them > GUI Bloopers 2.0, Second Edition: Common User Interface Design Don'ts and > Dos > Common Sense Internet Security: The 10 Biggest Internet Security Mistakes > How Not to Write a Novel: 200 Mistakes to Avoid at All Costs If You Ever > Want to Get Published. Howard Mittelmark... > > Did anyone in this mail list, keep a detailed account of > their own programming mistakes and The methods used > to solved them? > > Does exists a standard format to store and share this > particular kind of information? > > Notice that programming mistakes are different from engine bugs. > > Thanks in advance! > Al > > > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Learning-by-avoiding-mistakes-tp4662291.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 anthonyhowe at mac.com Sun Mar 17 22:06:51 2013 From: anthonyhowe at mac.com (Anthony Howe) Date: Mon, 18 Mar 2013 13:06:51 +1100 Subject: serial numbers on standalones In-Reply-To: <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> Message-ID: <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> DRM, online licensing, is all fantastic and great stuff. There are a number of great iterations out there, and I can vouch for the quality of Mark's spicekit solution. It totally rocks. Massive caveat: If you are distributing cross platform software to users inside organisations that use firewalls and proxy servers, and then intend to attach an internet based registration service to your product, using LiveCode as the underlying application engine do it, I strongly suggest signing up for a life membership to your nearest acupuncture, remedial massage, and zen meditation centre as quickly as possible. You are going to need it. This single issue has literally just consumed the best part of a whole year of my working life during 2012. Different proxy servers and LC do not play nicely in the sandpit together, and both of them currently require a good, solid, spanking. I sincerely hope that this issue is given some good coverage in the forthcoming update via KS funding. On 18/03/2013, at 3:29 AM, Mark Talluto wrote: > > On Mar 17, 2013, at 12:56 AM, Richmond wrote: > >> On 03/16/2013 10:42 PM, Mark Talluto wrote: >>> >>> On Mar 16, 2013, at 1:07 PM, Richmond wrote: >>> >>>> If one does not tie a piece of software to a piece of hardware there is probably no way to prevent multiple copies being distributed across many machines. >>> The trick is to tie the software to more than one piece of hardware. >> >> How does one do that? > > You can gather a fair amount of hardware data via shell commands. Build a virtual fingerprint of the hardware you see. > > If one piece changes or is missing then you can record this change locally. Should the amount of changes pass a threshold you set, then the software can pop up a screen, turn off, or do whatever you like. > > If you require the software to have a net connection every so often, then you can even have this data phone home to your licensing server to notify you of this. You can then call your client and discuss the situation or ignore it and let them continue to use your software. > > Either way, your DRM is not getting in their way. But it is letting you know the state of affairs. You, the developer, now have the power to act how you see fit. > > > Best regards, > > Mark Talluto > canelasoftware.com > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Sun Mar 17 22:38:14 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 18 Mar 2013 13:38:14 +1100 Subject: serial numbers on standalones In-Reply-To: <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> Message-ID: <148AD07D-B4E9-4C2A-BAC4-8B976E43BC56@gmail.com> ...or at least some evidence-based modality :) Gerry On 18/03/2013, at 1:06 PM, Anthony Howe wrote: > I strongly suggest signing up for a life membership to your nearest acupuncture, From calhorner at xtra.co.nz Sun Mar 17 23:55:43 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 18 Mar 2013 16:55:43 +1300 (New Zealand Daylight Time) Subject: Where did all the color go? Message-ID: <51469036.000009.02352@CALS_BIG_PC> I just started a new stack that required the menu bar. So I selected the Menu Builder" and it was like a "Whiteout" in the Antarctic. Everything had gone white. So Like any good hacker I went into administrator mode and loaded in the application browser and loaded in the menu builder. All the colors of the color and patterns menu item had been turned white! Well, maybe one of the maintenance programmers at RunRev had turned off the text and background color by mistake. By the way, I was using LC 5.5.4. So, Just to check I loaded in LC 5.5.3. Same problem. Then I looked at the rest of the IDE stacks, samey-samey. All the backgrounds are a ghostly white and most of the text is white as well. See the problem? So it must be related to the home stack. Am I right? Has any one on the forum got a ready answer for this problem. Or am I just a big dummy again? Nobody laugh. Thanks for any ideas. Cal From jacque at hyperactivesw.com Mon Mar 18 00:33:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Mar 2013 23:33:16 -0500 Subject: serial numbers on standalones In-Reply-To: <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> Message-ID: <5146990C.6060806@hyperactivesw.com> On 3/17/13 9:06 PM, Anthony Howe wrote: > If you are distributing cross platform software to users inside > organisations that use firewalls and proxy servers, and then intend > to attach an internet based registration service to your product, > using LiveCode as the underlying application engine do it, I strongly > suggest signing up for a life membership to your nearest acupuncture, > remedial massage, and zen meditation centre as quickly as possible. Could you say a little more about the problems you had? I don't want to hit the same wall. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 18 00:45:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Mar 2013 23:45:48 -0500 Subject: Where did all the color go? In-Reply-To: <51469036.000009.02352@CALS_BIG_PC> References: <51469036.000009.02352@CALS_BIG_PC> Message-ID: <51469BFC.9090607@hyperactivesw.com> On 3/17/13 10:55 PM, Cal Horner wrote: > I just started a new stack that required the menu bar. So I selected the > Menu Builder" and it was like a "Whiteout" in the Antarctic. > > Everything had gone white. > > So Like any good hacker I went into administrator mode and loaded in the > application browser and loaded in the menu builder. All the colors of the > color and patterns menu item had been turned white! Well, maybe one of the > maintenance programmers at RunRev had turned off the text and background > color by mistake. > > By the way, I was using LC 5.5.4. So, Just to check I loaded in LC 5.5.3. > Same problem. > > Then I looked at the rest of the IDE stacks, samey-samey. All the > backgrounds are a ghostly white and most of the text is white as well. See > the problem? So it must be related to the home stack. Am I right? I don't think so. Each verison of LiveCode has its own Home stack. The only files it shares between different version installations are the preferences and the "My LiveCode" folder with the Externals, Plugins, and Resources. Is it only LiveCode that's affected? How do your other apps look? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Mar 18 00:52:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 17 Mar 2013 21:52:07 -0700 Subject: Where did all the color go? In-Reply-To: <51469036.000009.02352@CALS_BIG_PC> References: <51469036.000009.02352@CALS_BIG_PC> Message-ID: <31355454734.20130317215207@ahsoftware.net> Cal- Sunday, March 17, 2013, 8:55:43 PM, you wrote: > Thanks for any ideas. I'd say toss your preferences file. Sounds like your default colors are all defaulting to white. -- -Mark Wieder mwieder at ahsoftware.net From anthonyhowe at me.com Mon Mar 18 01:23:33 2013 From: anthonyhowe at me.com (Anthony Howe) Date: Mon, 18 Mar 2013 16:23:33 +1100 Subject: serial numbers on standalones In-Reply-To: <5146990C.6060806@hyperactivesw.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> <5146990C.6060806@hyperactivesw.com> Message-ID: <2F083D92-B149-4BEC-8A64-A71F031304DB@me.com> Hiya Jacqueline, As far as my understanding goes, it's like this: 1. libURL looks after any internet requests from an LC app to an internet server and has basic support for manual proxy configuration via the HTTPProxy function. e.g. "set the HTTPProxy to "127.0.0.0:80"" However, a lot of user computer connections to proxy servers we're experiencing these days are configured via .pac files - which is basically a file on the local subnet that 'points to' the correct proxy settings - allowing for a 'lookup' sequence to occur. Sometimes the .pac config also triggers system level authentication before providing full access to the requesting app. .pac file configuration is actually much better, as it allows auto lookup of proxy details on the host computer which shields the user from having to : a. know what a proxy server is in the first place b. know how to configure it, and c. what the details actually are for their specific situation ..... if the user machines are NOT configured, via .pac files, they usually require the user to manually enter proxy server details into software that requires access. The ideal user experience of course, is complete invisibility of all this. Sometimes, both methods are available. We are finding that the manual configuration method is being 'phased out' in the schools we are shipping to due to the onset of iPads that are more easily configured by .pac method. 2. LC / libURL support is OK, for manual configuration, after which point, all internet requests are sent via that method. All sounds easy enough right? The gotchya is, that LC does NOT currently have the capability to query a .pac file configuration at the system level, and therefore auto-populate the httpproxy details. So, users are immediately locked into scenario outlined in point 1 above. In addition, there are significant anomalies with how the http proxy function and/or subsequent file up/downloads work on mac/win when met with the myriad of different proxy server software that exists in different organisations in an authentication session. We have launched into a nation wide distribution with internet dependant features, and have found considerable variance with basic connectivity support in the app when using these functions. Our users are not avid computer users, and are now having to fill out multiple forms before being able to use the software for the first time. It's a big hurdle for most of them.... and that's when everythings actually working! Eventually, it all gets up and running, but our support queue is usually running at capacity, and it's rarely to do with our actual software, and almost ALWAYS to do with the proxy support or configuration process. I would recommend: 1. Putting a LOT of thought and execution into your startup UX to ensure maximum simplicity and timing of events that are likely when a user starts up the software in a proxied environment. Error messaging, progress bars, simple, visually comfortable forms to fill out...etc... 2. Researching and testing as many different proxy configurations with your resultant model to check for variance / timeouts etc.. 3. Making friends with a few experts in the IT departments of organisations you're shipping to so that testing is even possible. An internal test server just doesn't cut it. 4. Keeping an eye on .pac support process for LC (Trevor DV has already been down this path with the GLX App framework, but it's yet to appear anywhere else, including LC proper) BOTTOM LINE, any internet dependent software running in an organisation is HEAVILY dependent on the whims of the IT team(s) controlling the network configuration it's running in. As developers in LC, we are pretty much limited to what LC has in the box for proxy support. In addition, because our functionality does not run in a browser, we're subject to the usual overriding assumption in these organisational configurations that any app not 'known about' is evil. It'd be great to see a solid solution / external / plugin that thinks this stuff through properly emerge for us all from somewhere, the two key requirements being: - UX optimisations / templates for developers making internet aware apps requiring user based proxy authentication - preferably with .pac and manual config workflows covered - Addressing the myriad of variables that exist across MAC/WIN network configurations and the common suite of proxy servers that are likely to be encountered, some of which do NOT provide the 'standard' handshake expected, creating anomalies / errors in the connect process. Easy huh? I'd love to see how other education community focussed solutions have dealt with this problem for internet dependent features and proxy support previously. We can't help wondering if we're missing something totally simple in our rather challenging process here. Hope that sheds light. Cheers, A. On 18/03/2013, at 3:33 PM, J. Landman Gay wrote: > On 3/17/13 9:06 PM, Anthony Howe wrote: > >> If you are distributing cross platform software to users inside >> organisations that use firewalls and proxy servers, and then intend >> to attach an internet based registration service to your product, >> using LiveCode as the underlying application engine do it, I strongly >> suggest signing up for a life membership to your nearest acupuncture, >> remedial massage, and zen meditation centre as quickly as possible. > > Could you say a little more about the problems you had? I don't want to hit the same wall. > > -- > 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 anthonyhowe at mac.com Mon Mar 18 01:23:56 2013 From: anthonyhowe at mac.com (Anthony Howe) Date: Mon, 18 Mar 2013 16:23:56 +1100 Subject: serial numbers on standalones In-Reply-To: <5146990C.6060806@hyperactivesw.com> References: <514436DC.5040007@economy-x-talk.com> <32C7A2CA-7033-4943-A852-3D7992C9B372@canelasoftware.com> <5144B562.4060007@gmail.com> <8B9C5DAB-18CD-4809-B4E9-45060F4D6C98@canelasoftware.com> <5144D0F6.3070908@gmail.com> <2EE78A51-D36A-4D70-86C7-DB4E32FE3376@canelasoftware.com> <51457736.7070703@gmail.com> <8E13A955-75D2-477F-AE0C-14B7D3945B67@canelasoftware.com> <081DEC76-2F17-46C7-802C-29913B8D2AED@mac.com> <5146990C.6060806@hyperactivesw.com> Message-ID: <0B3EB3DB-AF13-41E7-8781-933E60A1E485@mac.com> Hiya Jacqueline, As far as my understanding goes, it's like this: 1. libURL looks after any internet requests from an LC app to an internet server and has basic support for manual proxy configuration via the HTTPProxy function. e.g. "set the HTTPProxy to "127.0.0.0:80"" However, a lot of user computer connections to proxy servers we're experiencing these days are configured via .pac files - which is basically a file on the local subnet that 'points to' the correct proxy settings - allowing for a 'lookup' sequence to occur. Sometimes the .pac config also triggers system level authentication before providing full access to the requesting app. .pac file configuration is actually much better, as it allows auto lookup of proxy details on the host computer which shields the user from having to : a. know what a proxy server is in the first place b. know how to configure it, and c. what the details actually are for their specific situation ..... if the user machines are NOT configured, via .pac files, they usually require the user to manually enter proxy server details into software that requires access. The ideal user experience of course, is complete invisibility of all this. Sometimes, both methods are available. We are finding that the manual configuration method is being 'phased out' in the schools we are shipping to due to the onset of iPads that are more easily configured by .pac method. 2. LC / libURL support is OK, for manual configuration, after which point, all internet requests are sent via that method. All sounds easy enough right? The gotchya is, that LC does NOT currently have the capability to query a .pac file configuration at the system level, and therefore auto-populate the httpproxy details. So, users are immediately locked into scenario outlined in point 1 above. In addition, there are significant anomalies with how the http proxy function and/or subsequent file up/downloads work on mac/win when met with the myriad of different proxy server software that exists in different organisations in an authentication session. We have launched into a nation wide distribution with internet dependant features, and have found considerable variance with basic connectivity support in the app when using these functions. Our users are not avid computer users, and are now having to fill out multiple forms before being able to use the software for the first time. It's a big hurdle for most of them.... and that's when everythings actually working! Eventually, it all gets up and running, but our support queue is usually running at capacity, and it's rarely to do with our actual software, and almost ALWAYS to do with the proxy support or configuration process. I would recommend: 1. Putting a LOT of thought and execution into your startup UX to ensure maximum simplicity and timing of events that are likely when a user starts up the software in a proxied environment. Error messaging, progress bars, simple, visually comfortable forms to fill out...etc... 2. Researching and testing as many different proxy configurations with your resultant model to check for variance / timeouts etc.. 3. Making friends with a few experts in the IT departments of organisations you're shipping to so that testing is even possible. An internal test server just doesn't cut it. 4. Keeping an eye on .pac support process for LC (Trevor DV has already been down this path with the GLX App framework, but it's yet to appear anywhere else, including LC proper) BOTTOM LINE, any internet dependent software running in an organisation is HEAVILY dependent on the whims of the IT team(s) controlling the network configuration it's running in. As developers in LC, we are pretty much limited to what LC has in the box for proxy support. In addition, because our functionality does not run in a browser, we're subject to the usual overriding assumption in these organisational configurations that any app not 'known about' is evil. It'd be great to see a solid solution / external / plugin that thinks this stuff through properly emerge for us all from somewhere, the two key requirements being: - UX optimisations / templates for developers making internet aware apps requiring user based proxy authentication - preferably with .pac and manual config workflows covered - Addressing the myriad of variables that exist across MAC/WIN network configurations and the common suite of proxy servers that are likely to be encountered, some of which do NOT provide the 'standard' handshake expected, creating anomalies / errors in the connect process. Easy huh? I'd love to see how other education community focussed solutions have dealt with this problem for internet dependent features and proxy support previously. We can't help wondering if we're missing something totally simple in our rather challenging process here. Hope that sheds light. Cheers, A. On 18/03/2013, at 3:33 PM, J. Landman Gay wrote: > On 3/17/13 9:06 PM, Anthony Howe wrote: > >> If you are distributing cross platform software to users inside >> organisations that use firewalls and proxy servers, and then intend >> to attach an internet based registration service to your product, >> using LiveCode as the underlying application engine do it, I strongly >> suggest signing up for a life membership to your nearest acupuncture, >> remedial massage, and zen meditation centre as quickly as possible. > > Could you say a little more about the problems you had? I don't want to hit the same wall. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Mar 18 12:29:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Mar 2013 16:29:34 +0000 (UTC) Subject: Google App Engine Message-ID: hi- Don't yet know how this might apply to LC, but this showed up in my inbox this morningl, so I thought I'd pass it on. Google is offering startups $1,000 of credit to start building applications on Google App Engine. App Engine is a development platform that makes applications easy to write, simple to scale, and trivial to manage. Apply for App Engine for Startups at cloud.google.com/startups and use verification code: ASVM-02. (affiliation through Silicon Valley Android Meetup) Application deadline is March 31, 2013. -- Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Mon Mar 18 13:54:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 18 Mar 2013 19:54:49 +0200 Subject: [OT] Preload hoses my system In-Reply-To: References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> <17314133250.20130317102326@ahsoftware.net> Message-ID: <514754E9.3050403@gmail.com> What can I say except "Thank God for gparted": shrank my 'Home' partition by some 37 GB, and then copied my 9.5 GB 'boot' partition over into the freed space and flagged that space as 'boot': took all night, but did it by itself while I slept: cheers, cheers! AND: "Don't make a boot partition that the Linux people say is 'OK': triple it, at least. 'Learning from avoiding mistakes' . . . Ha, Ha, Ha: learning from putting my foot in it for 51 years more likely. Thanks to all on the list for all the helpful advice. Richmond. From mwieder at ahsoftware.net Mon Mar 18 15:17:19 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Mar 2013 19:17:19 +0000 (UTC) Subject: Learning by... avoiding mistakes References: <1363549782599-4662291.post@n4.nabble.com> Message-ID: Alejandro Tejada writes: > I was checking in Amazon the impressive collection > of books about learning by avoiding mistakes: I would counter that making mistakes is the best way to learn. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Mar 18 15:18:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Mar 2013 19:18:29 +0000 (UTC) Subject: Learning by... avoiding mistakes References: <1363549782599-4662291.post@n4.nabble.com> <51463119.6080001@hyperactivesw.com> Message-ID: J. Landman Gay writes: > I won't tell you the dumbest thing I ever did. But I'll tell you what I > did 3 days ago and maybe you'll think that's the dumbest thing I ever did. Anyone who has never made a mistake has never tried anything new. -- Albert Einstein. -- Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Mon Mar 18 16:18:04 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 18 Mar 2013 13:18:04 -0700 Subject: Learning by... avoiding mistakes In-Reply-To: References: <1363549782599-4662291.post@n4.nabble.com> Message-ID: <5147767C.8000208@pdslabs.net> I love Mark Twain's observation (aka story of my life): Good judgment comes from experience; Experience comes from bad judgment. :-) Phil Davis On 3/18/13 12:17 PM, Mark Wieder wrote: > Alejandro Tejada writes: > >> I was checking in Amazon the impressive collection >> of books about learning by avoiding mistakes: > I would counter that making mistakes is the best way to learn. > -- Phil Davis From benr_mc at cogapp.com Mon Mar 18 16:54:41 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 18 Mar 2013 20:54:41 +0000 Subject: Intermittent availability of Android emulator for Test Target Message-ID: <51477F11.3020306@cogapp.com> I'm having trouble running tests on the Android emulator from LiveCode on Mac. Sometimes I see it in the "Test Target" menu, sometimes I don't. This is on various versions of LiveCode from 5.3 onwards. I restart AVD, restart the emulator, restart LiveCode, reselect Android in Standalone Application Settings... I can't find the magic sequence that makes it come back. But sometimes it has come back. Does anyone else have this problem? Has anyone got a routine which works? Or is there something stupid which I'm doing that would account for the problems I'm having? TIA, Ben From littlejamesw at mac.com Mon Mar 18 17:04:10 2013 From: littlejamesw at mac.com (James Little) Date: Mon, 18 Mar 2013 14:04:10 -0700 Subject: Pulling Unicode Data from a DataGrid Message-ID: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> Hey all, We're translating our app SmoothieRx into Japanese and have been struggling to get UTF-16 text from a DataGrid. We've tried all sorts of combinations of uniEncode, uniDecode on the data and it all comes out garbled. We first overrode the DataGrid, so we can see that the Japanese in the datagrid is correct. But, when we pull it out using GetDataOfLine or dgDataOfLine and then try to decode it, it is garbled. Current thinking is that we need to create another handler like GetUnicodeDataOfLine. Any ideas? -Todd From sc at sahores-conseil.com Mon Mar 18 17:34:30 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 18 Mar 2013 22:34:30 +0100 Subject: Intermittent availability of Android emulator for Test Target In-Reply-To: <51477F11.3020306@cogapp.com> References: <51477F11.3020306@cogapp.com> Message-ID: Ben, I had it frequently and to avoid such inconsistencies witch occurred against real devices too, i test all my android builds against real devices in using the free android "AirDroid" (web server) app to install them in seconds over WIFI. Problem solved ;-) Le 18 mars 2013 ? 21:54, Ben Rubinstein a ?crit : > I'm having trouble running tests on the Android emulator from LiveCode on Mac. Sometimes I see it in the "Test Target" menu, sometimes I don't. This is on various versions of LiveCode from 5.3 onwards. I restart AVD, restart the emulator, restart LiveCode, reselect Android in Standalone Application Settings... I can't find the magic sequence that makes it come back. But sometimes it has come back. > > Does anyone else have this problem? Has anyone got a routine which works? Or is there something stupid which I'm doing that would account for the problems I'm having? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From niconiko at gmail.com Mon Mar 18 18:56:22 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 19 Mar 2013 07:56:22 +0900 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> Message-ID: For handling Japanese text, these functions (below) by Kenji Kojima have served perfectly for years. (Many thanks again, Kenji!) -- Nicolas Cueto on mouseUp answer file "Open unicode file:" if it is empty then exit mouseUp put url ("binfile:" & it) into tURL set the useUnicode to true if baseConvert(charToNum(char 1 to 2 of tURL), 10, 16) = "FEFF" then delete char 1 to 2 of tURL end if replace (uniencode(CRLF)) with (uniencode(CR)) in tURL set the unicodeText of fld "theUnicodeText" to tURL put the number of lines in tURL into tLineCount repeat with tLineNum = 1 to tLineCount put unicodeGetChars(theUnicodeText,tLineNum,1,-1) into tTemp put unidecode(tTemp,japanese) into tSJIS set the itemDel to tab get item 2 of tSJIS put it & cr after tRez end repeat delete the last char of tRez set the unicodeText of fld "questionList" to uniencode(tRez,Japanese) end mouseUp -- START OF KENJI KOJIMA'S FUNCTIONS function countUnicodeLines @tdata put number of characters of tdata into tlength set useunicode to true put 1 into tlinecount repeat with i = 1 to tlength step 2 if chartonum(char i to i+1 of tdata) is 10 then add 1 to tlinecount end repeat return tlinecount end countUnicodeLines function UnicodeLineOffset @tdata,pWhichline put number of characters of tdata into tlength set useunicode to true put 1 into tlinecount put 1 into tlineoffset repeat with i = 1 to tlength step 2 if tlinecount is pWhichline then exit repeat if chartonum(char i to i+1 of tdata) is 10 then add 1 to tlinecount put i+2 into tlineoffset end if end repeat if pWhichline > tlinecount then put tlength + 1 into tlineoffset return tlineoffset end UnicodeLineOffset function unicodeGetChars pFldname, pLineNum, pStartChar, pEndChar put the unicodetext of fld pFldname into tdata put UnicodeLineOffset(tdata,pLineNum) into startchar put UnicodeLineOffset(tdata,pLineNum+1) - 1 into endchar put (char startchar to endchar of tdata) into tLineData if pEndChar<0 then put (the num of chars of tLineData \ + (pEndChar*2))/2 into pEndChar set the useunicode to true if pLineNum = countUnicodeLines(tdata) then repeat with i = (pStartChar*2-1) to (pEndChar)*2 step 2 put char i to i+1 of tLineData after tString end repeat else repeat with i = (pStartChar*2-1) to (pEndChar-1)*2 step 2 put char i to i+1 of tLineData after tString end repeat end if return tString end unicodeGetChars ////////// E N D ///////////////////////////////////////////// From benr_mc at cogapp.com Mon Mar 18 17:19:12 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 18 Mar 2013 21:19:12 +0000 Subject: Trouble with Android In-Reply-To: <5143FF8B.20603@hyperactivesw.com> References: <51437FCB.5060507@cogapp.com> <5143FF8B.20603@hyperactivesw.com> Message-ID: <514784D0.6050204@cogapp.com> On 15/03/2013 20:41, Michael Hatch wrote: > I have found that in android setting the acceleratedrendering of a stack in > preopenstack will sometimes cause black screens and other unwanted effects, > so I now set it via opencard of the first card. Setting the compositor to > software or disabling acceleratedrendering might be a good starting point > to check while debugging. On 16/03/2013 05:13, J. Landman Gay wrote: > As mentioned, using acceleratedRendering on an Android device running OS 2.2 > or earlier will launch to a black screen if you use the defaults. If you set > the compositorType to "software" it works, but I got some unwanted artifacts > when I did that. As far as I know it hasn't been fixed yet, so I had to > require Android 2.3 or higher. > > Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with > 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen > on Jelly Bean. Thanks both, but it doesn't seem to be either of those. I've never used acceleratedRendering, I haven't got that far yet! (and after a careful search have confirmed that no trace of it has crept into my stack). One of my test devices is Android 2.3.4, the other is 4.0.3, but same result on both, including when building from LC 5.5.4. I did have some success when, in despair, I opened took the "Orientation Example" stack and was able to build that succesfully so that it opened on Android. Then I copied all the elements of my stack into it - and it still worked. So now I have two apparently identical stacks - both one card, the same controls on each, the same scripts in the card and the stack - but one has developed Android-black-screen disease. I've not yet found the critical difference between them. So I'm thinking that I've stumbled across another way to cause Android-black-screen, which isn't either of the ones you've mentioned (and which happens with the latest test version of LC as well as earlier ones). If anyone knows of any other causes, which I can test to see if that's what's going on here, please let me know. Otherwise (when I've got some time on my hands) I'll try to keep cutting down the problem stack to form a minimal version I can report to RunRev. Many thanks, Ben From calhorner at xtra.co.nz Mon Mar 18 19:16:28 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Tue, 19 Mar 2013 12:16:28 +1300 (New Zealand Daylight Time) Subject: Where did all the color go? Message-ID: <5147A04C.000013.00316@CALS_BIG_PC> Just to close off this problem. First, thanks Mark and Jacqueline for your quick response. I took your advice and just to be on the safe side and not have this problem go on forever. I removed all copies of LiveCode from my system then reinstalled LC 5.5.4.. Hey presto! Everything was all right. So It must have been the preferences stack. The only niggling thing is that vague worry about stability. Wouldn't you think that after reaching version 5.5.4 of a product it would have more stability. Don't get me wrong. I love the product and I realize that it has a small customer base and is trying to be all things to all coders. But you know there always seem to be something that not quite stable enough to make it into the "big time". And as a final thought aren't we, at last, a mature profession? From benr_mc at cogapp.com Mon Mar 18 19:51:25 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 18 Mar 2013 23:51:25 +0000 Subject: Intermittent availability of Android emulator for Test Target In-Reply-To: References: <51477F11.3020306@cogapp.com> Message-ID: <5147A87D.2040507@cogapp.com> On 18/03/2013 21:34, Pierre Sahores wrote: > Ben, > > I had it frequently and to avoid such inconsistencies witch occurred against real devices too, i test all my android builds against real devices in using the free android "AirDroid" (web server) app to install them in seconds over WIFI. Problem solved ;-) > > Le 18 mars 2013 ? 21:54, Ben Rubinstein a ?crit : > >> I'm having trouble running tests on the Android emulator from LiveCode on Mac. Sometimes I see it in the "Test Target" menu, sometimes I don't. This is on various versions of LiveCode from 5.3 onwards. I restart AVD, restart the emulator, restart LiveCode, reselect Android in Standalone Application Settings... I can't find the magic sequence that makes it come back. But sometimes it has come back. >> >> Does anyone else have this problem? Has anyone got a routine which works? Or is there something stupid which I'm doing that would account for the problems I'm having? Hi Pierre, Yes, when I can't make the emulator work I've been testing on hardware instead (I just build into a folder served from my laptop, so I pull from the device instead of pushing to it, though I have AirDroid and will give it a go to see if it's any faster) - apart from being a little extra step, the main problem is that I don't use an Android phone, so if I'm away from my desk just working on my laptop, if I can't speak to the emulator then I don't have any way to test. Thanks for responding - it's good to know I'm not the only one having this problem - has anyone cracked it? Ben From mwieder at ahsoftware.net Mon Mar 18 20:43:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Mar 2013 17:43:25 -0700 Subject: [OT] Preload hoses my system In-Reply-To: <514754E9.3050403@gmail.com> References: <5145D1FD.7030601@gmail.com> <564909CB-B427-422E-89BA-35921E7AE1B2@verizon.net> <5145D6D7.3080002@gmail.com> <5145DDC8.8070404@gmail.com> <5145E63E.8010407@gmail.com> <5145EB0F.9090709@gmail.com> <17314133250.20130317102326@ahsoftware.net> <514754E9.3050403@gmail.com> Message-ID: <16426932984.20130318174325@ahsoftware.net> Richmond- Monday, March 18, 2013, 10:54:49 AM, you wrote: > shrank my 'Home' partition by some 37 GB, and then copied my 9.5 GB > 'boot' partition over into > the freed space and flagged that space as 'boot': took all night, but > did it by itself while I slept: cheers, cheers! Yay! -- -Mark Wieder mwieder at ahsoftware.net From livecode.list at gmail.com Mon Mar 18 21:31:20 2013 From: livecode.list at gmail.com (Chip Thomas) Date: Mon, 18 Mar 2013 18:31:20 -0700 Subject: Xcode 4.6.1 Message-ID: So I updated my device to 6.1 and so then I had to update Xcode. But now I can't get LiveCode to work with this new version. Keep getting an error that Armv 7 builds require the iOS 6.0 SDK to be installed. How can I fix this? Thanks in advance! From capellan2000 at gmail.com Mon Mar 18 22:07:22 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 18 Mar 2013 19:07:22 -0700 (PDT) Subject: Learning by... avoiding mistakes In-Reply-To: <5147767C.8000208@pdslabs.net> References: <1363549782599-4662291.post@n4.nabble.com> <5147767C.8000208@pdslabs.net> Message-ID: <1363658842759-4662317.post@n4.nabble.com> Hi All, Certainly, making mistakes is an essential part of learning in real life ... always that we survive them. If I understand correctly what I read, then every mistake ever made is stored in memory, ready to be recalled when a similar situation arises... This situation is not useful for everyone and, from my point of view, it is itself a mistake... :( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Learning-by-avoiding-mistakes-tp4662291p4662317.html Sent from the Revolution - User mailing list archive at Nabble.com. From harrison at all-auctions.com Mon Mar 18 23:24:58 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 18 Mar 2013 23:24:58 -0400 Subject: Xcode 4.6.1 In-Reply-To: References: Message-ID: Hi Chip, Yes, I just did the same thing. Same problem. You have to repoint LiveCode to the SDK. Of course when you try to use "Find" to locate it, all one finds are old versions, because Apple has now hidden things inside Xcode itself. I had to search old LC emails for the clues. Go to your LiveCode Preferences Under Mobile Support add an entry /Applications/Xcode.app/Contents/Developer (Selecting Xcode may be enough as the LC seems smart enough to know what to do next.) Close Preferences (You might have to restart LC for this to work I don't recall) Then under the Development Menu select Test Target and choose the simulator you want. I hope that does it for you. Good luck! Rick On Mar 18, 2013, at 9:31 PM, Chip Thomas wrote: > So I updated my device to 6.1 and so then I had to update Xcode. But now I > can't get LiveCode to work with this new version. Keep getting an error > that Armv 7 builds require the iOS 6.0 SDK to be installed. > > How can I fix this? > > Thanks in advance! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Mar 19 00:39:33 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 18 Mar 2013 21:39:33 -0700 Subject: Learning by... avoiding mistakes In-Reply-To: <5147767C.8000208@pdslabs.net> References: <1363549782599-4662291.post@n4.nabble.com> <5147767C.8000208@pdslabs.net> Message-ID: "Experience is that marvelous thing that enables you to recognize a mistake when you make it again." -- F. P. Jones -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 18, 2013, at 1:18 PM, Phil Davis wrote: > I love Mark Twain's observation (aka story of my life): > > Good judgment comes from experience; > Experience comes from bad judgment. > > :-) > Phil Davis > > > On 3/18/13 12:17 PM, Mark Wieder wrote: >> Alejandro Tejada writes: >> >>> I was checking in Amazon the impressive collection >>> of books about learning by avoiding mistakes: >> I would counter that making mistakes is the best way to learn. >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Mar 19 08:14:50 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Mar 2013 08:14:50 -0400 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> Message-ID: On Mon, Mar 18, 2013 at 5:04 PM, James Little wrote: > We're translating our app SmoothieRx into Japanese and have been > struggling to get UTF-16 text from a DataGrid. We've tried all sorts of > combinations of uniEncode, uniDecode on the data and it all comes out > garbled. We first overrode the DataGrid, so we can see that the Japanese in > the datagrid is correct. But, when we pull it out using GetDataOfLine or > dgDataOfLine and then try to decode it, it is garbled. Current thinking is > that we need to create another handler like GetUnicodeDataOfLine. Any ideas? > Todd, GetDataOfLine and dgDataOfLine return the exact data you stored in the data grid so you shouldn't need any additional handlers. A couple of questions: 1) Are you populating the data grid with an array containing UTF-16 data? 2) When you display the Japanese text in the data grid are you setting the unicodeText of a field in the row? 3) Is the user updating this Japanese text at all or is it read-only? 4) What conversions are you trying to run on the data when you pull it out with GetDataOfLine? -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From littlejamesw at mac.com Tue Mar 19 13:21:59 2013 From: littlejamesw at mac.com (James Little) Date: Tue, 19 Mar 2013 10:21:59 -0700 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> Message-ID: <34B69341-4C56-446B-9FB6-150BA2479FE7@mac.com> 1) Are you populating the data grid with an array containing UTF-16 data? UTF 8, I overrode the default behavior and when I FillInData: I do this: set the unicodetext of the long ID of me to uniencode(pData, "utf8") and this works great. But, when I tried converting to UTF-16, then it is garbled. set the unicodetext of the long ID of me to uniencode(pData, "utf16") 2) When you display the Japanese text in the data grid are you setting the unicodeText of a field in the row? -Yes, see above script. 3) Is the user updating this Japanese text at all or is it read-only? -It's read-only. 4) What conversions are you trying to run on the data when you pull it out with GetDataOfLine? put uniDecode(uniEncode(tVar, "UTF16")) into tVar We basically want to compare UTF-16 strings. Thanks Trevor for digging into this. :D -Todd From admin at FlexibleLearning.com Tue Mar 19 13:38:24 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 19 Mar 2013 17:38:24 -0000 Subject: Hi-Res imaging in LiveCode In-Reply-To: Message-ID: I have found that printing an image at high resolution is not straightforward in LiveCode. 'Squishing' a large version down to say 50% dimensions ought to increase the pixel density, but although the kb size is large the pixel denisty stays at 72dpi. Something to do with how the engine renders images, I believe. However... If I do not import (copy and paste) and resize but 'set the fileName' and resize instead, the printed output does indeed seem to improve by the magnitude of squished-ness. If you already know, please move on, but I am quite chuffed to have discovered this for a current large-poster display project that is being ouput from LC to pdf. Hugh Senior FLCo From lists at mangomultimedia.com Tue Mar 19 14:30:04 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Mar 2013 14:30:04 -0400 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: <34B69341-4C56-446B-9FB6-150BA2479FE7@mac.com> References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> <34B69341-4C56-446B-9FB6-150BA2479FE7@mac.com> Message-ID: On Tue, Mar 19, 2013 at 1:21 PM, James Little wrote: > 1) Are you populating the data grid with an array containing UTF-16 data? > UTF 8, I overrode the default behavior and when I FillInData: I do this: > set the unicodetext of the long ID of me to uniencode(pData, > "utf8") > and this works great. But, when I tried converting to UTF-16, then it is > garbled. > > set the unicodetext of the long ID of me to uniencode(pData, > "utf16") > uniencode always converts to UTF-16. unidecode always converts from UTF-16. The second parameter specifies the encoding the text is currently in. So the above shouldn't work as your text is not in UTF16 format. > 4) What conversions are you trying to run on the data when you pull it out > with GetDataOfLine? > put uniDecode(uniEncode(tVar, "UTF16")) into tVar > We basically want to compare UTF-16 strings. Your data is encoded as UTF-8 so you have to encode to get to UTF-16. put uniencode(tVar, "utf8") into theUTF16Text -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From coiin at verizon.net Tue Mar 19 14:51:10 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 19 Mar 2013 14:51:10 -0400 Subject: Excel question in forums Message-ID: Someone tracked us down via the Facebook page. Could one of you hard core file reader types take a look at this question: http://forums.runrev.com/viewtopic.php?f=7&t=14469 From littlejamesw at mac.com Tue Mar 19 15:08:24 2013 From: littlejamesw at mac.com (James Little) Date: Tue, 19 Mar 2013 12:08:24 -0700 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> <34B69341-4C56-446B-9FB6-150BA2479FE7@mac.com> Message-ID: <09218C59-476E-4F0E-87BB-05D77D375242@mac.com> Thanks so much Trevor and Nicolas! Unicode text has been my bane of existence for the last few days/weeks. I can now move forward. Trevor: Your suggestion worked! I'm very happy. "put uniencode(tVar, "utf8") into theUTF16Text" was the key. Nicolas: I will be bookmarking this code for later use. :D -Todd P.S. I think I might take a nap after this. Too much excitement. From lists at mangomultimedia.com Tue Mar 19 15:38:16 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 19 Mar 2013 15:38:16 -0400 Subject: Pulling Unicode Data from a DataGrid In-Reply-To: <09218C59-476E-4F0E-87BB-05D77D375242@mac.com> References: <1BDDCB39-A558-4032-97BD-8A388C4D0E15@mac.com> <34B69341-4C56-446B-9FB6-150BA2479FE7@mac.com> <09218C59-476E-4F0E-87BB-05D77D375242@mac.com> Message-ID: On Tue, Mar 19, 2013 at 3:08 PM, James Little wrote: > > Trevor: Your suggestion worked! I'm very happy. "put uniencode(tVar, > "utf8") into theUTF16Text" was the key. > Good. Unicode is so much fun :-) One other thing to be aware of - when using uniencode and unidecode the byte order in the UTF16 text is dependent on the processor your application is running on. See the docs for uniencode. What this means is that if you have UTF-16 text from some other source then you have to make sure that it uses the same byte order when you do comparisons. I find it easier to do comparisons on UTF-8 text when working with 3rd party data. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From jacque at hyperactivesw.com Tue Mar 19 15:38:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Mar 2013 14:38:35 -0500 Subject: Where did all the color go? In-Reply-To: <5147A04C.000013.00316@CALS_BIG_PC> References: <5147A04C.000013.00316@CALS_BIG_PC> Message-ID: <5148BEBB.1050708@hyperactivesw.com> On 3/18/13 6:16 PM, Cal Horner wrote: > So It must have been the preferences stack. > > The only niggling thing is that vague worry about stability. Wouldn't you > think that after reaching version 5.5.4 of a product it would have more > stability. I think a script somewhere must have set the color info that way, since so far you're the only person to have seen the problem as far as I know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Tue Mar 19 16:24:43 2013 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 19 Mar 2013 16:24:43 -0400 Subject: How to select lines in a field under a scroller in IOS Message-ID: Can someone give me some advice as to how to allow the user to select lines in a field that is under an IOS scroller? I want the field to be able to scroll, but I also want the user to be able select a set of lines. Thanks Mike From livecode.list at gmail.com Tue Mar 19 16:44:03 2013 From: livecode.list at gmail.com (Chip Thomas) Date: Tue, 19 Mar 2013 13:44:03 -0700 Subject: Xcode 4.6.1 In-Reply-To: References: Message-ID: I tried selecting the Xcode.app and received an error. Then I opened the Contents and tried to select the Developer folder and it won't allow me to select that folder. On Mon, Mar 18, 2013 at 8:24 PM, Rick Harrison wrote: > Hi Chip, > > Yes, I just did the same thing. Same problem. > > You have to repoint LiveCode to the SDK. > Of course when you try to use "Find" to > locate it, all one finds are old versions, because > Apple has now hidden things inside Xcode itself. > > I had to search old LC emails for the clues. > > Go to your LiveCode Preferences > > Under Mobile Support > > add an entry > > /Applications/Xcode.app/Contents/Developer > > (Selecting Xcode may be enough as the LC seems smart > enough to know what to do next.) > > Close Preferences > > (You might have to restart LC for this to work > I don't recall) > > Then under the Development Menu > select Test Target and choose the > simulator you want. > > I hope that does it for you. > > Good luck! > > Rick > > > > On Mar 18, 2013, at 9:31 PM, Chip Thomas wrote: > > > So I updated my device to 6.1 and so then I had to update Xcode. But > now I > > can't get LiveCode to work with this new version. Keep getting an error > > that Armv 7 builds require the iOS 6.0 SDK to be installed. > > > > How can I fix this? > > > > Thanks in advance! > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Tue Mar 19 17:07:51 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 19 Mar 2013 21:07:51 +0000 Subject: How to select lines in a field under a scroller in IOS In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01091A5E@Peas2.byu.local> On Mar 19, 2013, at 2:24 PM, Michael Doub wrote: > Can someone give me some advice as to how to allow the user to select lines in a field that is under an IOS scroller? I want the field to be able to scroll, but I also want the user to be able select a set of lines. Mike, Sounds like you're just using a LiveCode field wrapped in an iOS scroller. You should just be able to set the autohilite and listbehavior properties to true on the LiveCode field and have them hilight in the iOS app. Or am I misunderstanding what you're doing? Devin Devin Asay Office of Digital Humanities Brigham Young University From mikedoub at gmail.com Tue Mar 19 17:27:58 2013 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 19 Mar 2013 17:27:58 -0400 Subject: How to select lines in a field under a scroller in IOS In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A01091A5E@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1A01091A5E@Peas2.byu.local> Message-ID: <5462C025-64F5-4E9E-A6FB-48EC72B89759@gmail.com> Devin, you are correct. I have a LiveCode field wrapped in an IOS scroller. I have been playing with various list behavior and autohilite properties. Since I am trying to select multiple lines at the same time I am seeing a conflict between the behavior of the field and the scroller. Looking at the behaviour of the native input control, apple seems to use a double tap to get into a select mode. They seem to turn off the scroll while the selection is taking place then turn it back on again. It seems that I need to figure out how to disable scrolling during the selection process and then enable it again. -= Mike On Mar 19, 2013, at 5:07 PM, Devin Asay wrote: > > Mike, > > Sounds like you're just using a LiveCode field wrapped in an iOS scroller. You should just be able to set the autohilite and listbehavior properties to true on the LiveCode field and have them hilight in the iOS app. Or am I misunderstanding what you're doing? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Tue Mar 19 18:25:44 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 19 Mar 2013 15:25:44 -0700 Subject: How to select lines in a field under a scroller in IOS In-Reply-To: <5462C025-64F5-4E9E-A6FB-48EC72B89759@gmail.com> References: <31BDC56EACAAF64688457CE3F71D9F1A01091A5E@Peas2.byu.local> <5462C025-64F5-4E9E-A6FB-48EC72B89759@gmail.com> Message-ID: <2A8D0667-B675-4913-B443-01931C347DDD@canelasoftware.com> On Mar 19, 2013, at 2:27 PM, Michael Doub wrote: > Devin, you are correct. I have a LiveCode field wrapped in an IOS scroller. I have been playing with various list behavior and autohilite properties. Since I am trying to select multiple lines at the same time I am seeing a conflict between the behavior of the field and the scroller. > > Looking at the behaviour of the native input control, apple seems to use a double tap to get into a select mode. They seem to turn off the scroll while the selection is taking place then turn it back on again. > > It seems that I need to figure out how to disable scrolling during the selection process and then enable it again. > > -= Mike Here is some code that I use for my scrolling fields. I can determine if you are clicking or scrolling. It will also give you a tap to end of field (opposite of Apples tap at top of screen to quick scroll to top feature). on ____LC_MESSAGES end ____LC_MESSAGES on preOpenCard put false into gWeAreScrollingFlag if the environment is "mobile" then set the traversalOn of fld "search" of card gSettingsA["search"] of stack gSettingsA["mainStack"] to false set the lockText of fld "search" of card gSettingsA["search"] of stack gSettingsA["mainStack"] to true set the doubleClickDelta to 100 set the vScrollBar of fld "users" to false else set the doubleClickDelta to 4 click at the loc of fld "find" set the vScrollBar of fld "users" to true end if if gSettingsA["hiliteColor"] <> empty then set the hiliteColor of fld "users" to gSettingsA["hiliteColor"] else set the hiliteColor of fld "users" to 255,114,0 end preOpenCard command csGetDatabaseFirstTime --DOWNLOAD THE DATABASE ON FIRST RUN if gFirstRun then set the vis of fld "users" to false flashInternetIndicatorOff the short name of this card,the short name of this stack put false into gFirstRun if the environment is "mobile" then --KEYBOARD mobileSetKeyboardType "default" set the acceleratedRendering of this stack to true iphoneUseDeviceResolution false --CREATE SCROLLER FOR FIELD USERS IF NEEDED put mobileControls() into tControlList if "Users Scroller" is not in tControlList then send "csSetupMobileScroller" && "users","gUsers" to me in 10 ticks end if end if set the vis of fld "users" to true end if end csGetDatabaseFirstTime on csTraversalOn set the traversalOn of fld "search" of card gSettingsA["search"] of stack gSettingsA["mainStack"] to true end csTraversalOn on ____CREATE_SCROLLER end ____CREATE_SCROLLER on csSetupMobileScroller pField,pGroup if the environment <> "mobile" then exit csSetupMobileScroller --SET UP THE USERS FIELD AND DATABASE GROUP lock screen set the vScroll of group pGroup to 0 set the vScroll of fld pField to 0 set the vis of fld pField to true set the listbehavior of field pField to true put the formattedHeight of field pField into tHeight put the width of field pField into tWidth --GIVE FIELD EXTRA SPACE SO WE CAN BOUNCE FIELD WITH LESS THAN A FULL SCREEN OF TEXT put the height of grp pGroup into tDatabaseHeight if tHeight < tDatabaseHeight + 10 then put true into tShortField set the height of field pField to tDatabaseHeight + 1 else --DO NORMAL SPACING set the height of fld pField to tHeight end if put the height of fld pField into tHeight put the top of group pGroup into tDatabaseTop set the top of fld pField to 65 put the rect of group pGroup into tRect set the unboundedvScroll of group pGroup to true --CREATE SCROLLER mobileControlCreate "scroller","Users Scroller" put the result into gUsersScrollerId mobileControlSet gUsersScrollerId,"rect",tRect mobileControlSet gUsersScrollerId,"contentRect",(0,0,tWidth,tHeight) mobileControlSet gUsersScrollerId,"visible","true" mobileControlSet gUsersScrollerId,"canBounce",true mobileControlSet gUsersScrollerId,"declerationRate",fast mobileControlSet gUsersScrollerId,"scrollingEnabled",true mobileControlSet gUsersScrollerId,"canScrollToTop",true mobileControlSet gUsersScrollerId,"delayTouches",false mobileControlSet gUsersScrollerId,"canCancelTouches",true mobileControlSet gUsersScrollerId,"hIndicator",false mobileControlSet gUsersScrollerId,"vIndicator",true mobileControlSet gUsersScrollerId,"indicatorInsets","0,0,5,0" mobileControlSet gUsersScrollerId,"vScroll",0 mobileControlSet gUsersScrollerId,"hScroll",0 --SCROLL TO THE END OF THE FIELD --IF THE FIELD IS FULL OF TEXT if not tShortField then put the height of fld pField into tUserHeight put the height of grp pGroup into tDatabaseHeight put tUserHeight - tDatabaseHeight into tDiff set the vScroll of group pGroup to tDiff mobileControlSet gUsersScrollerId,"vScroll",tDiff end if unlock screen end csSetupMobileScroller on ____SCROLLER_MESSAGES end ____SCROLLER_MESSAGES on scrollerDidScroll pOffsetX,pOffsetY put true into gWeAreScrollingFlag lock screen set the vScroll of group "gUsers" to pOffsetY mobileControlSet gUsersScrollerId,"vScroll",pOffsetY unlock screen end scrollerDidScroll on scrollerBeginDrag set the autohilite of fld "users" to false set the hilitedLine of fld "users" to empty put true into gWeAreScrollingFlag end scrollerBeginDrag on scrollerEndDrag put false into gWeAreScrollingFlag end scrollerEndDrag on scrollerEndDecelerate set the autohilite of fld "users" to true put false into gWeAreScrollingFlag end scrollerEndDecelerate From lfredricks at proactive-intl.com Tue Mar 19 19:33:22 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 19 Mar 2013 16:33:22 -0700 Subject: Free Valentina Studio, Server & ADKs for LiveCode Upgraded to 5.1 Message-ID: <4B0BB1087D484316941F247020CD3646@GATEWAY> Hello all, Valentina products, including the free Valentina Studio, Valentina DB ADK for LiveCode, Valentina Reports ADK for LiveCode and Valentina Server are all updated to version 5.1. The new SSH features should be useful for working with remote servers like you might use with On-Rev with Valentina Studio. Also, if you are a Valentina Developer Network customer, Valentina Server now incorporates powerful email functions. Scroll down for the entire PR if you would like, but you can get your free version of Valentina Studio and Server now from http://www.valentina-db.com. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ===================================================================== Beaverton, Oregon - Paradigma Software is pleased to announce the release of database and reports tool Valentina Studio 5.1 and the enterprise reports and database server Valentina Server 5.1 for Windows, Mac OS X and Linux. Valentina Studio 5.1 lets you manage, query and administer popular databases including MySQL, Postgre, SQLite and Valentina DB. Valentina Studio 5.1 is available for Mac OS X, Windows and Linux for free. * Free Valentina Studio 5.1 now allows reverse-engineering with creation and saving of diagrams; Studio Pro 5.1 allows forward-engineering features to modify schema and generate scripts * New Data Transfer Tool allows the easy copying of few/all records from one DB into another * New SSH support allows highly secure connections to remote DB servers such as mySQL, PostgreSQL and Valentina Server * New SSH parameters can be embedded into Valentina Report templates Valentina Studio Pro 5.1 has additional features over Valentina Studio, including Query Builder, SQL DIFF, database diagramming and a powerful visual Reports Designer. Reports generated from Valentina Studio 5 can be exported as web pages, PDF and images. Valentina Studio Pro is available for $199. Valentina Server 5.1, allows reports to be served from many database sources, including MySQL, Postgre, SQLite and Valentina DB. It also incorporates the object-relational, columnar database Valentina DB. Valentina Server 5.1 includes new features: * New support for MAIL SQL command to allow email as data * Newly improved Preference Panel to allow users of the free version of Valentina Server to easy start it under Mac OS X Valentina 5.1 is available in an entry version for free for Mac OS X, Windows and Linux. A free iOS client is available for mobile management. Developer solutions for local applications allow incorporating the ultra fast Valentina DB and Valentina Reports engines into desktop applications and cost $199 per platform. Valentina ADK 5.1 (application developer kits) for Valentina DB and Valentina Reports integrate the new features available in the Valentina kernel. Valentina Reports 5.1 ADK integrates visually rich business reports into applications. Valentina Reports 5 supports connectivity to MySQL, Valentina DB, Postgre, SQLite and ODBC data sources, with royalty free deployment. Valentina DB 5.1 ADK allows developers to build local datastores using the ultra fast Valentina DB engine and to connect to remote Valentina Server, with royalty free deployment. All products are immediately available from the Paradigma Software website. From pete at lcsql.com Tue Mar 19 20:10:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 19 Mar 2013 17:10:15 -0700 Subject: Sending mouseUp Message-ID: Got a problem sending a mouseUp event to a button during preOpenCard. My preOpenCard handler calls another handler that contains the send of the mouseUp. When that handler is called from preOpenCard, the mouseUp handler never receives the message - I have an answer statement as the first statement in the button mouseUp handler and it never triggers. The same handler is called from other places after the card is opened and the mouseUp message is received OK. I changed the send to a dispatch and checked the it variable after the dispatch and it contains "handled" even during preOpenCard processing. Also tried the "send in" form of send with various times up to 1000 milliseconds, still no luck Does anyone know of any issues sending mouseUp messages during preOpenCard? I've run into several problems with code not working as expected during preOpenCard but haven't run into this one before. Pete lcSQL Software From bonnmike at gmail.com Tue Mar 19 20:15:09 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 19 Mar 2013 18:15:09 -0600 Subject: Sending mouseUp In-Reply-To: References: Message-ID: You might try hard pathing the send. If there is a context issue going on that should solve it, and during preopencard I would wonder if the context is incorrect when the send is done. so dispatch or send it to button whatever card whatever of stack whatever to test and eliminate the possibility. On Tue, Mar 19, 2013 at 6:10 PM, Peter Haworth wrote: > Got a problem sending a mouseUp event to a button during preOpenCard. > > My preOpenCard handler calls another handler that contains the send of the > mouseUp. When that handler is called from preOpenCard, the mouseUp handler > never receives the message - I have an answer statement as the first > statement in the button mouseUp handler and it never triggers. > > The same handler is called from other places after the card is opened and > the mouseUp message is received OK. > > I changed the send to a dispatch and checked the it variable after the > dispatch and it contains "handled" even during preOpenCard processing. > Also tried the "send in" form of send with various times up to 1000 > milliseconds, still no luck > > Does anyone know of any issues sending mouseUp messages during preOpenCard? > I've run into several problems with code not working as expected during > preOpenCard but haven't run into this one before. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Mar 19 21:11:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 19 Mar 2013 18:11:15 -0700 Subject: Sending mouseUp In-Reply-To: References: Message-ID: Hi Mike, Good thinking, I had not included the card and stack in the path to the button. However, I changed that and still no joy. What's really strange is that "it" contains "handled" after a dispatch to the button, yet its clear the message is never making it that far. I've narrowed this down a bit further. The problem only occurs when I run Livecode and open the stack from the File menu. If I then close the stack and open it again, all works fine. Even more weird is if I close the stack and remove it from memory, then open it again from the File menu, all works fine! It's just that very first open of the stack after running Livecode when the problem occurs. Pete lcSQL Software On Tue, Mar 19, 2013 at 5:15 PM, Mike Bonner wrote: > You might try hard pathing the send. If there is a context issue going on > that should solve it, and during preopencard I would wonder if the context > is incorrect when the send is done. so dispatch or send it to button > whatever card whatever of stack whatever to test and eliminate the > possibility. > > > On Tue, Mar 19, 2013 at 6:10 PM, Peter Haworth wrote: > > > Got a problem sending a mouseUp event to a button during preOpenCard. > > > > My preOpenCard handler calls another handler that contains the send of > the > > mouseUp. When that handler is called from preOpenCard, the mouseUp > handler > > never receives the message - I have an answer statement as the first > > statement in the button mouseUp handler and it never triggers. > > > > The same handler is called from other places after the card is opened and > > the mouseUp message is received OK. > > > > I changed the send to a dispatch and checked the it variable after the > > dispatch and it contains "handled" even during preOpenCard processing. > > Also tried the "send in" form of send with various times up to 1000 > > milliseconds, still no luck > > > > Does anyone know of any issues sending mouseUp messages during > preOpenCard? > > I've run into several problems with code not working as expected during > > preOpenCard but haven't run into this one before. > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Tue Mar 19 21:26:39 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 19 Mar 2013 19:26:39 -0600 Subject: Sending mouseUp In-Reply-To: References: Message-ID: Hmm might try the combination of the 2 things then. Do a send in time with absolute pathing. Also i've noticed recently that inserting a wait 0 with messages prior to where a problem like this occurs sometimes magically fixes it. Its as if there is other housekeeping/engine stuff going on that interferes despite the message apparently getting through. On Tue, Mar 19, 2013 at 7:11 PM, Peter Haworth wrote: > Hi Mike, > Good thinking, I had not included the card and stack in the path to the > button. However, I changed that and still no joy. > > What's really strange is that "it" contains "handled" after a dispatch to > the button, yet its clear the message is never making it that far. > > I've narrowed this down a bit further. The problem only occurs when I run > Livecode and open the stack from the File menu. If I then close the stack > and open it again, all works fine. Even more weird is if I close the stack > and remove it from memory, then open it again from the File menu, all works > fine! It's just that very first open of the stack after running Livecode > when the problem occurs. > > Pete > lcSQL Software > > > On Tue, Mar 19, 2013 at 5:15 PM, Mike Bonner wrote: > > > You might try hard pathing the send. If there is a context issue going on > > that should solve it, and during preopencard I would wonder if the > context > > is incorrect when the send is done. so dispatch or send it to button > > whatever card whatever of stack whatever to test and eliminate the > > possibility. > > > > > > On Tue, Mar 19, 2013 at 6:10 PM, Peter Haworth wrote: > > > > > Got a problem sending a mouseUp event to a button during preOpenCard. > > > > > > My preOpenCard handler calls another handler that contains the send of > > the > > > mouseUp. When that handler is called from preOpenCard, the mouseUp > > handler > > > never receives the message - I have an answer statement as the first > > > statement in the button mouseUp handler and it never triggers. > > > > > > The same handler is called from other places after the card is opened > and > > > the mouseUp message is received OK. > > > > > > I changed the send to a dispatch and checked the it variable after the > > > dispatch and it contains "handled" even during preOpenCard processing. > > > Also tried the "send in" form of send with various times up to 1000 > > > milliseconds, still no luck > > > > > > Does anyone know of any issues sending mouseUp messages during > > preOpenCard? > > > I've run into several problems with code not working as expected > during > > > preOpenCard but haven't run into this one before. > > > > > > Pete > > > lcSQL Software > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Tue Mar 19 21:44:08 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 19 Mar 2013 21:44:08 -0400 Subject: Xcode 4.6.1 In-Reply-To: References: Message-ID: <56FFDC17-F109-409E-8870-E49983518AF4@all-auctions.com> Hi Chip, What error are you getting? You should search the archives and the iOS Release Notes for picking the SDK. Try several approaches, one might just work. I know it is a real pain, but hang in there. Rick On Mar 19, 2013, at 4:44 PM, Chip Thomas wrote: > I tried selecting the Xcode.app and received an error. > > Then I opened the Contents and tried to select the Developer folder and it > won't allow me to select that folder. > > On Mon, Mar 18, 2013 at 8:24 PM, Rick Harrison wrote: > >> Hi Chip, >> >> Yes, I just did the same thing. Same problem. >> >> You have to repoint LiveCode to the SDK. >> Of course when you try to use "Find" to >> locate it, all one finds are old versions, because >> Apple has now hidden things inside Xcode itself. >> >> I had to search old LC emails for the clues. >> >> Go to your LiveCode Preferences >> >> Under Mobile Support >> >> add an entry >> >> /Applications/Xcode.app/Contents/Developer >> >> (Selecting Xcode may be enough as the LC seems smart >> enough to know what to do next.) >> >> Close Preferences >> >> (You might have to restart LC for this to work >> I don't recall) >> >> Then under the Development Menu >> select Test Target and choose the >> simulator you want. >> >> I hope that does it for you. >> >> Good luck! >> >> Rick >> >> >> >> On Mar 18, 2013, at 9:31 PM, Chip Thomas wrote: >> >>> So I updated my device to 6.1 and so then I had to update Xcode. But >> now I >>> can't get LiveCode to work with this new version. Keep getting an error >>> that Armv 7 builds require the iOS 6.0 SDK to be installed. >>> >>> How can I fix this? >>> >>> Thanks in advance! >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Mar 19 21:47:33 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 19 Mar 2013 21:47:33 -0400 (EDT) Subject: Sending mouseUp In-Reply-To: References: Message-ID: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> Pete. Something like this has come up before. I remember that "preOpenCard" is invoked before the card (and the stack?) is even loaded into memory. I think. So there may be no valid target handler yet available to access. Why the "handled" value is set is odd, for sure, but I bet the answer is tangled up with the fact that these events are happening just a tad too early, before things have settled down. There were other threads about this sort of thing. I think Jacque chimed in with more information. Test: Does everything work fine if you move the handler to an "openCard" script? Craig Newman -----Original Message----- From: Mike Bonner To: How to use LiveCode Sent: Tue, Mar 19, 2013 9:27 pm Subject: Re: Sending mouseUp Hmm might try the combination of the 2 things then. Do a send in time with absolute pathing. Also i've noticed recently that inserting a wait 0 with messages prior to where a problem like this occurs sometimes magically fixes it. Its as if there is other housekeeping/engine stuff going on that interferes despite the message apparently getting through. On Tue, Mar 19, 2013 at 7:11 PM, Peter Haworth wrote: > Hi Mike, > Good thinking, I had not included the card and stack in the path to the > button. However, I changed that and still no joy. > > What's really strange is that "it" contains "handled" after a dispatch to > the button, yet its clear the message is never making it that far. > > I've narrowed this down a bit further. The problem only occurs when I run > Livecode and open the stack from the File menu. If I then close the stack > and open it again, all works fine. Even more weird is if I close the stack > and remove it from memory, then open it again from the File menu, all works > fine! It's just that very first open of the stack after running Livecode > when the problem occurs. > > Pete > lcSQL Software > > > On Tue, Mar 19, 2013 at 5:15 PM, Mike Bonner wrote: > > > You might try hard pathing the send. If there is a context issue going on > > that should solve it, and during preopencard I would wonder if the > context > > is incorrect when the send is done. so dispatch or send it to button > > whatever card whatever of stack whatever to test and eliminate the > > possibility. > > > > > > On Tue, Mar 19, 2013 at 6:10 PM, Peter Haworth wrote: > > > > > Got a problem sending a mouseUp event to a button during preOpenCard. > > > > > > My preOpenCard handler calls another handler that contains the send of > > the > > > mouseUp. When that handler is called from preOpenCard, the mouseUp > > handler > > > never receives the message - I have an answer statement as the first > > > statement in the button mouseUp handler and it never triggers. > > > > > > The same handler is called from other places after the card is opened > and > > > the mouseUp message is received OK. > > > > > > I changed the send to a dispatch and checked the it variable after the > > > dispatch and it contains "handled" even during preOpenCard processing. > > > Also tried the "send in" form of send with various times up to 1000 > > > milliseconds, still no luck > > > > > > Does anyone know of any issues sending mouseUp messages during > > preOpenCard? > > > I've run into several problems with code not working as expected > during > > > preOpenCard but haven't run into this one before. > > > > > > Pete > > > lcSQL Software > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Tue Mar 19 22:02:41 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 19 Mar 2013 22:02:41 -0400 Subject: Valentina DB Message-ID: Anybody have the latest version of Valentina running in LC? I used Valentina years ago with Director and wanted to take advantage of the free offer. I have downloaded the LC version and installed it but the install instructions seem a little old and I don't see where it appears within the LC structure. Any advice would be greatly appreciated! SKIP From skip at magicgate.com Tue Mar 19 22:15:07 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 19 Mar 2013 22:15:07 -0400 Subject: Valentina DB In-Reply-To: References: Message-ID: Never mind.... I didn't explore the installed files good enough. SKIP On Tue, Mar 19, 2013 at 10:02 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Anybody have the latest version of Valentina running in LC? I used > Valentina years ago with Director and wanted to take advantage of the free > offer. I have downloaded the LC version and installed it but the install > instructions seem a little old and I don't see where it appears within the > LC structure. > > Any advice would be greatly appreciated! > > SKIP > From mwieder at ahsoftware.net Wed Mar 20 00:46:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 19 Mar 2013 21:46:55 -0700 Subject: Sending mouseUp In-Reply-To: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> Message-ID: <69527942390.20130319214655@ahsoftware.net> Pete- Tuesday, March 19, 2013, 6:47:33 PM, Craig wrote: > Something like this has come up before. I remember that > "preOpenCard" is invoked before the card (and the stack?) is even > loaded into memory. I think. So there may be no valid target handler > yet available to access. Why the "handled" value is set is odd, for > sure, but I bet the answer is tangled up with the fact that these > events are happening just a tad too early, before things have > settled down. Yep. Why are you trying to call a mouseUp handler on preOpenCard anyway? Take the code in mouseUp, put it in its own handler, and call it from mouseUp. Then call the same thing from preOpenCard. -- in button script on mouseUp doTheStuffThatUsedToBeHere end mouseUp on doTheStuffThatUsedToBeHere stuffThatUsedToBeHere end doTheStuffThatUsedToBeHere -- in card script on preOpenCard dispatch "stuffThatUsedToBeHere" to button "yaddayadda" end preOpenCard -- -Mark Wieder mwieder at ahsoftware.net From Hakan at Exformedia.se Wed Mar 20 10:32:58 2013 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Wed, 20 Mar 2013 15:32:58 +0100 Subject: Editing polygon points In-Reply-To: References: Message-ID: You can alt-drag from another point to get a new point. :-H?kan ___________________________ http://www.exformedia.se Check out my new iOS game at http://appstore.com/swapatiswap 7 mar 2013 kl. 16:38 skrev Jim Hurley : > Adding points is tricky. But you can just add a new line to the Points and then reposition the points. From pete at lcsql.com Wed Mar 20 12:20:59 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 09:20:59 -0700 Subject: Sending mouseUp In-Reply-To: <69527942390.20130319214655@ahsoftware.net> References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> Message-ID: Thanks for the suggestions everyone. Here's where I'm at. Craig: I moved the code to openCard, still the same problem. Mike: wait zero didn't fix it, nor did send in time with full path. Mark: Restructuring the code does, of course, work and is probably going to have to be my workaround. The reason I didn't really want to do that is that the mouseUp event can be sent to one of 7 buttons (it's all to do with the user's startup preference settings) so there's a significant amount of code to be moved around but it's looking like I may have to. In general, it seems that using preOpenCard on the main stack just isn't reliable. I remember in another project I had to move ALL of my preOpenCard processing into a separate handler and call it from preOpenCard with a wait zero before it. Without that structure, the code would just stop executing at what looked like a pretty harmless statement without throwing any type of runtime error. Pete lcSQL Software On Tue, Mar 19, 2013 at 9:46 PM, Mark Wieder wrote: > Pete- > > Tuesday, March 19, 2013, 6:47:33 PM, Craig wrote: > > > Something like this has come up before. I remember that > > "preOpenCard" is invoked before the card (and the stack?) is even > > loaded into memory. I think. So there may be no valid target handler > > yet available to access. Why the "handled" value is set is odd, for > > sure, but I bet the answer is tangled up with the fact that these > > events are happening just a tad too early, before things have > > settled down. > > Yep. Why are you trying to call a mouseUp handler on preOpenCard > anyway? Take the code in mouseUp, put it in its own handler, and call > it from mouseUp. Then call the same thing from preOpenCard. > > -- in button script > on mouseUp > doTheStuffThatUsedToBeHere > end mouseUp > > on doTheStuffThatUsedToBeHere > stuffThatUsedToBeHere > end doTheStuffThatUsedToBeHere > > -- in card script > on preOpenCard > dispatch "stuffThatUsedToBeHere" to button "yaddayadda" > end preOpenCard > > -- > -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 bvg at mac.com Wed Mar 20 12:59:29 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 20 Mar 2013 17:59:29 +0100 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> Message-ID: <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> There's a lot of stuff that doesn't work on preopenstack if your stack is the premier mainstack of a standalone. This includes liburl, all externals, url (files too), and some other things. Just now someone couldn't speed up a complex object creation with "lock screen", so it seems that doesn't work either. On 20.03.2013, at 17:20, Peter Haworth wrote: > Thanks for the suggestions everyone. Here's where I'm at. > > Craig: > I moved the code to openCard, still the same problem. > > Mike: > wait zero didn't fix it, nor did send in time with full path. > > Mark: > Restructuring the code does, of course, work and is probably going to have > to be my workaround. The reason I didn't really want to do that is that the > mouseUp event can be sent to one of 7 buttons (it's all to do with the > user's startup preference settings) so there's a significant amount of code > to be moved around but it's looking like I may have to. > > In general, it seems that using preOpenCard on the main stack just isn't > reliable. I remember in another project I had to move ALL of my > preOpenCard processing into a separate handler and call it from preOpenCard > with a wait zero before it. Without that structure, the code would just > stop executing at what looked like a pretty harmless statement > without throwing any type of runtime error. > > Pete > lcSQL Software > > > On Tue, Mar 19, 2013 at 9:46 PM, Mark Wieder wrote: > >> Pete- >> >> Tuesday, March 19, 2013, 6:47:33 PM, Craig wrote: >> >>> Something like this has come up before. I remember that >>> "preOpenCard" is invoked before the card (and the stack?) is even >>> loaded into memory. I think. So there may be no valid target handler >>> yet available to access. Why the "handled" value is set is odd, for >>> sure, but I bet the answer is tangled up with the fact that these >>> events are happening just a tad too early, before things have >>> settled down. >> >> Yep. Why are you trying to call a mouseUp handler on preOpenCard >> anyway? Take the code in mouseUp, put it in its own handler, and call >> it from mouseUp. Then call the same thing from preOpenCard. >> >> -- in button script >> on mouseUp >> doTheStuffThatUsedToBeHere >> end mouseUp >> >> on doTheStuffThatUsedToBeHere >> stuffThatUsedToBeHere >> end doTheStuffThatUsedToBeHere >> >> -- in card script >> on preOpenCard >> dispatch "stuffThatUsedToBeHere" to button "yaddayadda" >> end preOpenCard >> >> -- >> -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 -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From klaus at major.on-rev.com Wed Mar 20 13:07:08 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 20 Mar 2013 18:07:08 +0100 Subject: Sending mouseUp In-Reply-To: <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: <99523D89-D90E-4E7E-807F-F68990FBEAA8@major.on-rev.com> Hi Bj?rnke, Am 20.03.2013 um 17:59 schrieb Bj?rnke von Gierke : > There's a lot of stuff that doesn't work on preopenstack if your stack is the premier mainstack of a standalone. This includes liburl, all externals, url (files too), and some other things. but this is caused by the way Livecode loads all of these libs and externals! So I don't think you can compare this with the below mentioned problem. OK, the result is the same in the end :-D > Just now someone couldn't speed up a complex object creation with "lock screen", so it seems that doesn't work either. > > On 20.03.2013, at 17:20, Peter Haworth wrote: > >> Thanks for the suggestions everyone. Here's where I'm at. >> >> Craig: >> I moved the code to openCard, still the same problem. >> >> Mike: >> wait zero didn't fix it, nor did send in time with full path. >> >> Mark: >> Restructuring the code does, of course, work and is probably going to have >> to be my workaround. The reason I didn't really want to do that is that the >> mouseUp event can be sent to one of 7 buttons (it's all to do with the >> user's startup preference settings) so there's a significant amount of code >> to be moved around but it's looking like I may have to. >> >> In general, it seems that using preOpenCard on the main stack just isn't >> reliable. I remember in another project I had to move ALL of my >> preOpenCard processing into a separate handler and call it from preOpenCard >> with a wait zero before it. Without that structure, the code would just >> stop executing at what looked like a pretty harmless statement >> without throwing any type of runtime error. >> >> Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at lcsql.com Wed Mar 20 13:48:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 10:48:54 -0700 Subject: Sending mouseUp In-Reply-To: <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: Hi Bjornke, Yes, I've run into some of those issues with rev libraries and found that shifting them to openCard fixed those issues. I must have missed the post about the lock screen issue, but I've had that same issue too. This is a new type of problem though, at least to me. No libraries or externals involved, just sending a message to an existing control. I've fixed the problem by implementing Mark's workaround of moving the mouseUp logic to a separate handler and calling it from mouseUp and my preOpenCard handler. I guess I'm just very suspicious of anything other than really straightforward commands in preOpenCard now. Pete lcSQL Software On Wed, Mar 20, 2013 at 9:59 AM, Bj?rnke von Gierke wrote: > There's a lot of stuff that doesn't work on preopenstack if your stack is > the premier mainstack of a standalone. This includes liburl, all externals, > url (files too), and some other things. > > Just now someone couldn't speed up a complex object creation with "lock > screen", so it seems that doesn't work either. > > On 20.03.2013, at 17:20, Peter Haworth wrote: > > > Thanks for the suggestions everyone. Here's where I'm at. > > > > Craig: > > I moved the code to openCard, still the same problem. > > > > Mike: > > wait zero didn't fix it, nor did send in time with full path. > > > > Mark: > > Restructuring the code does, of course, work and is probably going to > have > > to be my workaround. The reason I didn't really want to do that is that > the > > mouseUp event can be sent to one of 7 buttons (it's all to do with the > > user's startup preference settings) so there's a significant amount of > code > > to be moved around but it's looking like I may have to. > > > > In general, it seems that using preOpenCard on the main stack just isn't > > reliable. I remember in another project I had to move ALL of my > > preOpenCard processing into a separate handler and call it from > preOpenCard > > with a wait zero before it. Without that structure, the code would just > > stop executing at what looked like a pretty harmless statement > > without throwing any type of runtime error. > > > > Pete > > lcSQL Software > > > > > > On Tue, Mar 19, 2013 at 9:46 PM, Mark Wieder > wrote: > > > >> Pete- > >> > >> Tuesday, March 19, 2013, 6:47:33 PM, Craig wrote: > >> > >>> Something like this has come up before. I remember that > >>> "preOpenCard" is invoked before the card (and the stack?) is even > >>> loaded into memory. I think. So there may be no valid target handler > >>> yet available to access. Why the "handled" value is set is odd, for > >>> sure, but I bet the answer is tangled up with the fact that these > >>> events are happening just a tad too early, before things have > >>> settled down. > >> > >> Yep. Why are you trying to call a mouseUp handler on preOpenCard > >> anyway? Take the code in mouseUp, put it in its own handler, and call > >> it from mouseUp. Then call the same thing from preOpenCard. > >> > >> -- in button script > >> on mouseUp > >> doTheStuffThatUsedToBeHere > >> end mouseUp > >> > >> on doTheStuffThatUsedToBeHere > >> stuffThatUsedToBeHere > >> end doTheStuffThatUsedToBeHere > >> > >> -- in card script > >> on preOpenCard > >> dispatch "stuffThatUsedToBeHere" to button "yaddayadda" > >> end preOpenCard > >> > >> -- > >> -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 > > > -- > > 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 mwieder at ahsoftware.net Wed Mar 20 14:21:47 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Mar 2013 18:21:47 +0000 (UTC) Subject: Sending mouseUp References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: Peter Haworth writes: > I guess I'm just very suspicious of anything other than really > straightforward commands in preOpenCard now. Well, here's the thing. It's *pre*OpenCard because the card and its controls haven't been instantiated yet. So sending a message to a control that doesn't officially exist shouldn't work. The script is there in memory, so you can call handlers in it, but it's not yet associated with an on-screen object. The pre handlers exist so that you can set things up before the objects take form. -- Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Wed Mar 20 14:43:27 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 20 Mar 2013 12:43:27 -0600 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: Oh duh. So even if its a send in time, and the control DOES exist by the time the send kicks in, the underlying stuff doesn't get set right when the send is queued so it doesn't work? That actually makes sense. Think I'm going to start changing how I structure things from now on. On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder wrote: > Peter Haworth writes: > > > I guess I'm just very suspicious of anything other than really > > straightforward commands in preOpenCard now. > > Well, here's the thing. It's *pre*OpenCard because the card and its > controls > haven't been instantiated yet. So sending a message to a control that > doesn't > officially exist shouldn't work. The script is there in memory, so you can > call > handlers in it, but it's not yet associated with an on-screen object. The > pre > handlers exist so that you can set things up before the objects take form. > > -- > 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 gcanyon at gmail.com Wed Mar 20 14:55:11 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 20 Mar 2013 13:55:11 -0500 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: I set the visible of a stack to false, and put this in the stack script: on opencard send "set the visible of me to true" to me in 5 seconds end opencard I didn't try it in a standalone, but opening that in the dev environment resulted in no visible change for 5 seconds, then the stack appeared. So you could do something like this and run your code after the stack has fully loaded (but is still not visible). On Wed, Mar 20, 2013 at 1:43 PM, Mike Bonner wrote: > Oh duh. So even if its a send in time, and the control DOES exist by the > time the send kicks in, the underlying stuff doesn't get set right when the > send is queued so it doesn't work? That actually makes sense. > > Think I'm going to start changing how I structure things from now on. > > > On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder >wrote: > > > Peter Haworth writes: > > > > > I guess I'm just very suspicious of anything other than really > > > straightforward commands in preOpenCard now. > > > > Well, here's the thing. It's *pre*OpenCard because the card and its > > controls > > haven't been instantiated yet. So sending a message to a control that > > doesn't > > officially exist shouldn't work. The script is there in memory, so you > can > > call > > handlers in it, but it's not yet associated with an on-screen object. The > > pre > > handlers exist so that you can set things up before the objects take > form. > > > > -- > > 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 pete at lcsql.com Wed Mar 20 14:55:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 11:55:29 -0700 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: OK, that makes sense, but how come I can set the text of option menus, fields, etc without a problem if they don't exist yet? More to the point, why isn't there some sort of runtime error if I try to address a control that doesn't exist yet (Monte?)? That's what I mean about preOpenCard being unreliable. Anyway, I have a workaround so all's well that ends well. Pete lcSQL Software On Wed, Mar 20, 2013 at 11:21 AM, Mark Wieder wrote: > Peter Haworth writes: > > > I guess I'm just very suspicious of anything other than really > > straightforward commands in preOpenCard now. > > Well, here's the thing. It's *pre*OpenCard because the card and its > controls > haven't been instantiated yet. So sending a message to a control that > doesn't > officially exist shouldn't work. The script is there in memory, so you can > call > handlers in it, but it's not yet associated with an on-screen object. The > pre > handlers exist so that you can set things up before the objects take form. > > -- > 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 pete at lcsql.com Wed Mar 20 15:07:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 12:07:29 -0700 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: Thanks Geoff. I had thought about moving things into openCard. I already found I had to move some code that used libURLxxx from preOpenCard to openCard because of the library not being loaded. Didn't think of the visible part of it though, thanks for the idea. Pete lcSQL Software On Wed, Mar 20, 2013 at 11:55 AM, Geoff Canyon wrote: > I set the visible of a stack to false, and put this in the stack script: > > on opencard > send "set the visible of me to true" to me in 5 seconds > end opencard > > I didn't try it in a standalone, but opening that in the dev environment > resulted in no visible change for 5 seconds, then the stack appeared. So > you could do something like this and run your code after the stack has > fully loaded (but is still not visible). > > > On Wed, Mar 20, 2013 at 1:43 PM, Mike Bonner wrote: > > > Oh duh. So even if its a send in time, and the control DOES exist by the > > time the send kicks in, the underlying stuff doesn't get set right when > the > > send is queued so it doesn't work? That actually makes sense. > > > > Think I'm going to start changing how I structure things from now on. > > > > > > On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder > >wrote: > > > > > Peter Haworth writes: > > > > > > > I guess I'm just very suspicious of anything other than really > > > > straightforward commands in preOpenCard now. > > > > > > Well, here's the thing. It's *pre*OpenCard because the card and its > > > controls > > > haven't been instantiated yet. So sending a message to a control that > > > doesn't > > > officially exist shouldn't work. The script is there in memory, so you > > can > > > call > > > handlers in it, but it's not yet associated with an on-screen object. > The > > > pre > > > handlers exist so that you can set things up before the objects take > > form. > > > > > > -- > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 20 15:10:08 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Mar 2013 12:10:08 -0700 Subject: Sending mouseUp In-Reply-To: Message-ID: Maybe I'm missing a subtlety of Mark's reply, but unless an object is being created dynamically, it should be configurable during preOpenCard. The whole reason for the preOpenCard message in the first place is to be able to initialize/format stuff on the card before showing it. Now if a control hasn't yet been *created* that's one thing, but otherwise you should be able to configure controls before the card is displayed. Hope I'm not confusing the issue. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/20/13 11:43 AM, "Mike Bonner" wrote: >Oh duh. So even if its a send in time, and the control DOES exist by the >time the send kicks in, the underlying stuff doesn't get set right when >the >send is queued so it doesn't work? That actually makes sense. > >Think I'm going to start changing how I structure things from now on. > > >On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder >wrote: > >> Peter Haworth writes: >> >> > I guess I'm just very suspicious of anything other than really >> > straightforward commands in preOpenCard now. >> >> Well, here's the thing. It's *pre*OpenCard because the card and its >> controls >> haven't been instantiated yet. So sending a message to a control that >> doesn't >> officially exist shouldn't work. The script is there in memory, so you >>can >> call >> handlers in it, but it's not yet associated with an on-screen object. >>The >> pre >> handlers exist so that you can set things up before the objects take >>form. >> >> -- >> 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 pete at lcsql.com Wed Mar 20 15:28:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 12:28:33 -0700 Subject: Sending mouseUp In-Reply-To: References: Message-ID: Hi Scott, That's my confusion too. I have several places where I adjust the content/appearance of controls on the card and that all works fine, only sending a message to a control seems to cause a problem. It seems like the stack is in some partial state of initialization during preOpenCard where it's OK to do some things with controls but not others. Adding to the confusion was the fact that "it" contained "handled" after I changed the send to a dispatch command but the mouseUp logic still wasn't executed; I would have at least expected it to be "not handled". Bottom line for me is that if it's not OK to send mouseUp to a button during preOpenCard, that's fine as long as an error is flagged when you do it. Maybe this fits into Monte's thread of changing the way error handling works in LC. Pete lcSQL Software On Wed, Mar 20, 2013 at 12:10 PM, Scott Rossi wrote: > Maybe I'm missing a subtlety of Mark's reply, but unless an object is > being created dynamically, it should be configurable during preOpenCard. > The whole reason for the preOpenCard message in the first place is to be > able to initialize/format stuff on the card before showing it. Now if a > control hasn't yet been *created* that's one thing, but otherwise you > should be able to configure controls before the card is displayed. > > Hope I'm not confusing the issue. > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/20/13 11:43 AM, "Mike Bonner" wrote: > > >Oh duh. So even if its a send in time, and the control DOES exist by the > >time the send kicks in, the underlying stuff doesn't get set right when > >the > >send is queued so it doesn't work? That actually makes sense. > > > >Think I'm going to start changing how I structure things from now on. > > > > > >On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder > >wrote: > > > >> Peter Haworth writes: > >> > >> > I guess I'm just very suspicious of anything other than really > >> > straightforward commands in preOpenCard now. > >> > >> Well, here's the thing. It's *pre*OpenCard because the card and its > >> controls > >> haven't been instantiated yet. So sending a message to a control that > >> doesn't > >> officially exist shouldn't work. The script is there in memory, so you > >>can > >> call > >> handlers in it, but it's not yet associated with an on-screen object. > >>The > >> pre > >> handlers exist so that you can set things up before the objects take > >>form. > >> > >> -- > >> 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 > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Wed Mar 20 16:33:29 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Mar 2013 16:33:29 -0400 (EDT) Subject: Sending mouseUp In-Reply-To: References: Message-ID: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> Scott. I think from the original discussion, the card is not really "live" yet, in that it has not been loaded into memory. So the object exists, but has not arrived. This is earlier than what you characterized as simply not shown yet. Rather, it isn't yet. The "mouseUp" message would have been sent into the ether, and would not have thrown an error, just as if you say: send "mouseUp" to this card where no handler exists to trap it. As I understand from Peter's original post, he did not send the message to an explicitly identified button, which I assume would indeed have thrown an error. Or at least it should have. The only strange thing, derived from my incomplete understanding of just what and when stuff is in existence when "preOpencard" runs, is why the "dispatch" command showed "handled". So, similar to my little test above: on mouseUp dispatch "mouseUp" to this card --no handler anywhere answer it end mouseUp yields "unhandled". As it should. Craig -----Original Message----- From: Scott Rossi To: LiveCode Mail List Sent: Wed, Mar 20, 2013 3:12 pm Subject: Re: Sending mouseUp Maybe I'm missing a subtlety of Mark's reply, but unless an object is being created dynamically, it should be configurable during preOpenCard. The whole reason for the preOpenCard message in the first place is to be able to initialize/format stuff on the card before showing it. Now if a control hasn't yet been *created* that's one thing, but otherwise you should be able to configure controls before the card is displayed. Hope I'm not confusing the issue. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/20/13 11:43 AM, "Mike Bonner" wrote: >Oh duh. So even if its a send in time, and the control DOES exist by the >time the send kicks in, the underlying stuff doesn't get set right when >the >send is queued so it doesn't work? That actually makes sense. > >Think I'm going to start changing how I structure things from now on. > > >On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder >wrote: > >> Peter Haworth writes: >> >> > I guess I'm just very suspicious of anything other than really >> > straightforward commands in preOpenCard now. >> >> Well, here's the thing. It's *pre*OpenCard because the card and its >> controls >> haven't been instantiated yet. So sending a message to a control that >> doesn't >> officially exist shouldn't work. The script is there in memory, so you >>can >> call >> handlers in it, but it's not yet associated with an on-screen object. >>The >> pre >> handlers exist so that you can set things up before the objects take >>form. >> >> -- >> 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 > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Mar 20 16:49:01 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Mar 2013 16:49:01 -0400 (EDT) Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> Message-ID: <8CFF3C37C770AA2-1F14-410B8@webmail-d262.sysops.aol.com> All: So here is another test. Make a brand new stack. Put this into the stack script: on mouseUp dispatch "mouseUp" to this card answer it end mouseUp If you start with a new session, opening the test stack from the finder, you will get an error: Type Handler: can't find handler Object Untitled 2 Line send "mouseUp" to this card Hint mouseUp There is no such card (yet); the card just does not exist. However, also in a new session, if you open another stack, and then open the test stack from the finder, all is well. So "preOpenCard" is invoked REALLY early, but it seems to matter when and how it is invoked as well. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Wed, Mar 20, 2013 3:09 pm Subject: Re: Sending mouseUp Thanks Geoff. I had thought about moving things into openCard. I already found I had to move some code that used libURLxxx from preOpenCard to openCard because of the library not being loaded. Didn't think of the visible part of it though, thanks for the idea. Pete lcSQL Software On Wed, Mar 20, 2013 at 11:55 AM, Geoff Canyon wrote: > I set the visible of a stack to false, and put this in the stack script: > > on opencard > send "set the visible of me to true" to me in 5 seconds > end opencard > > I didn't try it in a standalone, but opening that in the dev environment > resulted in no visible change for 5 seconds, then the stack appeared. So > you could do something like this and run your code after the stack has > fully loaded (but is still not visible). > > > On Wed, Mar 20, 2013 at 1:43 PM, Mike Bonner wrote: > > > Oh duh. So even if its a send in time, and the control DOES exist by the > > time the send kicks in, the underlying stuff doesn't get set right when > the > > send is queued so it doesn't work? That actually makes sense. > > > > Think I'm going to start changing how I structure things from now on. > > > > > > On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder > >wrote: > > > > > Peter Haworth writes: > > > > > > > I guess I'm just very suspicious of anything other than really > > > > straightforward commands in preOpenCard now. > > > > > > Well, here's the thing. It's *pre*OpenCard because the card and its > > > controls > > > haven't been instantiated yet. So sending a message to a control that > > > doesn't > > > officially exist shouldn't work. The script is there in memory, so you > > can > > > call > > > handlers in it, but it's not yet associated with an on-screen object. > The > > > pre > > > handlers exist so that you can set things up before the objects take > > form. > > > > > > -- > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Mar 20 16:57:44 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 20 Mar 2013 20:57:44 +0000 Subject: LC Android Apps Message-ID: <514A22C8.2070006@tweedly.net> There has been quite a lot of discussion, mention, announcements, etc. for apps developed in Livecode for IOS. In fact, the runrev Showcase/Solutions page shows over a dozen of them, and many more are listed in Peter Woods "1001 things to do with Livecode". There's been much less mention about apps for Android. The Showcase/Solutions page only mentions 4 Android apps - and 1 of those is a mistake, and another 2 might be correct - but there is no link to anywhere you can download the Android app, so I'm not convinced they aren't also listed in error. I've only been able to find one real, available Android app developed in LC (congrats to AltaPoint, developers of MatterCat). I haven't carefully read all of "1001 things ..." but a quick scan only showed me 1 app which is being "worked on". So - does anyone else have any Android apps developed in LC ? Or are we so fettered by lack of externals (and so by lack of Monte's help :-) that it is hard to develop a shippable Android app ? I'd also welcome any comments on what you can / can't do on Android, what the Android marketplace is like compared to IOS, Kindle Fire vs general Android, etc. Thanks -- Alex. From pete at lcsql.com Wed Mar 20 17:00:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 14:00:16 -0700 Subject: Sending mouseUp In-Reply-To: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> References: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> Message-ID: Hi Craig, You're right that the button wasn't fully qualified initially, but no error was thrown. That's another problem I've come across in preOpenCard - often errors just don't get thrown. Plus red dot break points don't trigger (although a breakpoint command does). All in all, preOpenCard is a weird and strange environment. I plan to avoid it wherever possible in the future. In the project with the current issue, preOpenCard consist of a "hide stack" command and I've moved all my processing to openCard with a "show stack" command at the front (thanks to Geoff Canyon for that technique). I hate to have to resort to that type of trickery but I've spent way too much time debugging preOpenCard issues in the past. On Wed, Mar 20, 2013 at 1:33 PM, wrote: > As I understand from Peter's original post, he did not send the message to > an explicitly identified button, which I assume would indeed have thrown an > error. Or at least it should have. Pete lcSQL Software From lc at pbh.on-rev.com Wed Mar 20 17:04:50 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Wed, 20 Mar 2013 14:04:50 -0700 Subject: Sending mouseUp In-Reply-To: References: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> Message-ID: <714FBF2E-D20B-45CD-B4DA-6C898B4115D0@pbh.on-rev.com> Out of curiosity I created a simple stack with one card and four buttons named "Button 1" though "Button 4", each button just had the script; on mouseUp answer the short name of me end mouseUp then I put the following in the stack script; on preOpenStack testMessage1 end preOpenStack on openStack testMessage2 end openStack on preOpenCard testMessage3 end preOpenCard on openCard testMessage4 end openCard on testMessage1 send "mouseUp" to btn 1 end testMessage1 on testMessage2 send "mouseUp" to btn 2 end testMessage2 on testMessage3 send "mouseUp" to btn 3 end testMessage3 on testMessage4 send "mouseUp" to btn 4 end testMessage4 After building the app and launching it I received the following 4 answers; Button 1 Button 3 Button 2 Button 4 Answers to Buttons 1 & 3 appeared before the card was visible, answers to Buttons 2 & 4 appeared after the card appeared. Tried with the preOpenCard & openCard handlers on the card script too, with exactly the same result. Maybe this is over simplifying things a little, but it shows that messages are sent from preOpenStack/Card and received by the buttons, so I would imagine there is something else at the heart of the issue in this case. Paul On 2013-03-20, at 2:00 PM, Peter Haworth wrote: > Hi Craig, > You're right that the button wasn't fully qualified initially, but no error > was thrown. That's another problem I've come across in preOpenCard - often > errors just don't get thrown. Plus red dot break points don't trigger > (although a breakpoint command does). > > All in all, preOpenCard is a weird and strange environment. I plan to > avoid it wherever possible in the future. In the project with the current > issue, preOpenCard consist of a "hide stack" command and I've moved all my > processing to openCard with a "show stack" command at the front (thanks to > Geoff Canyon for that technique). I hate to have to resort to that type of > trickery but I've spent way too much time debugging preOpenCard issues in > the past. > > > On Wed, Mar 20, 2013 at 1:33 PM, wrote: > >> As I understand from Peter's original post, he did not send the message to >> an explicitly identified button, which I assume would indeed have thrown an >> error. Or at least it should have. > > > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Mar 20 17:07:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 14:07:51 -0700 Subject: Sending mouseUp In-Reply-To: <8CFF3C37C770AA2-1F14-410B8@webmail-d262.sysops.aol.com> References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> <8CFF3C37C770AA2-1F14-410B8@webmail-d262.sysops.aol.com> Message-ID: Yep, that's my experience too. Don't remember all the combinations I tried but here's the one that really surprised. 1. Ran LC and opened my stack from within it. Got the mouseUp problem. 2. Closed the stack and opened it again from within LC. All worked OK. 3. Closed the stack and removed it from memory then opened it from within LC. All worked OK! Step 3 is what really surprised me, I thought that should have had the same result as step 1. It's as if preOpenCard doesn't quite work right the very first time it is executed in any stack in a run of LC, but ever after it's OK. On Wed, Mar 20, 2013 at 1:49 PM, wrote: > There is no such card (yet); the card just does not exist. However, also > in a new session, if you open another stack, and then open the test stack > from the finder, all is well. So "preOpenCard" is invoked REALLY early, > but it seems to matter when and how it is invoked as well. > Pete lcSQL Software From francois.chaplais at mines-paristech.fr Wed Mar 20 17:09:33 2013 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 20 Mar 2013 22:09:33 +0100 Subject: [OT] programming video courses bundle Message-ID: If you are interested in programming for the web, iOS, android or promoting your business, there is currently a "pick a bundle" promotion at https://www.pickabundle.com/courses/ You can pick 6 video courses in a choice of 19 for $59.99 (yes, that's 60 dollars). I have picked courses on HTML, CSS, javascript, PHP, and iOS programming. 5 of the 6 course were at Udemy, where I previously bought a course on responsive web design. The deal expires in 13 days. Cheers, Fran?ois From dunbarx at aol.com Wed Mar 20 17:14:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Mar 2013 17:14:45 -0400 (EDT) Subject: Sending mouseUp In-Reply-To: <714FBF2E-D20B-45CD-B4DA-6C898B4115D0@pbh.on-rev.com> References: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> <714FBF2E-D20B-45CD-B4DA-6C898B4115D0@pbh.on-rev.com> Message-ID: <8CFF3C7146B537B-1F14-41698@webmail-d262.sysops.aol.com> Paul. I wonder if the "answer" command has thrown a monkey wrench into the timing of these events. I assume you dismissed each of the dialogs as they appeared, but who know what evil lurked in the heart of LC when this sort of stuff appeared, and lingered, on screen. Can you do it again, loading the short names somewhere without any "answer" stuff? Craig -----Original Message----- From: Paul Hibbert To: How to use LiveCode Sent: Wed, Mar 20, 2013 5:06 pm Subject: Re: Sending mouseUp Out of curiosity I created a simple stack with one card and four buttons named "Button 1" though "Button 4", each button just had the script; on mouseUp answer the short name of me end mouseUp then I put the following in the stack script; on preOpenStack testMessage1 end preOpenStack on openStack testMessage2 end openStack on preOpenCard testMessage3 end preOpenCard on openCard testMessage4 end openCard on testMessage1 send "mouseUp" to btn 1 end testMessage1 on testMessage2 send "mouseUp" to btn 2 end testMessage2 on testMessage3 send "mouseUp" to btn 3 end testMessage3 on testMessage4 send "mouseUp" to btn 4 end testMessage4 After building the app and launching it I received the following 4 answers; Button 1 Button 3 Button 2 Button 4 Answers to Buttons 1 & 3 appeared before the card was visible, answers to Buttons 2 & 4 appeared after the card appeared. Tried with the preOpenCard & openCard handlers on the card script too, with exactly the same result. Maybe this is over simplifying things a little, but it shows that messages are sent from preOpenStack/Card and received by the buttons, so I would imagine there is something else at the heart of the issue in this case. Paul On 2013-03-20, at 2:00 PM, Peter Haworth wrote: > Hi Craig, > You're right that the button wasn't fully qualified initially, but no error > was thrown. That's another problem I've come across in preOpenCard - often > errors just don't get thrown. Plus red dot break points don't trigger > (although a breakpoint command does). > > All in all, preOpenCard is a weird and strange environment. I plan to > avoid it wherever possible in the future. In the project with the current > issue, preOpenCard consist of a "hide stack" command and I've moved all my > processing to openCard with a "show stack" command at the front (thanks to > Geoff Canyon for that technique). I hate to have to resort to that type of > trickery but I've spent way too much time debugging preOpenCard issues in > the past. > > > On Wed, Mar 20, 2013 at 1:33 PM, wrote: > >> As I understand from Peter's original post, he did not send the message to >> an explicitly identified button, which I assume would indeed have thrown an >> error. Or at least it should have. > > > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Wed Mar 20 17:15:04 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 20 Mar 2013 17:15:04 -0400 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> <8CFF3C37C770AA2-1F14-410B8@webmail-d262.sysops.aol.com> Message-ID: Do you pass the messages as well in your problem stack? i.e. pass preOpenCard, etc. The IDE is dealing with a lot of things that a standalone isn't dealing with. Just a thought, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Mar 20, 2013, at 5:07 PM, Peter Haworth wrote: > Yep, that's my experience too. Don't remember all the combinations I tried > but here's the one that really surprised. > > 1. Ran LC and opened my stack from within it. Got the mouseUp problem. > 2. Closed the stack and opened it again from within LC. All worked OK. > 3. Closed the stack and removed it from memory then opened it from within > LC. All worked OK! > > Step 3 is what really surprised me, I thought that should have had the same > result as step 1. > > It's as if preOpenCard doesn't quite work right the very first time it is > executed in any stack in a run of LC, but ever after it's OK. > > > On Wed, Mar 20, 2013 at 1:49 PM, wrote: > >> There is no such card (yet); the card just does not exist. However, also >> in a new session, if you open another stack, and then open the test stack >> from the finder, all is well. So "preOpenCard" is invoked REALLY early, >> but it seems to matter when and how it is invoked as well. >> > > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Mar 20 17:22:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 14:22:24 -0700 Subject: Sending mouseUp In-Reply-To: References: <8CFF32406336905-968-2CEC5@webmail-d174.sysops.aol.com> <69527942390.20130319214655@ahsoftware.net> <496D054F-C5E3-45AA-BF0D-7D03B4C17C4B@mac.com> <8CFF3C37C770AA2-1F14-410B8@webmail-d262.sysops.aol.com> Message-ID: Hi Tom, I've changed my scripts so much that I'm not sure of the answer to that. Good point though - I'll see if I can find a backup copy of the stack from before I started changing it all around. The dictionary seems to indicate it doesn't matter whether you pass preOpenCard or not, at least in terms of whether the card is actually opened, Pete lcSQL Software On Wed, Mar 20, 2013 at 2:15 PM, Thomas McGrath III wrote: > Do you pass the messages as well in your problem stack? i.e. pass > preOpenCard, etc. > > The IDE is dealing with a lot of things that a standalone isn't dealing > with. > > Just a thought, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Mar 20, 2013, at 5:07 PM, Peter Haworth wrote: > > > Yep, that's my experience too. Don't remember all the combinations I > tried > > but here's the one that really surprised. > > > > 1. Ran LC and opened my stack from within it. Got the mouseUp problem. > > 2. Closed the stack and opened it again from within LC. All worked OK. > > 3. Closed the stack and removed it from memory then opened it from within > > LC. All worked OK! > > > > Step 3 is what really surprised me, I thought that should have had the > same > > result as step 1. > > > > It's as if preOpenCard doesn't quite work right the very first time it is > > executed in any stack in a run of LC, but ever after it's OK. > > > > > > On Wed, Mar 20, 2013 at 1:49 PM, wrote: > > > >> There is no such card (yet); the card just does not exist. However, also > >> in a new session, if you open another stack, and then open the test > stack > >> from the finder, all is well. So "preOpenCard" is invoked REALLY early, > >> but it seems to matter when and how it is invoked as well. > >> > > > > > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lc at pbh.on-rev.com Wed Mar 20 17:27:00 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Wed, 20 Mar 2013 14:27:00 -0700 Subject: Sending mouseUp In-Reply-To: <8CFF3C7146B537B-1F14-41698@webmail-d262.sysops.aol.com> References: <8CFF3C1511C1614-1F14-40825@webmail-d262.sysops.aol.com> <714FBF2E-D20B-45CD-B4DA-6C898B4115D0@pbh.on-rev.com> <8CFF3C7146B537B-1F14-41698@webmail-d262.sysops.aol.com> Message-ID: <823BB896-084A-4E7C-97DA-FA54FEA1D266@pbh.on-rev.com> Craig, I changed the button scripts to put their names into a global variable and the stack script to answer the global at the end of the openCard handler, the answer was in exactly the same order, nothing missing. Paul On 2013-03-20, at 2:14 PM, dunbarx at aol.com wrote: > Paul. > > > I wonder if the "answer" command has thrown a monkey wrench into the timing of these events. I assume you dismissed each of the dialogs as they appeared, but who know what evil lurked in the heart of LC when this sort of stuff appeared, and lingered, on screen. Can you do it again, loading the short names somewhere without any "answer" stuff? > > > > Craig > > > -----Original Message----- > From: Paul Hibbert > To: How to use LiveCode > Sent: Wed, Mar 20, 2013 5:06 pm > Subject: Re: Sending mouseUp > > > Out of curiosity I created a simple stack with one card and four buttons named > "Button 1" though "Button 4", each button just had the script; > > on mouseUp > answer the short name of me > end mouseUp > > then I put the following in the stack script; > > on preOpenStack > testMessage1 > end preOpenStack > > on openStack > testMessage2 > end openStack > > on preOpenCard > testMessage3 > end preOpenCard > > on openCard > testMessage4 > end openCard > > on testMessage1 > send "mouseUp" to btn 1 > end testMessage1 > > on testMessage2 > send "mouseUp" to btn 2 > end testMessage2 > > on testMessage3 > send "mouseUp" to btn 3 > end testMessage3 > > on testMessage4 > send "mouseUp" to btn 4 > end testMessage4 > > After building the app and launching it I received the following 4 answers; > > Button 1 > Button 3 > Button 2 > Button 4 > > Answers to Buttons 1 & 3 appeared before the card was visible, answers to > Buttons 2 & 4 appeared after the card appeared. > > Tried with the preOpenCard & openCard handlers on the card script too, with > exactly the same result. > > Maybe this is over simplifying things a little, but it shows that messages are > sent from preOpenStack/Card and received by the buttons, so I would imagine > there is something else at the heart of the issue in this case. > > Paul > > On 2013-03-20, at 2:00 PM, Peter Haworth wrote: > >> Hi Craig, >> You're right that the button wasn't fully qualified initially, but no error >> was thrown. That's another problem I've come across in preOpenCard - often >> errors just don't get thrown. Plus red dot break points don't trigger >> (although a breakpoint command does). >> >> All in all, preOpenCard is a weird and strange environment. I plan to >> avoid it wherever possible in the future. In the project with the current >> issue, preOpenCard consist of a "hide stack" command and I've moved all my >> processing to openCard with a "show stack" command at the front (thanks to >> Geoff Canyon for that technique). I hate to have to resort to that type of >> trickery but I've spent way too much time debugging preOpenCard issues in >> the past. >> >> >> On Wed, Mar 20, 2013 at 1:33 PM, wrote: >> >>> As I understand from Peter's original post, he did not send the message to >>> an explicitly identified button, which I assume would indeed have thrown an >>> error. Or at least it should have. >> >> >> >> >> Pete >> lcSQL Software >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 20 17:29:11 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Mar 2013 14:29:11 -0700 Subject: Sending mouseUp In-Reply-To: Message-ID: Peter: You may be done with this whole issue, but one thing you might try is verifying that your stack is actually removed from memory before testing as you describe. If the stack you're closing has a substack that doesn't get closed, or there's some handler, pending message or other event executing while trying to close the stack, it may appear closed but may not get removed from memory. Try checking the openStacks property, and maybe a few others just to be sure. "I say we take off and nuke the entire site from orbit. It?s the only way to be sure." Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/20/13 2:07 PM, "Peter Haworth" wrote: >Yep, that's my experience too. Don't remember all the combinations I >tried >but here's the one that really surprised. > >1. Ran LC and opened my stack from within it. Got the mouseUp problem. >2. Closed the stack and opened it again from within LC. All worked OK. >3. Closed the stack and removed it from memory then opened it from within >LC. All worked OK! > >Step 3 is what really surprised me, I thought that should have had the >same >result as step 1. > >It's as if preOpenCard doesn't quite work right the very first time it is >executed in any stack in a run of LC, but ever after it's OK. From mwieder at ahsoftware.net Wed Mar 20 17:44:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Mar 2013 21:44:16 +0000 (UTC) Subject: LC Android Apps References: <514A22C8.2070006@tweedly.net> Message-ID: Alex Tweedly writes: > I'd also welcome any comments on what you can / can't do on Android, No sockets. At work we had to give up on LiveCode for Android and now I'm in Flex hell. I hear the CTO at Adobe just defected to become a VP at Apple. Now I'm really scared, but maybe they can just isolate him to some remote room and keep the damage under control. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Wed Mar 20 17:53:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Mar 2013 14:53:04 -0700 Subject: Sending mouseUp In-Reply-To: References: Message-ID: Thanks Scott, good thought. Not about checking openStacks, the bit about "nuking the entire site" :-) Pete lcSQL Software On Wed, Mar 20, 2013 at 2:29 PM, Scott Rossi wrote: > Peter: > > You may be done with this whole issue, but one thing you might try is > verifying that your stack is actually removed from memory before testing > as you describe. If the stack you're closing has a substack that doesn't > get closed, or there's some handler, pending message or other event > executing while trying to close the stack, it may appear closed but may > not get removed from memory. Try checking the openStacks property, and > maybe a few others just to be sure. > > "I say we take off and nuke the entire site from orbit. It?s the only way > to be sure." > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 3/20/13 2:07 PM, "Peter Haworth" wrote: > > >Yep, that's my experience too. Don't remember all the combinations I > >tried > >but here's the one that really surprised. > > > >1. Ran LC and opened my stack from within it. Got the mouseUp problem. > >2. Closed the stack and opened it again from within LC. All worked OK. > >3. Closed the stack and removed it from memory then opened it from within > >LC. All worked OK! > > > >Step 3 is what really surprised me, I thought that should have had the > >same > >result as step 1. > > > >It's as if preOpenCard doesn't quite work right the very first time it is > >executed in any stack in a run of LC, but ever after it's OK. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Mar 20 18:02:27 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Mar 2013 17:02:27 -0500 Subject: LC Android Apps In-Reply-To: <514A22C8.2070006@tweedly.net> References: <514A22C8.2070006@tweedly.net> Message-ID: <514A31F3.8020705@hyperactivesw.com> On 3/20/13 3:57 PM, Alex Tweedly wrote: > So - does anyone else have any Android apps developed in LC ? > Or are we so fettered by lack of externals (and so by lack of Monte's > help :-) that it is hard to develop a shippable Android app ? Casey's Solitaire was released for iOS and Android both, simultaneously. There were some issues on Android with acceleratedRendering in versions of the OS earlier than 2.3. Other than that it worked fine. It doesn't use any externals. Google Play: Amazon: App Store: Casey's was done mostly as an experiment to learn about mobile apps, but it is still selling in bits and drabs, here and there, off and on. > I'd also welcome any comments on what you can / can't do on Android, > what the Android marketplace is like compared to IOS, Kindle Fire vs > general Android, etc. I'm not working with mobile much right now, but except for externals I think RR is doing a pretty good job keeping parity. There are a few things missing that I can't recall offhand (probably because I don't use them.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Wed Mar 20 18:16:21 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 21 Mar 2013 09:16:21 +1100 Subject: LC Android Apps In-Reply-To: <514A22C8.2070006@tweedly.net> References: <514A22C8.2070006@tweedly.net> Message-ID: <8416EC0F-DDAC-44D2-8402-AA262D4F7C5F@sweattechnologies.com> On 21/03/2013, at 7:57 AM, Alex Tweedly wrote: > Or are we so fettered by lack of externals (and so by lack of Monte's help :-) that it is hard to develop a shippable Android app ? I have been a little fettered (I maintain a couple of Java android projects that would be good candidates if we had externals) but the extensions api will resolve that. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From sc at sahores-conseil.com Wed Mar 20 19:25:23 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 21 Mar 2013 00:25:23 +0100 Subject: LC Android Apps In-Reply-To: <514A31F3.8020705@hyperactivesw.com> References: <514A22C8.2070006@tweedly.net> <514A31F3.8020705@hyperactivesw.com> Message-ID: <936BB944-787A-48EA-8923-744029DC3910@sahores-conseil.com> I'm in the end of a customer's m-commerce oriented app project witch should be published on both iTunes Store and Google Play as soon as some logistical tasks are going to be up on the customer's services side. Best, Pierre Le 20 mars 2013 ? 23:02, J. Landman Gay a ?crit : > On 3/20/13 3:57 PM, Alex Tweedly wrote: > >> So - does anyone else have any Android apps developed in LC ? >> Or are we so fettered by lack of externals (and so by lack of Monte's >> help :-) that it is hard to develop a shippable Android app ? > > Casey's Solitaire was released for iOS and Android both, simultaneously. There were some issues on Android with acceleratedRendering in versions of the OS earlier than 2.3. Other than that it worked fine. It doesn't use any externals. > > Google Play: > > > Amazon: > > > App Store: > > > Casey's was done mostly as an experiment to learn about mobile apps, but it is still selling in bits and drabs, here and there, off and on. > >> I'd also welcome any comments on what you can / can't do on Android, >> what the Android marketplace is like compared to IOS, Kindle Fire vs >> general Android, etc. > > I'm not working with mobile much right now, but except for externals I think RR is doing a pretty good job keeping parity. There are a few things missing that I can't recall offhand (probably because I don't use them.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From charles at techstrategies.com.au Wed Mar 20 21:16:57 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Thu, 21 Mar 2013 11:16:57 +1000 Subject: Livecode iOS Externals and XCode 4.6 Message-ID: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> I am trying to build and test a simple iOS external using the Livecode iOS Externals "LiveCodeSDK-R14" following the instructions at http://www.runrev.com/developers/documentation/externals-sdk/. My mac is running 10.8 with LiveCode 5.5.4 and XCode 4.6 with iOS SDKs for 5.1, 6.0 and 6.1. No matter which version of the iOS SDK I select in the build settings for the XCode project, when I try and build the external using the 'test' environment (to use the iOS simulator) I get the following message: "The selected destination does not support the architecture for which the selected software is built. Switch to a destination that supports that architecture in order to run the selected software" If I try to build the external by itself, it appears to be successful, however when I then try to build the standalone app from inside LiveCode, I get the following message when it tries to link in the binary: "linking for armv7 failed with arm-apple-darwin10-llvm-g++-4.2: /private/var/folders/hj/j7f88c7x2fl2w9c6ws8hc8y80000gn/T/TemporaryItems/tmp/tmp.1209.7dCnDc6A: No such file or directory" Has anyone got the iOS externals SDK working with XCode 4.6 and LiveCode 5.5.4? From monte at sweattechnologies.com Wed Mar 20 21:57:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 21 Mar 2013 12:57:11 +1100 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> Message-ID: <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> On 21/03/2013, at 12:16 PM, charles at techstrategies.com.au wrote: > Has anyone got the iOS externals SDK working with XCode 4.6 and LiveCode 5.5.4? Yes, and Hi from From Tasmania ;-) It sounds like you're not building for the correct architecture. In Xcode are you building for the simulator or the device? What is in the architecture field in the settings? Which file are you choosing in the copy files pane? It should be just .lcext PS there's an LiveCode DownUnder community on G+ if you're interested. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From livecode.list at gmail.com Wed Mar 20 22:44:26 2013 From: livecode.list at gmail.com (Chip Thomas) Date: Wed, 20 Mar 2013 19:44:26 -0700 Subject: Xcode 4.6.1 In-Reply-To: <56FFDC17-F109-409E-8870-E49983518AF4@all-auctions.com> References: <56FFDC17-F109-409E-8870-E49983518AF4@all-auctions.com> Message-ID: Yeah, I ended up reverting back to Xcode 4.5.2 and then was able to select the Developer location as you suggested. So now I'm able to build which is great. But, I can't move builds over to a couple of our devices because they require Xcode 4.6. On Tue, Mar 19, 2013 at 6:44 PM, Rick Harrison wrote: > Hi Chip, > > What error are you getting? > > You should search the archives and the iOS Release Notes for picking the > SDK. > > Try several approaches, one might just work. I know it is a real pain, > but hang in there. > > Rick > > On Mar 19, 2013, at 4:44 PM, Chip Thomas wrote: > > > I tried selecting the Xcode.app and received an error. > > > > Then I opened the Contents and tried to select the Developer folder and > it > > won't allow me to select that folder. > > > > On Mon, Mar 18, 2013 at 8:24 PM, Rick Harrison < > harrison at all-auctions.com>wrote: > > > >> Hi Chip, > >> > >> Yes, I just did the same thing. Same problem. > >> > >> You have to repoint LiveCode to the SDK. > >> Of course when you try to use "Find" to > >> locate it, all one finds are old versions, because > >> Apple has now hidden things inside Xcode itself. > >> > >> I had to search old LC emails for the clues. > >> > >> Go to your LiveCode Preferences > >> > >> Under Mobile Support > >> > >> add an entry > >> > >> /Applications/Xcode.app/Contents/Developer > >> > >> (Selecting Xcode may be enough as the LC seems smart > >> enough to know what to do next.) > >> > >> Close Preferences > >> > >> (You might have to restart LC for this to work > >> I don't recall) > >> > >> Then under the Development Menu > >> select Test Target and choose the > >> simulator you want. > >> > >> I hope that does it for you. > >> > >> Good luck! > >> > >> Rick > >> > >> > >> > >> On Mar 18, 2013, at 9:31 PM, Chip Thomas > wrote: > >> > >>> So I updated my device to 6.1 and so then I had to update Xcode. But > >> now I > >>> can't get LiveCode to work with this new version. Keep getting an > error > >>> that Armv 7 builds require the iOS 6.0 SDK to be installed. > >>> > >>> How can I fix this? > >>> > >>> Thanks in advance! > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From charles at techstrategies.com.au Thu Mar 21 06:14:35 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Thu, 21 Mar 2013 20:14:35 +1000 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> Message-ID: <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> Hi Monte, Good to see there are other Aussie's on the list :) The architecture is listed as "Standard (armv7, armv7s) - $(ARCHS_STANDARD_32_BIT)" and there doesn't seem to be any other choices. I've managed to get the simulator working, but building the standalone in LiveCode is still giving the same error. I am choosing only the .lcext file in the copy files pane. Thanks for the heads up about the G+ community. Charles On 21-03-2013 11:57, Monte Goulding wrote: > On 21/03/2013, at 12:16 PM, charles at techstrategies.com.au wrote: > >> Has anyone got the iOS externals SDK working with XCode 4.6 and >> LiveCode 5.5.4? > > Yes, and Hi from From Tasmania ;-) > > It sounds like you're not building for the correct architecture. In > Xcode are you building for the simulator or the device? What is in the > architecture field in the settings? Which file are you choosing in the > copy files pane? It should be just .lcext > > PS there's an LiveCode DownUnder community on G+ if you're interested. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Thu Mar 21 10:19:02 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 21 Mar 2013 08:19:02 -0600 Subject: Xcode 4.6.1 In-Reply-To: References: <56FFDC17-F109-409E-8870-E49983518AF4@all-auctions.com> Message-ID: Chip, Here's a trick that may work for you. It has worked for me and for others on this list. It does require some manual copying of folders from one application bundle to another. The easy instructions: Copy the earlier iOS SDK versions from older versions of Xcode to Xcode 4.6.x. More detailed instructions: First, navigate to /Applications/Xcode 4.6/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs, or wherever you have Xcode 4.6 installed. You'll need to right/ctrl click on the Xcode bundle and choose "Show Contents" in order to do so. This is where the SDKs are stored. Most likely you have 6.1 in there, but you can copy in older versions of it. Next, navigate to the same place in the Xcode 4.5.x bundle. You will probably see version 6.0, maybe 5.1. I don't recall exactly. Whatever you have there, copy them/it into the Xcode 4.6 bundle. You can even go grab Xcode 4.4 from Apple's Dev Center if you need access to iOS 5.0 SDK. If not, don't bother. Once you've copied in all the SDKs you want, simply launch Xcode, go into the mobile prefs, and point LC to the Xcode 4.6 bundle. It should find all the SDKs you've copied in. If not, something went wrong and you should double check to make sure everything's in the right place. Hopefully that'll help you. I currently have SDKs for iOS 5.1, 6.0, and 6.1. LiveCode sees them all and I can support devices (both simulated and physical) running iOS 5.0 and above. Good luck. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Mar 20, 2013, at 8:44 PM, Chip Thomas wrote: > Yeah, I ended up reverting back to Xcode 4.5.2 and then was able to select > the Developer location as you suggested. So now I'm able to build which is > great. But, I can't move builds over to a couple of our devices because > they require Xcode 4.6. > > > On Tue, Mar 19, 2013 at 6:44 PM, Rick Harrison wrote: > >> Hi Chip, >> >> What error are you getting? >> >> You should search the archives and the iOS Release Notes for picking the >> SDK. >> >> Try several approaches, one might just work. I know it is a real pain, >> but hang in there. >> >> Rick >> >> On Mar 19, 2013, at 4:44 PM, Chip Thomas wrote: >> >>> I tried selecting the Xcode.app and received an error. >>> >>> Then I opened the Contents and tried to select the Developer folder and >> it >>> won't allow me to select that folder. >>> >>> On Mon, Mar 18, 2013 at 8:24 PM, Rick Harrison < >> harrison at all-auctions.com>wrote: >>> >>>> Hi Chip, >>>> >>>> Yes, I just did the same thing. Same problem. >>>> >>>> You have to repoint LiveCode to the SDK. >>>> Of course when you try to use "Find" to >>>> locate it, all one finds are old versions, because >>>> Apple has now hidden things inside Xcode itself. >>>> >>>> I had to search old LC emails for the clues. >>>> >>>> Go to your LiveCode Preferences >>>> >>>> Under Mobile Support >>>> >>>> add an entry >>>> >>>> /Applications/Xcode.app/Contents/Developer >>>> >>>> (Selecting Xcode may be enough as the LC seems smart >>>> enough to know what to do next.) >>>> >>>> Close Preferences >>>> >>>> (You might have to restart LC for this to work >>>> I don't recall) >>>> >>>> Then under the Development Menu >>>> select Test Target and choose the >>>> simulator you want. >>>> >>>> I hope that does it for you. >>>> >>>> Good luck! >>>> >>>> Rick >>>> >>>> >>>> >>>> On Mar 18, 2013, at 9:31 PM, Chip Thomas >> wrote: >>>> >>>>> So I updated my device to 6.1 and so then I had to update Xcode. But >>>> now I >>>>> can't get LiveCode to work with this new version. Keep getting an >> error >>>>> that Armv 7 builds require the iOS 6.0 SDK to be installed. >>>>> >>>>> How can I fix this? >>>>> >>>>> Thanks in advance! >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Thu Mar 21 12:14:07 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 21 Mar 2013 10:14:07 -0600 Subject: SQLite data storage Message-ID: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> I hope nobody minds that I ask this here. While it's not specifically about LiveCode, the database I'm asking about will be used for a LiveCode app. :-) I need some advice/pointers on how best to store some static "read-only" data in a SQLite database. We're talking potentially thousands of records. I've been given an Excel spreadsheet with 24 sheets containing data to import. There are about 12 fields/columns. The data is separated into 24 sheets, but it could potentially all reside in one table in the database (fields are the same on each sheet). The question is, should I do that? Will SQLite bog down after a while? This new app we're working on will need constant access to this database, probably via several open record sets at once. I'm just trying to figure out if it would be best to store everything in one large table, or to split each sheet of data into its own table. Would that be more efficient? Or would it be even better to have each sheet in its own file? Also, are there specific settings/properties I should set on the db to help keep performance as optimal as possible? Just brainstorming here. Would love to hear opinions, especially if someone out there is a SQLite guru. :-) Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From mwieder at ahsoftware.net Thu Mar 21 13:02:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Mar 2013 17:02:24 +0000 (UTC) Subject: SQLite data storage References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: Chris- Caveat: I know enough about databases to be dangerous, so if someone else chimes in with conflicting information, ignore this. I don't think you'll run into any problems with SQLite performance for what you've got in mind. And anything beats Excel. Is there a reason the data is separated into 24 sheets? Since the data is all of a common format then it would be better normalized if you put it all in the same table. If the sharding makes it easier to retrieve data then you'll get slightly better performance if you keep it as 24 tables, but otherwise I'd just throw it all together - it will make your queries easier, especially if you have to combine data from the different sheets. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Mar 21 13:50:30 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Mar 2013 10:50:30 -0700 Subject: SQLite data storage In-Reply-To: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: Hi Chris, Difficult to answer without a little more information about your app. In general, I wouldn't worry about the number of records - "thousands" won't be an issue for SQLite. I'd say that if the columns are the same on each sheet, one table will probably be the way to go - it's not usually a good idea to have tables with exactly the same table layout and I'd guess there's some piece of data you can use as a key when selecting data to differentiate between what used to be on each individual sheet, if that's a requirement. After that, it just becomes an issue of standard database design based on the data elements and the application requirements. If you'd like to send me the spreadsheet offline, I'd be happy to take a look and give you some thoughts. Pete lcSQL Software On Thu, Mar 21, 2013 at 9:14 AM, Chris Sheffield wrote: > I hope nobody minds that I ask this here. While it's not specifically > about LiveCode, the database I'm asking about will be used for a LiveCode > app. :-) > > I need some advice/pointers on how best to store some static "read-only" > data in a SQLite database. We're talking potentially thousands of records. > I've been given an Excel spreadsheet with 24 sheets containing data to > import. There are about 12 fields/columns. The data is separated into 24 > sheets, but it could potentially all reside in one table in the database > (fields are the same on each sheet). The question is, should I do that? > Will SQLite bog down after a while? This new app we're working on will need > constant access to this database, probably via several open record sets at > once. I'm just trying to figure out if it would be best to store everything > in one large table, or to split each sheet of data into its own table. > Would that be more efficient? Or would it be even better to have each sheet > in its own file? Also, are there specific settings/properties I should set > on the db to help keep performance as optimal as possible? > > Just brainstorming here. Would love to hear opinions, especially if > someone out there is a SQLite guru. :-) > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alanstenhouse at hotmail.com Thu Mar 21 14:06:03 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 21 Mar 2013 19:06:03 +0100 Subject: SQLite data storage Message-ID: Hi Chris While not a SQLite guru, I have used it on and off at various times and would probably recommend just having it all in 1 table. Any read-only queries will just return you a record set which you can put in a container and do anything with. SQLite is quick, you can add indices and custom views. Think it'd keep your management much more straightforward than multiple tables. But just my 2c... ;-) cheers Alan > > I need some advice/pointers on how best to store some static "read-only" data in a SQLite database. We're talking potentially thousands of records. I've been given an Excel spreadsheet with 24 sheets containing data to import. There are about 12 fields/columns. The data is separated into 24 sheets, but it could potentially all reside in one table in the database (fields are the same on each sheet). The question is, should I do that? Will SQLite bog down after a while? This new app we're working on will need constant access to this database, probably via several open record sets at once. I'm just trying to figure out if it would be best to store everything in one large table, or to split each sheet of data into its own table. Would that be more efficient? Or would it be even better to have each sheet in its own file? Also, are there specific settings/properties I should set on the db to help keep performance as optimal as possible? > > Just brainstorming here. Would love to hear opinions, especially if someone out there is a SQLite guru. :-) > > Thanks, > Chris > -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. From ambassador at fourthworld.com Thu Mar 21 14:13:36 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Mar 2013 11:13:36 -0700 Subject: SQLite data storage In-Reply-To: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: <514B4DD0.9060705@fourthworld.com> Chris Sheffield wrote: > I need some advice/pointers on how best to store some static > "read-only" data in a SQLite database. We're talking potentially > thousands of records. Thousands isn't very much. Is that the total for all the sheets? If so, while SQLite is a good solution, sometimes keeping things simple with just chunk expressions isn't a bad option with relatively small data sets. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Thu Mar 21 14:33:54 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Mar 2013 14:33:54 -0400 Subject: SQLite data storage In-Reply-To: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: "Thousands" is like zero in terms of a performance hit. I have an app on iOS that has tens-of-thousands of records in it, and to say it's instantaneous would be an injustice. There are lots of things you can do to enhance performance (either normalizing or denormalizing the data, adding indexes, etc.), if that winds up being an issue, but I have tried both mySQL and SQLite and have yet to figure out why I need one over the other. Now when you get into multi-concurrent users with lots of records, then there start to be things to think about, but that is not the case here, and you could probably also store the data in a field in a card and not really notice. There have been numerous studies done that compare various DBMS's, especially the free ones. The differences seem to be small for the most part. On Thu, Mar 21, 2013 at 12:14 PM, Chris Sheffield wrote: > I hope nobody minds that I ask this here. While it's not specifically > about LiveCode, the database I'm asking about will be used for a LiveCode > app. :-) > > I need some advice/pointers on how best to store some static "read-only" > data in a SQLite database. We're talking potentially thousands of records. > I've been given an Excel spreadsheet with 24 sheets containing data to > import. There are about 12 fields/columns. The data is separated into 24 > sheets, but it could potentially all reside in one table in the database > (fields are the same on each sheet). The question is, should I do that? > Will SQLite bog down after a while? This new app we're working on will need > constant access to this database, probably via several open record sets at > once. I'm just trying to figure out if it would be best to store everything > in one large table, or to split each sheet of data into its own table. > Would that be more efficient? Or would it be even better to have each sheet > in its own file? Also, are there specific settings/properties I should set > on the db to help keep performance as optimal as possible? > > Just brainstorming here. Would love to hear opinions, especially if > someone out there is a SQLite guru. :-) > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From stephenREVOLUTION2 at barncard.com Thu Mar 21 14:35:44 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 21 Mar 2013 11:35:44 -0700 Subject: SQLite data storage In-Reply-To: <514B4DD0.9060705@fourthworld.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> <514B4DD0.9060705@fourthworld.com> Message-ID: Especially when the data is conveniently within data-grid size.... On Thu, Mar 21, 2013 at 11:13 AM, Richard Gaskin wrote: > Thousands isn't very much. Is that the total for all the sheets? If so, > while SQLite is a good solution, sometimes keeping things simple with just > chunk expressions isn't a bad option with relatively small data sets. > > -- > Richard Gaskin > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Thu Mar 21 16:52:20 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Mar 2013 13:52:20 -0700 Subject: Grouping question Message-ID: I want to use the import command in a script to import an image from a file of the user's choice. The catch is that I want the resulting image to end up in a group and, unlike the create command, the import command doesn't have a way to specify a group. In the past when I've run into this, I get the ids of the group's controls, ungroup the group, add the id of the new image to the list of group controls, then group them, or copy the control into the group and delete the original control. Both those methods seem somewhat clumsy so I'm wondering if there's a more elegant way to do this. Pete lcSQL Software From monte at sweattechnologies.com Thu Mar 21 17:01:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 08:01:33 +1100 Subject: Grouping question In-Reply-To: References: Message-ID: On 22/03/2013, at 7:52 AM, Peter Haworth wrote: > Both those methods seem somewhat clumsy so I'm wondering if there's a more > elegant way to do this. Hmm.. setting the relayerGroupedControls to true and setting the layer of the image to somewhere inside the group is an option... I'm not sure if that's elegant either but it's an option -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From martyknappster at gmail.com Thu Mar 21 17:01:57 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 21 Mar 2013 14:01:57 -0700 Subject: Grouping question In-Reply-To: References: Message-ID: <514B7545.8050501@gmail.com> Hey Pete, Why not create an image in the group you want, then use the "put URL" method: create image in group "GroupName" of stack "StackName" put it into tImageID --long id of image put URL (binfile:" & tPathToImage) into image tImageID of group "GroupName" of stack "StackName" Marty Knapp > I want to use the import command in a script to import an image from a file > of the user's choice. The catch is that I want the resulting image to end > up in a group and, unlike the create command, the import command doesn't > have a way to specify a group. > > In the past when I've run into this, I get the ids of the group's controls, > ungroup the group, add the id of the new image to the list of group > controls, then group them, or copy the control into the group and delete > the original control. > > Both those methods seem somewhat clumsy so I'm wondering if there's a more > elegant way to do this. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Mar 21 17:03:50 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Mar 2013 14:03:50 -0700 Subject: Grouping question In-Reply-To: References: Message-ID: Well I guess neither of the methods I mentioned will work since the import command does not give me the id of the image it creates, at least not in the it variable or the result. So I guess I'm back to using the create command which solves the issue of getting the image into the correct place, along with setting the filename of the image after I create it. But that ends with with a referenced control, which I don't want. I hope I'm missing something obvious..... Pete lcSQL Software On Thu, Mar 21, 2013 at 1:52 PM, Peter Haworth wrote: > I want to use the import command in a script to import an image from a > file of the user's choice. The catch is that I want the resulting image to > end up in a group and, unlike the create command, the import command > doesn't have a way to specify a group. > > In the past when I've run into this, I get the ids of the group's > controls, ungroup the group, add the id of the new image to the list of > group controls, then group them, or copy the control into the group and > delete the original control. > > Both those methods seem somewhat clumsy so I'm wondering if there's a more > elegant way to do this. > > Pete > lcSQL Software > From devin_asay at byu.edu Thu Mar 21 17:08:06 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 21 Mar 2013 21:08:06 +0000 Subject: Android - Resizing images opened by photo picker Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A010972EB@Peas2.byu.local> Hello all, The mobilePickPhoto command lets you choose a photo either from the device's photo gallery library or take a photo with the camera. In iOS mobilePickPhoto has two optional parameters that let you limit the maximum width and size of the chosen image, but that isn't implemented on Android. I've been trying to find a way to do a similar thing on Android. I tried resizing the last image object after picking the photo, but the chosen image always ends up filling up the entire screen, and then some. Has anyone found a way to set the size of a photo opened in Android when using mobilePickPhoto? Regards, Devin Devin Asay Office of Digital Humanities Brigham Young University From klaus at major.on-rev.com Thu Mar 21 17:10:35 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 21 Mar 2013 22:10:35 +0100 Subject: Grouping question In-Reply-To: References: Message-ID: <8F2A1141-ECAB-4DD2-8881-2B1234A03384@major.on-rev.com> Hi Pete, Am 21.03.2013 um 22:03 schrieb Peter Haworth : > Well I guess neither of the methods I mentioned will work since the import > command does not give me the id of the image it creates, at least not in > the it variable or the result. > > So I guess I'm back to using the create command which solves the issue of > getting the image into the correct place, along with setting the filename > of the image after I create it. But that ends with with a referenced > control, which I don't want. > > I hope I'm missing something obvious..... yep, the last posting of Marty Knapp :-D > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From monte at sweattechnologies.com Thu Mar 21 17:11:55 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 08:11:55 +1100 Subject: Grouping question In-Reply-To: References: Message-ID: On 22/03/2013, at 8:03 AM, Peter Haworth wrote: > Well I guess neither of the methods I mentioned will work since the import > command does not give me the id of the image it creates, at least not in > the it variable or the result. get the long id of the last image > > So I guess I'm back to using the create command which solves the issue of > getting the image into the correct place, along with setting the filename > of the image after I create it. But that ends with with a referenced > control, which I don't want. See Marty's solution which will set the text of the image to the contents of the file. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Thu Mar 21 17:15:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 08:15:27 +1100 Subject: Android - Resizing images opened by photo picker In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A010972EB@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1A010972EB@Peas2.byu.local> Message-ID: <17194D61-3818-4FE0-B91C-9D13995E82D6@sweattechnologies.com> On 22/03/2013, at 8:08 AM, Devin Asay wrote: > The mobilePickPhoto command lets you choose a photo either from the device's photo gallery library or take a photo with the camera. In iOS mobilePickPhoto has two optional parameters that let you limit the maximum width and size of the chosen image, but that isn't implemented on Android. I've been trying to find a way to do a similar thing on Android. I tried resizing the last image object after picking the photo, but the chosen image always ends up filling up the entire screen, and then some. > > Has anyone found a way to set the size of a photo opened in Android when using mobilePickPhoto? First off you probably want to set the visible of the templateImage to false before mobilePickPhoto. Set the lockLoc too then resize proportionally using the formattedWidth and height of the image after the import. You may also want to try setting the resizeQuality to good. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Thu Mar 21 17:48:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Mar 2013 14:48:21 -0700 Subject: Grouping question In-Reply-To: <514B7545.8050501@gmail.com> References: <514B7545.8050501@gmail.com> Message-ID: Perfect,thanks Marty. Pete lcSQL Software On Thu, Mar 21, 2013 at 2:01 PM, Marty Knapp wrote: > Hey Pete, > Why not create an image in the group you want, then use the "put URL" > method: > > create image in group "GroupName" of stack "StackName" > put it into tImageID --long id of image > put URL (binfile:" & tPathToImage) into image tImageID of group > "GroupName" of stack "StackName" > > > Marty Knapp > >> I want to use the import command in a script to import an image from a >> file >> of the user's choice. The catch is that I want the resulting image to end >> up in a group and, unlike the create command, the import command doesn't >> have a way to specify a group. >> >> In the past when I've run into this, I get the ids of the group's >> controls, >> ungroup the group, add the id of the new image to the list of group >> controls, then group them, or copy the control into the group and delete >> the original control. >> >> Both those methods seem somewhat clumsy so I'm wondering if there's a more >> elegant way to do this. >> >> Pete >> lcSQL Software >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Mar 21 18:31:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 09:31:00 +1100 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> Message-ID: <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> On 21/03/2013, at 9:14 PM, charles at techstrategies.com.au wrote: > Good to see there are other Aussie's on the list :) Yes we seem to be multiplying lately ;-) > > The architecture is listed as "Standard (armv7, armv7s) - $(ARCHS_STANDARD_32_BIT)" and there doesn't seem to be any other choices. That should be fine. You can delete that and add any valid architecture.. you're choices are only armv7 and armv7s with Xcode 4.6+ for iOS anyway... armv7s is currently pointless for LiveCode but it won't hurt if you build for it. > > I've managed to get the simulator working, but building the standalone in LiveCode is still giving the same error. I am choosing only the .lcext file in the copy files pane OK, At the top of the Xcode window you can choose a simulator or iOS Device (it will be the name of a device plugged in if there is one). Are you choosing the device? > > Thanks for the heads up about the G+ community. No problem. If we can get enough people to work out where each other are then there may be certain regions with enough for a meeting. I suspect Tas isn't likely to be there yet but I could be wrong... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From revdev at pdslabs.net Thu Mar 21 18:54:57 2013 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 21 Mar 2013 15:54:57 -0700 Subject: [ANN] Portland Area Get-Together Message-ID: <514B8FC1.10409@pdslabs.net> Hi folks, A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. Hope to see as many of you as possible at 4pm on March 30th at McMenamins John Barleycorns 14610 Southwest Sequoia Parkway Tigard, OR 97223 Thanks - -- Phil Davis From scott at elementarysoftware.com Thu Mar 21 20:12:13 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 21 Mar 2013 17:12:13 -0700 Subject: [ANN] Portland Area Get-Together In-Reply-To: <514B8FC1.10409@pdslabs.net> References: <514B8FC1.10409@pdslabs.net> Message-ID: <3CF692EC-C91F-4838-9C10-2BDC6B894FFC@elementarysoftware.com> Hello Phil, I'm thinking about taking the train from Bellingham to Portland. Is there anyone near the Portland Union Station who would be willing to give me a ride to Tigard and back? The train is scheduled to arrive in Portland at 3:20. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com office 1-800-615-0867 ------------------------------------------------------ On Mar 21, 2013, at 3:54 PM, Phil Davis wrote: > Hi folks, > > A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. > > Hope to see as many of you as possible at 4pm on March 30th at > McMenamins John Barleycorns > 14610 Southwest Sequoia Parkway > Tigard, OR 97223 > > Thanks - > > -- > Phil Davis From littlejamesw at mac.com Thu Mar 21 21:25:49 2013 From: littlejamesw at mac.com (Jim Little) Date: Thu, 21 Mar 2013 18:25:49 -0700 Subject: [ANN] Portland Area Get-Together In-Reply-To: <3CF692EC-C91F-4838-9C10-2BDC6B894FFC@elementarysoftware.com> References: <514B8FC1.10409@pdslabs.net> <3CF692EC-C91F-4838-9C10-2BDC6B894FFC@elementarysoftware.com> Message-ID: Hi Phil and Scott, I'm in Seattle and I am interested in attending the Portland Get-Together. My son, Todd, may also be interested. Scott, if you wanted to meet us in Seattle, then I could drive a group down to Portland in our Honda Odyssey mini-van. I would be glad to transport others from the Seattle area. I have capacity for 7. Thanks for the invitation to this event. Jim Little On Mar 21, 2013, at 5:12 PM, Scott Morrow wrote: > Hello Phil, > > I'm thinking about taking the train from Bellingham to Portland. Is there anyone near the Portland Union Station who would be willing to give me a ride to Tigard and back? The train is scheduled to arrive in Portland at 3:20. > > -- > Scott Morrow > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > office 1-800-615-0867 > ------------------------------------------------------ > > On Mar 21, 2013, at 3:54 PM, Phil Davis wrote: > >> Hi folks, >> >> A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. >> >> Hope to see as many of you as possible at 4pm on March 30th at >> McMenamins John Barleycorns >> 14610 Southwest Sequoia Parkway >> Tigard, OR 97223 >> >> Thanks - >> >> -- >> Phil Davis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Thu Mar 21 22:05:17 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Fri, 22 Mar 2013 12:05:17 +1000 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> Message-ID: > > OK, At the top of the Xcode window you can choose a simulator or iOS > Device (it will be the name of a device plugged in if there is one). > Are you choosing the device? I was fiddling around with those options quite a bit, but I've managed to get it working now... It seems that using iOS 5.1 or 6.0 as the base SDK causes problems, however if I choose the 6.1 SDK it builds correctly in LiveCode. On a related note, now that I have it compiled, I am trying to understand the layout that LiveCode uses on IOS... Does it just uses a single UIView the size of the screen, or will it create multiple? I can see from the examples that you can get the object reference for the main UIView inside the externals code. However, if you create any native mobile controls through LiveCode, do you know if you can get the object reference to these? > No problem. If we can get enough people to work out where each other > are then there may be certain regions with enough for a meeting. I > suspect Tas isn't likely to be there yet but I could be wrong... That would be good. I have only really started working with LiveCode, so it would be very helpful to catch up with others that have been using it... I'm based in QLD. Thanks for your help, Charles > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Mar 21 22:16:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 13:16:14 +1100 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> Message-ID: <304A15E5-C518-4CA0-A011-192ABC6DD41A@sweattechnologies.com> On 22/03/2013, at 1:05 PM, charles at techstrategies.com.au wrote: > I was fiddling around with those options quite a bit, but I've managed to get it working now... > > It seems that using iOS 5.1 or 6.0 as the base SDK causes problems, however if I choose the 6.1 SDK it builds correctly in LiveCode. Hmm... I don't know why that would be unless you are using some iOS 6.1 only api... > > On a related note, now that I have it compiled, I am trying to understand the layout that LiveCode uses on IOS... > > Does it just uses a single UIView the size of the screen, or will it create multiple? one > > I can see from the examples that you can get the object reference for the main UIView inside the externals code. However, if you create any native mobile controls through LiveCode, do you know if you can get the object reference to these? Only using UIView.subviews ... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From charles at techstrategies.com.au Thu Mar 21 22:57:30 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Fri, 22 Mar 2013 12:57:30 +1000 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <304A15E5-C518-4CA0-A011-192ABC6DD41A@sweattechnologies.com> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> <304A15E5-C518-4CA0-A011-192ABC6DD41A@sweattechnologies.com> Message-ID: <3541c3d57e57d3962fead9aa2a00af35@techstrategies.com.au> > Hmm... I don't know why that would be unless you are using some iOS > 6.1 only api... I can set the deployment target to lower versions of iOS, just can't use the older SDKs. When I have a device connected to XCode, it shows the device multiple times under schemes - one for each SDK that I have installed in XCode. Only when using the scheme for the device that is using the 6.1 SDK does it actually link correctly in LiveCode - even though it builds successfully in XCode. Not really an issue though, as I believe Apple will only allow submissions with at least the 6.0 SDK now, and the deployment targets can still be set lower. >> Does it just uses a single UIView the size of the screen, or will it >> create multiple? > > one >> >> I can see from the examples that you can get the object reference for >> the main UIView inside the externals code. However, if you create any >> native mobile controls through LiveCode, do you know if you can get >> the object reference to these? > > Only using UIView.subviews ... Ok, that clears some things up. Thanks for all your help. Cheers, Charles. > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Thu Mar 21 23:08:21 2013 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 21 Mar 2013 20:08:21 -0700 Subject: [ANN] Portland Area Get-Together In-Reply-To: References: <514B8FC1.10409@pdslabs.net> <3CF692EC-C91F-4838-9C10-2BDC6B894FFC@elementarysoftware.com> Message-ID: <514BCB25.8090604@pdslabs.net> Hey, as the late great Johnny Olson of "The Price Is Right" would say, "COME ON DOWN!" This makes me glad I posted it. I didn't realize there's such a pent-up demand for a meetup in the Great Northwest. So far, Scott gets the Long Distance Award! Phil On 3/21/13 6:25 PM, Jim Little wrote: > Hi Phil and Scott, > > I'm in Seattle and I am interested in attending the Portland Get-Together. My son, Todd, may also be interested. > > Scott, if you wanted to meet us in Seattle, then I could drive a group down to Portland in our Honda Odyssey mini-van. I would be glad to transport others from the Seattle area. I have capacity for 7. > > Thanks for the invitation to this event. > > Jim Little > > > On Mar 21, 2013, at 5:12 PM, Scott Morrow wrote: > >> Hello Phil, >> >> I'm thinking about taking the train from Bellingham to Portland. Is there anyone near the Portland Union Station who would be willing to give me a ride to Tigard and back? The train is scheduled to arrive in Portland at 3:20. >> >> -- >> Scott Morrow >> Elementary Software >> (Now with 20% less chalk dust!) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> office 1-800-615-0867 >> ------------------------------------------------------ >> >> On Mar 21, 2013, at 3:54 PM, Phil Davis wrote: >> >>> Hi folks, >>> >>> A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. >>> >>> Hope to see as many of you as possible at 4pm on March 30th at >>> McMenamins John Barleycorns >>> 14610 Southwest Sequoia Parkway >>> Tigard, OR 97223 >>> >>> Thanks - >>> >>> -- >>> Phil Davis >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From monte at sweattechnologies.com Thu Mar 21 23:25:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 14:25:18 +1100 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <3541c3d57e57d3962fead9aa2a00af35@techstrategies.com.au> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> <304A15E5-C518-4CA0-A011-192ABC6DD41A@sweattechnologies.com> <3541c3d57e57d3962fead9aa2a00af35@techstrategies.com.au> Message-ID: <78F9643F-6211-4066-BE55-0E009E7460F7@sweattechnologies.com> On 22/03/2013, at 1:57 PM, charles at techstrategies.com.au wrote: > I can set the deployment target to lower versions of iOS, just can't use the older SDKs. When I have a device connected to XCode, it shows the device multiple times under schemes - one for each SDK that I have installed in XCode. Only when using the scheme for the device that is using the 6.1 SDK does it actually link correctly in LiveCode - even though it builds successfully in XCode. > > Not really an issue though, as I believe Apple will only allow submissions with at least the 6.0 SDK now, and the deployment targets can still be set lower. You can build against the older SDKs but the standalone builder would have been looking for a build against the most recent SDK you have installed and linked to LiveCode in your prefs. I build my externals against lots of SDKs so I can support users with older Xcode/LiveCode combinations. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From charles at techstrategies.com.au Thu Mar 21 23:38:50 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Fri, 22 Mar 2013 13:38:50 +1000 Subject: Livecode iOS Externals and XCode 4.6 In-Reply-To: <78F9643F-6211-4066-BE55-0E009E7460F7@sweattechnologies.com> References: <531409ea05caa36e5b794b4285c6b161@techstrategies.com.au> <70483ED2-D8A2-4801-8FF0-13BB5541D06B@sweattechnologies.com> <2be87d143d69854bc2bbdca924e8fca2@techstrategies.com.au> <647AAD8C-D5D2-4D65-8EC2-8711E8AABE47@sweattechnologies.com> <304A15E5-C518-4CA0-A011-192ABC6DD41A@sweattechnologies.com> <3541c3d57e57d3962fead9aa2a00af35@techstrategies.com.au> <78F9643F-6211-4066-BE55-0E009E7460F7@sweattechnologies.com> Message-ID: > You can build against the older SDKs but the standalone builder would > have been looking for a build against the most recent SDK you have > installed and linked to LiveCode in your prefs. I build my externals > against lots of SDKs so I can support users with older Xcode/LiveCode > combinations. Ok. That makes sense now. Thanks again, Charles > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Fri Mar 22 00:02:35 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 21 Mar 2013 21:02:35 -0700 Subject: [ANN] Portland Area Get-Together In-Reply-To: References: <514B8FC1.10409@pdslabs.net> <3CF692EC-C91F-4838-9C10-2BDC6B894FFC@elementarysoftware.com> Message-ID: <5F4C52D1-5356-489A-A885-EE983DD558D1@elementarysoftware.com> Hello Jim, That sounds great. I'll contact you off list and we can discuss details. -- Scott Morrow On Mar 21, 2013, at 6:25 PM, Jim Little wrote: > > Hi Phil and Scott, > > I'm in Seattle and I am interested in attending the Portland Get-Together. My son, Todd, may also be interested. > > Scott, if you wanted to meet us in Seattle, then I could drive a group down to Portland in our Honda Odyssey mini-van. I would be glad to transport others from the Seattle area. I have capacity for 7. > > Thanks for the invitation to this event. > > Jim Little > > > On Mar 21, 2013, at 5:12 PM, Scott Morrow wrote: > >> Hello Phil, >> >> I'm thinking about taking the train from Bellingham to Portland. Is there anyone near the Portland Union Station who would be willing to give me a ride to Tigard and back? The train is scheduled to arrive in Portland at 3:20. >> >> -- >> Scott Morrow >> Elementary Software >> (Now with 20% less chalk dust!) >> web http://elementarysoftware.com/ >> email scott at elementarysoftware.com >> office 1-800-615-0867 >> ------------------------------------------------------ >> >> On Mar 21, 2013, at 3:54 PM, Phil Davis wrote: >> >>> Hi folks, >>> >>> A bunch of us Portland (Oregon) area LC users are getting together soon, and maybe you would like to be there too. >>> >>> Hope to see as many of you as possible at 4pm on March 30th at >>> McMenamins John Barleycorns >>> 14610 Southwest Sequoia Parkway >>> Tigard, OR 97223 >>> >>> Thanks - >>> >>> -- >>> Phil Davis >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 22 01:08:37 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Mar 2013 00:08:37 -0500 Subject: Printing browser content Message-ID: <514BE755.1090608@hyperactivesw.com> Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start messing with low-rez snapshots. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Mar 22 01:25:47 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 16:25:47 +1100 Subject: Printing browser content In-Reply-To: <514BE755.1090608@hyperactivesw.com> References: <514BE755.1090608@hyperactivesw.com> Message-ID: <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> On 22/03/2013, at 4:08 PM, J. Landman Gay wrote: > Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. > > This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start messing with low-rez snapshots. I hate to state the obvious but... there's mergDoc that will show a preview and let you print from it, mergPop which will let the user sent that pdf to half a dozen different services including printing all with one command and then there's rrehardcopy which will just open a print dialog. All of these are available from mergExt (even rrehardcopy which is under the free account) precompiled for your pleasure ;-) Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Fri Mar 22 01:31:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 16:31:59 +1100 Subject: Printing browser content In-Reply-To: <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> Message-ID: <0E010A35-08FE-4ACB-A0C7-4C806830A584@sweattechnologies.com> On 22/03/2013, at 4:25 PM, Monte Goulding wrote: >> >> Is it possible to print the content of a browser? I need to print PDF files and the only way to open them in LiveCode is in a browser object. >> >> This is for iOS, so shell or launching other apps are out. I thought I'd ask before I start messing with low-rez snapshots. > > I hate to state the obvious but... there's mergDoc that will show a preview and let you print from it, mergPop which will let the user sent that pdf to half a dozen different services including printing all with one command and then there's rrehardcopy which will just open a print dialog. All of these are available from mergExt (even rrehardcopy which is under the free account) precompiled for your pleasure ;-) Lol.. I forgot to mention mergReader which also has a print button... It's a smorgasbord of external options ;p) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Fri Mar 22 01:43:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Mar 2013 00:43:17 -0500 Subject: Printing browser content In-Reply-To: <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> Message-ID: <514BEF75.3010207@hyperactivesw.com> On 3/22/13 12:25 AM, Monte Goulding wrote: > > I hate to state the obvious but... there's mergDoc that will show a > preview and let you print from it, mergPop which will let the user > sent that pdf to half a dozen different services including printing > all with one command and then there's rrehardcopy which will just > open a print dialog. All of these are available from mergExt (even > rrehardcopy which is under the free account) precompiled for your > pleasure ;-) Obviously it wasn't so obvious, I haven't been keeping up I guess. The print job can't be sent out of house, it has to be local. I'll mention this to my client. Thanks for the reminder. I was looking for rreHardCopy but couldn't find a good description of it. From what I did see, it looks like it prints only the visible portion of a card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Mar 22 01:47:39 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 16:47:39 +1100 Subject: Printing browser content In-Reply-To: <514BEF75.3010207@hyperactivesw.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> Message-ID: <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> On 22/03/2013, at 4:43 PM, "J. Landman Gay" wrote: > Obviously it wasn't so obvious, I haven't been keeping up I guess. The print job can't be sent out of house, it has to be local. I'll mention this to my client. Thanks for the reminder. You need an AirPrint compatible printer for all of the options. > > I was looking for rreHardCopy but couldn't find a good description of it. From what I did see, it looks like it prints only the visible portion of a card. The only docs are in the lcidl file. It prints a pdf which is what you want. So do all the others. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Fri Mar 22 02:09:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Mar 2013 01:09:01 -0500 Subject: Printing browser content In-Reply-To: <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> Message-ID: <514BF57D.7080505@hyperactivesw.com> On 3/22/13 12:47 AM, Monte Goulding wrote: > The only docs are in the lcidl file. It prints a pdf which is what > you want. So do all the others. Here is the description of rrehardcopy on the externals page at runrev: "Exports the visible card to PDF and sends it to the printer over airprint." That sounds like it prints only what's on a card, but we can now do that with "open printing to PDF" anyway. But maybe I'm not understanding it right. It looks like your mergDoc will do what we need, though we're really looking for something faceless that doesn't require the user to do anything. In other words, no GUI. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Mar 22 02:12:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 17:12:19 +1100 Subject: Printing browser content In-Reply-To: <514BF57D.7080505@hyperactivesw.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> <514BF57D.7080505@hyperactivesw.com> Message-ID: <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> On 22/03/2013, at 5:09 PM, "J. Landman Gay" wrote: > Here is the description of rrehardcopy on the externals page at runrev: "Exports the visible card to PDF and sends it to the printer over airprint." > > That sounds like it prints only what's on a card, but we can now do that with "open printing to PDF" anyway. But maybe I'm not understanding it right. That must be the demo. The actual external prints any of the iOS supported document formats. > > It looks like your mergDoc will do what we need, though we're really looking for something faceless that doesn't require the user to do anything. In other words, no GUI. I don't think there's any no GUI solution. rrehardcopy is the least GUI option because it's only the airprint dialog. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Fri Mar 22 02:26:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Mar 2013 01:26:20 -0500 Subject: Printing browser content In-Reply-To: <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> <514BF57D.7080505@hyperactivesw.com> <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> Message-ID: <514BF98C.8000607@hyperactivesw.com> On 3/22/13 1:12 AM, Monte Goulding wrote: > rrehardcopy is the least GUI option because it's only the airprint dialog. Do you have a link? They've hidden it pretty well, I couldn't find anything but that one page. Then I'll toss all this at the client and let him decide. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Mar 22 02:36:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Mar 2013 17:36:01 +1100 Subject: Printing browser content In-Reply-To: <514BF98C.8000607@hyperactivesw.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> <514BF57D.7080505@hyperactivesw.com> <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> <514BF98C.8000607@hyperactivesw.com> Message-ID: <99DB16C6-AE98-44FD-8D70-EB9046561C38@sweattechnologies.com> Easiest for you is to create a free account at mergExt and download it from there. It's all compiled for all the different possible versions of Xcode and LiveCode. -- M E R Goulding Software development services mergExt - There's an external for that! On 22/03/2013, at 5:26 PM, "J. Landman Gay" wrote: > On 3/22/13 1:12 AM, Monte Goulding wrote: >> rrehardcopy is the least GUI option because it's only the airprint dialog. > > Do you have a link? They've hidden it pretty well, I couldn't find anything but that one page. Then I'll toss all this at the client and let him decide. > > -- > 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 alanstenhouse at hotmail.com Fri Mar 22 04:11:55 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 22 Mar 2013 09:11:55 +0100 Subject: use-livecode Digest, Vol 114, Issue 37 In-Reply-To: References: Message-ID: Hi Pete You could also use (not tested, though I'm pretty sure I've used it in the past): start editing grp "yourGroupName" -- do your img importing and formatting etc --- stop editing HTH cheers Alan On Thu, 21 Mar 2013 13:52:20 -0700, pete at lcsql.com wrote: > I want to use the import command in a script to import an image from a file > of the user's choice. The catch is that I want the resulting image to end > up in a group and, unlike the create command, the import command doesn't > have a way to specify a group. -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. From jacques.hausser at unil.ch Fri Mar 22 05:00:00 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 22 Mar 2013 10:00:00 +0100 Subject: revBrowserCallScript In-Reply-To: <514BF98C.8000607@hyperactivesw.com> References: <514BE755.1090608@hyperactivesw.com> <7332128A-A190-440D-9CE5-371FE3476ED0@sweattechnologies.com> <514BEF75.3010207@hyperactivesw.com> <7CAB0849-4594-442A-BF54-0AB56F797B10@sweattechnologies.com> <514BF57D.7080505@hyperactivesw.com> <628B4A0C-127A-455A-97F3-FA01179039AD@sweattechnologies.com> <514BF98C.8000607@hyperactivesw.com> Message-ID: <13F14E39-828B-429C-A0BA-BE0FCA5D9FA7@unil.ch> Call to experts: I have newbie's problems with revBrowserCallScript. I'm using a browser and an html file built according to various examples to display google maps; it's OK and revBrowserCallScript works as expected for functions without parameters? but issues an error when I try to use parameters. I didn't find anything very enlighting in doc, former messages and forums? Thanks for any hint ! Jacques My function call: get revBrowserCallScript(LBrowserID,MoveAndZoom,tLat,tLong,tZoom) the function called (one of several different versions): function MoveAndZoom(pLat,pLng,pZoom) { var tCenter = new google.maps.LatLng(pLat,pLng); var sortie = "OK"; map.setZoom(pZoom); map.panto(tCenter); return sortie; } I also tried with map.setCenter(tCenter), as well as with and without 'get' and 'return sortie;'. the error is (External handler: exception) near "error in script" From richmondmathewson at gmail.com Fri Mar 22 07:31:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 22 Mar 2013 13:31:37 +0200 Subject: rawKeyStillDown ? Message-ID: <514C4119.40904@gmail.com> neither rawKeyStillDown nor keyStillDown exist (as yet) however I wish they did . . . I know that one can poll the mouse . . . Can one poll the keyboard ? ------------------------------------------------------- Why? Because I am reverting to my dreams of playing daft games on my BBC Micro in the late 1980's, and remember that the BBC had no mouse; so objects in the side-scrolling games of the time were controlled by keyDowns alone; and a keyDown did something once, and a key-held-down-for-quite-some-time did the same thing repeatedly, instead of forcing me to get repetitive finger wonkiness by going tap-tap-tappitty-tap ad nauseam. -------------------------------------------------------- Richmond. From bonnmike at gmail.com Fri Mar 22 07:46:18 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 22 Mar 2013 05:46:18 -0600 Subject: rawKeyStillDown ? In-Reply-To: <514C4119.40904@gmail.com> References: <514C4119.40904@gmail.com> Message-ID: keysdown() works pretty well with some exceptions that are probably due to keyboard issues rather than livecode issues. (like some keyboards having problems with multiple arrow keypresses at the same time, keysdown doesn't always show all the correct keys, yet other keyboards work fine) But yeah, keysdown works pretty good for game control (again, ignore the arrow keys, they're problematic if you need more than 1 read at a time and/or if during presses two that disagree are down at just the moment the poll hits) On Fri, Mar 22, 2013 at 5:31 AM, Richmond wrote: > neither > > rawKeyStillDown > > nor > > keyStillDown > > exist (as yet) > > however I wish they did . . . > > I know that one can poll the mouse . . . > > Can one poll the keyboard ? > > ------------------------------**------------------------- > > Why? > > Because I am reverting to my dreams of playing daft games on my BBC Micro > in > the late 1980's, and remember that the BBC had no mouse; so objects in the > side-scrolling > games of the time were controlled by keyDowns alone; and a keyDown did > something > once, and a key-held-down-for-quite-some-**time did the same thing > repeatedly, instead > of forcing me to get repetitive finger wonkiness by going > tap-tap-tappitty-tap > ad nauseam. > > ------------------------------**-------------------------- > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From ludovic.thebault at laposte.net Fri Mar 22 08:19:30 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 22 Mar 2013 13:19:30 +0100 Subject: Retina and 4" for all iOS app Message-ID: Hello, https://developer.apple.com/news/index.php?id=3212013b So what the best method to do this in livecode ? One mainstack with all scripts and substacks ? Many mainstacks ? Tell us about your recipe ! Thanks. From MikeKerner at roadrunner.com Fri Mar 22 09:24:22 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 22 Mar 2013 09:24:22 -0400 Subject: Retina and 4" for all iOS app In-Reply-To: References: Message-ID: I wonder what that means for apps that are developed specifically for the ipad. On Fri, Mar 22, 2013 at 8:19 AM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello, > > https://developer.apple.com/news/index.php?id=3212013b > > So what the best method to do this in livecode ? > One mainstack with all scripts and substacks ? > Many mainstacks ? > > Tell us about your recipe ! > > Thanks. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Fri Mar 22 09:24:43 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 22 Mar 2013 09:24:43 -0400 Subject: Retina and 4" for all iOS app In-Reply-To: References: Message-ID: Whoops - just read it again. Never mind. On Fri, Mar 22, 2013 at 9:24 AM, Mike Kerner wrote: > I wonder what that means for apps that are developed specifically for the > ipad. > > > On Fri, Mar 22, 2013 at 8:19 AM, Ludovic Th?bault < > ludovic.thebault at laposte.net> wrote: > >> Hello, >> >> https://developer.apple.com/news/index.php?id=3212013b >> >> So what the best method to do this in livecode ? >> One mainstack with all scripts and substacks ? >> Many mainstacks ? >> >> Tell us about your recipe ! >> >> Thanks. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Fri Mar 22 09:42:14 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 22 Mar 2013 09:42:14 -0400 Subject: Retina and 4" for all iOS app In-Reply-To: References: Message-ID: You can try using MobGui, if John is going to keep up with it, now - you can put multiple layouts and resolutions on the same stack. Using this technique, you could, in theory put every single layout in one stack. You can use substacks, and behavior scripts You can use tmControls and it will auto-scale between regular and retina (although for the 4" iphone/ipod touch you will have an extra 1/2" gap at the bottom unless you take it upon yourself to manually move objects, because I don't think Scott ever got it to use the geometry manager the way it should be used). Or, you could just make retina apps and say to everyone in pre-retina, "Sorry". There are threads on this topic on this list. See "supporting multiple mobile device resolutions" On Fri, Mar 22, 2013 at 9:24 AM, Mike Kerner wrote: > Whoops - just read it again. Never mind. > > > On Fri, Mar 22, 2013 at 9:24 AM, Mike Kerner wrote: > >> I wonder what that means for apps that are developed specifically for the >> ipad. >> >> >> On Fri, Mar 22, 2013 at 8:19 AM, Ludovic Th?bault < >> ludovic.thebault at laposte.net> wrote: >> >>> Hello, >>> >>> https://developer.apple.com/news/index.php?id=3212013b >>> >>> So what the best method to do this in livecode ? >>> One mainstack with all scripts and substacks ? >>> Many mainstacks ? >>> >>> Tell us about your recipe ! >>> >>> Thanks. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cmsheffield at icloud.com Fri Mar 22 10:10:19 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Mar 2013 08:10:19 -0600 Subject: SQLite data storage In-Reply-To: References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: Thanks everyone for the feedback. Sounds like the general consensus is to use a single table to store all the data, which is the direction I was leaning anyway. I just wanted to make sure performance wouldn't take a hit, but it sounds like that shouldn't be a problem. Now I get to work on pulling the data from the spreadsheet into SQLite. Should be fun. :-) Thanks, Chris On Mar 21, 2013, at 11:50 AM, Peter Haworth wrote: > Hi Chris, > Difficult to answer without a little more information about your app. In > general, I wouldn't worry about the number of records - "thousands" won't > be an issue for SQLite. > > I'd say that if the columns are the same on each sheet, one table will > probably be the way to go - it's not usually a good idea to have tables > with exactly the same table layout and I'd guess there's some piece of data > you can use as a key when selecting data to differentiate between what used > to be on each individual sheet, if that's a requirement. > > After that, it just becomes an issue of standard database design based on > the data elements and the application requirements. > > If you'd like to send me the spreadsheet offline, I'd be happy to take a > look and give you some thoughts. > > Pete > lcSQL Software > > > On Thu, Mar 21, 2013 at 9:14 AM, Chris Sheffield wrote: > >> I hope nobody minds that I ask this here. While it's not specifically >> about LiveCode, the database I'm asking about will be used for a LiveCode >> app. :-) >> >> I need some advice/pointers on how best to store some static "read-only" >> data in a SQLite database. We're talking potentially thousands of records. >> I've been given an Excel spreadsheet with 24 sheets containing data to >> import. There are about 12 fields/columns. The data is separated into 24 >> sheets, but it could potentially all reside in one table in the database >> (fields are the same on each sheet). The question is, should I do that? >> Will SQLite bog down after a while? This new app we're working on will need >> constant access to this database, probably via several open record sets at >> once. I'm just trying to figure out if it would be best to store everything >> in one large table, or to split each sheet of data into its own table. >> Would that be more efficient? Or would it be even better to have each sheet >> in its own file? Also, are there specific settings/properties I should set >> on the db to help keep performance as optimal as possible? >> >> Just brainstorming here. Would love to hear opinions, especially if >> someone out there is a SQLite guru. :-) >> >> Thanks, >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Fri Mar 22 11:43:45 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 22 Mar 2013 16:43:45 +0100 Subject: Recipe to play WMV on Win 7 with QuickTime installed Message-ID: <2623C157-F0B1-4CBA-A3F8-C077DB766357@revigniter.com> Does anyone have a recipe on how to play WMV videos on Windows systems with QuickTime installed? For the live of me I don't get decent playback performance using HD 720p H.264 QuickTime mov files on Windows (Win 7 in this case). The stuttering is just unacceptable. MP4 AVC files play even worse. All my test movies play fine in the QuickTime player for Windows but not in a stack. Setting the player's "alwaysBuffer" to false makes no difference. So, I tried the same test video (same resolution, approximately the same frame rate) as WMV2 and voil?, the performance is much better, but there is another problem: If QuickTime is installed the card's player object stays empty and start player "myVideo" does nothing, at least in the IDE, even if the stack includes nothing more than the player. And yes, "dontUseQT" is set to true before any player or movie related action. The only way I managed to make the video appear at all means was, strange enough, to drag any object from the tools palette onto the card containing the player while the property inspector was visible. Of course this is no solution but it tells me that there must be a way to force the player to show the source and therefore to start playing a WMV in an environment I described above. By the way, to do without QuickTime is no option as in my case I need QuickTime to be installed. On the other hand, as I explained, it seems that I am forced to choose .wmv over .mov. Any suggestions? Anyone? Ralf From pete at lcsql.com Fri Mar 22 12:28:23 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Mar 2013 09:28:23 -0700 Subject: SQLite data storage In-Reply-To: References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: Hi Chris, Is the import a one-time task or an ongoing need? If the former and you can export the spreadsheet data in csv format, there a number of tools that will do the import for you. On Fri, Mar 22, 2013 at 7:10 AM, Chris Sheffield wrote: > Now I get to work on pulling the data from the spreadsheet into SQLite. > Should be fun. :-) Pete lcSQL Software From mcgrath3 at mac.com Fri Mar 22 12:44:00 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 22 Mar 2013 12:44:00 -0400 Subject: UDID deprecated now need vendor id Message-ID: Is mobileGetDeviceToken() still a valid way to identify the unique device when building a Push Notification App in Livecode? Is this the same as the Vendor ID that Apple is recommending to use instead of the UDID or are they unrelated? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From cmsheffield at icloud.com Fri Mar 22 12:57:07 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Mar 2013 10:57:07 -0600 Subject: SQLite data storage In-Reply-To: References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: <56BC5F18-D601-4A40-B304-8FAC6D8FCBCC@icloud.com> Hi Pete, Just a one-time task. I'll export the sheets as you say, and then import them using a tool that I've used for quite a while now. Time-consuming, but not too bad. Thanks, Chris On Mar 22, 2013, at 10:28 AM, Peter Haworth wrote: > Hi Chris, > Is the import a one-time task or an ongoing need? If the former and you > can export the spreadsheet data in csv format, there a number of tools that > will do the import for you. > > On Fri, Mar 22, 2013 at 7:10 AM, Chris Sheffield wrote: > >> Now I get to work on pulling the data from the spreadsheet into SQLite. >> Should be fun. :-) > > > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Fri Mar 22 13:43:09 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 22 Mar 2013 10:43:09 -0700 (PDT) Subject: SQLite data storage In-Reply-To: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> Message-ID: <1363974189275-4662429.post@n4.nabble.com> Can I ask what is probably a really silly question? Could you just use a tab separated text file to hold this amount of data, as long as there is only one table? I am a complete amateur of course so I probably did it all wrong. I had to accumulate 15,000+ records, adding to them as time went on, and periodically go through and extract reports. Not wishing to struggle with 'proper databases' I just stuck the records into a tab delimited file, and had at it. Making backups as seemed prudent. Nothing ever went wrong. It ran reasonably fast on a very old and obsolete spare machine. Also the nice thing was, the customer could just take a copy of the file and read it back into Excel and do any sort of analysis or custom reports they wanted. Probably there is some reason for using sqlite that I'm not aware of? Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/SQLite-data-storage-tp4662380p4662429.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Fri Mar 22 13:52:35 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 22 Mar 2013 10:52:35 -0700 (PDT) Subject: Free Valentina Studio, Server & ADKs for LiveCode Upgraded to 5.1 In-Reply-To: <4B0BB1087D484316941F247020CD3646@GATEWAY> References: <4B0BB1087D484316941F247020CD3646@GATEWAY> Message-ID: <1363974755158-4662430.post@n4.nabble.com> Lynn, are you going to do a 64bit version for linux of the LC client? I know its possible to run or repackage 32 bit versions of course, so will do that if not. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-Valentina-Studio-Server-ADKs-for-LiveCode-Upgraded-to-5-1-tp4662333p4662430.html Sent from the Revolution - User mailing list archive at Nabble.com. From cmsheffield at icloud.com Fri Mar 22 14:45:02 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Mar 2013 12:45:02 -0600 Subject: SQLite data storage In-Reply-To: <1363974189275-4662429.post@n4.nabble.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> <1363974189275-4662429.post@n4.nabble.com> Message-ID: <2A3872D5-D349-4530-8A3E-540E28FD72EB@icloud.com> Hi Peter, For us, main reason to use a database rather than just a text file is simply to make the data a little more secure. I mean, it doesn't have to be way secure. But we do want to make it a little more difficult for someone with prying eyes to get hold of it. I also liked the idea of using the power of SQL to search and filter results for me. With a text file, to do it the easy way, you have to read the entire file into memory every time you access it. I didn't want to have to do that, being a mobile app and all. But to answer your question, yes, I could probably just use a tab-delimited text file and call it good. I just finished my import of the data and there are just over 8100 records. So nothing too huge. But like I said, I wanted to be able to run SQL queries on the data, and that can't be done with a text file, obviously. Thanks, Chris On Mar 22, 2013, at 11:43 AM, Peter Alcibiades wrote: > Can I ask what is probably a really silly question? Could you just use a tab > separated text file to hold this amount of data, as long as there is only > one table? > > I am a complete amateur of course so I probably did it all wrong. I had to > accumulate 15,000+ records, adding to them as time went on, and periodically > go through and extract reports. Not wishing to struggle with 'proper > databases' I just stuck the records into a tab delimited file, and had at > it. Making backups as seemed prudent. Nothing ever went wrong. It ran > reasonably fast on a very old and obsolete spare machine. Also the nice > thing was, the customer could just take a copy of the file and read it back > into Excel and do any sort of analysis or custom reports they wanted. > > Probably there is some reason for using sqlite that I'm not aware of? > > Peter > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/SQLite-data-storage-tp4662380p4662429.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Mar 22 16:30:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 22 Mar 2013 22:30:05 +0200 Subject: rawKeyStillDown ? In-Reply-To: References: <514C4119.40904@gmail.com> Message-ID: <514CBF4D.9010105@gmail.com> On 03/22/2013 01:46 PM, Mike Bonner wrote: > keysdown() works pretty well with some exceptions that are probably due to > keyboard issues rather than livecode issues. (like some keyboards having > problems with multiple arrow keypresses at the same time, keysdown doesn't > always show all the correct keys, yet other keyboards work fine) > > But yeah, keysdown works pretty good for game control (again, ignore the > arrow keys, they're problematic if you need more than 1 read at a time > and/or if during presses two that disagree are down at just the moment the > poll hits) > > Blast; it was exactly the arrow keys I wanted to work with! However, I don't know if I will have the same problems with the 8,6,2 & 4 of the numeric keypad? Richmond. From richmondmathewson at gmail.com Fri Mar 22 16:41:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 22 Mar 2013 22:41:18 +0200 Subject: rawKeyStillDown ? In-Reply-To: References: <514C4119.40904@gmail.com> Message-ID: <514CC1EE.60501@gmail.com> On 03/22/2013 01:46 PM, Mike Bonner wrote: > keysdown() works pretty well with some exceptions that are probably due to > keyboard issues rather than livecode issues. (like some keyboards having > problems with multiple arrow keypresses at the same time, keysdown doesn't > always show all the correct keys, yet other keyboards work fine) > > But yeah, keysdown works pretty good for game control (again, ignore the > arrow keys, they're problematic if you need more than 1 read at a time > and/or if during presses two that disagree are down at just the moment the > poll hits) > > Maybe I'm being a bit naive . . . But . . . a script like this: on rawKeyDown RAWK put RAWK into fld "ff" end rawKeyDown and a script like this: on rawKeyDown put keysDown() into fld "ff" end rawKeyDown neither seem particularly better than the other as they are fired on a keyDown, and are not repeatedly fired if a key is kept pressed down. WHAT I need is a way of checking whether a key is down independent of the actual action of it being pressed down - rather as with mouseStillDown a check is sent to see if the mouseButton is depressed independently of the action of it being pressed. Richmond. From bonnmike at gmail.com Fri Mar 22 17:21:40 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 22 Mar 2013 15:21:40 -0600 Subject: rawKeyStillDown ? In-Reply-To: <514CC1EE.60501@gmail.com> References: <514C4119.40904@gmail.com> <514CC1EE.60501@gmail.com> Message-ID: If I remember right, the keypad worked better than the arrow block but since the problem mostly occurred on laptops this isn't that much help. On Fri, Mar 22, 2013 at 2:41 PM, Richmond wrote: > On 03/22/2013 01:46 PM, Mike Bonner wrote: > >> keysdown() works pretty well with some exceptions that are probably due to >> keyboard issues rather than livecode issues. (like some keyboards having >> problems with multiple arrow keypresses at the same time, keysdown doesn't >> always show all the correct keys, yet other keyboards work fine) >> >> But yeah, keysdown works pretty good for game control (again, ignore the >> arrow keys, they're problematic if you need more than 1 read at a time >> and/or if during presses two that disagree are down at just the moment the >> poll hits) >> >> >> > Maybe I'm being a bit naive . . . > > But . . . > > a script like this: > > on rawKeyDown RAWK > put RAWK into fld "ff" > end rawKeyDown > > and a script like this: > > on rawKeyDown > put keysDown() into fld "ff" > end rawKeyDown > > neither seem particularly better than the other as they are fired on a > keyDown, > and are not repeatedly fired if a key is kept pressed down. > > WHAT I need is a way of checking whether a key is down independent of the > actual action > of it being pressed down - rather as with mouseStillDown a check is sent > to see if the mouseButton > is depressed independently of the action of it being pressed. > > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From lc at pbh.on-rev.com Fri Mar 22 17:24:53 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 22 Mar 2013 14:24:53 -0700 Subject: rawKeyStillDown ? In-Reply-To: <514CC1EE.60501@gmail.com> References: <514C4119.40904@gmail.com> <514CC1EE.60501@gmail.com> Message-ID: <4D03ED18-C590-4174-BD0B-A3BF45B82DF1@pbh.on-rev.com> Richmond, I found that both? on rawKeyDown RAWK put RAWK into fld "ff" Beep end rawKeyDown on rawKeyDown put keysDown() into fld "ff" Beep end rawKeyDown ?Fire off repeated Beeps if the script is on the card or stack, but not in a field, it also doesn't work if the field has focus even with pass rawKeyDown in the field script. Looking at the message watcher, if the field has focus, it doesn't progress beyond the first rawKeyDown message, but if the focus is on the card, the rawKeyDown message repeats as long as a button is held down Don't know if this helps, but thought I'd mention it. Paul From scott at tactilemedia.com Fri Mar 22 17:27:57 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 22 Mar 2013 14:27:57 -0700 Subject: rawKeyStillDown ? In-Reply-To: <514CC1EE.60501@gmail.com> Message-ID: You could try wrapping the keysDown function in a looping handler. This is a method I use for continuous key checking. You can disable/enable the loop as you need it. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/22/13 1:41 PM, "Richmond" wrote: >WHAT I need is a way of checking whether a key is down independent of >the actual action >of it being pressed down - rather as with mouseStillDown a check is sent >to see if the mouseButton >is depressed independently of the action of it being pressed. From ruslan_zasukhin at valentina-db.com Fri Mar 22 18:08:59 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 23 Mar 2013 00:08:59 +0200 Subject: [ANN] Valentina Studio now is Mac App Store Message-ID: Hi All, We have gone review and now Valentina Studio (free). can be found in Mac App Store :-) Let me remind, that Valentina Studio 5.1, is a free GUI Manager for such databases as: mySQL, PostgreSQL, SQLite and, of course, Valentina. If you already have installed Valentina Studio on your MAC, then MAS version will replace that one at its location on disk. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From livecode.list at gmail.com Fri Mar 22 18:35:40 2013 From: livecode.list at gmail.com (Chip Thomas) Date: Fri, 22 Mar 2013 15:35:40 -0700 Subject: iOS scroller performance Message-ID: Has anybody else noticed a jerkiness to the iOS scroller? It's not as noticeable on iPhone, but on the iPad, scrolling through a datagrid seems sluggish. From monte at sweattechnologies.com Fri Mar 22 18:39:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Mar 2013 09:39:54 +1100 Subject: iOS scroller performance In-Reply-To: References: Message-ID: <5F7E6CD1-4751-4A07-ABDC-D6F07A2F4943@sweattechnologies.com> On 23/03/2013, at 9:35 AM, Chip Thomas wrote: > Has anybody else noticed a jerkiness to the iOS scroller? > > It's not as noticeable on iPhone, but on the iPad, scrolling through a > datagrid seems sluggish. Yes... as far as I can tell we need a new command to animate the scrolling of a group to deal with this. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gerry.orkin at gmail.com Fri Mar 22 18:51:43 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sat, 23 Mar 2013 09:51:43 +1100 Subject: iOS scroller performance In-Reply-To: References: Message-ID: <4E2BF77C-EBBA-4B1B-AAE4-995825C656D6@gmail.com> I beg to differ - it's a major problem on both devices. My girlfriend refuses to use one of my apps because she says scrolling the lists of content makes her feel sea sick :( Gerry On 23/03/2013, at 9:35 AM, Chip Thomas wrote: > It's not as noticeable on iPhone, From monte at sweattechnologies.com Fri Mar 22 19:05:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Mar 2013 10:05:51 +1100 Subject: iOS scroller performance In-Reply-To: <4E2BF77C-EBBA-4B1B-AAE4-995825C656D6@gmail.com> References: <4E2BF77C-EBBA-4B1B-AAE4-995825C656D6@gmail.com> Message-ID: <1727F61D-993D-4B1D-93C5-C5CD30A297F6@sweattechnologies.com> On 23/03/2013, at 9:51 AM, Gerry Orkin wrote: > I beg to differ - it's a major problem on both devices. My girlfriend refuses to use one of my apps because she says scrolling the lists of content makes her feel sea sick :( Yes it's not good. There's only a few ways that I think the problem could be resolved. - bind native scrollers to the livecode objects somehow (probably the simplest for everyone apart from RunRev) - give us a scroll to command that will smoothly animate the scrolling of a field/group (will work but it continues with the native v LiveCode control issue) - implement native table view (much less flexible than the datagrid but it will scroll smoothly... could be done as an external, I have considered it, but again continues with the native v LiveCode control issue) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lfredricks at proactive-intl.com Fri Mar 22 22:25:55 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 22 Mar 2013 19:25:55 -0700 Subject: Free Valentina Studio, Server & ADKs for LiveCode Upgraded to 5.1 In-Reply-To: <1363974755158-4662430.post@n4.nabble.com> References: <4B0BB1087D484316941F247020CD3646@GATEWAY> <1363974755158-4662430.post@n4.nabble.com> Message-ID: <2DCCD69A198F4341BA0E0C8222A59B1C@GATEWAY> > Lynn, are you going to do a 64bit version for linux of the LC > client? I know its possible to run or repackage 32 bit > versions of course, so will do that if not. http://www.valentina-db.com/download/release/linux_64/ Hi Peter, I believe we have 64 bit Linux versions here, in the "simplified" download list. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From calhorner at xtra.co.nz Fri Mar 22 23:59:54 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Sat, 23 Mar 2013 16:59:54 +1300 (New Zealand Daylight Time) Subject: Things that make you go Hmmmmm Message-ID: <514D28AE.000015.05764@CALS_BIG_PC> I know that what I just finished reading in Rev-Up is not the case. That the sub-headline text: "Our whole team is focused on just one goal at the moment - LiveCode Open Source". Can't really be what is going on there at RunRev. This must be some advertising hype to make us all "Feel" good. And it does. But what immediately comes to mind is surely there must be a maintenance team at work trying to clear the remaining bugs that inhabit the dark, hidden reaches of LC. I mean, come on Heather Laine ! From mwieder at ahsoftware.net Sat Mar 23 00:19:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Mar 2013 21:19:15 -0700 Subject: Things that make you go Hmmmmm In-Reply-To: <514D28AE.000015.05764@CALS_BIG_PC> References: <514D28AE.000015.05764@CALS_BIG_PC> Message-ID: <1723283843.20130322211915@ahsoftware.net> Cal- Friday, March 22, 2013, 8:59:54 PM, you wrote: > I know that what I just finished reading in Rev-Up is not the case. That the > sub-headline text: > "Our whole team is focused on just one goal at the moment - LiveCode Open > Source". > Can't really be what is going on there at RunRev. > This must be some advertising hype to make us all "Feel" good. And it does. > But what immediately comes to mind is surely there must be a maintenance > team at work trying to clear the remaining bugs that inhabit the dark, > hidden reaches of LC. > I mean, come on Heather Laine ! LOL. Just because you're focused on something doesn't mean it's an all-consuming task. Although I have a friend who says there's no such thing as multitasking: you don't drive AND talk on a cellphone... -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sat Mar 23 02:30:23 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 22 Mar 2013 23:30:23 -0700 Subject: SQLite data storage In-Reply-To: <2A3872D5-D349-4530-8A3E-540E28FD72EB@icloud.com> References: <312F3FF1-693C-4B0B-8570-82A485E2BBBC@icloud.com> <1363974189275-4662429.post@n4.nabble.com> <2A3872D5-D349-4530-8A3E-540E28FD72EB@icloud.com> Message-ID: More complex and faster searches and joins are usually a good reason for a 'real' database, as well as the fact that a database has all the inbuilt methods for adding, and deleting records and other management tasks. The distinction is more relevant when getting into bigger data sets. However, in the flat data world, a datagrid in conjunction with arrays can meet the needs of 90% of most database applications. Trevor Devor's Datagrid is a one of the most amazing and useful features of LIvecode, and makes it a snap to integrate a manipulatable database and display into an application. On Fri, Mar 22, 2013 at 11:45 AM, Chris Sheffield wrote: > Hi Peter, > > For us, main reason to use a database rather than just a text file is > simply to make the data a little more secure. I mean, it doesn't have to be > way secure. But we do want to make it a little more difficult for someone > with prying eyes to get hold of it. I also liked the idea of using the > power of SQL to search and filter results for me. With a text file, to do > it the easy way, you have to read the entire file into memory every time > you access it. I didn't want to have to do that, being a mobile app and all. > > But to answer your question, yes, I could probably just use a > tab-delimited text file and call it good. I just finished my import of the > data and there are just over 8100 records. So nothing too huge. But like I > said, I wanted to be able to run SQL queries on the data, and that can't be > done with a text file, obviously. > > Thanks, > Chris > > > On Mar 22, 2013, at 11:43 AM, Peter Alcibiades < > palcibiades-first at yahoo.co.uk> wrote: > > > Can I ask what is probably a really silly question? Could you just use > a tab > > separated text file to hold this amount of data, as long as there is only > > one table? > > > > I am a complete amateur of course so I probably did it all wrong. I had > to > > accumulate 15,000+ records, adding to them as time went on, and > periodically > > go through and extract reports. Not wishing to struggle with 'proper > > databases' I just stuck the records into a tab delimited file, and had at > > it. Making backups as seemed prudent. Nothing ever went wrong. It ran > > reasonably fast on a very old and obsolete spare machine. Also the nice > > thing was, the customer could just take a copy of the file and read it > back > > into Excel and do any sort of analysis or custom reports they wanted. > > > > Probably there is some reason for using sqlite that I'm not aware of? > > > > Peter > > > > > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/SQLite-data-storage-tp4662380p4662429.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From monte at sweattechnologies.com Sat Mar 23 03:13:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Mar 2013 18:13:32 +1100 Subject: inverse of intersect array with templateArray Message-ID: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> Hi Folks Just checking if there isn't an undocumented inverse of the intersect command? What I need is a function that can take two multi-dimensional arrays and return only keys and elements that both don't have in common.. I'm guessing I need to implement this myself as a recursive function but just want to make sure before I go ahead seeing as intersect seems to do the exact opposite of what I want... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From charles at techstrategies.com.au Sat Mar 23 03:39:29 2013 From: charles at techstrategies.com.au (charles at techstrategies.com.au) Date: Sat, 23 Mar 2013 17:39:29 +1000 Subject: iOS scroller performance In-Reply-To: <1727F61D-993D-4B1D-93C5-C5CD30A297F6@sweattechnologies.com> References: <4E2BF77C-EBBA-4B1B-AAE4-995825C656D6@gmail.com> <1727F61D-993D-4B1D-93C5-C5CD30A297F6@sweattechnologies.com> Message-ID: > Yes it's not good. There's only a few ways that I think the problem > could be resolved. This is one of the reasons I have struggled to use LiveCode for some of the applications I have been working on. I first tried LiveCode over a year ago, but went back to native iOS development in XCode after noticing the performance issues with scrollers and moving graphics in general... > - implement native table view (much less flexible than the datagrid > but it will scroll smoothly... could be done as an external, I have > considered it, but again continues with the native v LiveCode control > issue) Lately I've been re-looking at LiveCode and wondering if there are some ways to work around the performance issues, as I really like some of the other benefits of LiveCode. In fact, I have just started playing around with iOS externals to test possible solutions, similar to what you have just mentioned. If you have any ideas that you don't have time to look at and are willing to share, let me know. Regards, Charles > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Sat Mar 23 03:41:19 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 23 Mar 2013 00:41:19 -0700 Subject: inverse of intersect array with templateArray In-Reply-To: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> Message-ID: <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> On Mar 23, 2013, at 12:13 AM, Monte Goulding wrote: > Hi Folks > > Just checking if there isn't an undocumented inverse of the intersect command? What I need is a function that can take two multi-dimensional arrays and return only keys and elements that both don't have in common.. I'm guessing I need to implement this myself as a recursive function but just want to make sure before I go ahead seeing as intersect seems to do the exact opposite of what I want... Hi, Monte. I think what you're looking for is called the "symmetric difference." Here's a way to do that in LC. It's simplified from a library I use. function symmetricDifferenceFromArrays pArray1, pArray2 local tArray1, tArray2 put differenceFromArrays( pArray1, pArray2 ) into tArray1 put differenceFromArrays( pArray2, pArray1 ) into tArray2 union tArray1 with tArray2 return tArray1 end symmetricDifferenceFromArrays function differenceFromArrays tArray1, @pArray2 repeat for each key tKey in pArray2 delete variable tArray1[ tKey ] end repeat return tArray1 end set_differenceFromArrays Does that work for you? -- Dick From palcibiades-first at yahoo.co.uk Sat Mar 23 03:44:59 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 23 Mar 2013 00:44:59 -0700 (PDT) Subject: Free Valentina Studio, Server & ADKs for LiveCode Upgraded to 5.1 In-Reply-To: <2DCCD69A198F4341BA0E0C8222A59B1C@GATEWAY> References: <4B0BB1087D484316941F247020CD3646@GATEWAY> <1363974755158-4662430.post@n4.nabble.com> <2DCCD69A198F4341BA0E0C8222A59B1C@GATEWAY> Message-ID: <1364024699723-4662449.post@n4.nabble.com> Indeed yes, many thanks! Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Free-Valentina-Studio-Server-ADKs-for-LiveCode-Upgraded-to-5-1-tp4662333p4662449.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Sat Mar 23 03:57:45 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Mar 2013 18:57:45 +1100 Subject: inverse of intersect array with templateArray In-Reply-To: <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> Message-ID: Hi Dick I think that's getting there although I don't need the union. I want to end up with two separate arrays that only have different keys and elements. It also needs to support multiple dimensional arrays. This is for the VCS stuff I'm doing and I need to end up with the differences between branch a and branch b. -- M E R Goulding Software development services mergExt - There's an external for that! On 23/03/2013, at 6:41 PM, Dick Kriesel wrote: > Hi, Monte. I think what you're looking for is called the "symmetric difference." > > > Here's a way to do that in LC. It's simplified from a library I use. From richmondmathewson at gmail.com Sat Mar 23 03:59:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Mar 2013 09:59:42 +0200 Subject: Things that make you go Hmmmmm In-Reply-To: <514D28AE.000015.05764@CALS_BIG_PC> References: <514D28AE.000015.05764@CALS_BIG_PC> Message-ID: <514D60EE.50406@gmail.com> On 03/23/2013 05:59 AM, Cal Horner wrote: > I know that what I just finished reading in Rev-Up is not the case. That the > sub-headline text: > "Our whole team is focused on just one goal at the moment - LiveCode Open > Source". > Can't really be what is going on there at RunRev. > > This must be some advertising hype to make us all "Feel" good. And it does. > > But what immediately comes to mind is surely there must be a maintenance > team at work trying to clear the remaining bugs that inhabit the dark, > hidden reaches of LC. Oh, quite; one thing that I feel one should expect from a company that is producing an open Source product is Openness; and I do think that RunRev are a bit on the quiet side when it comes to talking about some of those long-term bugs: Some are sorted out silently - not good; we need to know; might make people keener to pay for the next version. Some are not sorted out and have been lurking in the background for ages. > > I mean, come on Heather Laine ! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sat Mar 23 05:24:49 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 23 Mar 2013 10:24:49 +0100 Subject: [ANN] Valentina Studio now is Mac App Store In-Reply-To: References: Message-ID: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> Hi Ruslan, Am 22.03.2013 um 23:08 schrieb Ruslan Zasukhin : > Hi All, > > We have gone review and now Valentina Studio (free). > can be found in Mac App Store :-) > > Let me remind, that Valentina Studio 5.1, > is a free GUI Manager for such databases as: > mySQL, PostgreSQL, SQLite and, of course, Valentina. > > > > If you already have installed Valentina Studio on your MAC, > then MAS version will replace that one at its location on disk. is this compatible with the current version of SQLite used in Livecode? I tried some other free db management tools, but the resulting database files were not readable/usable with Livecode unfortunately. Thanks! > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From th.douez at gmail.com Sat Mar 23 05:38:21 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 23 Mar 2013 10:38:21 +0100 Subject: [ANN] Valentina Studio now is Mac App Store In-Reply-To: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> References: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> Message-ID: Hallo Klaus, I'm currently working on a project with LC and SQLITE and I'm using Valentina Studio 5.0 and now 5.1 with success! I'm quite happy with it. (on Mac) Having tried few SQLITE GUI managers, it's my preferate so far.. My 2 cents Thierry 2013/3/23 Klaus on-rev > Hi Ruslan, > > > We have gone review and now Valentina Studio (free). > > can be found in Mac App Store :-) > > > > Let me remind, that Valentina Studio 5.1, > > is a free GUI Manager for such databases as: > > mySQL, PostgreSQL, SQLite and, of course, Valentina > > is this compatible with the current version of SQLite used in Livecode? > > Thanks! > From klaus at major.on-rev.com Sat Mar 23 05:43:31 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 23 Mar 2013 10:43:31 +0100 Subject: [ANN] Valentina Studio now is Mac App Store In-Reply-To: References: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> Message-ID: <05DA0D0B-0FE2-41CC-9E5C-7765152E4907@major.on-rev.com> Bonjour Thierry, Am 23.03.2013 um 10:38 schrieb Thierry Douez : > Hallo Klaus, > > I'm currently working on a project with LC and SQLITE and > I'm using Valentina Studio 5.0 and now 5.1 with success! > > I'm quite happy with it. (on Mac) > Having tried few SQLITE GUI managers, it's my preferate so far.. this is good news, merci beaucoup, mon ami! There had been some discussion about this (current version of LC SQLite not uptdate with actual SQLite version, unicode etc...), so i really wanted to ask before I wreck my db files ;-) Again thank you! > My 2 cents > > Thierry Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From th.douez at gmail.com Sat Mar 23 05:50:38 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 23 Mar 2013 10:50:38 +0100 Subject: [ANN] Valentina Studio now is Mac App Store In-Reply-To: <05DA0D0B-0FE2-41CC-9E5C-7765152E4907@major.on-rev.com> References: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> <05DA0D0B-0FE2-41CC-9E5C-7765152E4907@major.on-rev.com> Message-ID: 2013/3/23 Klaus on-rev > Bonjour Thierry, > > Am 23.03.2013 um 10:38 schrieb Thierry Douez : > > > Hallo Klaus, > > > > I'm currently working on a project with LC and SQLITE and > > I'm using Valentina Studio 5.0 and now 5.1 with success! > > > > I'm quite happy with it. (on Mac) > > Having tried few SQLITE GUI managers, it's my preferate so far.. > > this is good news, merci beaucoup, mon ami! > > There had been some discussion about this (current version of LC SQLite > not uptdate with actual SQLite version, unicode etc...), so i really > wanted to ask > before I wreck my db files ;-) > Well, AFAIK, this is related to LC sqlite external not being updated with the latest sqlite versions. So, not related at all with any GUI manager. But you can also save your sqlite DBs before :) Again thank you! > Gern geschehen! Thierry From klaus at major.on-rev.com Sat Mar 23 06:00:35 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 23 Mar 2013 11:00:35 +0100 Subject: [ANN] Valentina Studio now is Mac App Store In-Reply-To: References: <06870E75-361B-4528-BD0B-AA7FA23F5B9A@major.on-rev.com> <05DA0D0B-0FE2-41CC-9E5C-7765152E4907@major.on-rev.com> Message-ID: Bonjour Thierry, Am 23.03.2013 um 10:50 schrieb Thierry Douez : > 2013/3/23 Klaus on-rev >> Bonjour Thierry, >> Am 23.03.2013 um 10:38 schrieb Thierry Douez : >>> Hallo Klaus, >>> I'm currently working on a project with LC and SQLITE and >>> I'm using Valentina Studio 5.0 and now 5.1 with success! >>> I'm quite happy with it. (on Mac) >>> Having tried few SQLITE GUI managers, it's my preferate so far.. >> this is good news, merci beaucoup, mon ami! >> There had been some discussion about this (current version of LC SQLite >> not uptdate with actual SQLite version, unicode etc...), so i really >> wanted to ask >> before I wreck my db files ;-) > Well, AFAIK, this is related to LC sqlite external not being updated with > the latest sqlite versions. So, not related at all with any GUI manager. Yes, that's what I meant. > But you can also save your sqlite DBs before :) 8-) >> Again thank you! > Gern geschehen! > > Thierry Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From claude.lemmel at wanadoo.fr Sat Mar 23 06:16:34 2013 From: claude.lemmel at wanadoo.fr (Claude Lemmel) Date: Sat, 23 Mar 2013 11:16:34 +0100 Subject: how to play WMV videos on Windows In-Reply-To: References: Message-ID: <514D8102.6070900@wanadoo.fr> Le 22/03/2013 18:00, use-livecode-request at lists.runrev.com a ?crit : > Does anyone have a recipe on how to play WMV videos on Windows > systems with QuickTime installed? After a lot of struggle, i just play video on Windows in the revBrowser ! I create on fly a html file with a flash player. It can seems crazy to load both a html browser and flash to play a video, but it works very well... Claude From dick.kriesel at mail.com Sat Mar 23 07:53:50 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 23 Mar 2013 04:53:50 -0700 Subject: inverse of intersect array with templateArray In-Reply-To: References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> Message-ID: <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> On Mar 23, 2013, at 12:57 AM, Monte Goulding wrote: > This is for the VCS stuff I'm doing and I need to end up with the differences between branch a and branch b. I have some lightly tested code for detecting changes from one multidimensional array to another. Then it copies the first array and applies the changes, matching the second array. It needs more testing before I share it. How soon do you need it, Monte? -- Dick From ruslan_zasukhin at valentina-db.com Sat Mar 23 08:27:28 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 23 Mar 2013 14:27:28 +0200 Subject: [ANN] Valentina Studio now in Mac App Store In-Reply-To: Message-ID: On 3/23/13 11:38 AM, "Thierry Douez" wrote: Hallo Klaus, Hi Thierry, > I'm currently working on a project with LC and SQLITE and > I'm using Valentina Studio 5.0 and now 5.1 with success! > > I'm quite happy with it. (on Mac) > Having tried few SQLITE GUI managers, it's my preferate so far.. This good news :) Valentina Studio tend to use latest version of SQLite engine. It is compiled inside of vstudio. Also inside of vstudio are compiled a lots of extensions to SQLite, so vstudio is ready to work with such dbs. Also exists dialog where you can add more extensions if you needed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From coiin at verizon.net Sat Mar 23 08:53:54 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 23 Mar 2013 08:53:54 -0400 Subject: how to play WMV videos on Windows In-Reply-To: <514D8102.6070900@wanadoo.fr> References: <514D8102.6070900@wanadoo.fr> Message-ID: Flash can play FLV and any kind of H.264 file, but it doesn't play WMV. I'm assuming the question was more about how to play WMV, and not how to play video in general. Also, you would be more likely to use Flash as the solution for systems that don't have QuickTime, and here the question was about systems that do have QuickTime. Ironically, on Mac there wouldn't be a problem, you would use Flip4Mac to allow WMV to play using QuickTime, but that seems to not be possible with Windows. Still, using revBrowser might still solve the basic need, assuming that it's possible to play WMV in a browser. I tried this page: http://archive.org/details/Windows7WildlifeSampleVideo and the WMV file you can try does a download and play in the Video application, and doesn't play in IE on Windows. So maybe it's not possible? On Mar 23, 2013, at 6:16 AM, Claude Lemmel wrote: > >After a lot of struggle, i just play video on Windows in the revBrowser ! > > >I create on fly a html file with a flash player. > > >It can seems crazy to load both a html browser and flash to play a video, but it works very well... From slylabs13 at me.com Sat Mar 23 10:49:10 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 23 Mar 2013 07:49:10 -0700 Subject: Things that make you go Hmmmmm In-Reply-To: <514D60EE.50406@gmail.com> References: <514D28AE.000015.05764@CALS_BIG_PC> <514D60EE.50406@gmail.com> Message-ID: I think it's common policy for software companies to not openly discuss bugs. Once a bug is confirmed and widespread, of course they have to acknowledge it, but I do not know of any company that openly publishes known bugs except for maybe Blizzard. Bob On Mar 23, 2013, at 12:59 AM, Richmond wrote: > Oh, quite; one thing that I feel one should expect from a company that is producing an open Source product is Openness; and I do think that RunRev are a bit on the quiet side when it comes to talking > about some of those long-term bugs: > > Some are sorted out silently - not good; we need to know; might make people keener to pay for the next version. > > Some are not sorted out and have been lurking in the background for ages. From ruslan_zasukhin at valentina-db.com Sat Mar 23 11:24:02 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 23 Mar 2013 17:24:02 +0200 Subject: [ANN] Valentina Studio now in Mac App Store In-Reply-To: Message-ID: On 3/23/13 11:38 AM, "Thierry Douez" wrote: Hi Thierry, > I'm currently working on a project with LC and SQLITE and > I'm using Valentina Studio 5.0 and now 5.1 with success! > > I'm quite happy with it. (on Mac) > Having tried few SQLITE GUI managers, it's my preferate so far.. Have you see power of Related Data Editor? You should have Foreign Keys between tables for this of course. SQLEditor? Query Builder - do you use it with SQLite? Daigrams for your DB? Any yet feature requests? May be you have see something in other apps that can be good to add to Valentina Studio? Any confusing places? Thank you for feedback. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From rabit at revigniter.com Sat Mar 23 11:44:17 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 23 Mar 2013 16:44:17 +0100 Subject: how to play WMV videos on Windows In-Reply-To: <514D8102.6070900@wanadoo.fr> References: <514D8102.6070900@wanadoo.fr> Message-ID: <06B3E673-E55D-406D-8F8F-31DF4D1006E1@revigniter.com> Hi Claude, thanks for the feedback. Tried what you suggested. Using revBrowser and a Flash player HD 720p H.264 QuickTime mov files play fine even the MP4 AVC ones. So, this means that I don't anymore need to find out how to to play WMV on Windows systems with QuickTime installed. Nonetheless it seemingly turns out that the player object is pretty useless on Windows with QuickTime installed when it comes to playing video, at least when there is a demand for decent quality. Hopefully this will change in the near future. Thanks again Ralf On 23.03.2013, at 11:16, Claude Lemmel wrote: > Le 22/03/2013 18:00, use-livecode-request at lists.runrev.com a ?crit : >> Does anyone have a recipe on how to play WMV videos on Windows >> systems with QuickTime installed? > > After a lot of struggle, i just play video on Windows in the revBrowser ! > > I create on fly a html file with a flash player. > > It can seems crazy to load both a html browser and flash to play a video, but it works very well... > > Claude > From rabit at revigniter.com Sat Mar 23 11:46:02 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 23 Mar 2013 16:46:02 +0100 Subject: how to play WMV videos on Windows In-Reply-To: References: <514D8102.6070900@wanadoo.fr> Message-ID: <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> Thanks Colin. Actually I asked for a recipe on how to play WMV videos on Windows systems with QuickTime installed because of bad playback performance of HD quality QuickTime movies. So, if WMV would have worked using WMV would have been sort of a compromise. Claude's suggestion is a solution, so I can happily set WMV aside as all my footage is MP4 AVC anyway. Should have asked for a recipe on how to play high quality video on windows with QuickTime installed. Anyhow, I find the player object pretty frustrating and one should not have to use Flash and revBrowser for a simple thing like playing video. Thanks Ralf On 23.03.2013, at 13:53, Colin Holgate wrote: > Flash can play FLV and any kind of H.264 file, but it doesn't play WMV. I'm assuming the question was more about how to play WMV, and not how to play video in general. > > Also, you would be more likely to use Flash as the solution for systems that don't have QuickTime, and here the question was about systems that do have QuickTime. > > Ironically, on Mac there wouldn't be a problem, you would use Flip4Mac to allow WMV to play using QuickTime, but that seems to not be possible with Windows. > > Still, using revBrowser might still solve the basic need, assuming that it's possible to play WMV in a browser. > > I tried this page: > > http://archive.org/details/Windows7WildlifeSampleVideo > > and the WMV file you can try does a download and play in the Video application, and doesn't play in IE on Windows. So maybe it's not possible? > > > > On Mar 23, 2013, at 6:16 AM, Claude Lemmel wrote: > >>> After a lot of struggle, i just play video on Windows in the revBrowser ! >> >>> I create on fly a html file with a flash player. >> >>> It can seems crazy to load both a html browser and flash to play a video, but it works very well... > From klaus at major.on-rev.com Sat Mar 23 12:14:39 2013 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 23 Mar 2013 17:14:39 +0100 Subject: how to play WMV videos on Windows In-Reply-To: <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> References: <514D8102.6070900@wanadoo.fr> <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> Message-ID: Hi Ralf, Am 23.03.2013 um 16:46 schrieb Ralf Bitter : > > Thanks Colin. Actually I asked for a recipe on how to play WMV videos > on Windows systems with QuickTime installed because of bad playback > performance of HD quality QuickTime movies. So, if WMV would have worked > using WMV would have been sort of a compromise. Claude's suggestion is > a solution, so I can happily set WMV aside as all my footage is MP4 AVC > anyway. Should have asked for a recipe on how to play high quality video > on windows with QuickTime installed. > > Anyhow, I find the player object pretty frustrating and one should not > have to use Flash and revBrowser for a simple thing like playing video. this won't help, but even on a Mac the QuickTime player object is rather disappointing! Play a 640*360pixel video fullscreen (on a 24" monitor at 1920*1200) with QuickTime Player and you get very smooth playback, do same in Livecode and you get choppy playback, no fun! > Thanks > > Ralf Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From endernafi at gmail.com Sat Mar 23 12:56:31 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 23 Mar 2013 18:56:31 +0200 Subject: Unicode Issues Message-ID: Hello, I've developed 17 apps with LiveCode and the unicode has been always an issue. I wonder why RunRev doesn't bring a total solution for this. There are so many developers around there whose native language is not english, thus developing localized apps via LiveCode. There are germans, spanish, french, chinese, japanese, korean, russian, ??. Isn't this a pre-historic issue, I mean which modern development platform doesn't support utf-8 natively? Which one does need continuous conversions? I could solve all the unicode related problems in my iOS apps, but at my current project I'm stuck. The app's intended for windows platform. I have a bunch of option menu buttons which consist different categories. The user should be able to add or remove categories selecting the appropriate item in the button. Here is a sample stack: http://cloud.keehuna.com/0t3c1U3M0A3f It works fine with english but when I tried to enter non-ascii chars like "?,?,?,?,?,?"; it got all messed up. And I couldn't figure out how :/ I tried to use a different approach as writing my own converter functions using *numToChar()* and *charToNum()*; but they don't produce consistent results. For example; __set the useUnicode to true __put numToChar(112) into url("file:" & specialFolderPath("desktop") & "/test.txt") puts "p" into the file but __set the useUnicode to true __put numToChar(351) into url("file:" & specialFolderPath("desktop") & "/test.txt") puts only an underscore where it should put "?" into the file. What should I do; change my clients' native language? Sorry to talk angry but come on; unicode issues in 2013? I don't get pissed off about the lack of powerful animation options or poor performance of image editing or no 3d support or anything else? It's just basic, simple text editing. Is this too much to ask? Well ok, back to my question; what am I doing wrong, what should I do to fix my app? Any insights much appreciated, thank you... Kind Regards, ~ Ender Nafi From m.schonewille at economy-x-talk.com Sat Mar 23 13:06:35 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 23 Mar 2013 18:06:35 +0100 Subject: Unicode Issues In-Reply-To: References: Message-ID: <514DE11B.2020103@economy-x-talk.com> Hi Ender Nafi, Try this: http://qery.us/3d6 It works in LC 5.5.4. It took me quite some time to find the promised unicode improvements in 5.5, but I?ve found 2 now: the unicodeText of menu buttons and the ability to refer to characters in double-byte strings. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/23/2013 17:56, Ender Nafi Elek?io?lu wrote: > Hello, > > I've developed 17 apps with LiveCode and the unicode has been always an issue. > I wonder why RunRev doesn't bring a total solution for this. > There are so many developers around there whose native language is not english, > thus developing localized apps via LiveCode. > There are germans, spanish, french, chinese, japanese, korean, russian, ??. > Isn't this a pre-historic issue, I mean which modern development platform doesn't support utf-8 natively? > Which one does need continuous conversions? > > I could solve all the unicode related problems in my iOS apps, but at my current project I'm stuck. > The app's intended for windows platform. > > I have a bunch of option menu buttons which consist different categories. > The user should be able to add or remove categories selecting the appropriate item in the button. > Here is a sample stack: > http://cloud.keehuna.com/0t3c1U3M0A3f > > It works fine with english but when I tried to enter non-ascii chars like "?,?,?,?,?,?"; > it got all messed up. > And I couldn't figure out how :/ > > I tried to use a different approach as writing my own converter functions using *numToChar()* and *charToNum()*; > but they don't produce consistent results. > For example; > __set the useUnicode to true > __put numToChar(112) into url("file:" & specialFolderPath("desktop") & "/test.txt") > puts "p" into the file > but > __set the useUnicode to true > __put numToChar(351) into url("file:" & specialFolderPath("desktop") & "/test.txt") > puts only an underscore where it should put "?" into the file. > > > What should I do; change my clients' native language? > Sorry to talk angry but come on; unicode issues in 2013? > > I don't get pissed off about the lack of powerful animation options > or poor performance of image editing > or no 3d support or anything else? > It's just basic, simple text editing. > Is this too much to ask? > > > Well ok, back to my question; > what am I doing wrong, > what should I do to fix my app? > > Any insights much appreciated, thank you... > > > > Kind Regards, > > > ~ Ender Nafi From lfredricks at proactive-intl.com Sat Mar 23 13:13:06 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 23 Mar 2013 10:13:06 -0700 Subject: Things that make you go Hmmmmm In-Reply-To: References: <514D28AE.000015.05764@CALS_BIG_PC> <514D60EE.50406@gmail.com> Message-ID: <2EFB6CDFF77B4562BD97BDF707973122@GATEWAY> > I think it's common policy for software companies to not > openly discuss bugs. Once a bug is confirmed and widespread, > of course they have to acknowledge it, but I do not know of > any company that openly publishes known bugs except for maybe > Blizzard. Game companies are a bit different in this regard, especially since buyers have to "live" with various incompatibilities that don't plague normal desktop applications like hosted games. For example - through another company I sell Shade 3D, which is a 3d modeling, rendering and animation product. It has a free version especially for game design. On top of issues that normal desktop apps have, you also have to look at different video drivers, versions of OpenGL (or DirectX), GPU support, really arcane file format features (COLLADA, FBX, etc). And then there are all sorts of specific stuff related to obscure features of game engines. There are way, way more things that can go wrong. In comparision, Valentina Studio has none of those worries at all. Talking about bugs in a general sense outside of the confines of Mantis doesn't do anyone any good. Users can submit bugs to Mantis ans it goes right into engineering. Not a lot of public discusion needed, just a bit of dialog in case we can't figure out what's causing the issue. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From livfoss at mac.com Sat Mar 23 13:27:25 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 23 Mar 2013 18:27:25 +0100 Subject: Can't delete a stack Message-ID: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> I've got a stack that I want to purge in the way the IDE does. At the time of execution of the script below, the stack is in memory with a copy of it in a file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of my script looks like this: try if there is a file gDataStackPath then delete file gDataStackPath set the cantDelete of stack "myData" to false set the destroyStack of stack "myData" to true set the destroyWindow of stack "myData" to true delete stack "myData" -- this should remove it from memory This deletes the file as expected, and the IDE shows that the stack is still in memory, but the script crashes on the 'delete stack..' line. The error is 361 "can't set this property". What did I do wrong? TIA Graham From lfredricks at proactive-intl.com Sat Mar 23 13:32:43 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 23 Mar 2013 10:32:43 -0700 Subject: Free Valentina Studio + On-REV = Joy? Message-ID: <311246B7044241B68D649BCBACDD955F@GATEWAY> Hi all, A nice new feature in Valentina Studio 5.1 is the SSH support. Most hosts require that if you are going to use an external application to work with hosted MySQL. We'd be very interested in the experience of those who are using it for that purpose. I am asssuming that On-REV does this. Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From rabit at revigniter.com Sat Mar 23 13:37:28 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 23 Mar 2013 18:37:28 +0100 Subject: how to play WMV videos on Windows In-Reply-To: References: <514D8102.6070900@wanadoo.fr> <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> Message-ID: Thanks, Klaus. Indeed, it doesn't help, but good to know anyway. In the end, as a precaution, I will refuse any job in case video is involved (iOS excluded). Ralf On 23.03.2013, at 17:14, Klaus on-rev wrote: > Hi Ralf, > > Am 23.03.2013 um 16:46 schrieb Ralf Bitter : > >> >> Thanks Colin. Actually I asked for a recipe on how to play WMV videos >> on Windows systems with QuickTime installed because of bad playback >> performance of HD quality QuickTime movies. So, if WMV would have worked >> using WMV would have been sort of a compromise. Claude's suggestion is >> a solution, so I can happily set WMV aside as all my footage is MP4 AVC >> anyway. Should have asked for a recipe on how to play high quality video >> on windows with QuickTime installed. >> >> Anyhow, I find the player object pretty frustrating and one should not >> have to use Flash and revBrowser for a simple thing like playing video. > > this won't help, but even on a Mac the QuickTime player object is rather disappointing! > > Play a 640*360pixel video fullscreen (on a 24" monitor at 1920*1200) with > QuickTime Player and you get very smooth playback, do same in Livecode > and you get choppy playback, no fun! > >> Thanks >> >> Ralf > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From meitnik at bellsouth.net Sat Mar 23 13:41:06 2013 From: meitnik at bellsouth.net (Andrew Meit) Date: Sat, 23 Mar 2013 13:41:06 -0400 Subject: Things that make you go Hmmmmm Message-ID: <0AA4CC49-0297-4991-A345-A9F5A7B11878@bellsouth.net> I rather deal with a software company who is open and direct about their bugs and bug database. For me, feature set is just one reason to get the software, the other is timeliness and thoroughness on handling reported bugs stated publicly and certainly privately too! The classic 'trade secret' argument is too much CYA and often just BS. And the sad clich? 'testing is drain on the budget' is just plain ignorant about how valuable testing is. If someone is going to pay/invest good money and time into a software tool, then they have the right to know well its being maintained. One of the interesting things is how much a company is willing to invest in QA. Stability is a lasting impression that sometimes takes years to repair! I do hope with the huge donations, QA for LC gets what it needs -- now. Really! andrew From dochawk at gmail.com Sat Mar 23 13:45:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 23 Mar 2013 10:45:30 -0700 Subject: coding for multiple databases Message-ID: As I try to keep this thing coded to support postgres, SQLite, and mySQL, I'm getting increasingly frustrated by the "oh, we don't support that; code it our way instead" attitude of SQLite and mySQL. Unless my calendar is off, it's 2013. mySQL doesn't even have a boolean, and SQLite can't handle TRUE without quotes. I've selected postgres for the standard server version (no, I don't want to discuss and revisit this), but have planned on sqlite for stand-alone, non-networked copies. I'm starting to think it might be less work to bundle postgres . . . which is just plain insane! Anyway, to deal with queries where I have to use non-standard syntax, it seems that I can have switches: switch dbTyp case postgres put "SELECT * FROM mytable WHERE icare=True" into dcmd break case mySql put "SELECT * FROM mytable WHERE icare=1" into dcmd break case SQLite put "SELECT * FROM mytable WHERE icare='TRUE'" into dcmd break end switch Or, I could make a two-dimensional array put "SELECT * FROM mytable where icare=" & dbWords[dbTyp][TRUE] & quote into dcmd Which, of course, means maintaining the 2d array. How do others deal with this? The switch seems much faster, while the array would be easier to write. (Oh, and the reason for wanting mysql at all is it seems to be less expensive to find third party servers that speak it) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Mar 23 13:47:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Mar 2013 10:47:14 -0700 Subject: Things that make you go Hmmmmm In-Reply-To: <514D60EE.50406@gmail.com> References: <514D28AE.000015.05764@CALS_BIG_PC> <514D60EE.50406@gmail.com> Message-ID: <16351762859.20130323104714@ahsoftware.net> Richmond- Saturday, March 23, 2013, 12:59:42 AM, you wrote: > Oh, quite; one thing that I feel one should expect from a company that > is producing an open Source product is Openness; and I do think that > RunRev are a bit on the quiet side when it comes to talking > about some of those long-term bugs: Give it a rest, Richmond. We're not open-source yet. I have a feeling you'll soon be able to see all the buggy code in all its raw goodness. -- -Mark Wieder mwieder at ahsoftware.net From dunbarx at aol.com Sat Mar 23 13:54:08 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 23 Mar 2013 13:54:08 -0400 (EDT) Subject: Can't delete a stack In-Reply-To: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> Message-ID: <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> Graham. Without digging into this at all, what happens if you delete the file last? Craig Newman -----Original Message----- From: Graham Samuel To: How to use LiveCode Sent: Sat, Mar 23, 2013 1:28 pm Subject: Can't delete a stack I've got a stack that I want to purge in the way the IDE does. At the time of execution of the script below, the stack is in memory with a copy of it in a file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of my script looks like this: try if there is a file gDataStackPath then delete file gDataStackPath set the cantDelete of stack "myData" to false set the destroyStack of stack "myData" to true set the destroyWindow of stack "myData" to true delete stack "myData" -- this should remove it from memory This deletes the file as expected, and the IDE shows that the stack is still in memory, but the script crashes on the 'delete stack..' line. The error is 361 "can't set this property". What did I do wrong? 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 mwieder at ahsoftware.net Sat Mar 23 13:54:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Mar 2013 10:54:20 -0700 Subject: coding for multiple databases In-Reply-To: References: Message-ID: <5652188703.20130323105420@ahsoftware.net> Richard- Saturday, March 23, 2013, 10:45:30 AM, you wrote: > Unless my calendar is off, it's 2013. mySQL doesn't even have a boolean, Been a while since I've had to deal with MySQL, but http://dev.mysql.com/doc/refman/5.0/en/boolean-literals.html -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Mar 23 14:08:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Mar 2013 11:08:28 -0700 Subject: coding for multiple databases In-Reply-To: References: Message-ID: <7453036671.20130323110828@ahsoftware.net> Richard- Saturday, March 23, 2013, 10:45:30 AM, you wrote: > Anyway, to deal with queries where I have to use non-standard syntax, it > seems that I can have switches: > switch dbTyp > case postgres > put "SELECT * FROM mytable WHERE icare=True" into dcmd > break > case mySql > put "SELECT * FROM mytable WHERE icare=1" into dcmd > break > case SQLite > put "SELECT * FROM mytable WHERE icare='TRUE'" into dcmd > break > end switch If you end up needing to do that, I would code it as put "SELECT * FROM mytable WHERE icare=" & dbBoolean(dbTyp) into dcmd function dbBoolean pDbType local tBoolean switch pDbType case mySql put 1 into tBoolean break case SQLite put "'TRUE'" into tBoolean break default put "True" into tBoolean end switch return tBoolean end dbBoolean -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Mar 23 14:09:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Mar 2013 13:09:03 -0500 Subject: how to play WMV videos on Windows In-Reply-To: <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> References: <514D8102.6070900@wanadoo.fr> <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> Message-ID: <514DEFBF.4020501@hyperactivesw.com> On 3/23/13 10:46 AM, Ralf Bitter wrote: > Anyhow, I find the player object pretty frustrating and one should not > have to use Flash and revBrowser for a simple thing like playing video. I thought LiveCode would use the native Windows API if dontUseQT was set to true. I think you have to do that on startup, because otherwise the app will load QT early in the startup process. I haven't ever had to do that but it is worth a try. In the IDE you can turn off "Load QuickTime on startup" in the General pane in preferences while you're testing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sat Mar 23 14:18:58 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 23 Mar 2013 19:18:58 +0100 Subject: Unicode Issues In-Reply-To: References: Message-ID: <514DF212.20004@economy-x-talk.com> Ender Nafi, Reading your script, I think that the problem is in the Ask dialog window. If you make your own dialog window, you?ll be able to retrieve the unicodeText of your own field and use that in your script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/23/2013 17:56, Ender Nafi Elek?io?lu wrote: > Hello, > > I've developed 17 apps with LiveCode and the unicode has been always an issue. > I wonder why RunRev doesn't bring a total solution for this. > There are so many developers around there whose native language is not english, > thus developing localized apps via LiveCode. > There are germans, spanish, french, chinese, japanese, korean, russian, ??. > Isn't this a pre-historic issue, I mean which modern development platform doesn't support utf-8 natively? > Which one does need continuous conversions? > > I could solve all the unicode related problems in my iOS apps, but at my current project I'm stuck. > The app's intended for windows platform. > > I have a bunch of option menu buttons which consist different categories. > The user should be able to add or remove categories selecting the appropriate item in the button. > Here is a sample stack: > http://cloud.keehuna.com/0t3c1U3M0A3f > From ruslan_zasukhin at valentina-db.com Sat Mar 23 14:26:41 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 23 Mar 2013 20:26:41 +0200 Subject: Things that make you go Hmmmmm In-Reply-To: <2EFB6CDFF77B4562BD97BDF707973122@GATEWAY> Message-ID: On 3/23/13 7:13 PM, "Lynn Fredricks" wrote: >> I think it's common policy for software companies to not >> openly discuss bugs. Once a bug is confirmed and widespread, >> of course they have to acknowledge it, but I do not know of >> any company that openly publishes known bugs except for maybe >> Blizzard. > In comparision, Valentina Studio has none of those worries at all. Talking > about bugs in a general sense outside of the confines of Mantis doesn't do > anyone any good. Users can submit bugs to Mantis ans it goes right into > engineering. Not a lot of public discusion needed, just a bit of dialog in > case we can't figure out what's causing the issue. And let me add -- everybody can go to Valentina's Mantis bug tracker and see list of known bugs, list of fixed, and so on. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From livfoss at mac.com Sat Mar 23 14:34:53 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 23 Mar 2013 19:34:53 +0100 Subject: Can't delete a stack In-Reply-To: <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> Message-ID: <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> Sadly, exactly the same thing. If the IDE can purge a stack, why can't I? Maybe the delete command fires some other handler I don't know about. I will try to reduce the thing to a very simple test. I'm using LC 5.5.4 on a Mac, by the way. Graham On 23 Mar 2013, at 18:54, dunbarx at aol.com wrote: > Graham. > > > Without digging into this at all, what happens if you delete the file last? > > > Craig Newman > > > > -----Original Message----- > From: Graham Samuel > To: How to use LiveCode > Sent: Sat, Mar 23, 2013 1:28 pm > Subject: Can't delete a stack > > > I've got a stack that I want to purge in the way the IDE does. At the time of > execution of the script below, the stack is in memory with a copy of it in a > file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of > my script looks like this: > > try > if there is a file gDataStackPath then > delete file gDataStackPath > set the cantDelete of stack "myData" to false > set the destroyStack of stack "myData" to true > set the destroyWindow of stack "myData" to true > delete stack "myData" -- this should remove it from memory > > This deletes the file as expected, and the IDE shows that the stack is still in > memory, but the script crashes on the 'delete stack..' line. The error is 361 > "can't set this property". > > What did I do wrong? > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Sat Mar 23 14:43:32 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 23 Mar 2013 20:43:32 +0200 Subject: Unicode Issues In-Reply-To: <514DF212.20004@economy-x-talk.com> References: <514DF212.20004@economy-x-talk.com> Message-ID: Hi Mark, Thank you very, very much. As you pointed out, the problem was related to Ask Dialogue. I made my own window and that solved the problem. Yet, another workaround with LiveCode... { sorry my grumpiness today :) but I'm right, so much workarounds with LiveCode. } Well, thanks again Mark. Best, ~ Ender Nafi On Saturday, March 23, 2013 at 8:18 PM, Mark Schonewille wrote: > Ender Nafi, > > Reading your script, I think that the problem is in the Ask dialog > window. If you make your own dialog window, you?ll be able to retrieve > the unicodeText of your own field and use that in your script. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > On 3/23/2013 17:56, Ender Nafi Elek?io?lu wrote: > > Hello, > > > > I've developed 17 apps with LiveCode and the unicode has been always an issue. > > I wonder why RunRev doesn't bring a total solution for this. > > There are so many developers around there whose native language is not english, > > thus developing localized apps via LiveCode. > > There are germans, spanish, french, chinese, japanese, korean, russian, ??. > > Isn't this a pre-historic issue, I mean which modern development platform doesn't support utf-8 natively? > > Which one does need continuous conversions? > > > > I could solve all the unicode related problems in my iOS apps, but at my current project I'm stuck. > > The app's intended for windows platform. > > > > I have a bunch of option menu buttons which consist different categories. > > The user should be able to add or remove categories selecting the appropriate item in the button. > > Here is a sample stack: > > http://cloud.keehuna.com/0t3c1U3M0A3f > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com (mailto:use-livecode at lists.runrev.com) > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From sc at sahores-conseil.com Sat Mar 23 14:57:58 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 23 Mar 2013 19:57:58 +0100 Subject: iOS scroller performance In-Reply-To: References: Message-ID: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> Did you try ? set the bufferHiddenImages to true set the acceleratedRendering of this stack to true Makes the trick there, even against iPad 1, with dozen of mixed groups (image + btns + flds) set inside the scrollable group. Le 22 mars 2013 ? 23:35, Chip Thomas a ?crit : > Has anybody else noticed a jerkiness to the iOS scroller? > > It's not as noticeable on iPhone, but on the iPad, scrolling through a > datagrid seems sluggish. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Sat Mar 23 15:02:53 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 23 Mar 2013 20:02:53 +0100 Subject: Can't delete a stack In-Reply-To: <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> Message-ID: from the dictionary entry for "Delete" : Important! You cannot delete the object whose script holds a currently executing handler. Can makes thing confusing in some cases ;-) Le 23 mars 2013 ? 19:34, Graham Samuel a ?crit : > Sadly, exactly the same thing. If the IDE can purge a stack, why can't I? Maybe the delete command fires some other handler I don't know about. I will try to reduce the thing to a very simple test. I'm using LC 5.5.4 on a Mac, by the way. > > Graham > > On 23 Mar 2013, at 18:54, dunbarx at aol.com wrote: > >> Graham. >> >> >> Without digging into this at all, what happens if you delete the file last? >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Graham Samuel >> To: How to use LiveCode >> Sent: Sat, Mar 23, 2013 1:28 pm >> Subject: Can't delete a stack >> >> >> I've got a stack that I want to purge in the way the IDE does. At the time of >> execution of the script below, the stack is in memory with a copy of it in a >> file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of >> my script looks like this: >> >> try >> if there is a file gDataStackPath then >> delete file gDataStackPath >> set the cantDelete of stack "myData" to false >> set the destroyStack of stack "myData" to true >> set the destroyWindow of stack "myData" to true >> delete stack "myData" -- this should remove it from memory >> >> This deletes the file as expected, and the IDE shows that the stack is still in >> memory, but the script crashes on the 'delete stack..' line. The error is 361 >> "can't set this property". >> >> What did I do wrong? >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From rabit at revigniter.com Sat Mar 23 15:23:07 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 23 Mar 2013 20:23:07 +0100 Subject: how to play WMV videos on Windows In-Reply-To: <514DEFBF.4020501@hyperactivesw.com> References: <514D8102.6070900@wanadoo.fr> <34C2F916-E1B1-4B34-A174-1F0DACA4D05D@revigniter.com> <514DEFBF.4020501@hyperactivesw.com> Message-ID: Hi Jacqueline, the problem is that I have some interactive QuickTime movies which need dontUseQT set to false but as soon as dontUseQT is set to false there seems to be no way to play WMV files even if you set dontUseQT to true (of course before any player or movie related action). Ralf On 23.03.2013, at 19:09, J. Landman Gay wrote: > On 3/23/13 10:46 AM, Ralf Bitter wrote: > >> Anyhow, I find the player object pretty frustrating and one should not >> have to use Flash and revBrowser for a simple thing like playing video. > > I thought LiveCode would use the native Windows API if dontUseQT was set to true. I think you have to do that on startup, because otherwise the app will load QT early in the startup process. I haven't ever had to do that but it is worth a try. > > In the IDE you can turn off "Load QuickTime on startup" in the General pane in preferences while you're testing. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 23 15:30:59 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Mar 2013 12:30:59 -0700 Subject: coding for multiple databases In-Reply-To: References: Message-ID: SQLite lets you define whatever data types you want. Nothing to stop you defining a column with BOOLEAN data type, internally it will be stored as NUMERIC. After that, you can use: SELECT * FROM mytable WHERE icare=1 ...for all your databases Pete lcSQL Software On Sat, Mar 23, 2013 at 10:45 AM, Dr. Hawkins wrote: > As I try to keep this thing coded to support postgres, SQLite, and mySQL, > I'm getting increasingly frustrated by the "oh, we don't support that; code > it our way instead" attitude of SQLite and mySQL. > > Unless my calendar is off, it's 2013. mySQL doesn't even have a boolean, > and SQLite can't handle TRUE without quotes. > > I've selected postgres for the standard server version (no, I don't want to > discuss and revisit this), but have planned on sqlite for stand-alone, > non-networked copies. > > I'm starting to think it might be less work to bundle postgres . . . which > is just plain insane! > > Anyway, to deal with queries where I have to use non-standard syntax, it > seems that I can have switches: > > switch dbTyp > case postgres > put "SELECT * FROM mytable WHERE icare=True" into dcmd > break > case mySql > put "SELECT * FROM mytable WHERE icare=1" into dcmd > break > case SQLite > put "SELECT * FROM mytable WHERE icare='TRUE'" into dcmd > break > end switch > > Or, I could make a two-dimensional array > > put "SELECT * FROM mytable where icare=" & dbWords[dbTyp][TRUE] & quote > into dcmd > > Which, of course, means maintaining the 2d array. > > How do others deal with this? > > The switch seems much faster, while the array would be easier to write. > > (Oh, and the reason for wanting mysql at all is it seems to be less > expensive to find third party servers that speak it) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at rotundasoftware.com Sat Mar 23 15:43:52 2013 From: david at rotundasoftware.com (David Beck) Date: Sat, 23 Mar 2013 12:43:52 -0700 Subject: Nested array comparisons Message-ID: If one has two nested arrays, can you compare the two for equality by doing if deepArray_1 is deepArray_2 then -- do whatever end if It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! David Beck From livfoss at mac.com Sat Mar 23 16:10:43 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 23 Mar 2013 21:10:43 +0100 Subject: Can't delete a stack In-Reply-To: References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> Message-ID: <0FEEA88B-79EE-44A3-AE05-571A568A0103@mac.com> Thanks, Pierre This seems a good idea - it's true I put the 'delete' stuff in another stack, but the destruction routine was called from a handler in the (data) stack I'm trying to delete, so you could say the message path in the data stack was still involved and in that sense there was a currently executing handler. In effect I need a 'go' statement which will take all handler execution away from my data stack. So far I have tried a 'send' to the destruction routine in the other stack but that hasn't worked. I guess I may be able to use the other stack to detect whether the data stack needs deleting or not, which should mean that the data stack really isn't executing any handler when the test is made. One might summarise this as a rule "a stack can't delete itself". I will continue to experiment, but I'm still looking for ideas. Thanks again Graham On 23 Mar 2013, at 20:02, Pierre Sahores wrote: > from the dictionary entry for "Delete" : > > Important! You cannot delete the object whose script holds a currently executing handler. > > Can makes thing confusing in some cases ;-) > > Le 23 mars 2013 ? 19:34, Graham Samuel a ?crit : > >> Sadly, exactly the same thing. If the IDE can purge a stack, why can't I? Maybe the delete command fires some other handler I don't know about. I will try to reduce the thing to a very simple test. I'm using LC 5.5.4 on a Mac, by the way. >> >> Graham >> >> On 23 Mar 2013, at 18:54, dunbarx at aol.com wrote: >> >>> Graham. >>> >>> >>> Without digging into this at all, what happens if you delete the file last? >>> >>> >>> Craig Newman >>> >>> >>> >>> -----Original Message----- >>> From: Graham Samuel >>> To: How to use LiveCode >>> Sent: Sat, Mar 23, 2013 1:28 pm >>> Subject: Can't delete a stack >>> >>> >>> I've got a stack that I want to purge in the way the IDE does. At the time of >>> execution of the script below, the stack is in memory with a copy of it in a >>> file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of >>> my script looks like this: >>> >>> try >>> if there is a file gDataStackPath then >>> delete file gDataStackPath >>> set the cantDelete of stack "myData" to false >>> set the destroyStack of stack "myData" to true >>> set the destroyWindow of stack "myData" to true >>> delete stack "myData" -- this should remove it from memory >>> >>> This deletes the file as expected, and the IDE shows that the stack is still in >>> memory, but the script crashes on the 'delete stack..' line. The error is 361 >>> "can't set this property". >>> >>> What did I do wrong? >>> >>> TIA >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sat Mar 23 16:36:53 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 23 Mar 2013 16:36:53 -0400 (EDT) Subject: Nested array comparisons In-Reply-To: References: Message-ID: <8CFF61D49666474-19EC-4DD2A@webmail-m163.sysops.aol.com> Hi. I thought if you refer to an array the way you did, you would always get "empty" for each, and that would always be a false positive. I always thought, at the array variable level, evaluation comes to nothing at all. So I would have thought you would have to combine the arrays first, and then compare them, after they are no longer array variables, but rather ordinary ones. I assume that it makes no difference what you use as the delimiters, since you will not be working with the array data, just comparing them. Craig Newman -----Original Message----- From: David Beck To: use-livecode Sent: Sat, Mar 23, 2013 3:45 pm Subject: Nested array comparisons If one has two nested arrays, can you compare the two for equality by doing if deepArray_1 is deepArray_2 then -- do whatever end if It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! David Beck _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Sat Mar 23 16:45:18 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 23 Mar 2013 13:45:18 -0700 Subject: Nested array comparisons In-Reply-To: References: Message-ID: On Mar 23, 2013, at 12:43 PM, David Beck wrote: > > If one has two nested arrays, can you compare the two for equality by doing > > if deepArray_1 is deepArray_2 then > -- do whatever > end if > > It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! > > David Beck Hi, David. Does it work if you use "=" instead of "is"? See the dictionary entry for "=". It says, in part: "When comparing arrays, the = operator first checks if the number of elements in each array is the same, if not the two arrays are different. If the arrays have the same number of elements, they are equal if each element is equal. Specifically this means: array1 = array2 if (and only if): - the number of elements of array1 = the number of elements of array2 and - for each element e in array1, array1[e] = array2[e]." -- Dick From niggemann at uni-wh.de Sat Mar 23 17:01:41 2013 From: niggemann at uni-wh.de (BNig) Date: Sat, 23 Mar 2013 14:01:41 -0700 (PDT) Subject: Can't delete a stack In-Reply-To: <0FEEA88B-79EE-44A3-AE05-571A568A0103@mac.com> References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> <0FEEA88B-79EE-44A3-AE05-571A568A0103@mac.com> Message-ID: <1364072501841-4662491.post@n4.nabble.com> Graham, in a new stack with 1 button set the script to ----------------- on mouseUp send "delete this stack" to this stack in 5 milliseconds end mouseUp ----------------- this works for me. Use at your own risk :) (from the dictionary: Caution! If the stack is a substack, the delete stackcommand deletes the stack from memory, which causes it to be deleted permanently the next time its stack file is saved.) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-t-delete-a-stack-tp4662469p4662491.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Sat Mar 23 17:14:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 08:14:34 +1100 Subject: iOS scroller performance In-Reply-To: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> Message-ID: <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: > Did you try ? Even scrolling a field is noticeably jittery compared to the same content in a webview. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Mar 23 17:23:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 08:23:11 +1100 Subject: Things that make you go Hmmmmm In-Reply-To: <0AA4CC49-0297-4991-A345-A9F5A7B11878@bellsouth.net> References: <0AA4CC49-0297-4991-A345-A9F5A7B11878@bellsouth.net> Message-ID: On 24/03/2013, at 4:41 AM, Andrew Meit wrote: > I do hope with the huge donations, QA for LC gets what it needs -- now. Really! Andrew have you been to RunRev QA lately. It's VERY responsive. RunRev have really turned this area around in the last year. Sure there's issues that need to be touched from when this wasn't so good but I think they are getting to those when there's nothing new coming in so that might take a while. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Mar 23 17:27:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 08:27:11 +1100 Subject: Nested array comparisons In-Reply-To: References: Message-ID: <6A350B61-E3CB-457E-873D-77A388B3C26A@sweattechnologies.com> On 24/03/2013, at 6:43 AM, David Beck wrote: > If one has two nested arrays, can you compare the two for equality by doing > > if deepArray_1 is deepArray_2 then > -- do whatever > end if > > It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! I'd consider it a bug. Do you have any test cases that you expect to work that don't? Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From sc at sahores-conseil.com Sat Mar 23 17:41:26 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 23 Mar 2013 22:41:26 +0100 Subject: iOS scroller performance In-Reply-To: <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> Message-ID: <0571B324-B414-4324-A9DB-04FCA795DFCD@sahores-conseil.com> Le 23 mars 2013 ? 22:14, Monte Goulding a ?crit : > > On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: > >> Did you try ? > > Even scrolling a field is noticeably jittery compared to the same content in a web view. Yep and, as long as the webview don't use the LC engine thread, the webview way to go will always be preferable each time it's possible. > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Sat Mar 23 18:10:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Mar 2013 17:10:29 -0500 Subject: iOS scroller performance In-Reply-To: <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> Message-ID: <514E2855.6060909@hyperactivesw.com> On 3/23/13 4:14 PM, Monte Goulding wrote: > > On 24/03/2013, at 5:57 AM, Pierre Sahores wrote: > >> Did you try ? > > Even scrolling a field is noticeably jittery compared to the same content in a webview. With or without a native scroller? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From meitnik at bellsouth.net Sat Mar 23 18:16:59 2013 From: meitnik at bellsouth.net (Andrew Meit) Date: Sat, 23 Mar 2013 18:16:59 -0400 Subject: Things that make you go Hmmmmm In-Reply-To: References: Message-ID: <09EA2177-DE89-4303-BA5E-417C9EAD1E22@bellsouth.net> Cool, thanks for letting me know. :-) On Mar 23, 2013, at 5:41 PM, Goulding wrote: > Andrew have you been to RunRev QA lately. It's VERY responsive. RunRev have really turned this area around in the last year. Sure there's issues that need to be touched from when this wasn't so good but I think they are getting to those when there's nothing new coming in so that might take a while. From coiin at verizon.net Sat Mar 23 18:17:41 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 23 Mar 2013 18:17:41 -0400 Subject: iOS scroller performance In-Reply-To: <514E2855.6060909@hyperactivesw.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> Message-ID: <7538459C-9396-41A0-8E71-D574BD0DAE24@verizon.net> Would a native scroller just give you the conventionally bouncing at the ends? I'm not sure it would affect the smoothness, whether you're using a native scroller or not. If the graphic settings are correct it ought to be as smooth as a webkit view. On Mar 23, 2013, at 6:10 PM, "J. Landman Gay" wrote: >> >> Even scrolling a field is noticeably jittery compared to the same content in a webview. > > With or without a native scroller? From livfoss at mac.com Sat Mar 23 18:18:21 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 23 Mar 2013 23:18:21 +0100 Subject: Can't delete a stack In-Reply-To: References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> Message-ID: I seem (almost) to have found a solution: I put a button in the permanent stack (the one with the destruction handler in it) which directly invokes this handler, so there is no involvement from the stack that I want to delete. Bingo, it worked, but of course I (the user) had to click the button, which would be no good in a real life situation. So I put a line of script in the data stack that simply clicks at the loc of this button. I'm reminded of those little machines of my youth whose sole function was to turn themselves off (a hand emerged from the interior and flicked the 'off' switch, leaving enough time for the hand to go back inside before the motor stopped - it appealed to a certain mindset). This cannot be the approved way to do this, but it does look as if it's working! Graham I wrote: > Thanks, Pierre > > This seems a good idea - it's true I put the 'delete' stuff in another stack, but the destruction routine was called from a handler in the (data) stack I'm trying to delete, so you could say the message path in the data stack was still involved and in that sense there was a currently executing handler. In effect I need a 'go' statement which will take all handler execution away from my data stack. So far I have tried a 'send' to the destruction routine in the other stack but that hasn't worked. I guess I may be able to use the other stack to detect whether the data stack needs deleting or not, which should mean that the data stack really isn't executing any handler when the test is made. One might summarise this as a rule "a stack can't delete itself". > > I will continue to experiment, but I'm still looking for ideas. > > Thanks again > > Graham > > On 23 Mar 2013, at 20:02, Pierre Sahores wrote: > >> from the dictionary entry for "Delete" : >> >> Important! You cannot delete the object whose script holds a currently executing handler. >> >> Can makes thing confusing in some cases ;-) >> >> Le 23 mars 2013 ? 19:34, Graham Samuel a ?crit : >> >>> Sadly, exactly the same thing. If the IDE can purge a stack, why can't I? Maybe the delete command fires some other handler I don't know about. I will try to reduce the thing to a very simple test. I'm using LC 5.5.4 on a Mac, by the way. >>> >>> Graham >>> >>> On 23 Mar 2013, at 18:54, dunbarx at aol.com wrote: >>> >>>> Graham. >>>> >>>> >>>> Without digging into this at all, what happens if you delete the file last? >>>> >>>> >>>> Craig Newman >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Graham Samuel >>>> To: How to use LiveCode >>>> Sent: Sat, Mar 23, 2013 1:28 pm >>>> Subject: Can't delete a stack >>>> >>>> >>>> I've got a stack that I want to purge in the way the IDE does. At the time of >>>> execution of the script below, the stack is in memory with a copy of it in a >>>> file (the path is in a global 'gDataStackPath'. I want to destroy both. Part of >>>> my script looks like this: >>>> >>>> try >>>> if there is a file gDataStackPath then >>>> delete file gDataStackPath >>>> set the cantDelete of stack "myData" to false >>>> set the destroyStack of stack "myData" to true >>>> set the destroyWindow of stack "myData" to true >>>> delete stack "myData" -- this should remove it from memory >>>> >>>> This deletes the file as expected, and the IDE shows that the stack is still in >>>> memory, but the script crashes on the 'delete stack..' line. The error is 361 >>>> "can't set this property". >>>> >>>> What did I do wrong? >>>> >>>> TIA >>>> >>>> Graham >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> From calhorner at xtra.co.nz Sat Mar 23 19:09:34 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Sun, 24 Mar 2013 12:09:34 +1300 (New Zealand Daylight Time) Subject: Learning by... Avoiding mistakes Message-ID: <514E362E.000019.03660@CALS_BIG_PC> My two cents worth. I must admit I hadn't been following this thread but on a fine Sunday morning while catching up on correspondence.... I found out a long time ago the best way for me to avoid mistakes was by following that principle of engineering. The rule of modeling my answer of the system or software I needed to construct before actually doing the job. And that precept seems to have gone the way of the Dodo. I think that I can prove it by asking the question: How many of you use programming flowcharts to prove your answer before you actually begin to code? From my experience over the past few years, I know that people are likely to dive in and began coding before sitting down and thinking about the solution first. That's how I avoid mistakes. It's the old IBM adage - Think! From pete at lcsql.com Sat Mar 23 20:05:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Mar 2013 17:05:19 -0700 Subject: Resolving image ids Message-ID: Got a problem with some image ids being resolved and others not. These are all images which are referred to in the htmltext of a scrolling list field with tag. All the images are in a hidden group of the same stack/card as the field that refers to them. Most of the images are displayed in the field but a few don't, they're just blank. The only obvious difference I can see is that the ones that don't show up are in another group within the hidden group, but I don't understand why that would matter. I've checked all the image ids and they are correct. Any thoughts on what might be causing this problem? Pete lcSQL Software From pete at lcsql.com Sat Mar 23 20:23:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Mar 2013 17:23:48 -0700 Subject: Resolving image ids In-Reply-To: References: Message-ID: Never mind, reloaded the stack and all works fine now. Wonder why? Pete lcSQL Software On Sat, Mar 23, 2013 at 5:05 PM, Peter Haworth wrote: > Got a problem with some image ids being resolved and others not. > > These are all images which are referred to in the htmltext of a scrolling > list field with tag. > > All the images are in a hidden group of the same stack/card as the field > that refers to them. Most of the images are displayed in the field but a > few don't, they're just blank. The only obvious difference I can see is > that the ones that don't show up are in another group within the hidden > group, but I don't understand why that would matter. > > I've checked all the image ids and they are correct. Any thoughts on what > might be causing this problem? > > Pete > lcSQL Software > From mwieder at ahsoftware.net Sat Mar 23 20:35:46 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Mar 2013 17:35:46 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <514E362E.000019.03660@CALS_BIG_PC> References: <514E362E.000019.03660@CALS_BIG_PC> Message-ID: <308552250.20130323173546@ahsoftware.net> Cal- Saturday, March 23, 2013, 4:09:34 PM, you wrote: > How many of you use programming flowcharts to prove your answer before you > actually begin to code? Where flowcharting starts to fall apart though, is with asynchronous events - you end up with loosely-coupled pieces of flowcharts. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Sat Mar 23 20:50:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 11:50:20 +1100 Subject: iOS scroller performance In-Reply-To: <514E2855.6060909@hyperactivesw.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> Message-ID: On 24/03/2013, at 9:10 AM, "J. Landman Gay" wrote: >> Even scrolling a field is noticeably jittery compared to the same content in a webview. > > With or without a native scroller? With a native scroller or touch messages... It is not possible to make scrolling smooth like native scrolling views. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jhj at jhj.com Sat Mar 23 20:52:27 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 23 Mar 2013 17:52:27 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <308552250.20130323173546@ahsoftware.net> References: <514E362E.000019.03660@CALS_BIG_PC> <308552250.20130323173546@ahsoftware.net> Message-ID: <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> On Mar 23, 2013, at 5:35 PM, Mark Wieder wrote: > Cal- > > Saturday, March 23, 2013, 4:09:34 PM, you wrote: > >> How many of you use programming flowcharts to prove your answer before you >> actually begin to code? > > Where flowcharting starts to fall apart though, is with asynchronous > events - you end up with loosely-coupled pieces of flowcharts. I recently did a job where I had to poll two asynchronous serial ports. Timing had to be somewhat interlocked. Some input was response to stuff I sent, including verifying echos, and some was volunteered by the devices. I really really needed that flowchart. As I was puzzling over it, the client looked over my shoulder and asked "What are you doing, drawing cartoons?" 8-) .Jerry From pete at lcsql.com Sat Mar 23 20:59:40 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Mar 2013 17:59:40 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> References: <514E362E.000019.03660@CALS_BIG_PC> <308552250.20130323173546@ahsoftware.net> <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> Message-ID: Time used to was that flowcharts were essential. Talking about the days of punched cards/paper tape and overnight compiles. If you screwed something up, another day goes by before you could fix it so you really needed to pay attention. I still do flowcharts but just scribbles on pieces of paper to show the overall flow of a process. Pete lcSQL Software On Sat, Mar 23, 2013 at 5:52 PM, Jerry Jensen wrote: > On Mar 23, 2013, at 5:35 PM, Mark Wieder wrote: > > > Cal- > > > > Saturday, March 23, 2013, 4:09:34 PM, you wrote: > > > >> How many of you use programming flowcharts to prove your answer before > you > >> actually begin to code? > > > > Where flowcharting starts to fall apart though, is with asynchronous > > events - you end up with loosely-coupled pieces of flowcharts. > > I recently did a job where I had to poll two asynchronous serial ports. > Timing had to be somewhat interlocked. Some input was response to stuff I > sent, including verifying echos, and some was volunteered by the devices. I > really really needed that flowchart. As I was puzzling over it, the client > looked over my shoulder and asked "What are you doing, drawing cartoons?" > 8-) > > .Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sat Mar 23 21:37:57 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 23 Mar 2013 18:37:57 -0700 Subject: inverse of intersect array with templateArray In-Reply-To: <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> Message-ID: <1E8E12B7-EBBA-44FE-A164-F1CB49B77DC8@mail.com> On Mar 23, 2013, at 4:53 AM, Dick Kriesel wrote: > It needs more testing before I share it. How soon do you need it, Monte? Detecting changes from one multidimensional array to another now passes my tests, as confirmed by applying the derived changes to the original data, and getting matching results. Are you still interested? Do you want the code in a posting to the list, or in a stack sent off-list? -- Dick From monte at sweattechnologies.com Sat Mar 23 21:44:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 12:44:40 +1100 Subject: inverse of intersect array with templateArray In-Reply-To: <1E8E12B7-EBBA-44FE-A164-F1CB49B77DC8@mail.com> References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> <1E8E12B7-EBBA-44FE-A164-F1CB49B77DC8@mail.com> Message-ID: On 24/03/2013, at 12:37 PM, Dick Kriesel wrote: >> It needs more testing before I share it. How soon do you need it, Monte? > > Detecting changes from one multidimensional array to another now passes my tests, as confirmed by applying the derived changes to the original data, and getting matching results. > > Are you still interested? Do you want the code in a posting to the list, or in a stack sent off-list? Hi Dick I'm still interested. I had my own crack at it with this although I haven't setup a test case for it: command ArrayDiff @pArray1, at pArray2 local tKeys1,tKeys2 -- use the list of keys so we make sure we support empty elements put the keys of pArray1 into tKeys1 put the keys of pArray2 into tKeys2 -- any keys in pArray1 that aren't in pArray2 should stay repeat for each line tKey in tKeys2 -- any keys in pArray2 that aren't in pArray1 should stay if tKey is among the lines of tKeys1 then if pArray2[tKey] = pArray1[tKey] then delete variable pArray2[tKey] delete variable pArray1[tKey] end if -- if they are different and only one is an array then keep both if pArray1[tKey] is an array and pArray2[tKey] is an array then ArrayDiff pArray1[tKey],pArray2[tKey] end if end if end repeat end ArrayDiff Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Sat Mar 23 22:06:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Mar 2013 19:06:14 -0700 Subject: inverse of intersect array with templateArray In-Reply-To: References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> <1E8E12B7-EBBA-44FE-A164-F1CB49B77DC8@mail.com> Message-ID: <1653446390.20130323190614@ahsoftware.net> Monte- Hmmm. Won't if pArray2[tKey] = pArray1[tKey] then be true if both are subarrays (depending on the LC version)? -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Sat Mar 23 22:30:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 13:30:09 +1100 Subject: inverse of intersect array with templateArray In-Reply-To: <1653446390.20130323190614@ahsoftware.net> References: <980FD20C-A866-40A4-BC6A-35217E8EAFB1@sweattechnologies.com> <1D808327-8B8B-47CF-A6A4-9FED15822CF3@mail.com> <55395840-850F-49DF-A3F6-8DE63BC1BBB7@mail.com> <1E8E12B7-EBBA-44FE-A164-F1CB49B77DC8@mail.com> <1653446390.20130323190614@ahsoftware.net> Message-ID: On 24/03/2013, at 1:06 PM, Mark Wieder wrote: > Hmmm. Won't > > if pArray2[tKey] = pArray1[tKey] then > > be true if both are subarrays (depending on the LC version)? I don't think so although David did just raise an issue with array comparisons which is why I asked him for test cases. This code put's false for example which is the behavior I'm expecting: on mouseUp put "hello" into array1[1][2] put "world" into array2[1][2] put array1 = array2 end mouseUp Although in LC 5.5.4 this code would put true: on mouseUp put "hello" into array1[1][2] put array1 = empty end mouseUp Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From david at rotundasoftware.com Sat Mar 23 22:40:04 2013 From: david at rotundasoftware.com (David Beck) Date: Sat, 23 Mar 2013 19:40:04 -0700 Subject: Nested array comparisons In-Reply-To: References: Message-ID: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> Here is a function, in the mean time, that will do a deep comparison of arrays: function arraysAreEqual array1, array2 if array1 is not array2 then return false put the keys of array1 into theKeys repeat for each line thisKey in theKeys put 0 into numberOfArrays if array1[ thisKey ] is an array then add 1 to numberOfArrays if array2[ thisKey ] is an array then add 1 to numberOfArrays if numberOfArrays is 1 then return false if numberOfArrays is 2 then if not arraysAreEqual( array1[ thisKey ], array2[ thisKey ] ) then return false end if end repeat return true end arraysAreEqual On Mar 23, 2013, at 12:43 PM, David Beck wrote: > > If one has two nested arrays, can you compare the two for equality by doing > > if deepArray_1 is deepArray_2 then > -- do whatever > end if > > It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! > > David Beck From jacque at hyperactivesw.com Sat Mar 23 23:58:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Mar 2013 22:58:46 -0500 Subject: Can't delete a stack In-Reply-To: References: <69213288-FA56-444D-9519-D1D4CBF5F305@mac.com> <8CFF6068D6626A9-968-4B9E8@webmail-d174.sysops.aol.com> <5BF2CAD8-6133-44E7-B9B9-F346CD51B25C@mac.com> Message-ID: <514E79F6.6010204@hyperactivesw.com> On 3/23/13 5:18 PM, Graham Samuel wrote: > I seem (almost) to have found a solution: I put a button in the > permanent stack (the one with the destruction handler in it) which > directly invokes this handler, so there is no involvement from the > stack that I want to delete. Bingo, it worked, but of course I (the > user) had to click the button, which would be no good in a real life > situation. So I put a line of script in the data stack that simply > clicks at the loc of this button. I'm reminded of those little > machines of my youth whose sole function was to turn themselves off > (a hand emerged from the interior and flicked the 'off' switch, > leaving enough time for the hand to go back inside before the motor > stopped - it appealed to a certain mindset). > > This cannot be the approved way to do this, but it does look as if > it's working! I think you could use "send" as you did before, but do it "in 0". If you embed the send command inside another handler, that handler has to finish after the send happens, so in essence there is still a handler running. Try "send tCommand to whatever in 0" which will cause the engine to execute the send command after the originating handler is done running. I think. I hope. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 24 00:02:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Mar 2013 23:02:16 -0500 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> Message-ID: <514E7AC8.6080809@hyperactivesw.com> On 3/23/13 7:50 PM, Monte Goulding wrote: > > On 24/03/2013, at 9:10 AM, "J. Landman Gay" > wrote: > >>> Even scrolling a field is noticeably jittery compared to the same >>> content in a webview. >> >> With or without a native scroller? > > With a native scroller or touch messages... It is not possible to > make scrolling smooth like native scrolling views. I've been out of the mobile loop for a while, but my last iOS app scrolled smoothly when I set up acceleratedRendering and assigned the layermode of the field to "scrolling". I had a native scroller over it, but Colin may be right that it doesn't matter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sun Mar 24 00:53:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 24 Mar 2013 15:53:38 +1100 Subject: iOS scroller performance In-Reply-To: <514E7AC8.6080809@hyperactivesw.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> Message-ID: On 24/03/2013, at 3:02 PM, "J. Landman Gay" wrote: > I've been out of the mobile loop for a while, but my last iOS app scrolled smoothly when I set up acceleratedRendering and assigned the layermode of the field to "scrolling". I had a native scroller over it, but Colin may be right that it doesn't matter. If you look at it closely you will notice the scroll jump from one position to the next (which of course is what it's doing because we can only set the scroll when we get the messages) as opposed to any of the native scrolling views which appear to glide along smoothly. No amount of property setting magic can make setting the scroll of a field/group smoothly transition the scroll from one position to the next. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sun Mar 24 05:13:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Mar 2013 11:13:24 +0200 Subject: Learning by... Avoiding mistakes In-Reply-To: <308552250.20130323173546@ahsoftware.net> References: <514E362E.000019.03660@CALS_BIG_PC> <308552250.20130323173546@ahsoftware.net> Message-ID: <514EC3B4.9030505@gmail.com> On 03/24/2013 02:35 AM, Mark Wieder wrote: > Cal- > > Saturday, March 23, 2013, 4:09:34 PM, you wrote: > >> How many of you use programming flowcharts to prove your answer before you >> actually begin to code? > Where flowcharting starts to fall apart though, is with asynchronous > events - you end up with loosely-coupled pieces of flowcharts. > There's a lot to be said for buttons and cups, and Lego bricks. Richmond. From slylabs13 at me.com Sun Mar 24 11:10:58 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 24 Mar 2013 08:10:58 -0700 Subject: Things that make you go Hmmmmm In-Reply-To: References: <0AA4CC49-0297-4991-A345-A9F5A7B11878@bellsouth.net> Message-ID: They finally got to the watched global crashes to desktop bug! They are making progress. Bob On Mar 23, 2013, at 2:23 PM, Monte Goulding wrote: > > On 24/03/2013, at 4:41 AM, Andrew Meit wrote: > >> I do hope with the huge donations, QA for LC gets what it needs -- now. Really! > > Andrew have you been to RunRev QA lately. It's VERY responsive. RunRev have really turned this area around in the last year. Sure there's issues that need to be touched from when this wasn't so good but I think they are getting to those when there's nothing new coming in so that might take a while. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Mar 24 11:13:50 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 24 Mar 2013 08:13:50 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <514E362E.000019.03660@CALS_BIG_PC> References: <514E362E.000019.03660@CALS_BIG_PC> Message-ID: <2118BD3C-FB3B-445E-BA5B-BBB52590AFFE@me.com> Flowcharts are for sissies! ;-) j/k. I never use them because nothing I develop is that complicated. Bob On Mar 23, 2013, at 4:09 PM, Cal Horner wrote: > My two cents worth. > > I must admit I hadn't been following this thread but on a fine Sunday > morning while catching up on correspondence.... > > I found out a long time ago the best way for me to avoid mistakes was by > following that principle of engineering. The rule of modeling my answer of > the system or software I needed to construct before actually doing the job. > > And that precept seems to have gone the way of the Dodo. I think that I can > prove it by asking the question: > > How many of you use programming flowcharts to prove your answer before you > actually begin to code? > > From my experience over the past few years, I know that people are likely to > dive in and began coding before sitting down and thinking about the solution > first. > > That's how I avoid mistakes. It's the old IBM adage - Think! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Mar 24 11:16:02 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 24 Mar 2013 08:16:02 -0700 Subject: Nested array comparisons In-Reply-To: References: Message-ID: <5A9826A1-602C-4E9F-A23F-3476AEB77BC4@me.com> I am curious what would happen if yo compare to arrays with different keys. I seem to remember something about array comparisons only comparing keys and not their values. I might have been dreaming after a bout with some bad pizza though... Bob On Mar 23, 2013, at 12:43 PM, David Beck wrote: > > If one has two nested arrays, can you compare the two for equality by doing > > if deepArray_1 is deepArray_2 then > -- do whatever > end if > > It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! > > David Beck > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Mar 24 11:19:52 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 24 Mar 2013 08:19:52 -0700 Subject: coding for multiple databases In-Reply-To: References: Message-ID: mySQL DOES in fact have a boolean. You can use false and it equates to 0. True equates to 1. I use booleans all the time in my code and in my database structure. Where did you get that mySQL does not have a boolean type? Bob On Mar 23, 2013, at 10:45 AM, Dr. Hawkins wrote: > Unless my calendar is off, it's 2013. mySQL doesn't even have a boolean, > and SQLite can't handle TRUE without quotes. From m.schonewille at economy-x-talk.com Sun Mar 24 11:22:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Mar 2013 16:22:20 +0100 Subject: Nested array comparisons In-Reply-To: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> Message-ID: <514F1A2C.2010804@economy-x-talk.com> David, You can do this with: if arrayEncode(array1) is arrayEncode(array2) then -- do whatever end if -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 03:40, David Beck wrote: > > Here is a function, in the mean time, that will do a deep comparison of arrays: > > function arraysAreEqual array1, array2 > if array1 is not array2 then return false > put the keys of array1 into theKeys > repeat for each line thisKey in theKeys > put 0 into numberOfArrays > if array1[ thisKey ] is an array then add 1 to numberOfArrays > if array2[ thisKey ] is an array then add 1 to numberOfArrays > if numberOfArrays is 1 then return false > if numberOfArrays is 2 then > if not arraysAreEqual( array1[ thisKey ], array2[ thisKey ] ) then return false > end if > end repeat > > return true > end arraysAreEqual > > On Mar 23, 2013, at 12:43 PM, David Beck wrote: > >> >> If one has two nested arrays, can you compare the two for equality by doing >> >> if deepArray_1 is deepArray_2 then >> -- do whatever >> end if >> >> It looks like this does not work. That is, you get false positives at times when the two arrays are in fact not equal. Can not find documentation to determine whether this is bug of the expected behavior! >> >> David Beck > > From dochawk at gmail.com Sun Mar 24 11:29:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 24 Mar 2013 08:29:52 -0700 Subject: coding for multiple databases In-Reply-To: References: Message-ID: On Sun, Mar 24, 2013 at 8:19 AM, Robert Sneidar wrote: > mySQL DOES in fact have a boolean. You can use false and it equates to 0. > True equates to 1. I use booleans all the time in my code and in my > database structure. Where did you get that mySQL does not have a boolean > type? > That is really uses 1 and 0, and returns these instead of True and False. So for sqlite I have to quote booleans going in, and on mySQL i have to convert them to booleans coming out. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sun Mar 24 13:25:59 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Mar 2013 10:25:59 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> References: <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> Message-ID: <514F3727.3050408@fourthworld.com> Jerry Jensen wrote: > I recently did a job where I had to poll two asynchronous serial > ports. Timing had to be somewhat interlocked. Some input was response > to stuff I sent, including verifying echos, and some was volunteered > by the devices. I really really needed that flowchart. As I was > puzzling over it, the client looked over my shoulder and asked "What > are you doing, drawing cartoons?" 8-) Programmers aren't typists. Metrics like KLOC tell so little of the story that there's no project manager worth his salt that relies on them. Indeed, the best programmers can deliver systems with fewer lines, often able to to so because they spent some up-front time with "cartoons". When I had an assistant in my office, I got worried when he went too long without his feet up on the desk staring at the ceiling. THAT's when the real work happens. The rest is just typing. Some of the most productive time I spend in development is with 3x5 cards spread out on the floor, representing function points or UI elements, looking for the flow and patterns between them. To someone unfamiliar with how software is made I suppose it might look like the world's least useful rug, but there are too many apps waiting to be written to spend much time with such folks. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Sun Mar 24 13:47:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Mar 2013 10:47:31 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <514F3727.3050408@fourthworld.com> References: <7E432B9E-9625-45FC-8407-F1E137B9D8E4@jhj.com> <514F3727.3050408@fourthworld.com> Message-ID: <3218252343.20130324104731@ahsoftware.net> Richard- Sunday, March 24, 2013, 10:25:59 AM, you wrote: > Some of the most productive time I spend in development is with 3x5 > cards spread out on the floor, representing function points or UI > elements, looking for the flow and patterns between them. To someone I do the index card thing, sometimes just on pieces of paper, and then move the blocks of code around until it starts to take shape. I haven't yet found any computer program that beats this process. -- -Mark Wieder mwieder at ahsoftware.net From mail at richard-hillen.de Sun Mar 24 14:15:55 2013 From: mail at richard-hillen.de (R. Hillen) Date: Sun, 24 Mar 2013 19:15:55 +0100 Subject: Umlaute in filenames Message-ID: <9B487C91-C7E6-4E1E-82D6-2A614386B300@richard-hillen.de> Hello list, I looked into former use-revolution lists, but without success? I use "open printing to pdf TargetFileName" with TargetFileName = ". . ./Aufl?ufe-Apfelkompott.pdf" The Printing works fine, but the resulting pdf-filename in Finder shows ". . ./Aufl%8Aufe-Apfelkompott.pdf" Better would be the Original TargeFileName with Umlauts. May you help? Thanx in advance, Richard Hillen. From ambassador at fourthworld.com Sun Mar 24 14:20:22 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Mar 2013 11:20:22 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <3218252343.20130324104731@ahsoftware.net> References: <3218252343.20130324104731@ahsoftware.net> Message-ID: <514F43E6.4030902@fourthworld.com> Mark Wieder wrote: > Richard- > > Sunday, March 24, 2013, 10:25:59 AM, you wrote: > >> Some of the most productive time I spend in development is with 3x5 >> cards spread out on the floor, representing function points or UI >> elements, looking for the flow and patterns between them. To someone > > I do the index card thing, sometimes just on pieces of paper, and then > move the blocks of code around until it starts to take shape. I > haven't yet found any computer program that beats this process. Yeah, it's funny that way, but for all the tech we're dripping with I get some of the biggest bang for the buck from 3x5 cards and a pad of graph paper. I've tried many ways to replace those with software, but nothing has yet matched the freedom to explore. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From effendi at wanadoo.fr Sun Mar 24 14:48:31 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 24 Mar 2013 19:48:31 +0100 Subject: Learning by... Avoiding mistakes Message-ID: <8E107FA3-662F-4381-AA5F-26D4AC6440F7@wanadoo.fr> Hi from Beautiful Brittany, Cal Horner wrote : > How many of you use programming flowcharts to prove your answer before you > actually begin to code ? I gave up writing flowcharts 40 years ago (it was mandatory when I was a programmer), and I admit that a flowchart is 90 % of program development. But flowcharts are a physical proof of program development !! Today, I lie in bed in the small hours, and build my little LiveCode apps in my mind. The next day, I simply run off the code which I "designed" during the night. Works OK for me ! My boss 40 years ago would not have accepted that. OK - I have a few development bugs, but 50 years of programming gives you that unique way of covering all the possible paths in an application. (and I arrange the bottles in the door of my 'frig in alphabetical order, from left to right). Otherwise, computing has had little or no effect on my daily life ! Best Regards -Francis "Nothing should ever be done for the first time !!" From monte at sweattechnologies.com Sun Mar 24 15:42:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 06:42:14 +1100 Subject: Nested array comparisons In-Reply-To: <514F1A2C.2010804@economy-x-talk.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> Message-ID: <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> On 25/03/2013, at 2:22 AM, Mark Schonewille wrote: > if arrayEncode(array1) is arrayEncode(array2) then > -- do whatever > end if Is there any guarantee that the arrayEncode format is consistent given two arrays with the same keys? We can't be positive the keys will return the keys in the same order as far as I know so it makes me wonder about arrayEncode... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Sun Mar 24 15:55:07 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Mar 2013 20:55:07 +0100 Subject: Nested array comparisons In-Reply-To: <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> Message-ID: <514F5A1B.4020404@economy-x-talk.com> Monte, If you use them in the same line of a script, both arrayEncode function will treat arrays in the same way. The list of keys is not random. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 20:42, Monte Goulding wrote: > > On 25/03/2013, at 2:22 AM, Mark Schonewille wrote: > >> if arrayEncode(array1) is arrayEncode(array2) then >> -- do whatever >> end if > > > Is there any guarantee that the arrayEncode format is consistent given two arrays with the same keys? We can't be positive the keys will return the keys in the same order as far as I know so it makes me wonder about arrayEncode... > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > From monte at sweattechnologies.com Sun Mar 24 16:02:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 07:02:07 +1100 Subject: Nested array comparisons In-Reply-To: <514F5A1B.4020404@economy-x-talk.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> Message-ID: On 25/03/2013, at 6:55 AM, Mark Schonewille wrote: > If you use them in the same line of a script, both arrayEncode function will treat arrays in the same way. The list of keys is not random. Where is this documented? Why does the same line or a different line make a difference? I know the list of keys is not random but there's no guarantee on the order as far as I know and I'd want to do a significant amount of testing before I assume two arrays created under different circumstances might return the keys in the same order. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Sun Mar 24 16:06:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Mar 2013 21:06:37 +0100 Subject: Nested array comparisons In-Reply-To: References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> Message-ID: <514F5CCD.5000600@economy-x-talk.com> Monte, If you really need to know this, then you'll have to investigate this by yourself. You can't doubt me without proving that I'm wrong, but if you prove that I'm wrong then I'll be happy to be corrected and learn something. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 21:02, Monte Goulding wrote: > > On 25/03/2013, at 6:55 AM, Mark Schonewille wrote: > >> If you use them in the same line of a script, both arrayEncode function will treat arrays in the same way. The list of keys is not random. > > Where is this documented? Why does the same line or a different line make a difference? > > I know the list of keys is not random but there's no guarantee on the order as far as I know and I'd want to do a significant amount of testing before I assume two arrays created under different circumstances might return the keys in the same order. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > From dick.kriesel at mail.com Sun Mar 24 16:25:17 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 24 Mar 2013 13:25:17 -0700 Subject: Nested array comparisons In-Reply-To: References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> Message-ID: <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> On Mar 24, 2013, at 1:02 PM, Monte Goulding wrote: > I know the list of keys is not random but there's no guarantee on the order as far as I know and I'd want to do a significant amount of testing before I assume two arrays created under different circumstances might return the keys in the same order. The dictionary entry for arrayEncode says two equal arrays may have different array encodings: "Note: Arrays in LiveCode are un-ordered. This means in particular that encoding two arrays will not necessarily produce the same result, even if the arrays had the same elements. To compare two arrays, simply use the = operator directly on them rather than encoding them first." -- Dick From monte at sweattechnologies.com Sun Mar 24 16:26:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 07:26:07 +1100 Subject: Nested array comparisons In-Reply-To: <514F5CCD.5000600@economy-x-talk.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <514F5CCD.5000600@economy-x-talk.com> Message-ID: <4470448C-E05E-49B3-9F6A-40652288429F@sweattechnologies.com> On 25/03/2013, at 7:06 AM, Mark Schonewille wrote: > If you really need to know this, then you'll have to investigate this by yourself. You can't doubt me without proving that I'm wrong, but if you prove that I'm wrong then I'll be happy to be corrected and learn something. I'm not sure I really need to know this Mark but I'm wondering how you know it which is why I asked where it was documented. FWIW even if it were true I wouldn't recommend someone use a solution like that unless it were documented by RunRev because some optimisation of arrayEncode or arrays in general could break it at any time. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Sun Mar 24 16:26:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Mar 2013 13:26:01 -0700 Subject: Ungroup a nested group Message-ID: Unless I'm missing something, it looks like the ungroup command doesn't work on nested group, i.e. one that is owned by another group. The ungroup command doesn't return an error either. It feels like the only way to do this is to ungroup all the owning groups first but that seems fraught with dangers of losing the group structures. Is there a better way to do it. By Script I mean. Thanks, Pete lcSQL Software From monte at sweattechnologies.com Sun Mar 24 16:27:16 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 07:27:16 +1100 Subject: Nested array comparisons In-Reply-To: <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> Message-ID: On 25/03/2013, at 7:25 AM, Dick Kriesel wrote: > The dictionary entry for arrayEncode says two equal arrays may have different array encodings: > > "Note: Arrays in LiveCode are un-ordered. This means in particular that encoding two arrays will not necessarily produce the same result, even if the arrays had the same elements. To compare two arrays, simply use the = operator directly on them rather than encoding them first." Oh dear... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Sun Mar 24 16:29:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Mar 2013 21:29:37 +0100 Subject: Nested array comparisons In-Reply-To: <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> Message-ID: <514F6231.5050206@economy-x-talk.com> Dick, As you can conclude from "To compare two arrays, simply use the = operator directly on them rather than encoding them first." the documenation, particularly with regard to arrays, is not always correct. Moreover, I would expect that computers return the same value when doing two equal calculations in the same way under equal circumstances. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 21:25, Dick Kriesel wrote: > On Mar 24, 2013, at 1:02 PM, Monte Goulding wrote: > >> I know the list of keys is not random but there's no guarantee on the order as far as I know and I'd want to do a significant amount of testing before I assume two arrays created under different circumstances might return the keys in the same order. > > The dictionary entry for arrayEncode says two equal arrays may have different array encodings: > > "Note: Arrays in LiveCode are un-ordered. This means in particular that encoding two arrays will not necessarily produce the same result, even if the arrays had the same elements. To compare two arrays, simply use the = operator directly on them rather than encoding them first." > > -- Dick From m.schonewille at economy-x-talk.com Sun Mar 24 16:31:12 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Mar 2013 21:31:12 +0100 Subject: Nested array comparisons In-Reply-To: <4470448C-E05E-49B3-9F6A-40652288429F@sweattechnologies.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <514F5CCD.5000600@economy-x-talk.com> <4470448C-E05E-49B3-9F6A-40652288429F@sweattechnologies.com> Message-ID: <514F6290.4040307@economy-x-talk.com> Monte, I just thought it is a nice solution. In the way I used it in my example, I trust it sufficiently to even recommend it to others. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 21:26, Monte Goulding wrote: > > On 25/03/2013, at 7:06 AM, Mark Schonewille wrote: > > > I'm not sure I really need to know this Mark but I'm wondering how you know it which is why I asked where it was documented. FWIW even if it were true I wouldn't recommend someone use a solution like that unless it were documented by RunRev because some optimisation of arrayEncode or arrays in general could break it at any time. > > Cheers > > -- > Monte Goulding From revdev at pdslabs.net Sun Mar 24 16:54:52 2013 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 24 Mar 2013 13:54:52 -0700 Subject: Learning by... Avoiding mistakes In-Reply-To: <514F43E6.4030902@fourthworld.com> References: <3218252343.20130324104731@ahsoftware.net> <514F43E6.4030902@fourthworld.com> Message-ID: <514F681C.6060901@pdslabs.net> Richard, I would love to see a (YouTube?) video of you or Mark or someone doing the planning thing with note cards. I have never done it but it sounds like a good way to go. I too gave up flowcharting years ago for most projects, but sometimes I still run into something that demands that kind of planning. Thanks - Phil On 3/24/13 11:20 AM, Richard Gaskin wrote: > Mark Wieder wrote: >> Richard- >> >> Sunday, March 24, 2013, 10:25:59 AM, you wrote: >> >>> Some of the most productive time I spend in development is with 3x5 >>> cards spread out on the floor, representing function points or UI >>> elements, looking for the flow and patterns between them. To someone >> >> I do the index card thing, sometimes just on pieces of paper, and then >> move the blocks of code around until it starts to take shape. I >> haven't yet found any computer program that beats this process. > > Yeah, it's funny that way, but for all the tech we're dripping with I > get some of the biggest bang for the buck from 3x5 cards and a pad of > graph paper. I've tried many ways to replace those with software, but > nothing has yet matched the freedom to explore. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From richmondmathewson at gmail.com Sun Mar 24 17:17:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Mar 2013 23:17:13 +0200 Subject: Autosave from field? Message-ID: <514F6D59.7060004@gmail.com> Merry LibreOffice allows one to set it so that it autosaves a document at a set time interval in case your computer goes wonky, or LibreOffice crashes. And a jolly good idea that is too (even if they pinched it from Microsoft). Now I would like to have the same sort of feature in my "next thang"; the up-and-coming-and-sweeping-all-office-suits-before-it 'Richmond-Scrubby-Cupboard' (well, round these parts that's what passes for an office) made, needless to say, entirely in Livecode. Obviously, central to my text entry component "Wobbly Word", there will have to be a field, and any autosave feature will have to save and/or export and/or overwrite a rtf and/or html document at regular intervals. Now what I don't understand is how to have a script working away 'in the background' checking the time and autosaving every 2-3 minutes without it interfering with user-initiated scripts in the foreground or the reverse. Richmond. From roger.e.eller at sealedair.com Sun Mar 24 17:54:33 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 24 Mar 2013 17:54:33 -0400 Subject: Autosave from field? In-Reply-To: <514F6D59.7060004@gmail.com> References: <514F6D59.7060004@gmail.com> Message-ID: *In your openStack script:* put "10" into tSaveInterval -- assuming minutes send saveMeCheeses to this stack in (tSaveInterval*60) secs *In your stack script:* on saveMeCheeses -- gather all your text into a variable put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") send saveMeCheeses to me in saveMeCheeses -- this one will keep it repeating end saveMeCheeses ~Roger On Sun, Mar 24, 2013 at 5:17 PM, Richmond wrote: > Merry LibreOffice allows one to set it so that it autosaves a document > at a set time interval in case your computer goes wonky, or LibreOffice > crashes. > > And a jolly good idea that is too (even if they pinched it from Microsoft). > > Now I would like to have the same sort of feature in my "next thang"; the > up-and-coming-and-sweeping-**all-office-suits-before-it > 'Richmond-Scrubby-Cupboard' > (well, round these parts that's what passes for an office) made, > needless to say, entirely in Livecode. > > Obviously, central to my text entry component "Wobbly Word", > there will have to be a field, and any autosave feature will have to save > and/or export > and/or overwrite a rtf and/or html document at regular intervals. > > Now what I don't understand is how to have a script working away 'in the > background' > checking the time and autosaving every 2-3 minutes without it interfering > with > user-initiated scripts in the foreground or the reverse. > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Mar 24 17:56:49 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 24 Mar 2013 17:56:49 -0400 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> Message-ID: OOPS! *In your openStack script:* put "10" into tSaveInterval -- assuming minutes send saveMeCheeses to this stack in (tSaveInterval*60) secs *In your stack script:* on saveMeCheeses -- gather all your text into a variable put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") send saveMeCheeses to me in (tSaveInterval*60) secs -- this one will keep it repeating end saveMeCheeses On Sun, Mar 24, 2013 at 5:54 PM, Roger Eller wrote: > *In your openStack script:* > put "10" into tSaveInterval -- assuming minutes > send saveMeCheeses to this stack in (tSaveInterval*60) secs > > *In your stack script:* > on saveMeCheeses > -- gather all your text into a variable > put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") > send saveMeCheeses to me in saveMeCheeses -- this one will keep it > repeating > end saveMeCheeses > > ~Roger > > > On Sun, Mar 24, 2013 at 5:17 PM, Richmond wrote: > >> Merry LibreOffice allows one to set it so that it autosaves a document >> at a set time interval in case your computer goes wonky, or LibreOffice >> crashes. >> >> And a jolly good idea that is too (even if they pinched it from >> Microsoft). >> >> Now I would like to have the same sort of feature in my "next thang"; the >> up-and-coming-and-sweeping-**all-office-suits-before-it >> 'Richmond-Scrubby-Cupboard' >> (well, round these parts that's what passes for an office) made, >> needless to say, entirely in Livecode. >> >> Obviously, central to my text entry component "Wobbly Word", >> there will have to be a field, and any autosave feature will have to save >> and/or export >> and/or overwrite a rtf and/or html document at regular intervals. >> >> Now what I don't understand is how to have a script working away 'in the >> background' >> checking the time and autosaving every 2-3 minutes without it interfering >> with >> user-initiated scripts in the foreground or the reverse. >> >> Richmond. >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From pete at lcsql.com Sun Mar 24 18:17:40 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Mar 2013 15:17:40 -0700 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> Message-ID: One extra thought. Maybe it would be good for openField to set a custom property of the field to true and have a closefield/exitfield handler to set it to false Then have SaveMeCheeses check the custom property before sending the message to itself. Might prevent some unnecessary saves. Pete lcSQL Software On Sun, Mar 24, 2013 at 2:54 PM, Roger Eller wrote: > *In your openStack script:* > put "10" into tSaveInterval -- assuming minutes > send saveMeCheeses to this stack in (tSaveInterval*60) secs > > *In your stack script:* > on saveMeCheeses > -- gather all your text into a variable > put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") > send saveMeCheeses to me in saveMeCheeses -- this one will keep it > repeating > end saveMeCheeses > > ~Roger > > > On Sun, Mar 24, 2013 at 5:17 PM, Richmond >wrote: > > > Merry LibreOffice allows one to set it so that it autosaves a document > > at a set time interval in case your computer goes wonky, or LibreOffice > > crashes. > > > > And a jolly good idea that is too (even if they pinched it from > Microsoft). > > > > Now I would like to have the same sort of feature in my "next thang"; the > > up-and-coming-and-sweeping-**all-office-suits-before-it > > 'Richmond-Scrubby-Cupboard' > > (well, round these parts that's what passes for an office) made, > > needless to say, entirely in Livecode. > > > > Obviously, central to my text entry component "Wobbly Word", > > there will have to be a field, and any autosave feature will have to save > > and/or export > > and/or overwrite a rtf and/or html document at regular intervals. > > > > Now what I don't understand is how to have a script working away 'in the > > background' > > checking the time and autosaving every 2-3 minutes without it interfering > > with > > user-initiated scripts in the foreground or the reverse. > > > > Richmond. > > > > ______________________________**_________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sun Mar 24 18:41:08 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sun, 24 Mar 2013 15:41:08 -0700 Subject: Nested array comparisons In-Reply-To: <514F6231.5050206@economy-x-talk.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> <514F6231.5050206@economy-x-talk.com> Message-ID: <424D2DFF-6795-41E1-B1D8-3ADCD41F7B67@mail.com> On Mar 24, 2013, at 1:29 PM, Mark Schonewille wrote: > As you can conclude from > > "To compare two arrays, simply use the = operator directly on them rather than encoding them first." > > the documenation, particularly with regard to arrays, is not always correct. Hi, Mark. Of course documentation isn't always correct, but I don't see how to conclude that from that sentence. In my experience, that sentence has been correct. What's incorrect about it? > > Moreover, I would expect that computers return the same value when doing two equal calculations in the same way under equal circumstances. ArrayEncode encodes not only the keys and values we can see in the array but also the hash keys we cannot see. The invisible hash keys depend in part on the sequence in which the keys were added to the array, so they may be different for two equal arrays, so the encodings may be different too. At least, that's what I remember reading somewhere. Sorry, I don't remember where. -- Dick From pete at lcsql.com Sun Mar 24 18:47:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Mar 2013 15:47:24 -0700 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: What seems to work in a script is to start editing each owning group until you reach the one containing the group to be ungrouped, ungroup it, then stop editing its owning group. I'm nervous though. I've found that the world of editbackground mode is a weird and wonderful place. No matter how many cards are in the stack being edited, the cardIDs returns only the card that is being edited. And the number of controls on the card is the number in the group being edited not the number on the card. And the long id of any control in the group before you entered this strange place isn't valid because it's not a member of the group at that point. Pete lcSQL Software On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth wrote: > Unless I'm missing something, it looks like the ungroup command doesn't > work on nested group, i.e. one that is owned by another group. The ungroup > command doesn't return an error either. > > It feels like the only way to do this is to ungroup all the owning groups > first but that seems fraught with dangers of losing the group structures. > Is there a better way to do it. By Script I mean. > > Thanks, > > Pete > lcSQL Software > From ambassador at fourthworld.com Sun Mar 24 19:01:43 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Mar 2013 16:01:43 -0700 Subject: Nested array comparisons In-Reply-To: <424D2DFF-6795-41E1-B1D8-3ADCD41F7B67@mail.com> References: <424D2DFF-6795-41E1-B1D8-3ADCD41F7B67@mail.com> Message-ID: <514F85D7.1070801@fourthworld.com> Dick Kriesel wrote: > ArrayEncode encodes not only the keys and values we can see in the > array but also the hash keys we cannot see. The invisible hash keys > depend in part on the sequence in which the keys were added to the > array, so they may be different for two equal arrays, so the > encodings may be different too. I'm waaaay overdue to finish the article for LiveCode Journal documenting the format arrayEncode outputs, and I hope to get to that very soon, but in the meantime I can say that the hash info is not part of that format. What comes out of arrayEncode is kinda what you'd get if you walked through all of the array keys one by one and wrote out the key-value pairs with delimiters and length specifiers. There are a few other details (like an op code for data type, allowing numbers to be stored in binary format and so that nested arrays can be flagged as such for recursive parsing), but the hash that gives them their magic in memory is not included. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From m.schonewille at economy-x-talk.com Sun Mar 24 19:51:12 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Mar 2013 00:51:12 +0100 Subject: Nested array comparisons In-Reply-To: <424D2DFF-6795-41E1-B1D8-3ADCD41F7B67@mail.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <0016B1FB-9E38-4158-838F-E4D2BBF727AD@mail.com> <514F6231.5050206@economy-x-talk.com> <424D2DFF-6795-41E1-B1D8-3ADCD41F7B67@mail.com> Message-ID: <514F9170.6020207@economy-x-talk.com> Hi Dick, At the start of this thread, it was observed that comparison of arrays as suggested by the documentation may detect false positives. Keys of arrays are sorted when they are used by a function or a get or put command. The sort is not random, as I stated before. Therefore, the arrays must be equal. I don?t know if the hash is created before or after the sort, so I can?t comment on that. We?ll be able read the source code soon and then we all can know this kind of things. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/24/2013 23:41, Dick Kriesel wrote: > > On Mar 24, 2013, at 1:29 PM, Mark Schonewille wrote: > >> As you can conclude from >> >> "To compare two arrays, simply use the = operator directly on them rather than encoding them first." >> >> the documenation, particularly with regard to arrays, is not always correct. > > Hi, Mark. > > Of course documentation isn't always correct, but I don't see how to conclude that from that sentence. In my experience, that sentence has been correct. What's incorrect about it? > >> >> Moreover, I would expect that computers return the same value when doing two equal calculations in the same way under equal circumstances. > > ArrayEncode encodes not only the keys and values we can see in the array but also the hash keys we cannot see. The invisible hash keys depend in part on the sequence in which the keys were added to the array, so they may be different for two equal arrays, so the encodings may be different too. > > At least, that's what I remember reading somewhere. Sorry, I don't remember where. > > -- Dick From alex at tweedly.net Sun Mar 24 19:53:45 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 24 Mar 2013 23:53:45 +0000 Subject: Nested array comparisons In-Reply-To: <514F5CCD.5000600@economy-x-talk.com> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <514F5CCD.5000600@economy-x-talk.com> Message-ID: <514F9209.4000109@tweedly.net> OK, let's just test it - focusing on the likelihood that key order matters Code: > on mouseup > local T1, T2 > local tK, j > > constant K = 10 > repeat with i = 1 to K > put random(i) into t1[i] > end repeat > > put the keys of T1 into tK > repeat with i = K down to 1 > put line i of tK into j > put T1[j] into T2[j] > end repeat > > put "array" && (T1 = T2) & CR & "code" && (arrayencode(t1) is > arrayencode(t2)) \ > &CR & arrayencode(t1) &CR&CR & arrayencode(t2) > end mouseup Result: > array true > code false >  From alex at tweedly.net Sun Mar 24 19:57:33 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 24 Mar 2013 23:57:33 +0000 Subject: Nested array comparisons In-Reply-To: <514F9209.4000109@tweedly.net> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <514F5CCD.5000600@economy-x-talk.com> <514F9209.4000109@tweedly.net> Message-ID: <514F92ED.2000709@tweedly.net> Sorry - the copy/paste of the result included some binary characters, so the email was incomplete .... try it yourself if you want to see the details - but the bottom line is that the arrays have the same keys and contents, comparing the arrays gets that right, and comparing the arrayencode() of the arrays says (wrongly) that they differ. QED - you can't compare the arrayencoding, even in some simple cases. -- Alex. On 24/03/2013 23:53, Alex Tweedly wrote: > OK, let's just test it - focusing on the likelihood that key order > matters > > Code: >> on mouseup >> local T1, T2 >> local tK, j >> >> constant K = 10 >> repeat with i = 1 to K >> put random(i) into t1[i] >> end repeat >> >> put the keys of T1 into tK >> repeat with i = K down to 1 >> put line i of tK into j >> put T1[j] into T2[j] >> end repeat >> >> put "array" && (T1 = T2) & CR & "code" && (arrayencode(t1) is >> arrayencode(t2)) \ >> &CR & arrayencode(t1) &CR&CR & arrayencode(t2) >> end mouseup > Result: >> array true >> code false >>  > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Mar 24 20:17:04 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 25 Mar 2013 01:17:04 +0100 Subject: Nested array comparisons In-Reply-To: <514F92ED.2000709@tweedly.net> References: <1C229107-0C2F-4DAF-A688-28B9487EE2EA@rotundasoftware.com> <514F1A2C.2010804@economy-x-talk.com> <044220E6-7EDC-4C6F-BA68-30285D0133FC@sweattechnologies.com> <514F5A1B.4020404@economy-x-talk.com> <514F5CCD.5000600@economy-x-talk.com> <514F9209.4000109@tweedly.net> <514F92ED.2000709@tweedly.net> Message-ID: <50234FA4-B15F-4C1C-8D4A-AB41DC1D9D31@economy-x-talk.com> Ok thanks for testimg. That's very useful to know. I must say I'm curious to find out more about the peculiarities of arrays now. -- 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 25 mrt. 2013 om 00:57 heeft Alex Tweedly het volgende geschreven: > Sorry - the copy/paste of the result included some binary characters, so the email was incomplete .... > > try it yourself if you want to see the details - but the bottom line is that the arrays have the same keys and contents, comparing the arrays gets that right, and comparing the arrayencode() of the arrays says (wrongly) that they differ. > > QED - you can't compare the arrayencoding, even in some simple cases. > > -- Alex. > > > On 24/03/2013 23:53, Alex Tweedly wrote: >> OK, let's just test it - focusing on the likelihood that key order matters >> >> Code: >>> on mouseup >>> local T1, T2 >>> local tK, j >>> >>> constant K = 10 >>> repeat with i = 1 to K >>> put random(i) into t1[i] >>> end repeat >>> >>> put the keys of T1 into tK >>> repeat with i = K down to 1 >>> put line i of tK into j >>> put T1[j] into T2[j] >>> end repeat >>> >>> put "array" && (T1 = T2) & CR & "code" && (arrayencode(t1) is arrayencode(t2)) \ >>> &CR & arrayencode(t1) &CR&CR & arrayencode(t2) >>> end mouseup >> Result: >>> array true >>> code false >>>  >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Mar 24 21:58:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 12:58:23 +1100 Subject: mApp resolution and aspect ratio independence framework teaser Message-ID: <9BAE3B85-E878-4979-862B-81DF2E915320@sweattechnologies.com> Hi LiveCoders With Apple's recent announcement about app acceptance and device support I thought it would be a good to leak some info about mApp the open source mobile application framework I've been working on. So I've released this teaser. https://www.youtube.com/watch?v=DMzvnesfwi8 The teaser doesn't go into detail about how it does what it does. If RunRev want me to I'll probably cover that at the conference which is about the time I would like to release it by. In simple terms the resolution independence part is an extension of what Chipp came up with. The layout part is as far as I know a unique take on layout management (at least in LiveCode) allowing you to specify different layout rules depending on things like orientation or the width of the screen/the pixel density. The end result is something getting close to responsive web development. It's not entirely limited to desktop either. The two apps I'm using this on at the moment will be desktop too where the desktop version will allow the user to resize. The original goal of the project was to make things simpler for Android deployment so while the teaser only shows iOS simulators it works the same on android. And yes, that's two datagrids in the demo app... it scales the row template too.... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at elementarysoftware.com Sun Mar 24 22:22:20 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 24 Mar 2013 19:22:20 -0700 Subject: iOS scroller performance In-Reply-To: <514E7AC8.6080809@hyperactivesw.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> Message-ID: I'm only noticing the jitters when the scrolling field is in a set of nested groups. (And when I've exceeded the coffee limit.) -- Scott Morrow Elementary Software On Mar 23, 2013, at 9:02 PM, J. Landman Gay wrote: > On 3/23/13 7:50 PM, Monte Goulding wrote: >> >> On 24/03/2013, at 9:10 AM, "J. Landman Gay" >> wrote: >> >>>> Even scrolling a field is noticeably jittery compared to the same >>>> content in a webview. >>> >>> With or without a native scroller? >> >> With a native scroller or touch messages... It is not possible to >> make scrolling smooth like native scrolling views. > > I've been out of the mobile loop for a while, but my last iOS app scrolled smoothly when I set up acceleratedRendering and assigned the layermode of the field to "scrolling". I had a native scroller over it, but Colin may be right that it doesn't matter. > > -- > 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 gerry.orkin at gmail.com Sun Mar 24 22:28:31 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 25 Mar 2013 13:28:31 +1100 Subject: Retina and 4" for all iOS app In-Reply-To: References: Message-ID: <398A6B3A-DDD5-436D-AAF9-8024E6C33A41@gmail.com> Speaking of developing for iPhone 5/Retina, is there a way to ensure that *only* Retina devices can run your app? Gerry From monte at sweattechnologies.com Sun Mar 24 22:28:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 13:28:51 +1100 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> Message-ID: <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> On 25/03/2013, at 1:22 PM, Scott Morrow wrote: > I'm only noticing the jitters when the scrolling field is in a set of nested groups. (And when I've exceeded the coffee limit.) OK, I'll look into that when I get a chance because my scrolling fields are in a group... it's a custom control that creates the scroller etc. I could probably get away without the group on that one but not on anything more complicated. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gerry.orkin at gmail.com Sun Mar 24 22:32:54 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 25 Mar 2013 13:32:54 +1100 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> Message-ID: My iOS scrolling data grids jitter all the time and I've never drunk a cup of coffee in my life :) Gerry On 25/03/2013, at 1:22 PM, Scott Morrow wrote: > I'm only noticing the jitters when the scrolling field is in a set of nested groups. (And when I've exceeded the coffee limit.) From monte at sweattechnologies.com Sun Mar 24 22:37:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 13:37:07 +1100 Subject: iOS scroller performance In-Reply-To: <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> Message-ID: <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> On 25/03/2013, at 1:28 PM, Monte Goulding wrote: > I could probably get away without the group on that one Ah... no I can't. No preOpenContol handler if it's not a group... All righty then. I'm wondering if I'm assuming something wrong about the layermode. I'm assuming that only the control that is actually being scrolled should have it's layermode set to scrolling. If that object is inside a group should the group be set to something other than static? Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From charles at techstrategies.com.au Sun Mar 24 23:12:32 2013 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 25 Mar 2013 13:12:32 +1000 Subject: iOS scroller performance In-Reply-To: <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> Message-ID: > All righty then. I'm wondering if I'm assuming something wrong about > the layermode. I'm assuming that only the control that is actually > being scrolled should have it's layermode set to scrolling. If that > object is inside a group should the group be set to something other > than static? I have tested with scrolling a group that has other groups inside it. No matter which combination of layermode settings I apply to the groups, it still is not smooth. I don't have problems with all scrollers though. The issues are mostly noticeable when there are more objects (or the objects are more complex) inside the group that is being scrolled. As you have mentioned before, the native scroller just sends the scrollerDidScroll message, and then in LiveCode you control the setting of the hScroll/vScroll parameters of the object being scrolled accordingly - or any other code you use to move the objects. The smoothness of the scroll will depend on how efficiently LiveCode handles this code - which is very different to the native scrolling mechanisms of iOS itself. Regards, Charles > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Mar 24 23:40:04 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 24 Mar 2013 23:40:04 -0400 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> Message-ID: I suspect that iOS tweens scrolling. It doesn't get scroll changes any more often than LiveCode, but it tweens the values rather than jumping to the newly reported value. That can give the illusion that it is getting more events, or handling them quicker. Try this as a button script: on mouseUp scrollto 1,random(1000) end mouseUp and have one field on the card, with no scrollbars showing, but lots of text in it. Put this script into the card: local scrollcount,scrolldiff,scrollingfield,currentscroll,finalscroll on scrollto pFld,pScroll put pScroll into finalscroll put pFld into scrollingfield put the scroll of field pFld into currentscroll put (pScroll-currentscroll)/10 into scrolldiff put 10 into scrollcount scrollsome end scrollto on scrollsome subtract 1 from scrollcount if scrollcount < 1 then set the scroll of field scrollingfield to finalscroll exit scrollsome end if add scrolldiff to currentscroll set the scroll of field scrollingfield to round(currentscroll) send "scrollsome" to me in 1 ticks end scrollsome It randomly scrolls the field, pretty smoothly. So, don't scroll to the new value, just update a variable and then scroll towards that value 60 times per second. From scott at tactilemedia.com Sun Mar 24 23:42:39 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 24 Mar 2013 20:42:39 -0700 Subject: iOS scroller performance In-Reply-To: Message-ID: If you have nested groups, the layerMode needs to be set to scrolling for the topmost (outermost) group, and the group that actually scrolls cannot be nested inside another group. With this set up, you should get good performance. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/24/13 8:12 PM, "Charles Warwick" wrote: >> All righty then. I'm wondering if I'm assuming something wrong about >> the layermode. I'm assuming that only the control that is actually >> being scrolled should have it's layermode set to scrolling. If that >> object is inside a group should the group be set to something other >> than static? > >I have tested with scrolling a group that has other groups inside it. >No matter which combination of layermode settings I apply to the groups, >it still is not smooth. I don't have problems with all scrollers >though. The issues are mostly noticeable when there are more objects >(or the objects are more complex) inside the group that is being >scrolled. > >As you have mentioned before, the native scroller just sends the >scrollerDidScroll message, and then in LiveCode you control the setting >of the hScroll/vScroll parameters of the object being scrolled >accordingly - or any other code you use to move the objects. The >smoothness of the scroll will depend on how efficiently LiveCode handles >this code - which is very different to the native scrolling mechanisms >of iOS itself. > >Regards, > >Charles > >> Cheers >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sun Mar 24 23:49:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 14:49:01 +1100 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> Message-ID: <453501DB-2994-457F-9BA7-01E3B3BAF74D@sweattechnologies.com> On 25/03/2013, at 2:40 PM, Colin Holgate wrote: > So, don't scroll to the new value, just update a variable and then scroll towards that value 60 times per second. That's a different approach to what I tried and it might be worth trying. It forces the scroll updates to be at regular intervals which I think would make it appear more smooth... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Mar 25 00:36:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 15:36:25 +1100 Subject: iOS scroller performance In-Reply-To: References: Message-ID: <916CCD09-43F3-4B8A-979F-116DFA7FDC22@sweattechnologies.com> On 25/03/2013, at 2:42 PM, Scott Rossi wrote: > If you have nested groups, the layerMode needs to be set to scrolling for > the topmost (outermost) group, and the group that actually scrolls cannot > be nested inside another group. With this set up, you should get good > performance. Wait... so you can only set the scroll of a group that is directly on the card then? That makes it quite difficult to use... Where did you learn that the scrolling group can't be inside another group? I've just confirmed it using the effective layermode but I can't see it documented... I think this means for scrolling fields in a custom control you need to set their height to the formatted height and then just scroll the group. I think I can workaround this for datagrids in mergDataGridScroller too... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From charles at techstrategies.com.au Mon Mar 25 00:32:11 2013 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 25 Mar 2013 14:32:11 +1000 Subject: iOS scroller performance In-Reply-To: References: <28205832-7184-47E6-8B43-C0080758694E@sahores-conseil.com> <7A8FFF91-5A40-4A15-A85F-66F9BB091CEA@sweattechnologies.com> <514E2855.6060909@hyperactivesw.com> <514E7AC8.6080809@hyperactivesw.com> <36AEC83A-4513-4D9E-866D-336DDAE87B00@sweattechnologies.com> <33435DCC-4BAE-41D1-87FA-299AA3E51568@sweattechnologies.com> Message-ID: <2dcb361700daedf55041854f378c9316@techstrategies.com.au> > I suspect that iOS tweens scrolling. It doesn't get scroll changes > any more often than LiveCode, but it tweens the values rather than > jumping to the newly reported value. That can give the illusion that > it is getting more events, or handling them quicker. iOS has a "scrollViewDidScroll" message which maps to the LiveCode message, but as far as I understand it, iOS does not use this to perform the actual moving of content (it is made available to notify the app of the scrolling that is taking place). Rather, the iOS implementation puts the content to be scrolled in sub-views that can be buffered and scrolled smoothly. LiveCode's implementation of the iOS scroller doesn't use these sub-views (everything is on one view), so can only work off the messages being triggered. My understanding is that iOS doesn't guarantee to trigger these messages at every point change, so that is why we don't get the smooth movement. I coded a quick iOS external that allows you to call the setContentOffset iOS method of the iOS scroller that is created by LiveCode. This method allows you to animate the scrolling to a particular offset, but by using the native iOS commands. While it did trigger a series of scroll messages and the LiveCode group scrolled, the animation was not 100% smooth for the same reason as above. > Try this as a button script: I did try a similar script but was stuck with either making the scroll too slow, or making it appear jerky. I am going to have another go at it though.... From scott at elementarysoftware.com Mon Mar 25 00:42:34 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 24 Mar 2013 21:42:34 -0700 Subject: iOS scroller performance In-Reply-To: References: Message-ID: On Mar 24, 2013, at 8:42 PM, Scott Rossi wrote: > If you have nested groups, the layerMode needs to be set to scrolling for > the topmost (outermost) group, and the group that actually scrolls cannot > be nested inside another group. With this set up, you should get good > performance. Yeah, what Scot said. On Mar 24, 2013, at 9:36 PM, Monte Goulding wrote: > I think this means for scrolling fields in a custom control you need to set their height to the formatted height and then just scroll the group. That's what seems to work for me. -- Scott Morrow From jacque at hyperactivesw.com Mon Mar 25 00:48:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Mar 2013 23:48:16 -0500 Subject: iOS scroller performance In-Reply-To: <916CCD09-43F3-4B8A-979F-116DFA7FDC22@sweattechnologies.com> References: <916CCD09-43F3-4B8A-979F-116DFA7FDC22@sweattechnologies.com> Message-ID: <514FD710.8030703@hyperactivesw.com> On 3/24/13 11:36 PM, Monte Goulding wrote: > Wait... so you can only set the scroll of a group that is directly on > the card then? That makes it quite difficult to use... I think it can be anywhere, not just the card. The trick is, the layermode must be set on the topmost object; if it's a group, then set it on the group itself, not the contents of the group. > > Where did you learn that the scrolling group can't be inside another > group? I've just confirmed it using the effective layermode but I > can't see it documented... I'm not sure where it is now, but it was mentioned in the release notes. > > I think this means for scrolling fields in a custom control you need > to set their height to the formatted height and then just scroll the > group. I'm not sure how it would work in that case. If you have more than one scroller in the group it could get tricky, and I think you're right that's where the jerkiness comes in. My fields haven't been in groups, so that's why I didn't see it. The dictionary has a good explanation of how layermode works, maybe that will help you figure out what to do. It doesn't specifically address the kind of grouping you need to do though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Mar 25 00:49:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 24 Mar 2013 21:49:25 -0700 Subject: iOS scroller performance In-Reply-To: <916CCD09-43F3-4B8A-979F-116DFA7FDC22@sweattechnologies.com> Message-ID: On 3/24/13 9:36 PM, "Monte Goulding" wrote: > >On 25/03/2013, at 2:42 PM, Scott Rossi wrote: > >> If you have nested groups, the layerMode needs to be set to scrolling >>for >> the topmost (outermost) group, and the group that actually scrolls >>cannot >> be nested inside another group. With this set up, you should get good >> performance. > >Wait... so you can only set the scroll of a group that is directly on the >card then? That makes it quite difficult to use... Yup. >Where did you learn that the scrolling group can't be inside another >group? I've just confirmed it using the effective layermode but I can't >see it documented... This used to be in the iOS release notes, early on. Doesn't appear to be in the 5.5.4 notes. >I think this means for scrolling fields in a custom control you need to >set their height to the formatted height and then just scroll the group. >I think I can workaround this for datagrids in mergDataGridScroller too... Whatever you're changing the scroll of needs to be the outermost group or a top-level control. I believe the way the scroller works is a group's contents are essentially turned into an image, and that image is scrolled within the clipped region of the group. You'll notice if you try to modify the contents of the group while it is scrolling, you'll either get crappy performance, or it flat out won't work. This makes it impossible to use native scrolling for things such as carousels whose contents change while scrolling occurs. Of course, I'd be quite happy to hear if someone knows otherwise. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From runrevplanet at smpcs.server101.com Mon Mar 25 01:09:34 2013 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 25 Mar 2013 16:09:34 +1100 Subject: [ANN] LiveCode Super Site In-Reply-To: References: Message-ID: <514FDC0E.8050705@smpcs.server101.com> Hi, A new website dedicated to LiveCode has been launched, the LiveCode Super Site. http://livecodesupersite.com/ Right now there is a collection of links to current topics about LiveCode. Find links to the latest Use-Livecode mailing list posts, Software Overflow questions, and a generous sampling of the official LiveCode Forums all in one place. These links are updated hourly too! With a name like "Super Site" my ambitions are greater than just a bunch of feeds, but this is a good way to start. Why not just use a RSS Reader you ask? Well I could, but this way all the latest LiveCode topics are in one convenient place, for everyone. -- Scott McDonald RunRevPlanet "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From monte at sweattechnologies.com Mon Mar 25 02:35:56 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 17:35:56 +1100 Subject: iOS scroller performance In-Reply-To: References: Message-ID: <673E7CFF-E794-44EE-9FEB-346ABF5C1CAD@sweattechnologies.com> On 25/03/2013, at 3:49 PM, Scott Rossi wrote: > This used to be in the iOS release notes, early on. Doesn't appear to be > in the 5.5.4 notes. Ah... I guess this is a docs bug then. I've just changed my implementation of my mobile scrolling field control and it looks very nice. For that control I had assumed that layerModes weren't necessary because the scrolling layermode only applies to groups. I needed to jump through a few hoops to get a bounce action but it works and looks smooth. I'll see if I can get the same performance from mergDataGridScroller. Thanks for pointing this out Scott! -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Mon Mar 25 03:26:19 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Mar 2013 00:26:19 -0700 Subject: [ANN] LiveCode Super Site In-Reply-To: <514FDC0E.8050705@smpcs.server101.com> Message-ID: Nice presentation Scott. One option you might consider is opening links in a separate tab/window so visitors aren't totally removed from the site. Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/24/13 10:09 PM, "RunRevPlanet" wrote: >Hi, > >A new website dedicated to LiveCode has been launched, the LiveCode >Super Site. > >http://livecodesupersite.com/ > >Right now there is a collection of links to current topics about >LiveCode. Find links to the latest Use-Livecode mailing list posts, >Software Overflow questions, and a generous sampling of the official >LiveCode Forums all in one place. These links are updated hourly too! > >With a name like "Super Site" my ambitions are greater than just a bunch >of feeds, but this is a good way to start. > >Why not just use a RSS Reader you ask? Well I could, but this way all >the latest LiveCode topics are in one convenient place, for everyone. > >-- >Scott McDonald > >RunRevPlanet >"Components, Controls, Tools and Resources for LiveCode" >www.runrevplanet.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From runrevplanet at smpcs.server101.com Mon Mar 25 05:41:56 2013 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 25 Mar 2013 20:41:56 +1100 Subject: [ANN] LiveCode Super Site In-Reply-To: References: Message-ID: <51501BE4.4020402@smpcs.server101.com> Hi Scott, >One option you might consider is opening links in a separate >tab/window so visitors aren't totally removed from the site. Good idea, I will make that improvement. Regards, -- Scott McDonald RunRevPlanet "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From monte at sweattechnologies.com Mon Mar 25 07:12:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 25 Mar 2013 22:12:46 +1100 Subject: iOS scroller performance In-Reply-To: <673E7CFF-E794-44EE-9FEB-346ABF5C1CAD@sweattechnologies.com> References: <673E7CFF-E794-44EE-9FEB-346ABF5C1CAD@sweattechnologies.com> Message-ID: <008746B2-5983-4953-84BB-2A79C65C5C30@sweattechnologies.com> On 25/03/2013, at 5:35 PM, Monte Goulding wrote: > I'll see if I can get the same performance from mergDataGridScroller. OK, time to eat my words on scrolling performance. I'm not super happy that I'll need to do some significant design changes to deal with the fact that you can't scroll a nested group but now that I understand that limitation I've got mergDataGridScroller working smoothly. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Mon Mar 25 09:47:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Mar 2013 06:47:12 -0700 Subject: Nested array comparisons In-Reply-To: <514F92ED.2000709@tweedly.net> References: <514F92ED.2000709@tweedly.net> Message-ID: <51505560.4030709@fourthworld.com> Alex Tweedly wrote: > try it yourself if you want to see the details - but the bottom line is > that the arrays have the same keys and contents, comparing the arrays > gets that right, and comparing the arrayencode() of the arrays says > (wrongly) that they differ. > > QED - you can't compare the arrayencoding, even in some simple cases. > > -- Alex. > > On 24/03/2013 23:53, Alex Tweedly wrote: >> OK, let's just test it - focusing on the likelihood that key order >> matters >> >> Code: >>> on mouseup >>> local T1, T2 >>> local tK, j >>> >>> constant K = 10 >>> repeat with i = 1 to K >>> put random(i) into t1[i] >>> end repeat >>> >>> put the keys of T1 into tK >>> repeat with i = K down to 1 >>> put line i of tK into j >>> put T1[j] into T2[j] >>> end repeat >>> >>> put "array" && (T1 = T2) & CR & "code" && (arrayencode(t1) is >>> arrayencode(t2)) \ >>> &CR & arrayencode(t1) &CR&CR & arrayencode(t2) >>> end mouseup >> Result: >>> array true >>> code false Interestingly, if you alter the code to use alphabetic keys rather than numeric, the two encoded arrays always match. This fits with what I saw when I started working with Mark Waddingham's arrayEncode parser he sent for my upcoming LiveCode Journal article, in which most keys were ordered alphabetically. Since numbers are stored in binary form in encoded arrays, it may be that no sorting is done for the output as appears to be the case with string keys. Either way, certainly much faster to just use "=" on the arrays directly. As we see with getting/setting nested arrays in custom props, arrayEncode's need to iterate through every element makes it computationally expensive for some tasks. PS: Alex, I appreciate the code you post on this list, but why do you always post code with each line preceded by ">"? Makes it more difficult to strip out the ">" to run the code. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From gcanyon at gmail.com Mon Mar 25 10:53:20 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 25 Mar 2013 09:53:20 -0500 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: What are you trying to accomplish? I've always used layers to move things into and out of groups. gc On Sun, Mar 24, 2013 at 5:47 PM, Peter Haworth wrote: > What seems to work in a script is to start editing each owning group until > you reach the one containing the group to be ungrouped, ungroup it, then > stop editing its owning group. > > I'm nervous though. I've found that the world of editbackground mode is a > weird and wonderful place. No matter how many cards are in the stack being > edited, the cardIDs returns only the card that is being edited. And the > number of controls on the card is the number in the group being edited not > the number on the card. And the long id of any control in the group before > you entered this strange place isn't valid because it's not a member of the > group at that point. > > Pete > lcSQL Software > > > On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth wrote: > > > Unless I'm missing something, it looks like the ungroup command doesn't > > work on nested group, i.e. one that is owned by another group. The > ungroup > > command doesn't return an error either. > > > > It feels like the only way to do this is to ungroup all the owning groups > > first but that seems fraught with dangers of losing the group structures. > > Is there a better way to do it. By Script I mean. > > > > Thanks, > > > > Pete > > lcSQL Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dan at clearvisiontech.com Mon Mar 25 11:19:29 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 25 Mar 2013 08:19:29 -0700 Subject: Push Messaging In-Reply-To: References: Message-ID: <7E00A613-4AB9-4B5B-955E-9C974B40D03D@clearvisiontech.com> Greetings, Does anyone know how to get Push Messaging working on iOS and Android? Not the LiveCode scrips, that's easy. I need help with the process of creating and managing the pem files, cer files, p12, private keys, certificates, and how all that works with the provisioning profiles and app releases. I would try to explain where I am at in the process, but I have tried this so many time, and have so many files lying around, that I am now so confused I am not sure where my problem is! If you know this this stuff, and have a GOOD understanding of it, please let me know. If need be, I would gladly pay you for your time to help me get this sorted out and working properly. With three hairs left in my head, -Dan From kray at sonsothunder.com Mon Mar 25 11:35:31 2013 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 25 Mar 2013 10:35:31 -0500 Subject: mApp resolution and aspect ratio independence framework teaser In-Reply-To: <9BAE3B85-E878-4979-862B-81DF2E915320@sweattechnologies.com> References: <9BAE3B85-E878-4979-862B-81DF2E915320@sweattechnologies.com> Message-ID: <4B8476C9-4872-4E48-82FB-143ED05F498A@sonsothunder.com> On Mar 24, 2013, at 8:58 PM, Monte Goulding wrote: > Hi LiveCoders > > With Apple's recent announcement about app acceptance and device support I thought it would be a good to leak some info about mApp the open source mobile application framework I've been working on. So I've released this teaser. > > https://www.youtube.com/watch?v=DMzvnesfwi8 > > The teaser doesn't go into detail about how it does what it does. If RunRev want me to I'll probably cover that at the conference which is about the time I would like to release it by. In simple terms the resolution independence part is an extension of what Chipp came up with. The layout part is as far as I know a unique take on layout management (at least in LiveCode) allowing you to specify different layout rules depending on things like orientation or the width of the screen/the pixel density. The end result is something getting close to responsive web development. > > It's not entirely limited to desktop either. The two apps I'm using this on at the moment will be desktop too where the desktop version will allow the user to resize. > > The original goal of the project was to make things simpler for Android deployment so while the teaser only shows iOS simulators it works the same on android. > > And yes, that's two datagrids in the demo app... it scales the row template too?. Very cool, Monte! Looking forward to the framework when it's released... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at lcsql.com Mon Mar 25 12:21:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Mar 2013 09:21:37 -0700 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: Hi Geoff, In my lcSTackBrowser utility I want to provide the ability to delete a nested group. Someone just sent me a solution using relayergroupedcontrols which feels much safer than the method I mentioned. Pete lcSQL Software On Mon, Mar 25, 2013 at 7:53 AM, Geoff Canyon wrote: > What are you trying to accomplish? I've always used layers to move things > into and out of groups. > > gc > > > On Sun, Mar 24, 2013 at 5:47 PM, Peter Haworth wrote: > > > What seems to work in a script is to start editing each owning group > until > > you reach the one containing the group to be ungrouped, ungroup it, then > > stop editing its owning group. > > > > I'm nervous though. I've found that the world of editbackground mode is > a > > weird and wonderful place. No matter how many cards are in the stack > being > > edited, the cardIDs returns only the card that is being edited. And the > > number of controls on the card is the number in the group being edited > not > > the number on the card. And the long id of any control in the group > before > > you entered this strange place isn't valid because it's not a member of > the > > group at that point. > > > > Pete > > lcSQL Software > > > > > > On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth wrote: > > > > > Unless I'm missing something, it looks like the ungroup command doesn't > > > work on nested group, i.e. one that is owned by another group. The > > ungroup > > > command doesn't return an error either. > > > > > > It feels like the only way to do this is to ungroup all the owning > groups > > > first but that seems fraught with dangers of losing the group > structures. > > > Is there a better way to do it. By Script I mean. > > > > > > Thanks, > > > > > > Pete > > > lcSQL Software > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Mon Mar 25 12:43:05 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 25 Mar 2013 16:43:05 -0000 Subject: Hi-Res imaging in LiveCode In-Reply-To: Message-ID: Seems I was wrong, even using jpegs. Bugger. So... If anyone DOES know how to, do please tell. Hugh Senior FLCo > -----Original Message----- > From: FlexibleLearning.com [mailto:admin at FlexibleLearning.com] > Sent: 19 March 2013 17:38 > To: use-livecode at lists.runrev.com > Subject: Hi-Res imaging in LiveCode > > > I have found that printing an image at high resolution is not > straightforward in LiveCode. 'Squishing' a large version down to > say 50% dimensions ought to increase the pixel density, but > although the kb size is large the pixel denisty stays at 72dpi. > Something to do with how the engine renders images, I believe. > > However... > > If I do not import (copy and paste) and resize but 'set the > fileName' and resize instead, the printed output does indeed seem > to improve by the magnitude of squished-ness. > > If you already know, please move on, but I am quite chuffed to > have discovered this for a current large-poster display project > that is being ouput from LC to pdf. > > Hugh Senior > FLCo From zellner at tamu.edu Mon Mar 25 13:04:26 2013 From: zellner at tamu.edu (Ronald Zellner) Date: Mon, 25 Mar 2013 12:04:26 -0500 Subject: Learning by... Avoiding mistakes (Richard Gaskin) Message-ID: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> Starting in the 70s I often had students (psychology & educational psychology courses) map out the course content using 3x5 cards and newsprint as a way of fully understanding the concepts and interrelationships. I continued that technique in educational technology areas but gravitated to Mind-mapping software (content/concept mapping). In education we were partial to one named "Inspiration". While not as complex as the programming development described here, tasks like conceptualizing a tutorial, storyboarding a video, or planning a website seem to benefit from the ability to lay out the components and easily adjust the "nodes", their locations, and the connections among them. It also helps planning/communicating in group projects where participants are at different locations. Going full circle, I developed a Revolution app that lets the student interact with embedded instructional videos and "take notes" by constructing a concept map of the video content. The nodes are created at any point in the video and are displayed as a thumbnail of the current video content. The student then names & defines that node, arranges the set, and creates different types of connections among the nodes to represent the nature of the relationships. All nodes are hot and adjust the movie to that content for selected playback. Has anyone here tried using "Mind-mapping" software for development? -Ron From alex at tweedly.net Mon Mar 25 13:22:00 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 25 Mar 2013 17:22:00 +0000 Subject: Nested array comparisons In-Reply-To: <51505560.4030709@fourthworld.com> References: <514F92ED.2000709@tweedly.net> <51505560.4030709@fourthworld.com> Message-ID: <515087B8.7030204@tweedly.net> On 25/03/2013 13:47, Richard Gaskin wrote: > > PS: Alex, I appreciate the code you post on this list, but why do you > always post code with each line preceded by ">"? Makes it more > difficult to strip out the ">" to run the code. > Aaaah - the joys of "almost standards" in email :-( I get the text in there by Copy-ing it from the IDE editor, and then "Past as quotation" in my email client (Thunderbird), which gives me the text, unformatted, unwrapped (I think) and with a thin left margin line to indicate it is a block. If I then send the mail, receive it again and then copy/paste from there, the text comes over to the clipboard without any extra characters. So I didn't realize there was a problem when the mail is being read by a different mail client; I'll try just "paste without formatting" next time and see if that is easier for others to use. Thanks -- Alex. From th.douez at gmail.com Mon Mar 25 13:24:10 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 25 Mar 2013 18:24:10 +0100 Subject: Learning by... Avoiding mistakes (Richard Gaskin) In-Reply-To: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> References: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> Message-ID: 2013/3/25 Ronald Zellner > > Has anyone here tried using "Mind-mapping" software for development? > > I use it for big projects and more I do it by hand (which has a meaning with this technic) ! Thierry From gcanyon at gmail.com Mon Mar 25 13:38:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 25 Mar 2013 12:38:31 -0500 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: yep, that's what I did in navigator way back when: set relayergroupedcontrols to true, make the changes by assigning layers (which can be tricky) and you're set. If you're deleting, I'm not sure you even need to do that. Delete group "" should work regardless of how many groups "" is nested in. gc On Mon, Mar 25, 2013 at 11:21 AM, Peter Haworth wrote: > Hi Geoff, > In my lcSTackBrowser utility I want to provide the ability to delete a > nested group. Someone just sent me a solution using relayergroupedcontrols > which feels much safer than the method I mentioned. > Pete > lcSQL Software > > > On Mon, Mar 25, 2013 at 7:53 AM, Geoff Canyon wrote: > > > What are you trying to accomplish? I've always used layers to move things > > into and out of groups. > > > > gc > > > > > > On Sun, Mar 24, 2013 at 5:47 PM, Peter Haworth wrote: > > > > > What seems to work in a script is to start editing each owning group > > until > > > you reach the one containing the group to be ungrouped, ungroup it, > then > > > stop editing its owning group. > > > > > > I'm nervous though. I've found that the world of editbackground mode > is > > a > > > weird and wonderful place. No matter how many cards are in the stack > > being > > > edited, the cardIDs returns only the card that is being edited. And > the > > > number of controls on the card is the number in the group being edited > > not > > > the number on the card. And the long id of any control in the group > > before > > > you entered this strange place isn't valid because it's not a member of > > the > > > group at that point. > > > > > > Pete > > > lcSQL Software > > > > > > > > > On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth wrote: > > > > > > > Unless I'm missing something, it looks like the ungroup command > doesn't > > > > work on nested group, i.e. one that is owned by another group. The > > > ungroup > > > > command doesn't return an error either. > > > > > > > > It feels like the only way to do this is to ungroup all the owning > > groups > > > > first but that seems fraught with dangers of losing the group > > structures. > > > > Is there a better way to do it. By Script I mean. > > > > > > > > Thanks, > > > > > > > > Pete > > > > lcSQL Software > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Mar 25 13:43:53 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 25 Mar 2013 17:43:53 +0000 Subject: Learning by... Avoiding mistakes (Richard Gaskin) In-Reply-To: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> References: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> Message-ID: <9A398571-5840-4C47-B989-3A03AB2015DF@clarkeandclarke.co.uk> Mind Manager http://www.mindjet.com/products/ has been my go to 'problem dissection' tool for the last 15 years or so. I use this instead of 3x5s for pretty much every problem, brain-storming session, research activity, workshop meta-planning session, project plan, etc. It's much richer than FreeMind and the multitude of other mind-mapping apps more suited to 'drawing mind-maps' for recollection, than visual information mapping and management per se. I find Mind Manager most useful in the early stages of a new challenge - before the nature & complexity of the problem takes shape. It's very useful for envisioning workshop sessions, kicking-off projects, etc. If the problem stays manageable with what is effectively an outlining tool (to do lists, projects, documentation / web sites?), I stay in Mind Manager. Otherwise, I migrate to a tool better suited to the required deliverable. For development tasks, I find mind-mapping in Mind Manager's Org Chart mode great for charting processes, web sites, Use Cases, basic UI navigation, etc. The Windows version of the app is also great for project management. I also have Mind Manager for Mac but that's a far inferior product - and I've been trying to migrate to Curio http://www.zengobi.com/products/curio/ for years! The biggest problem with mind-maps is the fact that they, unlike concept-mapping tools, are inherently hierarchical in nature. However, it is possible to abuse the tool's original design, hide the map's lines and use node relationships - more like a concept diagramming environment. Talking of which, I've also tried to use Cmap http://cmap.ihmc.us and Compendium http://compendium.open.ac.uk/institute/ for mapping multi-dimensional problems but I find it gets unwieldy, especially when it comes to exportation or communication with others - unless they play 3D chess! ;-) I hope that maybe helps someone. Best, Keith.. On 25 Mar 2013, at 17:04, Ronald Zellner wrote: > Has anyone here tried using "Mind-mapping" software for development? From pete at lcsql.com Mon Mar 25 14:31:28 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Mar 2013 11:31:28 -0700 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: Thanks Geoff. I inadvertently confused things in my last email by using "delete" instead of "ungroup". Ungroup of a nested group is what I need to do and using the relayerGroupedControls approach seems to work fine. Pete lcSQL Software On Mon, Mar 25, 2013 at 10:38 AM, Geoff Canyon wrote: > yep, that's what I did in navigator way back when: set > relayergroupedcontrols to true, make the changes by assigning layers (which > can be tricky) and you're set. If you're deleting, I'm not sure you even > need to do that. Delete group "" should work regardless of how > many groups "" is nested in. > > gc > > > On Mon, Mar 25, 2013 at 11:21 AM, Peter Haworth wrote: > > > Hi Geoff, > > In my lcSTackBrowser utility I want to provide the ability to delete a > > nested group. Someone just sent me a solution using > relayergroupedcontrols > > which feels much safer than the method I mentioned. > > Pete > > lcSQL Software > > > > > > On Mon, Mar 25, 2013 at 7:53 AM, Geoff Canyon wrote: > > > > > What are you trying to accomplish? I've always used layers to move > things > > > into and out of groups. > > > > > > gc > > > > > > > > > On Sun, Mar 24, 2013 at 5:47 PM, Peter Haworth wrote: > > > > > > > What seems to work in a script is to start editing each owning group > > > until > > > > you reach the one containing the group to be ungrouped, ungroup it, > > then > > > > stop editing its owning group. > > > > > > > > I'm nervous though. I've found that the world of editbackground mode > > is > > > a > > > > weird and wonderful place. No matter how many cards are in the stack > > > being > > > > edited, the cardIDs returns only the card that is being edited. And > > the > > > > number of controls on the card is the number in the group being > edited > > > not > > > > the number on the card. And the long id of any control in the group > > > before > > > > you entered this strange place isn't valid because it's not a member > of > > > the > > > > group at that point. > > > > > > > > Pete > > > > lcSQL Software > > > > > > > > > > > > On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth > wrote: > > > > > > > > > Unless I'm missing something, it looks like the ungroup command > > doesn't > > > > > work on nested group, i.e. one that is owned by another group. The > > > > ungroup > > > > > command doesn't return an error either. > > > > > > > > > > It feels like the only way to do this is to ungroup all the owning > > > groups > > > > > first but that seems fraught with dangers of losing the group > > > structures. > > > > > Is there a better way to do it. By Script I mean. > > > > > > > > > > Thanks, > > > > > > > > > > Pete > > > > > lcSQL Software > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mpezzo at gmail.com Mon Mar 25 14:56:04 2013 From: mpezzo at gmail.com (AcidJazz) Date: Mon, 25 Mar 2013 11:56:04 -0700 (PDT) Subject: Learning by... Avoiding mistakes (Richard Gaskin) In-Reply-To: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> References: <154F5F69-E913-4929-B7FD-C20C1213BC4C@tamu.edu> Message-ID: <1364237764146-4662582.post@n4.nabble.com> Ron, I've used Mindomo with my students (I'm also a psychology professor) and it works nicely. I'd be interested in seeing what you developed. Is this something you would be willing to share? It might be interesting to compare student learning of the material using your approach versus other more traditional approaches. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-Learning-by-Avoiding-mistakes-Richard-Gaskin-tp4662575p4662582.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Mon Mar 25 16:26:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Mar 2013 13:26:12 -0700 Subject: Adding a folder to a zip archive Message-ID: Is it possible to add a folder and its contents to a zip archive using the revzipxxx functions? I tried revZipAddItemWithFile pointing to the folder - no error was flagged but when I unzipped the file, the folder was zero bytes in length and none of its contents were in there. Pete lcSQL Software From gcanyon at gmail.com Mon Mar 25 16:35:18 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 25 Mar 2013 15:35:18 -0500 Subject: Ungroup a nested group In-Reply-To: References: Message-ID: yep, that should do it. On Mon, Mar 25, 2013 at 1:31 PM, Peter Haworth wrote: > Thanks Geoff. I inadvertently confused things in my last email by using > "delete" instead of "ungroup". Ungroup of a nested group is what I need > to do and using the relayerGroupedControls approach seems to work fine. > > Pete > lcSQL Software > > > On Mon, Mar 25, 2013 at 10:38 AM, Geoff Canyon wrote: > > > yep, that's what I did in navigator way back when: set > > relayergroupedcontrols to true, make the changes by assigning layers > (which > > can be tricky) and you're set. If you're deleting, I'm not sure you even > > need to do that. Delete group "" should work regardless of how > > many groups "" is nested in. > > > > gc > > > > > > On Mon, Mar 25, 2013 at 11:21 AM, Peter Haworth wrote: > > > > > Hi Geoff, > > > In my lcSTackBrowser utility I want to provide the ability to delete a > > > nested group. Someone just sent me a solution using > > relayergroupedcontrols > > > which feels much safer than the method I mentioned. > > > Pete > > > lcSQL Software > > > > > > > > > On Mon, Mar 25, 2013 at 7:53 AM, Geoff Canyon > wrote: > > > > > > > What are you trying to accomplish? I've always used layers to move > > things > > > > into and out of groups. > > > > > > > > gc > > > > > > > > > > > > On Sun, Mar 24, 2013 at 5:47 PM, Peter Haworth > wrote: > > > > > > > > > What seems to work in a script is to start editing each owning > group > > > > until > > > > > you reach the one containing the group to be ungrouped, ungroup it, > > > then > > > > > stop editing its owning group. > > > > > > > > > > I'm nervous though. I've found that the world of editbackground > mode > > > is > > > > a > > > > > weird and wonderful place. No matter how many cards are in the > stack > > > > being > > > > > edited, the cardIDs returns only the card that is being edited. > And > > > the > > > > > number of controls on the card is the number in the group being > > edited > > > > not > > > > > the number on the card. And the long id of any control in the > group > > > > before > > > > > you entered this strange place isn't valid because it's not a > member > > of > > > > the > > > > > group at that point. > > > > > > > > > > Pete > > > > > lcSQL Software > > > > > > > > > > > > > > > On Sun, Mar 24, 2013 at 1:26 PM, Peter Haworth > > wrote: > > > > > > > > > > > Unless I'm missing something, it looks like the ungroup command > > > doesn't > > > > > > work on nested group, i.e. one that is owned by another group. > The > > > > > ungroup > > > > > > command doesn't return an error either. > > > > > > > > > > > > It feels like the only way to do this is to ungroup all the > owning > > > > groups > > > > > > first but that seems fraught with dangers of losing the group > > > > structures. > > > > > > Is there a better way to do it. By Script I mean. > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Pete > > > > > > lcSQL Software > > > > > > > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Mon Mar 25 16:57:22 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 25 Mar 2013 16:57:22 -0400 Subject: Push iOS from Windows Message-ID: I'm reading through all my Mac-> iOS push code, and I'm wondering if anybody had a problem making it work Windows->iOS. Before I figure out what the commands should be over there, does anybody have code to share? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From gerry.orkin at gmail.com Mon Mar 25 17:17:51 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 25 Mar 2013 14:17:51 -0700 (PDT) Subject: iOS scroller performance In-Reply-To: <008746B2-5983-4953-84BB-2A79C65C5C30@sweattechnologies.com> References: <008746B2-5983-4953-84BB-2A79C65C5C30@sweattechnologies.com> Message-ID: <1364246271171.d5ab8df9@Nodemailer> Excellent - have you uploaded the new one to your site? Gerry On Mon, Mar 25, 2013 at 10:13 PM, Monte Goulding > wrote: ?but now that I understand that limitation I've got mergDataGridScroller working smoothly. On Mon, Mar 25, 2013 at 10:13 PM, Monte Goulding wrote: > On 25/03/2013, at 5:35 PM, Monte Goulding wrote: >> I'll see if I can get the same performance from mergDataGridScroller. > OK, time to eat my words on scrolling performance. I'm not super happy that I'll need to do some significant design changes to deal with the fact that you can't scroll a nested group but now that I understand that limitation I've got mergDataGridScroller working smoothly. > Cheers > -- > Monte Goulding > M E R Goulding - software development services > mergExt - There's an external for that! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Mar 25 17:18:40 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 25 Mar 2013 22:18:40 +0100 Subject: I have a free copy of Games Academy and App Academy to give away Message-ID: <0DB4DD1C-D5DD-44A0-BCA4-657CA646F2B6@m-r-d.de> Hi, i have one Game Academy and one App Academy from my Kickstarter plegde to give away for free. So if someone is interested in one of them, please let me know by private email to matthias (at) rebbe.tk. Please include your email address you are using for the Runrev Store, so Runrev can add the academy to your account. Regards, Matthias From harrison at all-auctions.com Mon Mar 25 17:34:12 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 25 Mar 2013 17:34:12 -0400 Subject: I have a free copy of Games Academy and App Academy to give away In-Reply-To: <0DB4DD1C-D5DD-44A0-BCA4-657CA646F2B6@m-r-d.de> References: <0DB4DD1C-D5DD-44A0-BCA4-657CA646F2B6@m-r-d.de> Message-ID: <472442BE-3F3A-4634-AE03-DA8071975296@all-auctions.com> Hi Matthias, May I have it? Unless of course it is already included with my Kickstarter pledged package. Let me know. Thanks, Rick P.S. Here is my email address for the RunRev Store: harrison at all-auctions.com On Mar 25, 2013, at 5:18 PM, Matthias Rebbe wrote: > Hi, > > i have one Game Academy and one App Academy from my Kickstarter plegde to give away for free. > > So if someone is interested in one of them, please let me know by private email to matthias (at) rebbe.tk. > Please include your email address you are using for the Runrev Store, so Runrev can add the academy to your account. > > 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 monte at sweattechnologies.com Mon Mar 25 18:05:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 26 Mar 2013 09:05:03 +1100 Subject: iOS scroller performance In-Reply-To: <1364246271171.d5ab8df9@Nodemailer> References: <008746B2-5983-4953-84BB-2A79C65C5C30@sweattechnologies.com> <1364246271171.d5ab8df9@Nodemailer> Message-ID: <2E3CBDD2-5F4C-4673-AD89-63E21887F425@sweattechnologies.com> On 26/03/2013, at 8:17 AM, Gerry Orkin wrote: > Excellent - have you uploaded the new one to your site? Not yet, I need work out how much the changes might break existing mergDataGridScrollers first. There are a few quirks now too. The main one is the datagrid gets resized to it's full height because you can't actually scroll the datagrid you can only scroll the mergDataGridScroller. I think for most apps this won't be a killer but anyone wanting to display very long lists might need to come up with some kind of paging scheme... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dunbarx at aol.com Mon Mar 25 22:28:41 2013 From: dunbarx at aol.com (Craig Newman) Date: Mon, 25 Mar 2013 22:28:41 -0400 Subject: defining and using globals in an application In-Reply-To: <7FBD9B6CA4C342A6829CE466E3E8F470@stuart> References: <7FBD9B6CA4C342A6829CE466E3E8F470@stuart> Message-ID: <0E52D915-C9D5-4FAB-8319-70753C34DF7B@aol.com> Mark. Globals are loaded somewhere, and retain their value throughout the application. But you do have to declare it wherever it might be used. Are you asking why this is necessary? This has always been the case, since way, way back. So in other languages, if you declare and load a global somewhere, you can use it at any time, undeclared, elsewhere? I see your point, and maybe I am just so used to the way it works, I do not find it onerous to have to declare it each script where it will be used. Actually, I find this comforting, that I know what I intend to do in that script. I suppose you could make use of a custom property, which, though it might take a bit of file path shenanigans to reference throughout the application, can be used as you would like to. This seems like more work, though. Craig Newman On Jul 6, 2011, at 10:56 PM, Mark Stuart wrote: > Hi all, > > To me, once globals are defined and put with a value, their value should be > available from any stack within the application. > > So far, so good. > > But the problem arises where, within other stacks script, if you don't > define the required global again, the desired value is not there. > > The result is the name of the global in the stack where that global was > first defined. > > Not good. > > > > So why aren't the values of global's, global to the application? > > In other software development languages, this IS the case. > > Wouldn't you want the same in LC? I would. > > > > Why isn't this the case in LC? > > > > Regards, > > Mark Stuart > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Mar 26 00:44:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Mar 2013 23:44:50 -0500 Subject: defining and using globals in an application In-Reply-To: <0E52D915-C9D5-4FAB-8319-70753C34DF7B@aol.com> References: <7FBD9B6CA4C342A6829CE466E3E8F470@stuart> <0E52D915-C9D5-4FAB-8319-70753C34DF7B@aol.com> Message-ID: <515127C2.80208@hyperactivesw.com> On 3/25/13 9:28 PM, Craig Newman wrote: > Mark. > > Globals are loaded somewhere, > > On Jul 6, 2011, at 10:56 PM, Mark Stuart wrote: > >> Hi all, I wish you guys would quit playing around with my time warp stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 26 01:15:29 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Mar 2013 22:15:29 -0700 Subject: Returns Don't Return? In-Reply-To: <44B53D03-99DF-46F1-9C2B-0D7512E8FE81@canelasoftware.com> Message-ID: Hi Mark: I meant to respond sooner that LF does make a difference. In my case, files are indeed coming from a server, and LF allows LiveCode to read line breaks correctly. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/11/13 4:33 PM, "Mark Talluto" wrote: >On Mar 11, 2013, at 6:15 PM, Scott Rossi wrote: > >> Thanks Mark, will give it a try. >> I thought "return" was supposed to be the new universal way to refer to >> the platform-appropriate return character but I guess not. Then again, >>I'm >> not even sure this is really a platform related issue. > >I started losing hair once I started developing software that read files >from a server. LF was the only way to get consistent line endings on all >platforms. See how it goes for you. I will be interested to see if this >makes a difference. > > >Best regards, > >Mark Talluto >canelasoftware.com From toolbook at kestner.de Tue Mar 26 06:30:20 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 26 Mar 2013 11:30:20 +0100 Subject: AW: serial numbers on standalones In-Reply-To: References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> Message-ID: <004c01ce2a0c$eb02da90$c1088fb0$@de> I know, that it is very unpopular to supply very strict and controlled licence models and rely on all the nice and lovely pirates to come back to me, but I can't confirm at all these models in my daily business. Perhaps it is related to my client base, I don't know. But I made the experience with two different licensing models in the last 15 years in the same target audience (partly even with the same customers) with our products. One product licence was very open and was based on "fairness and following our licence model" with very low piracy protection, the other product license is tied very strict to the hardware (wich actually has some painful sides, but for us it's the better choice). After having sold one or any number of licences of product 1to a dedicated target group, we never have sold a second licence in that group (e.g. all teachers of a school). After having sold licences of product 2 we are constantly selling additional licences within the same target group. And no, it doesn't depend on the product, I know that they all are using product 1 too. As I said, perhaps this is a special behavior of our target group (teachers). In the last decades I never have met people who are less aware of law, piracy and licensing as teachers (sorry Richmond) Just my 2 cents Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Timothy Miller > Gesendet: Samstag, 16. M?rz 2013 21:31 > An: How to use LiveCode > Betreff: Re: serial numbers on standalones > > On Mar 16, 2013, at 12:00 PM, kee nethery wrote: > > > The people who make a lot of money selling software are those that focus > on how to get more people to use their software, not those who focus on how > to get less people to use their software. > > > > The "get more people" group occasionally will "crack" their software and > upload that crack to a crack site so that people can steal their software. > Having a crack shows that someone cared enough about the software to spend > time to crack it because of the street cred that would give them. No one > cracks lame software thus this software must not be lame. In addition, no > one wants to be the second person to crack some software so other cracks > don't appear. > > > > Secondly, most people that pirate software don't really use it. And if > they do, you've just had someone experience your software and figure out > what it is good for. People like me who pay for software, ask for > recommendations, and I'm fairly certain that many of the recommendations > come from people who have pirated software. Pirates can be your advertising > channel. > > > > Finally, the crack if the pirate is still using the cracked software > after 6 months, they can be converted into a buyer. It has some weird bug > that pops up. The solution to that specific bug is to buy the upgrade. If > someone running a cracked version gets that error message, they are using > it for real and they will frequently pay for the upgrade. > > > > Kee Nethery > > Wow! You really nailed it. I've read similar commentaries, but yours is > clear and concise. > > I'm working on a book, thinking about self-publishing, selling to the > public from a website, while taking care to maintain control of the > copyright, maybe going with a commercial publisher later, if it's > successful. I've feared piracy, heard both sides of the debate. > > You've convinced me (unless someone later on this thread changes my mind). > > With software, it seems, one way to limit piracy damage is to upgrade > routinely. With literature, it might help to release periodic revisions, or > regularly add new material. > > Cheers, > > > Tim Miller > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Mar 26 06:38:54 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 26 Mar 2013 12:38:54 +0200 Subject: AW: serial numbers on standalones In-Reply-To: <004c01ce2a0c$eb02da90$c1088fb0$@de> References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> <004c01ce2a0c$eb02da90$c1088fb0$@de> Message-ID: <51517ABE.4090002@gmail.com> On 26/03/13 12:30, Tiemo Hollmann TB wrote: > I know, that it is very unpopular to supply very strict and controlled > licence models and rely on all the nice and lovely pirates to come back to > me, but I can't confirm at all these models in my daily business. > Perhaps it is related to my client base, I don't know. But I made the > experience with two different licensing models in the last 15 years in the > same target audience (partly even with the same customers) with our > products. One product licence was very open and was based on "fairness and > following our licence model" with very low piracy protection, the other > product license is tied very strict to the hardware (wich actually has some > painful sides, but for us it's the better choice). > After having sold one or any number of licences of product 1to a dedicated > target group, we never have sold a second licence in that group (e.g. all > teachers of a school). After having sold licences of product 2 we are > constantly selling additional licences within the same target group. And no, > it doesn't depend on the product, I know that they all are using product 1 > too. As I said, perhaps this is a special behavior of our target group > (teachers). In the last decades I never have met people who are less aware > of law, piracy and licensing as teachers (sorry Richmond) Don't be sorry; I know that is a fact. Trying to explain to a parent of twins why she should pay for 2 copies of a student workbook, rather than just one followed by a quick trip to the photocopy shop is an uphill, and unproductive exercise, that only serves to convince people I am some sort of nutcase round these parts. Mind you, here in Bulgaria about 95% of the population are either 100% unaware of law, piracy and licensing, or, even if they are, couldn't care less. I am becoming increasingly in favour of hardware tethering of software after trying to explain what a site licence is and ending up with zero comprehension as the interlocutor cannot see why they shouldn't just duplicate the individually licensed executable across as many machines as they require. The only problem (as was pointed out on this list) is that many machines keep changing their Mac address and I am unaware of any other, more permanent, hardware feature Livecode can grab hold of. Richmond. > > Just my 2 cents > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Timothy Miller >> Gesendet: Samstag, 16. M?rz 2013 21:31 >> An: How to use LiveCode >> Betreff: Re: serial numbers on standalones >> >> On Mar 16, 2013, at 12:00 PM, kee nethery wrote: >> >>> The people who make a lot of money selling software are those that focus >> on how to get more people to use their software, not those who focus on > how >> to get less people to use their software. >>> The "get more people" group occasionally will "crack" their software and >> upload that crack to a crack site so that people can steal their software. >> Having a crack shows that someone cared enough about the software to spend >> time to crack it because of the street cred that would give them. No one >> cracks lame software thus ? this software must not be lame. In addition, > no >> one wants to be the second person to crack some software so other cracks >> don't appear. >>> Secondly, most people that pirate software don't really use it. And if >> they do, you've just had someone experience your software and figure out >> what it is good for. People like me who pay for software, ask for >> recommendations, and I'm fairly certain that many of the recommendations >> come from people who have pirated software. Pirates can be your > advertising >> channel. >>> Finally, the crack if the pirate is still using the cracked software >> after 6 months, they can be converted into a buyer. It has some weird bug >> that pops up. The solution to that specific bug is to buy the upgrade. If >> someone running a cracked version gets that error message, they are using >> it for real and they will frequently pay for the upgrade. >>> Kee Nethery >> Wow! You really nailed it. I've read similar commentaries, but yours is >> clear and concise. >> >> I'm working on a book, thinking about self-publishing, selling to the >> public from a website, while taking care to maintain control of the >> copyright, maybe going with a commercial publisher later, if it's >> successful. I've feared piracy, heard both sides of the debate. >> >> You've convinced me (unless someone later on this thread changes my mind). >> >> With software, it seems, one way to limit piracy damage is to upgrade >> routinely. With literature, it might help to release periodic revisions, > or >> regularly add new material. >> >> Cheers, >> >> >> Tim Miller >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Mar 26 07:00:09 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 26 Mar 2013 12:00:09 +0100 Subject: AW: AW: serial numbers on standalones In-Reply-To: <51517ABE.4090002@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> <004c01ce2a0c$eb02da90$c1088fb0$@de> <51517ABE.4090002@gmail.com> Message-ID: <005201ce2a11$15469180$3fd3b480$@de> As of my experience of the last years there is a minimum of computers changing their mac addresses regulary. In my daily business I would estimate it below 1%. But almost every computer has more than one mac address, including virtual addresses and they change their sequence when reading them. Or they have temporary mac addresses, like from a USB-stick, sticked on/off. That really can be a pain handling that waterproofed. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richmond > Gesendet: Dienstag, 26. M?rz 2013 11:39 > An: How to use LiveCode > Betreff: Re: AW: serial numbers on standalones > > On 26/03/13 12:30, Tiemo Hollmann TB wrote: > > I know, that it is very unpopular to supply very strict and controlled > > licence models and rely on all the nice and lovely pirates to come > > back to me, but I can't confirm at all these models in my daily business. > > Perhaps it is related to my client base, I don't know. But I made the > > experience with two different licensing models in the last 15 years in > > the same target audience (partly even with the same customers) with > > our products. One product licence was very open and was based on > > "fairness and following our licence model" with very low piracy > > protection, the other product license is tied very strict to the > > hardware (wich actually has some painful sides, but for us it's the > better choice). > > After having sold one or any number of licences of product 1to a > > dedicated target group, we never have sold a second licence in that > > group (e.g. all teachers of a school). After having sold licences of > > product 2 we are constantly selling additional licences within the > > same target group. And no, it doesn't depend on the product, I know > > that they all are using product 1 too. As I said, perhaps this is a > > special behavior of our target group (teachers). In the last decades I > > never have met people who are less aware of law, piracy and licensing > > as teachers (sorry Richmond) > > Don't be sorry; I know that is a fact. > > Trying to explain to a parent of twins why she should pay for 2 copies of a > student workbook, rather than just one followed by a quick trip to the > photocopy shop is an uphill, and unproductive exercise, that only serves to > convince people I am some sort of nutcase round these parts. > > Mind you, here in Bulgaria about 95% of the population are either 100% > unaware of law, piracy and licensing, or, even if they are, couldn't care > less. > > I am becoming increasingly in favour of hardware tethering of software > after trying to explain what a site licence is and ending up with zero > comprehension as the interlocutor cannot see why they shouldn't just > duplicate the individually licensed executable across as many machines as > they require. > > The only problem (as was pointed out on this list) is that many machines > keep changing their Mac address and I am unaware of any other, more > permanent, hardware feature Livecode can grab hold of. > > Richmond. > > > > > Just my 2 cents > > Tiemo > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Timothy Miller > >> Gesendet: Samstag, 16. M?rz 2013 21:31 > >> An: How to use LiveCode > >> Betreff: Re: serial numbers on standalones > >> > >> On Mar 16, 2013, at 12:00 PM, kee nethery wrote: > >> > >>> The people who make a lot of money selling software are those that > >>> focus > >> on how to get more people to use their software, not those who focus > >> on > > how > >> to get less people to use their software. > >>> The "get more people" group occasionally will "crack" their software > >>> and > >> upload that crack to a crack site so that people can steal their > software. > >> Having a crack shows that someone cared enough about the software to > >> spend time to crack it because of the street cred that would give > >> them. No one cracks lame software thus this software must not be > >> lame. In addition, > > no > >> one wants to be the second person to crack some software so other > >> cracks don't appear. > >>> Secondly, most people that pirate software don't really use it. And > >>> if > >> they do, you've just had someone experience your software and figure > >> out what it is good for. People like me who pay for software, ask for > >> recommendations, and I'm fairly certain that many of the > >> recommendations come from people who have pirated software. Pirates > >> can be your > > advertising > >> channel. > >>> Finally, the crack if the pirate is still using the cracked software > >> after 6 months, they can be converted into a buyer. It has some weird > >> bug that pops up. The solution to that specific bug is to buy the > >> upgrade. If someone running a cracked version gets that error > >> message, they are using it for real and they will frequently pay for the > upgrade. > >>> Kee Nethery > >> Wow! You really nailed it. I've read similar commentaries, but yours > >> is clear and concise. > >> > >> I'm working on a book, thinking about self-publishing, selling to the > >> public from a website, while taking care to maintain control of the > >> copyright, maybe going with a commercial publisher later, if it's > >> successful. I've feared piracy, heard both sides of the debate. > >> > >> You've convinced me (unless someone later on this thread changes my > mind). > >> > >> With software, it seems, one way to limit piracy damage is to upgrade > >> routinely. With literature, it might help to release periodic > >> revisions, > > or > >> regularly add new material. > >> > >> Cheers, > >> > >> > >> Tim Miller > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 26 08:22:49 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 26 Mar 2013 13:22:49 +0100 Subject: Nederlands LiveCode Forum - Dutch LiveCode Forum Message-ID: <51519319.4020000@economy-x-talk.com> Hoi, Na de problemen met de server afgelopen januari, is het Nederlandse forum verloren gegaan. Door bijkomende omstandigheden heeft het even geduurd voor ik het forum weer kon installeren. Bij deze wil ik je laten weten dat het forum opnieuw is ge?nstalleerd. Helaas zijn alle berichten verloren gegaan en ik zal niet proberen de berichten terug te zetten, omdat mij dat veel teveel tijd zou kosten. Excuus voor het ongemak. Je kunt het Nederlande forum bezoeken op http://nl.runrev.info Als je nog vragen hebt, kun je daarvoor het contactformulier op de Nederlandse website gebruiken. Vriendelijke groet, Mark Hi, After the problems with my server last January, I lost the Dutch forum. Due to additional circumstances, it took a while before the forum could be re-insntalled. This is to let you know that the forum has been re-installed. Unfortunately, all messages are lost and I don't intend to try to restore the messages, because that would take me way too much time. Sorry for the inconvenience. You can visit the Dutch LiveCode forum at http://nl.runrev.info If you have any questions, you can use the contact form on Economy-x-Talk's website. On a side-note: I'll be organising a user group meeting in the Netherlands soon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. From lists at mangomultimedia.com Tue Mar 26 11:25:00 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 26 Mar 2013 11:25:00 -0400 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: On Mon, Mar 25, 2013 at 4:26 PM, Peter Haworth wrote: > Is it possible to add a folder and its contents to a zip archive using the > revzipxxx functions? I tried revZipAddItemWithFile pointing to the folder > - no error was flagged but when I unzipped the file, the folder was zero > bytes in length and none of its contents were in there. > Not with the built-in commands. Here is some code that will add a folder to a ZIP archive as well as unzip a ZIP archive to a folder. There are a lot of supporting handlers included in the gist. I think I got them all but let me know if any are missing. https://gist.github.com/trevordevore/5246242 -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From pete at lcsql.com Tue Mar 26 12:21:47 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 09:21:47 -0700 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: Hi Trevor, Thanks for the code. If I'm understanding this correctly, it puts the folder contents into the archive as individual files along with an indication of which folder they belong in, then recreates the folder structure during the decompress process. My need for this is for installation of a folder of resources for a plugin. Currently, the installation process is simply having the user unzip the file then put the plugin stack into their plugins folder. It sounds like I would need to come up with an installation stack to unzip and move everything in order to make this work. Not really anxious to do that but sounds like there's no choice unless I stop using the revZIp stuff and do it another way. Pete lcSQL Software On Tue, Mar 26, 2013 at 8:25 AM, Trevor DeVore wrote: > On Mon, Mar 25, 2013 at 4:26 PM, Peter Haworth wrote: > > > Is it possible to add a folder and its contents to a zip archive using > the > > revzipxxx functions? I tried revZipAddItemWithFile pointing to the > folder > > - no error was flagged but when I unzipped the file, the folder was zero > > bytes in length and none of its contents were in there. > > > > Not with the built-in commands. Here is some code that will add a folder to > a ZIP archive as well as unzip a ZIP archive to a folder. There are a lot > of supporting handlers included in the gist. I think I got them all but let > me know if any are missing. > > https://gist.github.com/trevordevore/5246242 > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Tue Mar 26 13:01:27 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 26 Mar 2013 13:01:27 -0400 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: On Tue, Mar 26, 2013 at 12:21 PM, Peter Haworth wrote: > Hi Trevor, > Thanks for the code. If I'm understanding this correctly, it puts the > folder contents into the archive as individual files along with an > indication of which folder they belong in, then recreates the folder > structure during the decompress process. > Correct. > My need for this is for installation of a folder of resources for a plugin. > Currently, the installation process is simply having the user unzip the > file then put the plugin stack into their plugins folder. It sounds like I > would need to come up with an installation stack to unzip and move > everything in order to make this work. If this is happening from within the IDE then you can determine what the plugin folder is and unzip to a subdirectory, no? I forget what the function is that returns the plugin folder but there is such a thing. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From pete at lcsql.com Tue Mar 26 13:18:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 10:18:12 -0700 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: Hi Trevor, Yes, I'm thinking that would be one way to go. The zipping part of this happens during my automated release process so I guess another alternative is to simply do the zipping manually using the OSX built in Compress function. That would break the automation but I would end up with a zip archive with the correct contents for installation. I haven't checked, but I assume there must be an enhancement request at the QCC for this? Seems like a pretty major omission. On Tue, Mar 26, 2013 at 10:01 AM, Trevor DeVore wrote: > If this is happening from within the IDE then you can determine what the > plugin folder is and unzip to a subdirectory, no? I forget what the > function is that returns the plugin folder but there is such a thing. > Pete lcSQL Software From mwieder at ahsoftware.net Tue Mar 26 15:18:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 26 Mar 2013 19:18:38 +0000 (UTC) Subject: Adding a folder to a zip archive References: Message-ID: Peter Haworth writes: > I haven't checked, but I assume there must be an enhancement request at the > QCC for this? Seems like a pretty major omission. Bug 4945 comes to mind (vintage 2007), but I think most of us have just learned not to use the revzip functions for anything but trivial cases. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Tue Mar 26 15:39:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 12:39:35 -0700 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: Yeah, add me to that list. On Tue, Mar 26, 2013 at 12:18 PM, Mark Wieder wrote: > Bug 4945 comes to mind (vintage 2007), but I think most of us have just > learned > not to use the revzip functions for anything but trivial cases. > Pete lcSQL Software From lists at mangomultimedia.com Tue Mar 26 16:19:32 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 26 Mar 2013 16:19:32 -0400 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: On Tue, Mar 26, 2013 at 3:18 PM, Mark Wieder wrote: > Peter Haworth writes: > > > I haven't checked, but I assume there must be an enhancement request at > the > > QCC for this? Seems like a pretty major omission. > > Bug 4945 comes to mind (vintage 2007), but I think most of us have just > learned > not to use the revzip functions for anything but trivial cases. The handlers I put up on gist should give you most, if not all, the functionality you need. They do just what the OS X compress feature would do. I use ZIP for file formats in my applications. Whenever I need to distribute a folder of files (e.g. templates) then I use revZip with those handlers I linked to and change the extension to one of my choosing. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From revdev at pdslabs.net Tue Mar 26 17:16:19 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 26 Mar 2013 14:16:19 -0700 Subject: AW: serial numbers on standalones In-Reply-To: <51517ABE.4090002@gmail.com> References: <514436DC.5040007@economy-x-talk.com> <88C03663-3F58-4CF0-AB21-9C880CF82C5B@kagi.com> <004c01ce2a0c$eb02da90$c1088fb0$@de> <51517ABE.4090002@gmail.com> Message-ID: <51521023.9000802@pdslabs.net> Hi Richmond, On 3/26/13 3:38 AM, Richmond wrote: > I am becoming increasingly in favour of hardware tethering of software > after trying to explain > what a site licence is and ending up with zero comprehension as the > interlocutor cannot see why > they shouldn't just duplicate the individually licensed executable > across as many machines as they require. > > The only problem (as was pointed out on this list) is that many > machines keep changing their Mac address > and I am unaware of any other, more permanent, hardware feature > Livecode can grab hold of. Another way to tie software (that you produce in LC) to hardware is to distribute it on a USB flash drive, and tie it to the unique ID in the flash drive's firmware. The flash drive effectively becomes a dongle and you tell the software not to run unless it sees that particular flash drive. It's not too hard. -- Phil Davis From pete at lcsql.com Tue Mar 26 19:04:57 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 16:04:57 -0700 Subject: BorderColor of an image Message-ID: I'm probably spacing out on this but how do you set the bordercolor of an image? I have showborder on and 3D off. The Inspector palette colors tab doesn't have a border color on it, just first through eighth colors. I tried setting every one of those but no change. Plus those settings didn't stick - if I go to Basic properties then back to colors, they're gone. Setting the bordercolor of the image in message box does nothing either, borders always show up in black. Thanks, Pete lcSQL Software From mac at mauraoconnell.com Tue Mar 26 19:23:09 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Tue, 26 Mar 2013 18:23:09 -0500 Subject: BorderColor of an image In-Reply-To: References: Message-ID: Way down at the bottom of the bordercolor listing in the Dictionary: Tip: To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image. From irog at mac.com Tue Mar 26 19:45:28 2013 From: irog at mac.com (Roger Guay) Date: Tue, 26 Mar 2013 17:45:28 -0600 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <23A2CE7B-4091-4E3F-95A9-20ADB5889AF5@mac.com> Another way, Peter, is to make the image the pattern of a rectangle. I'm sure you know that, but other newcomers might not! Roger On Mar 26, 2013, at 5:23 PM, Mac Bennett wrote: > Way down at the bottom of the bordercolor listing in the Dictionary: > > Tip: To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Mar 26 20:10:05 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 17:10:05 -0700 Subject: BorderColor of an image In-Reply-To: References: Message-ID: Thanks Mac. I missed that in the dictionary! Pete lcSQL Software On Tue, Mar 26, 2013 at 4:23 PM, Mac Bennett wrote: > Way down at the bottom of the bordercolor listing in the Dictionary: > > Tip: To set the color of an image's border, set the borderColor of the > card, stack, or group that owns the image. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Mar 26 20:11:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 17:11:02 -0700 Subject: BorderColor of an image In-Reply-To: <23A2CE7B-4091-4E3F-95A9-20ADB5889AF5@mac.com> References: <23A2CE7B-4091-4E3F-95A9-20ADB5889AF5@mac.com> Message-ID: Hi Roger, Thanks for that, I did not know that. I'll give that a try as well as the other solution. Pete lcSQL Software On Tue, Mar 26, 2013 at 4:45 PM, Roger Guay wrote: > Another way, Peter, is to make the image the pattern of a rectangle. I'm > sure you know that, but other newcomers might not! > > > Roger > > > > On Mar 26, 2013, at 5:23 PM, Mac Bennett wrote: > > > Way down at the bottom of the bordercolor listing in the Dictionary: > > > > Tip: To set the color of an image's border, set the borderColor of the > card, stack, or group that owns the image. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mac at mauraoconnell.com Tue Mar 26 20:46:15 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Tue, 26 Mar 2013 19:46:15 -0500 Subject: BorderColor of an image In-Reply-To: References: Message-ID: I think it's a legacy from Hypercard; but it came up for me last year and took a week to find that little mention in the dictionary. On Mar 26, 2013, at 6:23 PM, Mac Bennett wrote: > Way down at the bottom of the bordercolor listing in the Dictionary: > > Tip: To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Mar 26 21:21:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 18:21:15 -0700 Subject: BorderColor of an image In-Reply-To: References: Message-ID: Well it worked so at least the dictionary is right! I ended setting the borderColor of the stack since setting it for the card gave my card a blue border which I didn't want. Seems a really odd way of doing things since it could give a colored border to lots of things you don't want it on and you'd have to plough thru them all specifically setting their border to what it used to be. Fortunately, I didn't have to do that. Roger, I didn't use your method since it got a little complicated for my circumstance but I'll remember it for future use. Pete lcSQL Software On Tue, Mar 26, 2013 at 5:46 PM, Mac Bennett wrote: > I think it's a legacy from Hypercard; but it came up for me last year and > took a week to find that little mention in the dictionary. > > > On Mar 26, 2013, at 6:23 PM, Mac Bennett wrote: > > > Way down at the bottom of the bordercolor listing in the Dictionary: > > > > Tip: To set the color of an image's border, set the borderColor of the > card, stack, or group that owns the image. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Tue Mar 26 21:43:43 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 27 Mar 2013 01:43:43 +0000 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <900A1CC3-D2EA-42F9-899B-B8201BC8F612@unimelb.edu.au> Peter - you can just group the image with itself and set the borderColor of the group. That way you can have different colours for different images if you like and you don't have to go around setting the borderColor of your other objects individually. Terry... On 27/03/2013, at 12:21 PM, Peter Haworth wrote: > Well it worked so at least the dictionary is right! I ended setting the > borderColor of the stack since setting it for the card gave my card a blue > border which I didn't want. > > Seems a really odd way of doing things since it could give a colored border > to lots of things you don't want it on and you'd have to plough thru them > all specifically setting their border to what it used to be. Fortunately, > I didn't have to do that. > > Roger, I didn't use your method since it got a little complicated for my > circumstance but I'll remember it for future use. > > > Pete > lcSQL Software > > > On Tue, Mar 26, 2013 at 5:46 PM, Mac Bennett wrote: > >> I think it's a legacy from Hypercard; but it came up for me last year and >> took a week to find that little mention in the dictionary. >> >> >> On Mar 26, 2013, at 6:23 PM, Mac Bennett wrote: >> >>> Way down at the bottom of the bordercolor listing in the Dictionary: >>> >>> Tip: To set the color of an image's border, set the borderColor of the >> card, stack, or group that owns the image. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Tue Mar 26 21:47:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Mar 2013 20:47:25 -0500 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <51524FAD.7050307@hyperactivesw.com> On 3/26/13 7:46 PM, Mac Bennett wrote: > I think it's a legacy from Hypercard HyperCard didn't have native color, so it can't be. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 26 21:50:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Mar 2013 20:50:09 -0500 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <51525051.9060807@hyperactivesw.com> On 3/26/13 8:21 PM, Peter Haworth wrote: > Seems a really odd way of doing things I remember asking about image borders back in MetaCard. Dr Raney said you could set them, but the color had to be in the image's color palette. I don't know if that's still the case, the image object has changed a lot since then. But apparently the border and the image share the same CLUT. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Tue Mar 26 22:27:10 2013 From: irog at mac.com (Roger Guay) Date: Tue, 26 Mar 2013 20:27:10 -0600 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> I like it better because you can use rounded rectangles or any other graphic object and you can still use Graphic Effects for other enhancement. It must have been Scott that thought me these things!! Cheers, Roger On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: > Roger, I didn't use your method since it got a little complicated for my > circumstance but I'll remember it for future use. From richmondmathewson at gmail.com Wed Mar 27 00:13:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Mar 2013 06:13:50 +0200 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <515271FE.9000709@gmail.com> On 03/27/2013 03:21 AM, Peter Haworth wrote: > Well it worked so at least the dictionary is right! I ended setting the > borderColor of the stack since setting it for the card gave my card a blue > border which I didn't want. > > Seems a really odd way of doing things since it could give a colored border > to lots of things you don't want it on and you'd have to plough thru them > all specifically setting their border to what it used to be. Fortunately, > I didn't have to do that. > > Roger, I didn't use your method since it got a little complicated for my > circumstance but I'll remember it for future use. > > > Pete > lcSQL Software > > > This is an old chestnut that keeps raising its hoary head, and is a right pain in the backside. I cannot set the borders of two objects on one card to 2 different colours! Why does that seem strangely limiting? Because of all the myriad other wonderful things one can do with LIvecode, I suppose. Richmond. From pete at lcsql.com Wed Mar 27 01:25:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 22:25:10 -0700 Subject: BorderColor of an image In-Reply-To: <900A1CC3-D2EA-42F9-899B-B8201BC8F612@unimelb.edu.au> References: <900A1CC3-D2EA-42F9-899B-B8201BC8F612@unimelb.edu.au> Message-ID: Thanks Terry. As usual with LC, there's always a way around difficulties. Pete lcSQL Software On Tue, Mar 26, 2013 at 6:43 PM, Terry Judd wrote: > Peter - you can just group the image with itself and set the borderColor > of the group. That way you can have different colours for different images > if you like and you don't have to go around setting the borderColor of your > other objects individually. > > Terry... > > On 27/03/2013, at 12:21 PM, Peter Haworth wrote: > > > Well it worked so at least the dictionary is right! I ended setting the > > borderColor of the stack since setting it for the card gave my card a > blue > > border which I didn't want. > > > > Seems a really odd way of doing things since it could give a colored > border > > to lots of things you don't want it on and you'd have to plough thru them > > all specifically setting their border to what it used to be. > Fortunately, > > I didn't have to do that. > > > > Roger, I didn't use your method since it got a little complicated for my > > circumstance but I'll remember it for future use. > > > > > > Pete > > lcSQL Software > > > > > > On Tue, Mar 26, 2013 at 5:46 PM, Mac Bennett > wrote: > > > >> I think it's a legacy from Hypercard; but it came up for me last year > and > >> took a week to find that little mention in the dictionary. > >> > >> > >> On Mar 26, 2013, at 6:23 PM, Mac Bennett wrote: > >> > >>> Way down at the bottom of the bordercolor listing in the Dictionary: > >>> > >>> Tip: To set the color of an image's border, set the borderColor of the > >> card, stack, or group that owns the image. > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 27 01:26:25 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 22:26:25 -0700 Subject: BorderColor of an image In-Reply-To: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> References: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> Message-ID: I probably took the path of least resistance Roger because of looming deadlines but I do like some of the benefits of your solution and will try to find time to at least try them. Pete lcSQL Software On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: > I like it better because you can use rounded rectangles or any other > graphic object and you can still use Graphic Effects for other enhancement. > It must have been Scott that thought me these things!! > > Cheers, > > Roger > > > > On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: > > > Roger, I didn't use your method since it got a little complicated for my > > circumstance but I'll remember it for future use. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 27 01:27:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 26 Mar 2013 22:27:37 -0700 Subject: BorderColor of an image In-Reply-To: <515271FE.9000709@gmail.com> References: <515271FE.9000709@gmail.com> Message-ID: It seems that Terry's suggestion is a clever way to work around the problem. On Tue, Mar 26, 2013 at 9:13 PM, Richmond wrote: > This is an old chestnut that keeps raising its hoary head, and is a right > pain in the backside. > > I cannot set the borders of two objects on one card to 2 different colours! > > Why does that seem strangely limiting? > > Because of all the myriad other wonderful things one can do with LIvecode, > I suppose. > Pete lcSQL Software From peterwawood at gmail.com Wed Mar 27 04:34:29 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 27 Mar 2013 16:34:29 +0800 Subject: 100th Entry in 1001 things to do with LiveCode Message-ID: <7DF88275-4634-4193-890B-AD019F2680A4@gmail.com> Today I have published the 100th entry in 1001 things to do with LiveCode. I chose Roger Eller's tale about how he helped a colleague with no programming experience develop a kiosk app that has run for more than 12 years. It's a such a great story about LiveCode. Many thanks Roger. Peter W A Wood http://LiveCode1001.blogspot.com From th.douez at gmail.com Wed Mar 27 04:52:36 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 27 Mar 2013 09:52:36 +0100 Subject: Xcode debugging session Message-ID: Hi, I'm currently finishing an external which works allright except on one computer so far. During a debug session with Xcode, I sometimes get this error: 2013-03-19 15:43:25.453 LiveCode[733:c03] CFURLCreateWithString was passed this invalid URL string: '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead. The problem is that my external doesn't call anything from LiveCode. It just read a variable, do some calculations and write back to the same variable. When this happens, all my datas before and after calling the external are right. The external is pure C, sanding box, using no library. This error arises with LC 4.5, LC 5.5.4 and LC 5.5.3 on MacOsX 10.7.5 I've asked to runrev support and they just send me back here! So, any hints or direction would be much appreciated. Regards, Thierry From terry.judd at unimelb.edu.au Wed Mar 27 05:27:41 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 27 Mar 2013 09:27:41 +0000 Subject: mApp resolution and aspect ratio independence framework teaser In-Reply-To: <9BAE3B85-E878-4979-862B-81DF2E915320@sweattechnologies.com> References: <9BAE3B85-E878-4979-862B-81DF2E915320@sweattechnologies.com> Message-ID: <23A48D10-A182-49C9-8A17-EBE92A56FF24@unimelb.edu.au> I've played with this and can vouch for the fact that Monte's come up with a pretty cool solution. No more paired std/retina card layouts for me. And, now I can finally target those pesky and varied Android devices. Terry... On 25/03/2013, at 12:58 PM, Monte Goulding wrote: > Hi LiveCoders > > With Apple's recent announcement about app acceptance and device support I thought it would be a good to leak some info about mApp the open source mobile application framework I've been working on. So I've released this teaser. > > https://www.youtube.com/watch?v=DMzvnesfwi8 > > The teaser doesn't go into detail about how it does what it does. If RunRev want me to I'll probably cover that at the conference which is about the time I would like to release it by. In simple terms the resolution independence part is an extension of what Chipp came up with. The layout part is as far as I know a unique take on layout management (at least in LiveCode) allowing you to specify different layout rules depending on things like orientation or the width of the screen/the pixel density. The end result is something getting close to responsive web development. > > It's not entirely limited to desktop either. The two apps I'm using this on at the moment will be desktop too where the desktop version will allow the user to resize. > > The original goal of the project was to make things simpler for Android deployment so while the teaser only shows iOS simulators it works the same on android. > > And yes, that's two datagrids in the demo app... it scales the row template too.... > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From lists at mangomultimedia.com Wed Mar 27 08:40:34 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 27 Mar 2013 08:40:34 -0400 Subject: Xcode debugging session In-Reply-To: References: Message-ID: On Wed, Mar 27, 2013 at 4:52 AM, Thierry Douez wrote: > I'm currently finishing an external which works allright except on one > computer so far. > > During a debug session with Xcode, I sometimes get this error: > > 2013-03-19 15:43:25.453 LiveCode[733:c03] CFURLCreateWithString was passed > this invalid URL string: > '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path > instead of an URL string). The URL created will not work with most file URL > functions. CFURLCreateWithFileSystemPath or > CFURLCreateWithFileSystemPathRelativeToBase should be used instead. > This is a shot in the dark but sandboxing may be the culprit here. My guess is that the engine is trying to get a hold of /System/Library/CoreServices/CommonCocoaPanels.bundle incorrectly. LiveCode has to use Cocoa dialogs for file/folder dialogs in order to work with sandboxing. Peace and harmony do not always exist between LiveCode apps that are sandboxed and the file/folder dialogs. Are you showing any file/folder dialogs in the application? If so, can you determine if the error occurs if you don't show any file/folder dialogs? -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From th.douez at gmail.com Wed Mar 27 09:49:26 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 27 Mar 2013 14:49:26 +0100 Subject: Xcode debugging session In-Reply-To: References: Message-ID: 2013/3/27 Trevor DeVore > On Wed, Mar 27, 2013 at 4:52 AM, Thierry Douez wrote: > > > I'm currently finishing an external which works allright except on one > > computer so far. > > > > During a debug session with Xcode, I sometimes get this error: > > > > 2013-03-19 15:43:25.453 LiveCode[733:c03] CFURLCreateWithString was > passed > > this invalid URL string: > > '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system > path > > instead of an URL string). The URL created will not work with most file > URL > > functions. CFURLCreateWithFileSystemPath or > > CFURLCreateWithFileSystemPathRelativeToBase should be used instead. > > > > This is a shot in the dark but sandboxing may be the culprit here. My guess > is that the engine is trying to get a hold > of /System/Library/CoreServices/CommonCocoaPanels.bundle incorrectly. > LiveCode has to use Cocoa dialogs for file/folder dialogs in order to work > with sandboxing. Peace and harmony do not always exist between LiveCode > apps that are sandboxed and the file/folder dialogs. > > Are you showing any file/folder dialogs in the application? If so, can you > determine if the error occurs if you don't show any file/folder dialogs? > I probably should have said "black box" instead of sandboxing. Well, the App is LC IDE. the stack is a plugin which uses the external. I don't use any dialog (I'll check if there is one I forgot in a corner) Before calling the external, I set some vars, call my external and wait for the return. If it's ok then I work with the new datas and basically redraw an image with the imageData. Plus, when I have this error, everything works! The error on the tester computer may or may not be related to this; I've only this information so far :( Thanks Trevor, Thierry From endernafi at gmail.com Wed Mar 27 10:15:17 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Wed, 27 Mar 2013 16:15:17 +0200 Subject: [OT] Domain & Hosting Service Advice Message-ID: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> Hi, Does RunRev offer a Domain & Hosting service? I vaguely recall a post in this list with a lot of praise to such a service of RunRev? If there is, do you recommend it? Or, could you advise any other services? The main factor for me is reliability. Do you suggest keeping the domains and hostings in different companies? For example, hostings on the godaddy'com and domains on the register'com? Thank you? ~ Ender Nafi ~? together, we're smarter ?~ From lfredricks at proactive-intl.com Wed Mar 27 10:51:21 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 27 Mar 2013 07:51:21 -0700 Subject: LiveCode Developers Group - Oregon Message-ID: <384807AD6C8B4D25A793475E6F6F99A7@GATEWAY> Hello all, There is now a LiveCode Developers Group in Oregon. A sub-group for it is now on Linked In here: http://www.linkedin.com/groups?home=&gid=4926179 Garth Catterall-Heart is managing the group and posted about the first meeting this coming Saturday. If you are in the great NorthWest, please join us on Linked In and this coming Saturday! Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Wed Mar 27 11:22:03 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Mar 2013 08:22:03 -0700 Subject: LiveCode Developers Group - Oregon In-Reply-To: <384807AD6C8B4D25A793475E6F6F99A7@GATEWAY> References: <384807AD6C8B4D25A793475E6F6F99A7@GATEWAY> Message-ID: <51530E9B.6030808@fourthworld.com> Lynn Fredricks wrote: > There is now a LiveCode Developers Group in Oregon. A sub-group for it is > now on Linked In here: > > http://www.linkedin.com/groups?home=&gid=4926179 > > Garth Catterall-Heart is managing the group and posted about the first > meeting this coming Saturday. If you are in the great NorthWest, please join > us on Linked In and this coming Saturday! Garth's great - glad to see he's involved. I met him a couple years ago when he was down this way, discussing one of the LiveCode apps he's built. Very much enjoyed meeting him, a good-natured and helpful fellow, with such a broad range of interests that he makes for excellent conversation. Wish I could be there for the meeting. Sounds like you'll have a great time. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Wed Mar 27 12:12:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Mar 2013 09:12:04 -0700 Subject: BorderColor of an image In-Reply-To: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> References: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> Message-ID: Hi Roger, I did try this but came across another weirdness. I have it working but only by setting the textColor of the graphic, not the borderColor! No matter, it works. Pete lcSQL Software On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: > I like it better because you can use rounded rectangles or any other > graphic object and you can still use Graphic Effects for other enhancement. > It must have been Scott that thought me these things!! > > Cheers, > > Roger > > > > On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: > > > Roger, I didn't use your method since it got a little complicated for my > > circumstance but I'll remember it for future use. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 27 12:30:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 27 Mar 2013 17:30:55 +0100 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> Message-ID: <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Hi Ender, they are offering a hosting service at http://www.on-rev.com You could go with any domain registrar. I am using GoDaddy and a german registrar. Advantage of the On-Rev hosting is that the livecode-server engine is preinstalled. Regards, Matthias Am 27.03.2013 um 15:15 schrieb Ender Nafi Elek?io?lu : > Hi, > > Does RunRev offer a Domain & Hosting service? > I vaguely recall a post in this list with a lot of praise to such a service of RunRev? > If there is, do you recommend it? > > Or, could you advise any other services? > The main factor for me is reliability. > > Do you suggest keeping the domains and hostings in different companies? > For example, hostings on the godaddy'com and domains on the register'com? > > > Thank you? > > ~ Ender Nafi > > ~? together, we're smarter ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Wed Mar 27 12:54:02 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 27 Mar 2013 09:54:02 -0700 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> Message-ID: <2F99821E-BAB1-4EF4-8E44-E21D7EAB5709@canelasoftware.com> On Mar 27, 2013, at 7:15 AM, Ender Nafi Elek?io?lu wrote: > Hi, > > Does RunRev offer a Domain & Hosting service? > I vaguely recall a post in this list with a lot of praise to such a service of RunRev? > If there is, do you recommend it? > > Or, could you advise any other services? > The main factor for me is reliability. > > Do you suggest keeping the domains and hostings in different companies? > For example, hostings on the godaddy'com and domains on the register'com? It really depends on what type of hosting you need. Price, speed, live support, on-line controls? BlueHost has been a good solution for price, good speed, uptime, and ease of use. MediaTemple.net has amazing speed and throughput, but costs a bit more. For your DNS needs, I highly suggest name.com. They are very affordable, have great online controls, and are very affordable. Best regards, Mark Talluto canelasoftware.com From stephenREVOLUTION2 at barncard.com Wed Mar 27 14:22:51 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 27 Mar 2013 11:22:51 -0700 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Message-ID: I prefer Dreamhost for all my hosting needs. I've had a 'code monster' account for the last 10 years. I like this company because of their superior support, custom code and control panel, high-quality serving, and the fact that they had stayed independent rather than selling out to a bigger outfit. I was also able to enable my livecode server instance here - after some initial help from Andre'. They are also very funny people ( important to me ). Download/upload speeds aren't throttled. A personal survey showed Dreamhost's speeds to be better than the average. (.58 gig download - comcast cable connection with speedburst) Amazon A3 20 min 475kb/s Dreamhost 23 min 368kb/s On-Rev 30 min 260-326 kbs So far they haven't bugged me EVER about bandwidth or storage.... I'm at about 20 gigs with 10 domains, unlimited email, etc. I am sure that TwoCows or GoDaddy sites are cheaper. But what is their uptime? What are the limits? Can one install livecode there? Is the support any good? Can you get shell / SSH ? I am pretty particular about hosts... Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Wed Mar 27 16:28:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Mar 2013 20:28:17 +0000 (UTC) Subject: Adding a folder to a zip archive References: Message-ID: Trevor DeVore writes: > The handlers I put up on gist should give you most, if not all, the > functionality you need. They do just what the OS X compress feature would > do. I finally had a look at the gist posting. Nice work. -- Mark Wieder mwieder at ahsoftware.net From irog at mac.com Wed Mar 27 16:49:29 2013 From: irog at mac.com (Roger Guay) Date: Wed, 27 Mar 2013 14:49:29 -0600 Subject: BorderColor of an image In-Reply-To: References: <1F9FB1E8-700E-4BF0-BCC9-6DFB1835E24A@mac.com> Message-ID: <6E2AEE41-D0FB-4FEB-8415-D22DDAEFC38C@mac.com> Hi Peter, I never noticed that before since I always use the foregroundColor. Weird!! Cheers, Roger On Mar 27, 2013, at 10:12 AM, Peter Haworth wrote: > Hi Roger, > I did try this but came across another weirdness. I have it working but > only by setting the textColor of the graphic, not the borderColor! No > matter, it works. > Pete > lcSQL Software > > > On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: > >> I like it better because you can use rounded rectangles or any other >> graphic object and you can still use Graphic Effects for other enhancement. >> It must have been Scott that thought me these things!! >> >> Cheers, >> >> Roger >> >> >> >> On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: >> >>> Roger, I didn't use your method since it got a little complicated for my >>> circumstance but I'll remember it for future use. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 27 16:58:34 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 27 Mar 2013 13:58:34 -0700 Subject: BorderColor of an image In-Reply-To: <6E2AEE41-D0FB-4FEB-8415-D22DDAEFC38C@mac.com> Message-ID: With graphics, foreColor = textColor. But one way you can colorize the stroke of a graphic separately from its textColor is to use a strokeGradient. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/27/13 1:49 PM, "Roger Guay" wrote: >Hi Peter, > >I never noticed that before since I always use the foregroundColor. >Weird!! > >Cheers, > >Roger > > >On Mar 27, 2013, at 10:12 AM, Peter Haworth wrote: > >> Hi Roger, >> I did try this but came across another weirdness. I have it working but >> only by setting the textColor of the graphic, not the borderColor! No >> matter, it works. >> Pete >> lcSQL Software >> >> >> On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: >> >>> I like it better because you can use rounded rectangles or any other >>> graphic object and you can still use Graphic Effects for other >>>enhancement. >>> It must have been Scott that thought me these things!! >>> >>> Cheers, >>> >>> Roger >>> >>> >>> >>> On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: >>> >>>> Roger, I didn't use your method since it got a little complicated for >>>>my >>>> circumstance but I'll remember it for future use. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Wed Mar 27 17:04:25 2013 From: irog at mac.com (Roger Guay) Date: Wed, 27 Mar 2013 15:04:25 -0600 Subject: BorderColor of an image In-Reply-To: References: Message-ID: Ya but Scott, shouldn't borderColor also work? I think Peter's point was that he couldn't use borderColor. Roger On Mar 27, 2013, at 2:58 PM, Scott Rossi wrote: > With graphics, foreColor = textColor. > > But one way you can colorize the stroke of a graphic separately from its > textColor is to use a strokeGradient. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/27/13 1:49 PM, "Roger Guay" wrote: > >> Hi Peter, >> >> I never noticed that before since I always use the foregroundColor. >> Weird!! >> >> Cheers, >> >> Roger >> >> >> On Mar 27, 2013, at 10:12 AM, Peter Haworth wrote: >> >>> Hi Roger, >>> I did try this but came across another weirdness. I have it working but >>> only by setting the textColor of the graphic, not the borderColor! No >>> matter, it works. >>> Pete >>> lcSQL Software >>> >>> >>> On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: >>> >>>> I like it better because you can use rounded rectangles or any other >>>> graphic object and you can still use Graphic Effects for other >>>> enhancement. >>>> It must have been Scott that thought me these things!! >>>> >>>> Cheers, >>>> >>>> Roger >>>> >>>> >>>> >>>> On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: >>>> >>>>> Roger, I didn't use your method since it got a little complicated for >>>>> my >>>>> circumstance but I'll remember it for future use. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Mar 27 17:19:39 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 27 Mar 2013 14:19:39 -0700 Subject: BorderColor of an image In-Reply-To: Message-ID: Just posting a (possibly) helpful hint (I lost track of the original issue). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/27/13 2:04 PM, "Roger Guay" wrote: >Ya but Scott, shouldn't borderColor also work? I think Peter's point was >that he couldn't use borderColor. > >Roger > > >On Mar 27, 2013, at 2:58 PM, Scott Rossi wrote: > >> With graphics, foreColor = textColor. >> >> But one way you can colorize the stroke of a graphic separately from its >> textColor is to use a strokeGradient. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 3/27/13 1:49 PM, "Roger Guay" wrote: >> >>> Hi Peter, >>> >>> I never noticed that before since I always use the foregroundColor. >>> Weird!! >>> >>> Cheers, >>> >>> Roger >>> >>> >>> On Mar 27, 2013, at 10:12 AM, Peter Haworth wrote: >>> >>>> Hi Roger, >>>> I did try this but came across another weirdness. I have it working >>>>but >>>> only by setting the textColor of the graphic, not the borderColor! No >>>> matter, it works. >>>> Pete >>>> lcSQL Software >>>> >>>> >>>> On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: >>>> >>>>> I like it better because you can use rounded rectangles or any other >>>>> graphic object and you can still use Graphic Effects for other >>>>> enhancement. >>>>> It must have been Scott that thought me these things!! >>>>> >>>>> Cheers, >>>>> >>>>> Roger >>>>> >>>>> >>>>> >>>>> On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: >>>>> >>>>>> Roger, I didn't use your method since it got a little complicated >>>>>>for >>>>>> my >>>>>> circumstance but I'll remember it for future use. >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Mar 27 17:59:28 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 27 Mar 2013 21:59:28 +0000 Subject: Android - Resizing images opened by photo picker In-Reply-To: <17194D61-3818-4FE0-B91C-9D13995E82D6@sweattechnologies.com> References: <31BDC56EACAAF64688457CE3F71D9F1A010972EB@Peas2.byu.local> <17194D61-3818-4FE0-B91C-9D13995E82D6@sweattechnologies.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A010A838D@Peas2.byu.local> On Mar 21, 2013, at 3:15 PM, Monte Goulding wrote: > > On 22/03/2013, at 8:08 AM, Devin Asay wrote: > >> The mobilePickPhoto command lets you choose a photo either from the device's photo gallery library or take a photo with the camera. In iOS mobilePickPhoto has two optional parameters that let you limit the maximum width and size of the chosen image, but that isn't implemented on Android. I've been trying to find a way to do a similar thing on Android. I tried resizing the last image object after picking the photo, but the chosen image always ends up filling up the entire screen, and then some. >> >> Has anyone found a way to set the size of a photo opened in Android when using mobilePickPhoto? > > First off you probably want to set the visible of the templateImage to false before mobilePickPhoto. Set the lockLoc too then resize proportionally using the formattedWidth and height of the image after the import. You may also want to try setting the resizeQuality to good. > Followup: This finally worked for me: set the visible of the templateimage to false set the resizeQuality of the templateimage to "good" mobilePickPhoto "camera" set the height of last image to 480 set the width of last image to 640 set the loc of last image to the screenloc show last image Thanks for the pointer, Monte. Devin Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Wed Mar 27 19:22:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Mar 2013 16:22:41 -0700 Subject: BorderColor of an image In-Reply-To: References: <6E2AEE41-D0FB-4FEB-8415-D22DDAEFC38C@mac.com> Message-ID: Check out the post on the developer list on this topic. Pete lcSQL Software On Wed, Mar 27, 2013 at 1:58 PM, Scott Rossi wrote: > With graphics, foreColor = textColor. > > But one way you can colorize the stroke of a graphic separately from its > textColor is to use a strokeGradient. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/27/13 1:49 PM, "Roger Guay" wrote: > > >Hi Peter, > > > >I never noticed that before since I always use the foregroundColor. > >Weird!! > > > >Cheers, > > > >Roger > > > > > >On Mar 27, 2013, at 10:12 AM, Peter Haworth wrote: > > > >> Hi Roger, > >> I did try this but came across another weirdness. I have it working but > >> only by setting the textColor of the graphic, not the borderColor! No > >> matter, it works. > >> Pete > >> lcSQL Software > >> > >> > >> On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay wrote: > >> > >>> I like it better because you can use rounded rectangles or any other > >>> graphic object and you can still use Graphic Effects for other > >>>enhancement. > >>> It must have been Scott that thought me these things!! > >>> > >>> Cheers, > >>> > >>> Roger > >>> > >>> > >>> > >>> On Mar 26, 2013, at 7:21 PM, Peter Haworth wrote: > >>> > >>>> Roger, I didn't use your method since it got a little complicated for > >>>>my > >>>> circumstance but I'll remember it for future use. > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 27 19:27:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Mar 2013 16:27:56 -0700 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: Yes, it works great. Only reason I don't want to use it is because this is to do with my lcStackBrowser plugin. Right now, installation consists of putting it into their plugins folder. I might be misunderstanding something but using Trevor's code sounds like you need an installer process of some sort to recreate the directory structure on the user's machine and I don;t have such a thing right now. Pete lcSQL Software On Wed, Mar 27, 2013 at 1:28 PM, Mark Wieder wrote: > Trevor DeVore writes: > > > The handlers I put up on gist should give you most, if not all, the > > functionality you need. They do just what the OS X compress feature would > > do. > > I finally had a look at the gist posting. Nice work. > > -- > 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 irog at mac.com Wed Mar 27 19:42:24 2013 From: irog at mac.com (Roger Guay) Date: Wed, 27 Mar 2013 17:42:24 -0600 Subject: BorderColor of an image In-Reply-To: References: Message-ID: <5B83547B-147A-4167-BD30-717425D25708@mac.com> Definitely, a great hint! You've pushed back the frontiers of ignorance again (for me, anyway) with the strokeGradient thing. Cheers, Roger On Mar 27, 2013, at 3:19 PM, Scott Rossi wrote: > Just posting a (possibly) helpful hint (I lost track of the original > issue). From endernafi at gmail.com Thu Mar 28 01:53:47 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 28 Mar 2013 07:53:47 +0200 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Message-ID: Thanks, all of you... On-rev is a bit expensive to me and I don't need livecode server right now. I'll think Dreamhost for hosting & Name'com for dns is what I need. Working with funny people is important to me, too :) And 10 years without a problem? Man, that's promising? Best, ~ Ender Nafi ~? together, we're smarter ?~ From stephenREVOLUTION2 at barncard.com Thu Mar 28 02:15:33 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 27 Mar 2013 23:15:33 -0700 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Message-ID: I'm not saying they are perfect, or there never are problems, but they have a really good up-time record and I am very happy with their speed and tech support. On Wed, Mar 27, 2013 at 10:53 PM, Ender Nafi Elek?io?lu wrote: > Thanks, all of you... > > On-rev is a bit expensive to me and I don't need livecode server right now. > I'll think Dreamhost for hosting & Name'com for dns is what I need. > Working with funny people is important to me, too :) > And 10 years without a problem? > Man, that's promising? > > > Best, > > ~ Ender Nafi > > ~? together, we're smarter ?~ > > _______________________________________________ > use-livecode mailing list > use-livecode 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 peterwawood at gmail.com Thu Mar 28 03:41:08 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 28 Mar 2013 15:41:08 +0800 Subject: 101st entry in I001 things to do with LiveCode Message-ID: <2DD73BCF-5DCA-44EA-8128-8929F6BCF9CE@gmail.com> I thought for the 101st entry I'd show something a little special. I've gone for Scott Rossi's video of his beautiful user interfaces. Peter W A Wood http://LiveCode1001.blogspot.com From lists at mangomultimedia.com Thu Mar 28 08:32:34 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 28 Mar 2013 08:32:34 -0400 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: On Wed, Mar 27, 2013 at 7:27 PM, Peter Haworth wrote: > Right now, installation consists of putting it into their plugins folder. > I might be misunderstanding something but using Trevor's code sounds like > you need an installer process of some sort to recreate the directory > structure on the user's machine and I don;t have such a thing right now. You wouldn't need a separate installer process. All of the code could be within a stack that runs in the IDE. Within the IDE RunRev provides a function which giver you the path to the user plugins folder. You would use that function to get the root plugin path. You would then unzip the archive to that folder (or a subfolder). It seems to me that this would be the easiest for the user rather than having to find their plugins folder. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From lists at mangomultimedia.com Thu Mar 28 08:33:23 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 28 Mar 2013 08:33:23 -0400 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: On Wed, Mar 27, 2013 at 4:28 PM, Mark Wieder wrote: > I finally had a look at the gist posting. Nice work. > Thanks Mark. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From ambassador at fourthworld.com Thu Mar 28 10:18:25 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Mar 2013 07:18:25 -0700 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: Message-ID: <51545131.8050002@fourthworld.com> stephen barncard wrote: > I'm not saying they are perfect, or there never are problems, but they have > a really good up-time record and I am very happy with their speed and tech > support. > > On Wed, Mar 27, 2013 at 10:53 PM, Ender Nafi Elek?io?lu wrote: > >> Thanks, all of you... >> >> On-rev is a bit expensive to me and I don't need livecode server right now. >> I'll think Dreamhost for hosting & Name'com for dns is what I need. >> Working with funny people is important to me, too :) >> And 10 years without a problem? >> Man, that's promising? I've used Dreamhost since 2007 and for most of these years I've been very happy. There is one issue that has cropped up recently, however, and one would need to keep this in mind when choosing DH (as well as some other hosting companies with similar configurations): Like most hosting companies, from time to time DH will update their infrastructure. Last year they began updating their servers to systems that use an XFS file system with 64-bit inodes. Without getting into what inodes are and how they work, the short form is that some file I/O routines, like getting a list of files or reading a file using "put url...", rely on inode information. With LiveCode being 32-bit, the structure returned from calls to the system to obtain such info includes 64-bit values, which are too large for the current version of liveocde-server to handle, resulting in an error. Please note that this issue isn't limited to Dreamhost. XFS is measurably more efficient than EXT3, so many hosting companies are migrating to it. When they do, they usually use 64-bit inodes for better support on large drives, so we can expect more systems to be affected by this going forward. This issue was reported here: LiveCode Server incompatible with file systems using 64-bit inodes It's marked as "fixed", and indeed I was able to verify the fix with a test build of the new engine on my DH account. But that version of the livecode-server engine isn't yet shipping, and the version currently available isn't compatible with DH's new configuration. Some accounts, like apparently Stephen's, are still on the older system and have not yet been migrated. But the DH newsletter makes it clear that they intend to complete their migration within the coming months, and new accounts will likely go on the newer systems. It may well be that the new version of livecode-server with this fix will be available before DH completes their migration process. Just the same, with so many of my domains there dependent on livecode-server, I've had to start shopping for alternatives. After much evaluation I've begun using InterServer.com, and have moved about half my domains there, with most of the rest slated for migration over the coming months. In addition to shared hosting options roughly on par with Dreamhost's, InterServer also offers the cheapest flexible VPS systems I've seen, starting at just $6/mo, which I've been enjoying as a test bed for more complex apps where I need full control over the system. Moreover, both pre-sale and post-sale technical support questions have all been answered by InterServer staff in under an hour, even on weekends. Suffice to say, I'm impressed. They're not as large as DH, but for me that's been an advantage, being able to submit requests that get acted on very quickly. I'm still keeping my DH account, and will continue to use it for some of my less time-sensitive domains where I can afford to wait for the new livecode-server build. But InterServer has been a very good Plan B for me, with livecode-server working well on both its shared hosting and VPS systems. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Thu Mar 28 11:21:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Mar 2013 17:21:50 +0200 Subject: unicodeEnabled fld: jumping cursor Message-ID: <5154600E.2050505@gmail.com> So, I click inside text in a fld where the useUnicode is set to true, then, on my keyboard press the <- (back delete) key; the preceding char is deleted and THEN the cursor jumps to the end of the line of text NOT Good. Richmond. From pete at lcsql.com Thu Mar 28 12:23:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 28 Mar 2013 09:23:54 -0700 Subject: Adding a folder to a zip archive In-Reply-To: References: Message-ID: Yes, I've been reconsidering and will probably do something along those lines. Pete lcSQL Software On Thu, Mar 28, 2013 at 5:32 AM, Trevor DeVore wrote: > On Wed, Mar 27, 2013 at 7:27 PM, Peter Haworth wrote: > > > Right now, installation consists of putting it into their plugins folder. > > I might be misunderstanding something but using Trevor's code sounds > like > > you need an installer process of some sort to recreate the directory > > structure on the user's machine and I don;t have such a thing right now. > > > You wouldn't need a separate installer process. All of the code could be > within a stack that runs in the IDE. Within the IDE RunRev provides a > function which giver you the path to the user plugins folder. You would use > that function to get the root plugin path. You would then unzip the archive > to that folder (or a subfolder). It seems to me that this would be the > easiest for the user rather than having to find their plugins folder. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.clarify-it.com - www.screensteps.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Mar 28 09:49:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Mar 2013 14:49:13 +0100 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Message-ID: <51544A59.1070707@economy-x-talk.com> Hi Ender Nafi, If you don't need LiveCode server and if a gigabyte of server space is sufficient, then I can offer you a fully featured web hosting service for 11 euro per year. Contact me off-list if you're interested. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3/28/2013 06:53, Ender Nafi Elek?io?lu wrote: > Thanks, all of you... > > On-rev is a bit expensive to me and I don't need livecode server right now. > I'll think Dreamhost for hosting & Name'com for dns is what I need. > Working with funny people is important to me, too :) > And 10 years without a problem? > Man, that's promising? > > > Best, > > ~ Ender Nafi > From endernafi at gmail.com Thu Mar 28 13:22:10 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 28 Mar 2013 19:22:10 +0200 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <51544A59.1070707@economy-x-talk.com> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> Message-ID: There are so many options :) Richard's advice of interserver'com seems good too, especially replies for support in under an hour? Mark, I'll have a couple of questions for you; sending an off-list email shortly. ~ Ender Nafi ~? together, we're smarter ?~ From nm at studionm.pl Thu Mar 28 13:20:58 2013 From: nm at studionm.pl (Marek Niesiobedzki) Date: Thu, 28 Mar 2013 18:20:58 +0100 Subject: unicodeEnabled fld: jumping cursor Message-ID: I didn't observe any problems like you described with Unicode text in fields. Could you show your script for this field? What LC version you use? Marek From jacque at hyperactivesw.com Thu Mar 28 13:33:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Mar 2013 12:33:57 -0500 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> Message-ID: <51547F05.2000205@hyperactivesw.com> On 3/28/13 12:53 AM, Ender Nafi Elek?io?lu wrote: > Thanks, all of you... > > On-rev is a bit expensive to me and I don't need livecode server right now. > I'll think Dreamhost for hosting & Name'com for dns is what I need. I like JaguarPC, I've been with them for over 10 years. They offer the same features as Dreamhost pretty much. They just implemented free CloudFlare services to all their clients (speed and security) and there are more services available than I can list. They have just replaced all their servers with very fast machines, uptime is 99+%, ticket support averages under 1 hour response time 24/7, there is unlimited bandwidth and storage. I think Dreamhost and JaguarPC are the two of the leading hosting companies these days and you probably won't go wrong with either of them. DNS doesn't have to be a separate purchase, you can use Jaguar's DNS. I used to use a third-party DNS provider but I changed back to Jaguar's free DNS when I saw how reliable they were. http://www.jaguarpc.com -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Thu Mar 28 13:58:49 2013 From: john at splash21.com (John Craig) Date: Thu, 28 Mar 2013 17:58:49 +0000 Subject: [ANN] GPL sQuiRt Message-ID: <515484D9.6010206@splash21.com> (Also posted on the forums) sQuiRt is a LiveCode library for creating QR codes (2d bar codes). I've posted an open source, GPL version to complement the imminent release of open source LC. Hopefully you'll find the source interesting - there's code for PNG image creation, crc32 checksums and deflate compression as well as the QR code itself. I'm no mathematician and don't have previous QR experience, so there will no doubt be numerous ways to tweak the code, etc - have fun!! There's a download link at; http://splash21.com/sQuiRt.php From monte at sweattechnologies.com Thu Mar 28 15:30:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Mar 2013 06:30:17 +1100 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> Message-ID: On 29/03/2013, at 4:22 AM, Ender Nafi Elek?io?lu wrote: > There are so many options :) > Richard's advice of interserver'com seems good too, > especially replies for support in under an hour? Edner if you want to have full control and a completely scalable platform and a really good price then take a look at Amazon's EC2. Their free tier will give you free hosting for a year. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From endernafi at gmail.com Thu Mar 28 15:51:36 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 28 Mar 2013 21:51:36 +0200 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> Message-ID: Ok, Amazon EC2 is way over my head :) I didn't understand even the concept, not much a web guy I am, huh? Hourly prices, cluster gpu instances, high-memory micro reserves? :-o I need hosting for our simple business-card website and it will be a test-ground for my iOS apps. Thanks to my current hosting service, all our websites are down `_? They didn't bother to inform me that my subscription is due to renewal. Why the others are down, I don't know and I won't ask. I'll just cut the strings. So, I'm going to transfer my domains to name'com and for hosting there are 3 choices: I'm waiting reply from Mark {economy-x-talk}, if their service doesn't suit to my needs then either dreamhost'com or jaguarpc'com? As always, posting my question to this list was the right decision; you all have been so much helpful. Thanks, ~ Ender Nafi ~? together, we're smarter ?~ From monte at sweattechnologies.com Thu Mar 28 15:51:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Mar 2013 06:51:17 +1100 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> Message-ID: <552A3E30-0715-4D1E-ADD3-B5224DAFE2F4@sweattechnologies.com> On 29/03/2013, at 6:51 AM, Ender Nafi Elek?io?lu wrote: > Ok, Amazon EC2 is way over my head :) > I didn't understand even the concept, not much a web guy I am, huh? > Hourly prices, cluster gpu instances, high-memory micro reserves? :-o It's all fun working it out ;-) > > I need hosting for our simple business-card website and it will be a test-ground for my iOS apps. Ah... I used to use linksky.com and they were pretty competitive. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From endernafi at gmail.com Thu Mar 28 16:03:59 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Thu, 28 Mar 2013 22:03:59 +0200 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <552A3E30-0715-4D1E-ADD3-B5224DAFE2F4@sweattechnologies.com> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> <552A3E30-0715-4D1E-ADD3-B5224DAFE2F4@sweattechnologies.com> Message-ID: <31F9A85A0AFA4784A2C8BA3C538EF629@gmail.com> linksky'com? another alternative? my head hurts :)) ~ Ender Nafi From stephenREVOLUTION2 at barncard.com Thu Mar 28 17:42:12 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 28 Mar 2013 14:42:12 -0700 Subject: [OT] Domain & Hosting Service Advice In-Reply-To: <31F9A85A0AFA4784A2C8BA3C538EF629@gmail.com> References: <50792AF9C52C44A3A82DBAC8ED0C42A3@gmail.com> <2122BDCC-5A2E-43B1-A37F-74E945F480BB@m-r-d.de> <51544A59.1070707@economy-x-talk.com> <552A3E30-0715-4D1E-ADD3-B5224DAFE2F4@sweattechnologies.com> <31F9A85A0AFA4784A2C8BA3C538EF629@gmail.com> Message-ID: I was worried about saturating this guy with too many choices! On Thu, Mar 28, 2013 at 1:03 PM, Ender Nafi Elek?io?lu wrote: > linksky'com? > another alternative? > my head hurts :)) > > > ~ Ender Nafi > _______________________________________________ > Stephen Barncard San Francisco Ca. USA more about sqb From david at architex.tv Fri Mar 29 05:08:50 2013 From: david at architex.tv (David Bovill) Date: Fri, 29 Mar 2013 09:08:50 +0000 Subject: Challenge: how to set the text of a field Message-ID: OK - a very basic challenge for all you LIveCode wizz kids out there :) How do you set the text of a field. The twist is you need to do it for a group which has been placed on multiple card, so there is the text on card 1 and this is different from the text on card 2. The difficulty is that you want to use a behavior of a group, so that you can refer to the text of the "Title" field (there are two fields in the group - one called "Title" and one called "Body"). The problem is based on the fact that while you can get "the text of fld "Title" of card 2" - the title_Text of group "Title" of card 2 does not work - it returns the text of the "Title" field of the current card. So how do you do this? Here are the sample handlers (that don't work): getprop title_Text > return the text of fld "Title" of me > end title_Text > > setprop title_Text someText > set the text of fld "Title" of me to someText > end title_Text > To make it easier to test you can use a setprop (or any handler placed in the stack script). The only way I can do this is by a horrible hack - is anyone up to the challenge? From david at vaudevillecourt.tv Fri Mar 29 05:10:32 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 09:10:32 +0000 Subject: Encoding videos for Android In-Reply-To: References: Message-ID: By the way the issue appears to be that "play someVideoFile" does not work on Android - at least my set up (I only get sound no image). Using a custom control to play the video works fine with both video formats. On 1 March 2013 17:03, David Bovill wrote: > I've tried 2 videos so far for playback on Android (Nexus 7). Both played > but without showing a picture - that is the sound played. The first was an > .m4v file which I did not expect to play, and then I tried converting it to > a .webm file - this only played the sound as well. The webm file played > fine using Chrome or Firefox. > > Any thoughts on how to best encode videos? I'll be testing some other > files - but some tips could save time :) > > From andre.bisseret at wanadoo.fr Fri Mar 29 05:30:30 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 29 Mar 2013 10:30:30 +0100 Subject: How to clone invisible a stack? Message-ID: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Bonjour, I have a main stack (say mainStack1" of which one substack is a model stack, say stack "stackModel" On an another main stack, I have a button with a mouseUp handler that creates a new stack by cloning the model stack. When I clone invisible stack "stackModel", that create a stack "copy of stackModel", as expected. I rename it. My problem is that I can't do that invisibly: the clone "Copy of stackModel" is always visible for a while! that keeps being so, despite the fact that I lock screen. Trying to set the visible of stack "stackModel" to false before cloning does not help Below is the involved part of my handler: -------------- lock screen --- --- set the visible of stack "stackModel" of stack "mainStack1" to false -- not better clone invisible stack "stackModel" of stack "mainStack1" set the name of it to tNewDoc -- -- save stack tNewDoc as "bli/bla/blo/tNewDoc close stack tNewDoc --------- Any idea on what I am missing? Thanks a lot in advance for your help Best regards from Grenoble Andr? From david at vaudevillecourt.tv Fri Mar 29 05:39:37 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 09:39:37 +0000 Subject: How to clone invisible a stack? In-Reply-To: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Message-ID: Nothing - it should work - both for mainstacks and substacks. Just tested on OSX and it works fine - what platform are you using? On 29 March 2013 09:30, Andr? Bisseret wrote: > Bonjour, > > I have a main stack (say mainStack1" of which one substack is a model > stack, say stack "stackModel" > > On an another main stack, I have a button with a mouseUp handler that > creates a new stack by cloning the model stack. > > When I clone invisible stack "stackModel", that create a stack "copy of > stackModel", as expected. > I rename it. > My problem is that I can't do that invisibly: the clone "Copy of > stackModel" is always visible for a while! > > that keeps being so, despite the fact that I lock screen. > > Trying to set the visible of stack "stackModel" to false before cloning > does not help > > Below is the involved part of my handler: > -------------- > lock screen > --- > --- > set the visible of stack "stackModel" of stack "mainStack1" to false -- > not better > clone invisible stack "stackModel" of stack "mainStack1" > set the name of it to tNewDoc > -- > -- > save stack tNewDoc as "bli/bla/blo/tNewDoc > close stack tNewDoc > --------- > > Any idea on what I am missing? > > Thanks a lot in advance for your help > > Best regards from Grenoble > > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rene.micout at numericable.com Fri Mar 29 05:41:07 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 29 Mar 2013 10:41:07 +0100 Subject: How to clone invisible a stack? In-Reply-To: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Message-ID: Have you explored the custom property solutions ? Le 29 mars 2013 ? 10:30, Andr? Bisseret a ?crit : > Bonjour, > > I have a main stack (say mainStack1" of which one substack is a model stack, say stack "stackModel" > > On an another main stack, I have a button with a mouseUp handler that creates a new stack by cloning the model stack. > > When I clone invisible stack "stackModel", that create a stack "copy of stackModel", as expected. > I rename it. > My problem is that I can't do that invisibly: the clone "Copy of stackModel" is always visible for a while! > > that keeps being so, despite the fact that I lock screen. > > Trying to set the visible of stack "stackModel" to false before cloning does not help > > Below is the involved part of my handler: > -------------- > lock screen > --- > --- > set the visible of stack "stackModel" of stack "mainStack1" to false -- not better > clone invisible stack "stackModel" of stack "mainStack1" > set the name of it to tNewDoc > -- > -- > save stack tNewDoc as "bli/bla/blo/tNewDoc > close stack tNewDoc > --------- > > Any idea on what I am missing? > > Thanks a lot in advance for your help > > Best regards from Grenoble > > Andr? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mar 29 05:44:08 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 29 Mar 2013 10:44:08 +0100 Subject: How to clone invisible a stack? In-Reply-To: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Message-ID: Hi Andr?, Thre's a good chance that script run when you clone the stack, which make it visible. Lock the messages before cloning the stack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 29 mrt 2013, at 10:30, Andr? Bisseret wrote: > Bonjour, > > I have a main stack (say mainStack1" of which one substack is a model stack, say stack "stackModel" > > On an another main stack, I have a button with a mouseUp handler that creates a new stack by cloning the model stack. > > When I clone invisible stack "stackModel", that create a stack "copy of stackModel", as expected. > I rename it. > My problem is that I can't do that invisibly: the clone "Copy of stackModel" is always visible for a while! > > that keeps being so, despite the fact that I lock screen. > > Trying to set the visible of stack "stackModel" to false before cloning does not help > > Below is the involved part of my handler: > -------------- > lock screen > --- > --- > set the visible of stack "stackModel" of stack "mainStack1" to false -- not better > clone invisible stack "stackModel" of stack "mainStack1" > set the name of it to tNewDoc > -- > -- > save stack tNewDoc as "bli/bla/blo/tNewDoc > close stack tNewDoc > --------- > > Any idea on what I am missing? > > Thanks a lot in advance for your help > > Best regards from Grenoble > > Andr? From andre.bisseret at wanadoo.fr Fri Mar 29 06:22:59 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 29 Mar 2013 11:22:59 +0100 Subject: How to clone invisible a stack? In-Reply-To: References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Message-ID: Thank you much Mark, Locking messages before cloning works like a charm ;-)) I keep learning! David and Ren?: thanks for your replies David, I am using OSX too. Ren?, I did not explore the custom property solutions Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I use custom property?) Seulement si vous avez le temps ! Best regards Andr? Le 29 mars 2013 ? 10:44, Mark Schonewille a ?crit : > Hi Andr?, > > Thre's a good chance that script run when you clone the stack, which make it visible. Lock the messages before cloning the stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 29 mrt 2013, at 10:30, Andr? Bisseret wrote: > >> Bonjour, >> >> I have a main stack (say mainStack1" of which one substack is a model stack, say stack "stackModel" >> >> On an another main stack, I have a button with a mouseUp handler that creates a new stack by cloning the model stack. >> >> When I clone invisible stack "stackModel", that create a stack "copy of stackModel", as expected. >> I rename it. >> My problem is that I can't do that invisibly: the clone "Copy of stackModel" is always visible for a while! >> >> that keeps being so, despite the fact that I lock screen. >> >> Trying to set the visible of stack "stackModel" to false before cloning does not help >> >> Below is the involved part of my handler: >> -------------- >> lock screen >> --- >> --- >> set the visible of stack "stackModel" of stack "mainStack1" to false -- not better >> clone invisible stack "stackModel" of stack "mainStack1" >> set the name of it to tNewDoc >> -- >> -- >> save stack tNewDoc as "bli/bla/blo/tNewDoc >> close stack tNewDoc >> --------- >> >> Any idea on what I am missing? >> >> Thanks a lot in advance for your help >> >> Best regards from Grenoble >> >> Andr? > > From rene.micout at numericable.com Fri Mar 29 06:54:21 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 29 Mar 2013 11:54:21 +0100 Subject: How to clone invisible a stack? In-Reply-To: References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> Message-ID: <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> Le 29 mars 2013 ? 11:22, Andr? Bisseret a ?crit : > Ren?, I did not explore the custom property solutions > Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I use custom property?) > Seulement si vous avez le temps ! This involves integrating the stack "model" (B) in a custom property contained in the stack (A). RUN THIS SCRIPT FROM THE MESSAGE BOX: set the cpNomCustomProp of stack id 1020 to url "binFile:/full path/stkMod?le" cpNomCustomProp = instance name of the custom property containing the stack model B (to adapt) id = 1020 id example of stack A (to adapt) which is contained in the custom property (the stack model B) url = to adapt to the individual case, it is the stack model B line above script stored as customprop the stack model B as a basis for the creation of the duplicate model stack when called from stack A ... You will have only one stack (A), the stack model integral part of the stack A Cela consiste ? int?grer le stack "mod?le" (B) dans une custom property contenue dans le stack (A). LANCER CE SCRIPT DEPUIS LA MESSAGE BOX : set the cpNomCustomProp of stack id 1020 to url "binFile:/Chemin d'acc?s complet/stkMod?le" cpNomCustomProp = exemple de nom de la custom property contenant le stack mod?le B (? personnaliser) id 1020 = exemple d'id du stack A (? adapter) dans lequel est contenu la custom property (le stack mod?le B) url = ? adapter selon les cas, il s'agit du stack mod?le B la ligne de script ci-dessus stocke sous forme de customprop le stack mod?le B qui servira de base ? la cr?ation du duplicata du stack mod?le lors de son appel depuis le stack A ? Vous n'aurez donc plus qu'un stack (A), le stack mod?le faisant partie int?grante du stack A From rene.micout at numericable.com Fri Mar 29 07:03:32 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 29 Mar 2013 12:03:32 +0100 Subject: How to clone invisible a stack? In-Reply-To: <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> Message-ID: <4EF821AE-9158-4CB4-9852-F54D029CBC21@numericable.com> I forgot un little detail > how to launch the model stack ? from stack A (stack id 1020 in the example): go stack the cpNomCustomProp of stack id 1020 Le 29 mars 2013 ? 11:54, Ren? Micout a ?crit : > > Le 29 mars 2013 ? 11:22, Andr? Bisseret a ?crit : > >> Ren?, I did not explore the custom property solutions >> Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I use custom property?) >> Seulement si vous avez le temps ! > > This involves integrating the stack "model" (B) in a custom property contained in the stack (A). > > RUN THIS SCRIPT FROM THE MESSAGE BOX: > > set the cpNomCustomProp of stack id 1020 to url "binFile:/full path/stkMod?le" > > cpNomCustomProp = instance name of the custom property containing the stack model B (to adapt) > id = 1020 id example of stack A (to adapt) which is contained in the custom property (the stack model B) > url = to adapt to the individual case, it is the stack model B > line above script stored as customprop the stack model B as a basis for the creation of the duplicate model stack when called from stack A ... > You will have only one stack (A), the stack model integral part of the stack A > > Cela consiste ? int?grer le stack "mod?le" (B) dans une custom property contenue dans le stack (A). > > LANCER CE SCRIPT DEPUIS LA MESSAGE BOX : > > set the cpNomCustomProp of stack id 1020 to url "binFile:/Chemin d'acc?s complet/stkMod?le" > > cpNomCustomProp = exemple de nom de la custom property contenant le stack mod?le B (? personnaliser) > id 1020 = exemple d'id du stack A (? adapter) dans lequel est contenu la custom property (le stack mod?le B) > url = ? adapter selon les cas, il s'agit du stack mod?le B > la ligne de script ci-dessus stocke sous forme de customprop le stack mod?le B qui servira de base ? la cr?ation du duplicata du stack mod?le lors de son appel depuis le stack A ? > Vous n'aurez donc plus qu'un stack (A), le stack mod?le faisant partie int?grante du stack A > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Mar 29 07:59:29 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 29 Mar 2013 04:59:29 -0700 Subject: Challenge: how to set the text of a field In-Reply-To: Message-ID: This problem is based on the same issue that Pete Haworth ran into: references to controls within groups placed on multiple cards resolve to the current card. Not sure if this would be an option for you, but you could use commands in the behavior instead of set/getProp and include the card number as a parameter (argument?), since you'll likely know the card of the group you intend to modify. command setMyText pCardNum, pFieldName, pValue put the id of me into theID set text of fld pFieldName of grp id theID of cd pCardNum to pValue end setMyText command getMyText pCardNum, pFieldName put the id of me into theID return the text of fld pFieldName of grp id theID of cd pCardNum end getMyText But when you get down to it, there's no need for this script to be a behavior. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/29/13 2:08 AM, "David Bovill" wrote: >OK - a very basic challenge for all you LIveCode wizz kids out there :) >How >do you set the text of a field. The twist is you need to do it for a group >which has been placed on multiple card, so there is the text on card 1 and >this is different from the text on card 2. The difficulty is that you want >to use a behavior of a group, so that you can refer to the text of the >"Title" field (there are two fields in the group - one called "Title" and >one called "Body"). > >The problem is based on the fact that while you can get "the text of fld >"Title" of card 2" - the title_Text of group "Title" of card 2 does not >work - it returns the text of the "Title" field of the current card. So >how >do you do this? > >Here are the sample handlers (that don't work): > >getprop title_Text >> return the text of fld "Title" of me >> end title_Text >> >> setprop title_Text someText >> set the text of fld "Title" of me to someText >> end title_Text >> > >To make it easier to test you can use a setprop (or any handler placed in >the stack script). The only way I can do this is by a horrible hack - is >anyone up to the challenge? >_______________________________________________ >use-livecode mailing list >use-livecode at 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.bisseret at wanadoo.fr Fri Mar 29 08:48:04 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 29 Mar 2013 13:48:04 +0100 Subject: How to clone invisible a stack? In-Reply-To: <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> Message-ID: <2C33A9D5-F6E3-4ED9-B790-88EFB89A36EF@wanadoo.fr> Ren?, I am adopting the solution from Mark, but I am interested by yours. I am not very familiar with custom properties, so I am going to give it a try to better understand their possibilities. Merci beaucoup Ren? Andr? Le 29 mars 2013 ? 11:54, Ren? Micout a ?crit : > > Le 29 mars 2013 ? 11:22, Andr? Bisseret a ?crit : > >> Ren?, I did not explore the custom property solutions >> Pourriez-vous m'esquisser comment utiliser une "custom property" ? (How could I use custom property?) >> Seulement si vous avez le temps ! > > This involves integrating the stack "model" (B) in a custom property contained in the stack (A). > > RUN THIS SCRIPT FROM THE MESSAGE BOX: > > set the cpNomCustomProp of stack id 1020 to url "binFile:/full path/stkMod?le" > > cpNomCustomProp = instance name of the custom property containing the stack model B (to adapt) > id = 1020 id example of stack A (to adapt) which is contained in the custom property (the stack model B) > url = to adapt to the individual case, it is the stack model B > line above script stored as customprop the stack model B as a basis for the creation of the duplicate model stack when called from stack A ... > You will have only one stack (A), the stack model integral part of the stack A > > Cela consiste ? int?grer le stack "mod?le" (B) dans une custom property contenue dans le stack (A). > > LANCER CE SCRIPT DEPUIS LA MESSAGE BOX : > > set the cpNomCustomProp of stack id 1020 to url "binFile:/Chemin d'acc?s complet/stkMod?le" > > cpNomCustomProp = exemple de nom de la custom property contenant le stack mod?le B (? personnaliser) > id 1020 = exemple d'id du stack A (? adapter) dans lequel est contenu la custom property (le stack mod?le B) > url = ? adapter selon les cas, il s'agit du stack mod?le B > la ligne de script ci-dessus stocke sous forme de customprop le stack mod?le B qui servira de base ? la cr?ation du duplicata du stack mod?le lors de son appel depuis le stack A ? > Vous n'aurez donc plus qu'un stack (A), le stack mod?le faisant partie int?grante du stack A > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 29 12:51:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Mar 2013 11:51:21 -0500 Subject: Challenge: how to set the text of a field In-Reply-To: References: Message-ID: <5155C689.1010701@hyperactivesw.com> On 3/29/13 4:08 AM, David Bovill wrote: > OK - a very basic challenge for all you LIveCode wizz kids out there :) How > do you set the text of a field. The twist is you need to do it for a group > which has been placed on multiple card, so there is the text on card 1 and > this is different from the text on card 2. The difficulty is that you want > to use a behavior of a group, so that you can refer to the text of the > "Title" field (there are two fields in the group - one called "Title" and > one called "Body"). > > The problem is based on the fact that while you can get "the text of fld > "Title" of card 2" - the title_Text of group "Title" of card 2 does not > work - it returns the text of the "Title" field of the current card. So how > do you do this? get the text of fld "title" of cd of me -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at vaudevillecourt.tv Fri Mar 29 12:54:23 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 16:54:23 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: References: Message-ID: Thanks Scott - yes you can do that - so for instance: getprop title_Text [cardNum] > return the text of fld 1 of group "Test" of card cardNum > end title_Text > > setprop title_Text [cardNum] someText > set the text of fld 1 of group "Test" of card cardNum to someText > end title_Text > works - but is not good enough. I want to use the syntax "the title_Text of group 1 of card 3" - is anyone able to hack this any better - if not I suggest this makes it impossible to script basic behaviors for groups designed to be placed on multiple cards? On 29 March 2013 11:59, Scott Rossi wrote: > This problem is based on the same issue that Pete Haworth ran into: > references to controls within groups placed on multiple cards resolve to > the current card. > > Not sure if this would be an option for you, but you could use commands in > the behavior instead of set/getProp and include the card number as a > parameter (argument?), since you'll likely know the card of the group you > intend to modify. > > command setMyText pCardNum, pFieldName, pValue > put the id of me into theID > set text of fld pFieldName of grp id theID of cd pCardNum to pValue > end setMyText > > command getMyText pCardNum, pFieldName > put the id of me into theID > return the text of fld pFieldName of grp id theID of cd pCardNum > end getMyText > > But when you get down to it, there's no need for this script to be a > behavior. > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/29/13 2:08 AM, "David Bovill" wrote: > > >OK - a very basic challenge for all you LIveCode wizz kids out there :) > >How > >do you set the text of a field. The twist is you need to do it for a group > >which has been placed on multiple card, so there is the text on card 1 and > >this is different from the text on card 2. The difficulty is that you want > >to use a behavior of a group, so that you can refer to the text of the > >"Title" field (there are two fields in the group - one called "Title" and > >one called "Body"). > > > >The problem is based on the fact that while you can get "the text of fld > >"Title" of card 2" - the title_Text of group "Title" of card 2 does not > >work - it returns the text of the "Title" field of the current card. So > >how > >do you do this? > > > >Here are the sample handlers (that don't work): > > > >getprop title_Text > >> return the text of fld "Title" of me > >> end title_Text > >> > >> setprop title_Text someText > >> set the text of fld "Title" of me to someText > >> end title_Text > >> > > > >To make it easier to test you can use a setprop (or any handler placed in > >the stack script). The only way I can do this is by a horrible hack - is > >anyone up to the challenge? > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Mar 29 12:56:23 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 16:56:23 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: <5155C689.1010701@hyperactivesw.com> References: <5155C689.1010701@hyperactivesw.com> Message-ID: That is the issue - there is no "easy" way of finding out the value of from within the behavior. There is a way - but it is both unreliable and very ugly. Wandering if anyone has a simple reliable technique I've missed? On 29 March 2013 16:51, J. Landman Gay wrote: > > get the text of fld "title" of cd of me > From pmbrig at gmail.com Fri Mar 29 13:28:11 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 29 Mar 2013 13:28:11 -0400 Subject: How to clone invisible a stack? In-Reply-To: <2C33A9D5-F6E3-4ED9-B790-88EFB89A36EF@wanadoo.fr> References: <8A3C4F47-C3AC-4FAD-B28F-41ECD7F8DB0F@wanadoo.fr> <9D9109D9-1B7C-4BD4-BBED-CD4CB339E0F8@numericable.com> <2C33A9D5-F6E3-4ED9-B790-88EFB89A36EF@wanadoo.fr> Message-ID: <2510BE4B-4FD0-4361-84EC-5B2684D8CC85@gmail.com> On Mar 29, 2013, at 8:48 AM, Andr? Bisseret wrote: > Ren?, I am adopting the solution from Mark, > but I am interested by yours. > I am not very familiar with custom properties, so I am going to give it a try > to better understand their possibilities. I predict that you will love custom properties -- I use them all the time. You can use them to store text strings, images, binary data like files or stacks, arrays, really anything at all. In my mind the introduction of customprops was one of the huge steps beyond Hypercard. Do explore this, it's an enormously useful feature. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Fri Mar 29 14:44:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Mar 2013 18:44:16 +0000 (UTC) Subject: Challenge: how to set the text of a field References: <5155C689.1010701@hyperactivesw.com> Message-ID: David Bovill writes: > > That is the issue - there is no "easy" way of finding out the value of > from within the behavior. There is a way - but it is both > unreliable and very ugly. Wandering if anyone has a simple reliable > technique I've missed? the currentcard of this stack -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Mar 29 15:17:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Mar 2013 14:17:30 -0500 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> Message-ID: <5155E8CA.5010504@hyperactivesw.com> On 3/29/13 1:44 PM, Mark Wieder wrote: > David Bovill writes: > >> >> That is the issue - there is no "easy" way of finding out the value of >> from within the behavior. There is a way - but it is both >> unreliable and very ugly. Wandering if anyone has a simple reliable >> technique I've missed? > > the currentcard of this stack > Or even just "this card". That assumes the card whose data he wants really *is* the current card though. I'm not clear about that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at vaudevillecourt.tv Fri Mar 29 15:30:02 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 19:30:02 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: <5155E8CA.5010504@hyperactivesw.com> References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: OK - let's be more descriptive - this card and the current card won't work. Let's picture an application - say it's a keynote style presentation stack - and we are creating background groups that a user can place in the presentation. Say the presentation has 10 cards and all of them happen to use the shared background group "Title and Text". Now as an author of these background groups I want to give them nice easy custom properties - so that anyone can script them easily - one of these properties is "title_Text" - as most groups have a title. I want end users to be able to do things like: put the title_Text of group 1 of card 2 into secondTitle > or if I want a user want to create and index with a script: repeat with cardNum = 1 to the number of cards > put the title_Text of group 1 of card cardNum & CR after myIndex > end repeat > So how can I write a handler to retrun the text of a background group on a card other than the current card? The only way I know of is to do some ugly manual parsing of the long id of the target, and so extract the card id and construct a reference that way - very ugly and in other contexts error prone. What we need is something equivalent to: put the card of the target put the number of the card of the target Any other way of doing this simple task? On 29 March 2013 19:17, J. Landman Gay wrote: > On 3/29/13 1:44 PM, Mark Wieder wrote: > >> David Bovill writes: >> >> >>> That is the issue - there is no "easy" way of finding out the value of >>> from within the behavior. There is a way - but it is both >>> unreliable and very ugly. Wandering if anyone has a simple reliable >>> technique I've missed? >>> >> >> the currentcard of this stack >> >> > Or even just "this card". That assumes the card whose data he wants really > *is* the current card though. I'm not clear about that. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Mar 29 15:42:05 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Mar 2013 14:42:05 -0500 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: <5155EE8D.7020503@hyperactivesw.com> On 3/29/13 2:30 PM, David Bovill wrote: > So how can I write a handler to retrun the text of a background group on a > card other than the current card? The only way I know of is to do some ugly > manual parsing of the long id of the target, and so extract the card id and > construct a reference that way - very ugly and in other contexts error > prone. What we need is something equivalent to: > > put the card of the target > put the number of the card of the target > > Any other way of doing this simple task? Does it have to be a background group? If you make it a shared card group then you can get "the owner of me", which will be the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Mar 29 15:47:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 29 Mar 2013 12:47:01 -0700 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: David, This may not be any less inelegant that parsing the long id, but how having the Title_Text be an array with its keys being either the card number or the card id? On Fri, Mar 29, 2013 at 12:30 PM, David Bovill wrote: > So how can I write a handler to retrun the text of a background group on a > card other than the current card? The only way I know of is to do some ugly > manual parsing of the long id of the target, and so extract the card id and > construct a reference that way - very ugly and in other contexts error > prone. What we need is something equivalent to: > > put the card of the target > put the number of the card of the target > > Any other way of doing this simple task? > Pete lcSQL Software From david at vaudevillecourt.tv Fri Mar 29 16:17:30 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 20:17:30 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: <5155EE8D.7020503@hyperactivesw.com> References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> <5155EE8D.7020503@hyperactivesw.com> Message-ID: No joy with the owner - it's a fundamental issue of a reference to the field / group / target - the owner and all references I know of return the value associated with the current card not the value of the actual card the target is on. I view this (and always have as a quite serious bug) - I'm just checking if anyone knows a way around this (I've never found one). It only really becomes an issue when you are developing re-useable components with behaviors - and want to give other authors a good syntax to be able to interact with them. For these purposes I've been using a real pig of a handler - and I find I use it very often: put the card_Object of the target into cardObject as far as I know there is no way of finding out the card a control is on (if it is not the current card) without parsing the long id of the target and well this is both a pain and slow, and sometimes gives an error - ie when you get ruggedIDs returned - which lack the card part - and well sometimes will not convert back to the long id reliably. No fixes out there? On 29 March 2013 19:42, J. Landman Gay wrote: > On 3/29/13 2:30 PM, David Bovill wrote: > > So how can I write a handler to retrun the text of a background group on a >> card other than the current card? The only way I know of is to do some >> ugly >> manual parsing of the long id of the target, and so extract the card id >> and >> construct a reference that way - very ugly and in other contexts error >> prone. What we need is something equivalent to: >> >> put the card of the target >> put the number of the card of the target >> >> Any other way of doing this simple task? >> > > Does it have to be a background group? If you make it a shared card group > then you can get "the owner of me", which will be the card. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Mar 29 16:49:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 29 Mar 2013 20:49:52 +0000 (UTC) Subject: Challenge: how to set the text of a field References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: David Bovill writes: > or if I want a user want to create and index with a script: > > repeat with cardNum = 1 to the number of cards > > put the title_Text of group 1 of card cardNum & CR after myIndex > > end repeat Maybe I'm not following what you want to do here... a custom property of a shared group is also shared, so you can't have multiple values without, as Pete said, creating an array for them. If you just want to get the text of a field in a shared group, though, then the following code works for me in a behavior button (the shared group contains two fields and you put a card number into field 2): on mouseUp local tCard put field 2 into tCard put the text of field 1 of card tCard & cr after msg end mouseUp so I guess I don't understand what the problem is. -- Mark Wieder mwieder at ahsoftware.net From david at vaudevillecourt.tv Fri Mar 29 17:07:44 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 29 Mar 2013 21:07:44 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: OK - lets rename the challenge :) Same problem - but defining it as follows: - Is it possible to create a handler in the behavior of a shared group that returns the number of the card the shared group is on? This is the same problem - it is a problem of finding a reference to the card a control is on so that you are able to return values of properties of the group such as a hilite or text that can differ from card to card. As far as I know there is actually no way at all to do this. Although I thought parsing the long id works - it does not. So the following handler does not work. getprop card_Number put the long id of the target into targetObject repeat if word 1 of targetObject is "card" then put the number of targetObject into cardNum return cardNum end if delete word 1 to 4 of of targetObject if targetObject is empty then return empty -- just in case end repeat end card_Number In fact the behavior of references to shared "background" groups is quite bizarre! Take the following experiment - create a shared background and place it on 3 cards - add the handler above to the script of the shared group. It can be the behavior of the group or its script. Now given you are on the first card - issue the following from the message box: put the card_Number of group 1 of card 3 --> answer is 1 put the card_Number of group 1 of card 2 --> answer is 1 put the card_Number of group 1 of card 1 --> answer is 1 Now try removing the group from the first card, and do the same again: put the card_Number of group 1 of card 3 --> answer is 3 - ie correct! put the card_Number of group 1 of card 2 --> answer is 2 - ie correct! put the card_Number of group 1 of card 1 --> well there isn't one so you get an error Summary - this is a bug. It also makes it impossible to define some basic and useful behaviors for shared "bakground" groups. From peterwawood at gmail.com Sat Mar 30 05:16:43 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 30 Mar 2013 17:16:43 +0800 Subject: 1001 things to do with LiveCode Message-ID: <6039615A-7F3D-4AB9-852C-E093261242B5@gmail.com> I really appreciate the LiveCode communities response to 1001 things to do with LiveCode. Thanks to all the contributors, my small seed of an idea has blossomed into a beautiful tree. I need a little help to keep our tree growing at a steady rate. I have a backlog of about two weeks worth of entries if I continue to post one new entry a day. I'd like to keep going at this rate as long as I can. I'd really appreciate screenshots and short description of apps that you've developed with LiveCode that you haven't already sent to me. Regards Peter W A Wood http://LiveCode1001.blogspot.com From david at vaudevillecourt.tv Sat Mar 30 06:54:43 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 30 Mar 2013 10:54:43 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: Tried everything I can think of call, send, value, even the executioncontexts - there is simply no way you can code this in the script of the background (or the groups behavior). makes no difference if it is just a shared group or a background. It comes down to the target always referencing the current card instead of the card you are actively targeting in the script (as in grp 1 of card 3) - that is except of course there is no shared group on the current card in which case is does what yo would expect and the target actually targets the "grp 1 of card 3" Since everything uses this there is no way for a handler to know it was called using the form "put the card_Number of grp 1 of card 3" rather than "put the card_Number of grp 1 of card 2" - and so no way for it to return the text of the group on that card or the hilite of a button on that card - none, zero. This makes it impossible to code widgets for shared backgrounds. If I want to return some simple text - I can do something like "put the text of the title_Field of grp 1 of card 2" - but if I want to do something complex like return an array with all the data that the group is displaying - no go, no way, not possible. It's enough to abandon the idea of creating such groups and stick instead to a single card paradigm, bringing the data in by creating new groups on the fly. On 29 March 2013 21:07, David Bovill wrote: > OK - lets rename the challenge :) Same problem - but defining it as > follows: > > - Is it possible to create a handler in the behavior of a shared group > that returns the number of the card the shared group is on? > > This is the same problem - it is a problem of finding a reference to the > card a control is on so that you are able to return values of properties of > the group such as a hilite or text that can differ from card to card. As > far as I know there is actually no way at all to do this. > > Although I thought parsing the long id works - it does not. So the > following handler does not work. > > getprop card_Number > put the long id of the target into targetObject > repeat > if word 1 of targetObject is "card" then > put the number of targetObject into cardNum > return cardNum > end if > delete word 1 to 4 of of targetObject > if targetObject is empty then return empty -- just in case > end repeat > end card_Number > In fact the behavior of references to shared "background" groups is quite > bizarre! Take the following experiment - create a shared background and > place it on 3 cards - add the handler above to the script of the shared > group. It can be the behavior of the group or its script. > > Now given you are on the first card - issue the following from the message > box: > > put the card_Number of group 1 of card 3 --> answer is 1 > put the card_Number of group 1 of card 2 --> answer is 1 > put the card_Number of group 1 of card 1 --> answer is 1 > > Now try removing the group from the first card, and do the same again: > > put the card_Number of group 1 of card 3 --> answer is 3 - ie correct! > put the card_Number of group 1 of card 2 --> answer is 2 - ie correct! > put the card_Number of group 1 of card 1 --> well there isn't one so you > get an error > > Summary - this is a bug. It also makes it impossible to define some basic > and useful behaviors for shared "bakground" groups. > From pmbrig at gmail.com Sat Mar 30 08:45:41 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 30 Mar 2013 08:45:41 -0400 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: <917BF198-A973-4813-AD2D-73E34EDEFC6C@gmail.com> Try this: - create a new stack with a button "test" and a field "f" - group them in group "g" - set the backgroundbehavior of group "g" to true - create 2 new cards -- the group will be placed on all 3 cards - put "one" into fld "f" of card 1, "two" into fld "f" of card 2, "three" into fld "f" of card 3 - create a button "behav" on card 1 - set the behavior of group "g" to the long id of btn "behav" of cd 1 - set the script of btn "test" to the following: on mouseUp put fld "f" of card 2 end mouseUp Click btn "test" and you get "two" in the messagebox Does this do what you want? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 30, 2013, at 6:54 AM, David Bovill wrote: > Tried everything I can think of call, send, value, even the > executioncontexts - there is simply no way you can code this in the script > of the background (or the groups behavior). makes no difference if it is > just a shared group or a background. It comes down to the target always > referencing the current card instead of the card you are actively targeting > in the script (as in grp 1 of card 3) - that is except of course there is > no shared group on the current card in which case is does what yo would > expect and the target actually targets the "grp 1 of card 3" > > Since everything uses this there is no way for a handler to know it was > called using the form "put the card_Number of grp 1 of card 3" rather than > "put the card_Number of grp 1 of card 2" - and so no way for it to return > the text of the group on that card or the hilite of a button on that card - > none, zero. > > This makes it impossible to code widgets for shared backgrounds. If I want > to return some simple text - I can do something like "put the text of the > title_Field of grp 1 of card 2" - but if I want to do something complex > like return an array with all the data that the group is displaying - no > go, no way, not possible. > > It's enough to abandon the idea of creating such groups and stick instead > to a single card paradigm, bringing the data in by creating new groups on > the fly. > > > On 29 March 2013 21:07, David Bovill wrote: > >> OK - lets rename the challenge :) Same problem - but defining it as >> follows: >> >> - Is it possible to create a handler in the behavior of a shared group >> that returns the number of the card the shared group is on? >> >> This is the same problem - it is a problem of finding a reference to the >> card a control is on so that you are able to return values of properties of >> the group such as a hilite or text that can differ from card to card. As >> far as I know there is actually no way at all to do this. >> >> Although I thought parsing the long id works - it does not. So the >> following handler does not work. >> >> getprop card_Number >> put the long id of the target into targetObject >> repeat >> if word 1 of targetObject is "card" then >> put the number of targetObject into cardNum >> return cardNum >> end if >> delete word 1 to 4 of of targetObject >> if targetObject is empty then return empty -- just in case >> end repeat >> end card_Number >> In fact the behavior of references to shared "background" groups is quite >> bizarre! Take the following experiment - create a shared background and >> place it on 3 cards - add the handler above to the script of the shared >> group. It can be the behavior of the group or its script. >> >> Now given you are on the first card - issue the following from the message >> box: >> >> put the card_Number of group 1 of card 3 --> answer is 1 >> put the card_Number of group 1 of card 2 --> answer is 1 >> put the card_Number of group 1 of card 1 --> answer is 1 >> >> Now try removing the group from the first card, and do the same again: >> >> put the card_Number of group 1 of card 3 --> answer is 3 - ie correct! >> put the card_Number of group 1 of card 2 --> answer is 2 - ie correct! >> put the card_Number of group 1 of card 1 --> well there isn't one so you >> get an error >> >> Summary - this is a bug. It also makes it impossible to define some basic >> and useful behaviors for shared "bakground" groups. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sat Mar 30 09:19:27 2013 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 30 Mar 2013 13:19:27 +0000 Subject: Challenge: how to set the text of a field In-Reply-To: <917BF198-A973-4813-AD2D-73E34EDEFC6C@gmail.com> References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> <917BF198-A973-4813-AD2D-73E34EDEFC6C@gmail.com> Message-ID: Thanks Peter - but no it does not help. Lets take your example, but what we want to do is give the group a (virtual) custom property that a developer can call from anywhere in the environment to retrieve the text in the field. You can't hard code anything like you have " fld "f" of card 2" - as you have no idea which stack or card a developer will put the group on. You want to be able to issue somethign like the following from the message box, or a button, or handler from any stack in the environment: put the field_Text of group "g" of card 2 of stack "Test" There is no way to script a handler of any sort in the group that can do this. You can't even do it with sending, or calling a command. AFAIK it's that simple - basic, important and can't be done. Or can it :) On 30 March 2013 12:45, Peter M. Brigham wrote: > Try this: > > - create a new stack with a button "test" and a field "f" > - group them in group "g" > - set the backgroundbehavior of group "g" to true > - create 2 new cards -- the group will be placed on all 3 cards > - put "one" into fld "f" of card 1, "two" into fld "f" of card 2, "three" > into fld "f" of card 3 > - create a button "behav" on card 1 > - set the behavior of group "g" to the long id of btn "behav" of cd 1 > - set the script of btn "test" to the following: > > on mouseUp > put fld "f" of card 2 > end mouseUp > > Click btn "test" and you get "two" in the messagebox > > Does this do what you want? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Mar 30, 2013, at 6:54 AM, David Bovill wrote: > > > Tried everything I can think of call, send, value, even the > > executioncontexts - there is simply no way you can code this in the > script > > of the background (or the groups behavior). makes no difference if it is > > just a shared group or a background. It comes down to the target always > > referencing the current card instead of the card you are actively > targeting > > in the script (as in grp 1 of card 3) - that is except of course there is > > no shared group on the current card in which case is does what yo would > > expect and the target actually targets the "grp 1 of card 3" > > > > Since everything uses this there is no way for a handler to know it was > > called using the form "put the card_Number of grp 1 of card 3" rather > than > > "put the card_Number of grp 1 of card 2" - and so no way for it to return > > the text of the group on that card or the hilite of a button on that > card - > > none, zero. > > > > This makes it impossible to code widgets for shared backgrounds. If I > want > > to return some simple text - I can do something like "put the text of the > > title_Field of grp 1 of card 2" - but if I want to do something complex > > like return an array with all the data that the group is displaying - no > > go, no way, not possible. > > > > It's enough to abandon the idea of creating such groups and stick instead > > to a single card paradigm, bringing the data in by creating new groups on > > the fly. > > > > > > On 29 March 2013 21:07, David Bovill wrote: > > > >> OK - lets rename the challenge :) Same problem - but defining it as > >> follows: > >> > >> - Is it possible to create a handler in the behavior of a shared group > >> that returns the number of the card the shared group is on? > >> > >> This is the same problem - it is a problem of finding a reference to the > >> card a control is on so that you are able to return values of > properties of > >> the group such as a hilite or text that can differ from card to card. As > >> far as I know there is actually no way at all to do this. > >> > >> Although I thought parsing the long id works - it does not. So the > >> following handler does not work. > >> > >> getprop card_Number > >> put the long id of the target into targetObject > >> repeat > >> if word 1 of targetObject is "card" then > >> put the number of targetObject into cardNum > >> return cardNum > >> end if > >> delete word 1 to 4 of of targetObject > >> if targetObject is empty then return empty -- just in case > >> end repeat > >> end card_Number > >> In fact the behavior of references to shared "background" groups is > quite > >> bizarre! Take the following experiment - create a shared background and > >> place it on 3 cards - add the handler above to the script of the shared > >> group. It can be the behavior of the group or its script. > >> > >> Now given you are on the first card - issue the following from the > message > >> box: > >> > >> put the card_Number of group 1 of card 3 --> answer is 1 > >> put the card_Number of group 1 of card 2 --> answer is 1 > >> put the card_Number of group 1 of card 1 --> answer is 1 > >> > >> Now try removing the group from the first card, and do the same again: > >> > >> put the card_Number of group 1 of card 3 --> answer is 3 - ie correct! > >> put the card_Number of group 1 of card 2 --> answer is 2 - ie correct! > >> put the card_Number of group 1 of card 1 --> well there isn't one so > you > >> get an error > >> > >> Summary - this is a bug. It also makes it impossible to define some > basic > >> and useful behaviors for shared "bakground" groups. > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Mar 30 11:10:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Mar 2013 17:10:44 +0200 Subject: Save on Quit? Message-ID: <51570074.1050801@gmail.com> I wonder if anybody can tell me why this works as a stack, but doesn't as a standalone: on mouseUp --- set the lockScreen to true delete file "BacktUp.rtf" if fld "DoneText" of card "Entry" of stack "RWord" is not empty then set the vis of img "SAVE" to true set the lockScreen to true put the RTFtext of fld "DoneText" of card "Entry" of stack "RWord" into url("file:" & BacktUp & ".rtf") set the lockScreen to false set the vis of img "SAVE" to false end if --- Quit --- end mouseUp Richmond. From ambassador at fourthworld.com Sat Mar 30 11:22:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 30 Mar 2013 08:22:12 -0700 Subject: Save on Quit? In-Reply-To: <51570074.1050801@gmail.com> References: <51570074.1050801@gmail.com> Message-ID: <51570324.7010404@fourthworld.com> Richmond wrote: > I wonder if anybody can tell me why this works as a stack, but > doesn't as a standalone: > > on mouseUp > --- > set the lockScreen to true > delete file "BacktUp.rtf" > if fld "DoneText" of card "Entry" of stack "RWord" is not empty then > set the vis of img "SAVE" to true > set the lockScreen to true > put the RTFtext of fld "DoneText" of card "Entry" of stack > "RWord" into url("file:" & BacktUp & ".rtf") > set the lockScreen to false > set the vis of img "SAVE" to false > end if > --- > Quit > --- > end mouseUp What do you see when you run it after adding this line immediately below the one that writes the file?: answer "RESULT: " & the result && "SYSERR: "& sysError() -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From roger.e.eller at sealedair.com Sat Mar 30 11:47:50 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Mar 2013 11:47:50 -0400 Subject: Save on Quit? In-Reply-To: <51570074.1050801@gmail.com> References: <51570074.1050801@gmail.com> Message-ID: Depending on the OS, if you happen to have the file open in another application, you won't be able to write to it. Check that. Also, try adding set the defaultFolder to specialFolderPath("Desktop") at the beginning of the script. Or, any defined path. Just a note... you can simply say lock screen, and unlock screen rather than set the lockScreen... ~Roger I wonder if anybody can tell me why this works as a stack, but doesn't as a standalone: on mouseUp --- set the lockScreen to true delete file "BacktUp.rtf" if fld "DoneText" of card "Entry" of stack "RWord" is not empty then set the vis of img "SAVE" to true set the lockScreen to true put the RTFtext of fld "DoneText" of card "Entry" of stack "RWord" into url("file:" & BacktUp & ".rtf") set the lockScreen to false set the vis of img "SAVE" to false end if --- Quit --- end mouseUp Richmond. ______________________________**_________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 30 12:28:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Mar 2013 18:28:03 +0200 Subject: Save on Quit? In-Reply-To: <51570324.7010404@fourthworld.com> References: <51570074.1050801@gmail.com> <51570324.7010404@fourthworld.com> Message-ID: <51571293.1040709@gmail.com> On 03/30/2013 05:22 PM, Richard Gaskin wrote: > Richmond wrote: > > > I wonder if anybody can tell me why this works as a stack, but > > doesn't as a standalone: > > > > on mouseUp > > --- > > set the lockScreen to true > > delete file "BacktUp.rtf" > > if fld "DoneText" of card "Entry" of stack "RWord" is not empty > then > > set the vis of img "SAVE" to true > > set the lockScreen to true > > put the RTFtext of fld "DoneText" of card "Entry" of stack > > "RWord" into url("file:" & BacktUp & ".rtf") > > set the lockScreen to false > > set the vis of img "SAVE" to false > > end if > > --- > > Quit > > --- > > end mouseUp > > > What do you see when you run it after adding this line immediately > below the one that writes the file?: > > answer "RESULT: " & the result && "SYSERR: "& sysError() > > RESULT: SYSERR: 2 Richmond. > -- > Richard Gaskin From ambassador at fourthworld.com Sat Mar 30 12:33:37 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 30 Mar 2013 09:33:37 -0700 Subject: Save on Quit? In-Reply-To: <51571293.1040709@gmail.com> References: <51571293.1040709@gmail.com> Message-ID: <515713E1.7070301@fourthworld.com> Richmond wrote: > On 03/30/2013 05:22 PM, Richard Gaskin wrote: ... >> What do you see when you run it after adding this line immediately >> below the one that writes the file?: >> >> answer "RESULT: " & the result && "SYSERR: "& sysError() > > RESULT: SYSERR: 2 Which OS? On Windows I believe 2 refers to an invalid path. Does the app have appropriate permissions to write at that location? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From cszasz at me.com Sat Mar 30 13:20:37 2013 From: cszasz at me.com (Charles Szasz) Date: Sat, 30 Mar 2013 13:20:37 -0400 Subject: Setting text style of a custom property field Message-ID: I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. Charles Szasz cszasz at mac.com From richmondmathewson at gmail.com Sat Mar 30 13:25:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Mar 2013 19:25:33 +0200 Subject: Save on Quit? In-Reply-To: <515713E1.7070301@fourthworld.com> References: <51571293.1040709@gmail.com> <515713E1.7070301@fourthworld.com> Message-ID: <5157200D.6090308@gmail.com> On 03/30/2013 06:33 PM, Richard Gaskin wrote: > Richmond wrote: >> On 03/30/2013 05:22 PM, Richard Gaskin wrote: > ... >>> What do you see when you run it after adding this line immediately >>> below the one that writes the file?: >>> >>> answer "RESULT: " & the result && "SYSERR: "& sysError() >> >> RESULT: SYSERR: 2 > > Which OS? > > On Windows I believe 2 refers to an invalid path. > > Does the app have appropriate permissions to write at that location? On both Xubuntu and Mac OS 10.6, and in both cases a document is saved at the default location (this is from a stack). Standalones built on their home platforms perform similarly; save a document in the folder of the standalone but deliver the ERROR message. HOWEVER, in all cases I have commented out the QUIT command, and wonder if that is happening so quickly the standalone has no time to export the back-up file???? Err . . . thinking on my feet here . . . Certainly, on Linux that makes not a wit of difference. Nor, on Macintosh. However, I did lie slightly with my example, as I have the quit command in an image that is made visible as a home-made ask window after the export command; and this is most definitely interfering with the back-up file export process. Richmond. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Sat Mar 30 13:54:06 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 13:54:06 -0400 Subject: Best data import approach Message-ID: Hello LC's, I have a tab delimited text file(log file) that I need to manipulate every once in a while and extract data from it. Is there a good way to read this directly into a datagrid and manipulate it from there or I am better off reading the file, loading it into a sqlite db and THEN manipulate it from there. The text file I am reading is constantly changing so I can not just do a one time conversion, I will always have to read from this file. This is for a desktop app, by the way.... Thanks in advance for your input! SKIP From keith.clarke at clarkeandclarke.co.uk Sat Mar 30 14:04:13 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 30 Mar 2013 18:04:13 +0000 Subject: Best data import approach In-Reply-To: References: Message-ID: Why not just put the file into a variable, set the item delimiters to tab and away you go? Just query the items of the first line to understand your (changing) column labels? Best, Keith.. On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel wrote: > Hello LC's, > > I have a tab delimited text file(log file) that I need to manipulate every > once in a while and extract data from it. Is there a good way to read this > directly into a datagrid and manipulate it from there or I am better off > reading the file, loading it into a sqlite db and THEN manipulate it from > there. > > The text file I am reading is constantly changing so I can not just do a > one time conversion, I will always have to read from this file. > > This is for a desktop app, by the way.... > > Thanks in advance for your input! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Sat Mar 30 14:11:40 2013 From: john at splash21.com (John Craig) Date: Sat, 30 Mar 2013 18:11:40 +0000 Subject: Android push notifications Message-ID: <51572ADC.7080405@splash21.com> I've added iOS and Android push notifications to a stack I've been working on. When sending notifications to my android device, the message displayed when the notification arrives is 'Notification received'. Does anyone know how to change (if possible) this message to something more meaningful - I've not found this so far in google's docs. TIA John. From bonnmike at gmail.com Sat Mar 30 15:03:38 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 30 Mar 2013 13:03:38 -0600 Subject: Best data import approach In-Reply-To: References: Message-ID: set the dgtext of group "yourgroup" to URL ("binfile:/path/to/the/file") should work. dgtext works directly with tab and cr delimited text, so should be easy peasy. On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Why not just put the file into a variable, set the item delimiters to tab > and away you go? > > Just query the items of the first line to understand your (changing) > column labels? > Best, > Keith.. > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Hello LC's, > > > > I have a tab delimited text file(log file) that I need to manipulate > every > > once in a while and extract data from it. Is there a good way to read > this > > directly into a datagrid and manipulate it from there or I am better off > > reading the file, loading it into a sqlite db and THEN manipulate it from > > there. > > > > The text file I am reading is constantly changing so I can not just do a > > one time conversion, I will always have to read from this file. > > > > This is for a desktop app, by the way.... > > > > Thanks in advance for your input! > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Mar 30 15:09:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Mar 2013 12:09:18 -0700 Subject: Best data import approach In-Reply-To: References: Message-ID: Hi Skip, On the face of it, reading it into a variable and setting the dgText of the datagrid to the variable seems like the simplest approach. I guess you might make a case for using an in-memory sqlite database depending on the volume of data and the complexity of the "manipulations" you want to do to it. Pete lcSQL Software On Sat, Mar 30, 2013 at 10:54 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Hello LC's, > > I have a tab delimited text file(log file) that I need to manipulate every > once in a while and extract data from it. Is there a good way to read this > directly into a datagrid and manipulate it from there or I am better off > reading the file, loading it into a sqlite db and THEN manipulate it from > there. > > The text file I am reading is constantly changing so I can not just do a > one time conversion, I will always have to read from this file. > > This is for a desktop app, by the way.... > > Thanks in advance for your input! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sat Mar 30 15:10:33 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Mar 2013 12:10:33 -0700 Subject: Best data import approach In-Reply-To: References: Message-ID: and if the first line contains the names of the individual fields on the first row, you can put the dgText[true] On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner wrote: > set the dgtext of group "yourgroup" to URL ("binfile:/path/to/the/file") > should work. dgtext works directly with tab and cr delimited text, so > should be easy peasy. > > > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > > > Why not just put the file into a variable, set the item delimiters to tab > > and away you go? > > > > Just query the items of the first line to understand your (changing) > > column labels? > > Best, > > Keith.. > > > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Hello LC's, > > > > > > I have a tab delimited text file(log file) that I need to manipulate > > every > > > once in a while and extract data from it. Is there a good way to read > > this > > > directly into a datagrid and manipulate it from there or I am better > off > > > reading the file, loading it into a sqlite db and THEN manipulate it > from > > > there. > > > > > > The text file I am reading is constantly changing so I can not just do > a > > > one time conversion, I will always have to read from this file. > > > > > > This is for a desktop app, by the way.... > > > > > > Thanks in advance for your input! > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 skip at magicgate.com Sat Mar 30 15:16:58 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 15:16:58 -0400 Subject: Best data import approach In-Reply-To: References: Message-ID: Thanks.. I had tried that but I was getting some funky data formatting coming in. Come to find out that the data in the log file has an occasional misplaced CR and LF embedded. Having said THAT, is there a way to strip out those characters? I know exactly how many columns I have in my field and each is separated with a tab. So I guess at this point what I am trying to say is there a way to clean up the data and still be able to determine a new record (row)? SKIP On Sat, Mar 30, 2013 at 3:10 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > and if the first line contains the names of the individual fields on the > first row, you can > > put the dgText[true] > > > On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner wrote: > > > set the dgtext of group "yourgroup" to URL ("binfile:/path/to/the/file") > > should work. dgtext works directly with tab and cr delimited text, so > > should be easy peasy. > > > > > > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > > > Why not just put the file into a variable, set the item delimiters to > tab > > > and away you go? > > > > > > Just query the items of the first line to understand your (changing) > > > column labels? > > > Best, > > > Keith.. > > > > > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < > > > skip at magicgate.com> wrote: > > > > > > > Hello LC's, > > > > > > > > I have a tab delimited text file(log file) that I need to manipulate > > > every > > > > once in a while and extract data from it. Is there a good way to > read > > > this > > > > directly into a datagrid and manipulate it from there or I am better > > off > > > > reading the file, loading it into a sqlite db and THEN manipulate it > > from > > > > there. > > > > > > > > The text file I am reading is constantly changing so I can not just > do > > a > > > > one time conversion, I will always have to read from this file. > > > > > > > > This is for a desktop app, by the way.... > > > > > > > > Thanks in advance for your input! > > > > > > > > SKIP > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Sat Mar 30 15:28:22 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Mar 2013 12:28:22 -0700 Subject: Setting text style of a custom property field In-Reply-To: References: Message-ID: you just said it.... On Sat, Mar 30, 2013 at 10:20 AM, Charles Szasz wrote: > I am using custom properties with check boxes. How do you set the text > style of a custom property field? I want to set the text style of a custom > property to bold. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Sat Mar 30 15:31:46 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Mar 2013 12:31:46 -0700 Subject: Setting text style of a custom property field In-Reply-To: References: Message-ID: not sure what you mean by a 'custom property field' actually... you can store anything in a custom property , but that's DATA. You can store the text data in a CP then put it into a field , then set the text. YOu could also store into a CP what goes into a field using HTML or RTF text, which has style info imbedded. On Sat, Mar 30, 2013 at 12:28 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > you just said it.... > > > On Sat, Mar 30, 2013 at 10:20 AM, Charles Szasz wrote: > >> I am using custom properties with check boxes. How do you set the text >> style of a custom property field? I want to set the text style of a custom >> property to bold. >> >> 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 >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > -- Stephen Barncard San Francisco Ca. USA more about sqb From lc at pbh.on-rev.com Sat Mar 30 15:32:59 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sat, 30 Mar 2013 12:32:59 -0700 Subject: Setting text style of a custom property field In-Reply-To: References: Message-ID: <6FC0DE73-0EDD-45A6-BF58-8052B0385BDE@pbh.on-rev.com> Charles, Not sure I totally understand what you need, a custom property is just a container so you can't set it's text style to anything, but to store text styles alongside the text data you could store the data as an array, maybe something like; To store the data? set the cPropA["label"] of btn "CheckBox1" to the label of btn "CheckBox1" set the cPropA["textStyle"] of btn "CheckBox1" to the textStyle of btn "CheckBox1" To modify the text style? set the cPropA["textStyle"] of btn "CheckBox1" to "bold,italic" Then just reverse to apply the data? set the label of btn "CheckBox1" to the cPropA["label"] of btn "CheckBox1" set the textStyle of btn "CheckBox1" to the cPropA["textStyle"] of btn "CheckBox1" Just a suggestion, maybe somebody else has a better idea. Paul On 2013-03-30, at 10:20 AM, Charles Szasz wrote: > I am using custom properties with check boxes. How do you set the text style of a custom property field? I want to set the text style of a custom property to bold. > > 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 jallijn at gmail.com Sat Mar 30 15:28:24 2013 From: jallijn at gmail.com (John Allijn) Date: Sat, 30 Mar 2013 20:28:24 +0100 Subject: URL handling Message-ID: <75699E53-06ED-4FD2-B839-EA844E1213E4@gmail.com> Hi, I'm working on a windows application that relies a lot on database qeuries. Both reading and writing of data. On the server side I use php scripts. In my application I use syntax like "Put URL tURL into tResult". It all works well, but I am the only user on the database. I am wondering what happens when lots of people (about a thousand) use this app. Will livecode wait until the php script is finished? Should there be some error handling on time-outs? If so, what is the best way to do that? Best regards, John Allijn From skip at magicgate.com Sat Mar 30 15:38:13 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 15:38:13 -0400 Subject: Best data import approach In-Reply-To: References: Message-ID: I think it will be easier to go back and try to fix the source and how the data is being entered in to begin with. I realized there was a issue with one of the fields that allowed the user to enter multiple lines of data under the "notes" field. If the user hit the RETURN key to type in these notes, it is throwing everything off. SKIP On Sat, Mar 30, 2013 at 3:16 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Thanks.. I had tried that but I was getting some funky data formatting > coming in. Come to find out that the data in the log file has an > occasional misplaced CR and LF embedded. > > Having said THAT, is there a way to strip out those characters? I know > exactly how many columns I have in my field and each is separated with a > tab. So I guess at this point what I am trying to say is there a way to > clean up the data and still be able to determine a new record (row)? > > SKIP > > > On Sat, Mar 30, 2013 at 3:10 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> and if the first line contains the names of the individual fields on the >> first row, you can >> >> put the dgText[true] >> >> >> On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner wrote: >> >> > set the dgtext of group "yourgroup" to URL ("binfile:/path/to/the/file") >> > should work. dgtext works directly with tab and cr delimited text, so >> > should be easy peasy. >> > >> > >> > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < >> > keith.clarke at clarkeandclarke.co.uk> wrote: >> > >> > > Why not just put the file into a variable, set the item delimiters to >> tab >> > > and away you go? >> > > >> > > Just query the items of the first line to understand your (changing) >> > > column labels? >> > > Best, >> > > Keith.. >> > > >> > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < >> > > skip at magicgate.com> wrote: >> > > >> > > > Hello LC's, >> > > > >> > > > I have a tab delimited text file(log file) that I need to manipulate >> > > every >> > > > once in a while and extract data from it. Is there a good way to >> read >> > > this >> > > > directly into a datagrid and manipulate it from there or I am better >> > off >> > > > reading the file, loading it into a sqlite db and THEN manipulate it >> > from >> > > > there. >> > > > >> > > > The text file I am reading is constantly changing so I can not just >> do >> > a >> > > > one time conversion, I will always have to read from this file. >> > > > >> > > > This is for a desktop app, by the way.... >> > > > >> > > > Thanks in advance for your input! >> > > > >> > > > SKIP >> > > > _______________________________________________ >> > > > use-livecode mailing list >> > > > use-livecode at lists.runrev.com >> > > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 sc at sahores-conseil.com Sat Mar 30 15:45:22 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 30 Mar 2013 20:45:22 +0100 Subject: Android push notifications In-Reply-To: <51572ADC.7080405@splash21.com> References: <51572ADC.7080405@splash21.com> Message-ID: <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> This script works ok in about displaying what's needed instead of "Notification received" ($abstract) : > > $registrationIDs = Array(###devices###); > $title = "###title###"; > $abstract = "###abstract###"; > $payload = "###payload###"; > $badge = "###badge###"; > $apiKey = "###authent###"; > $url = "https://android.googleapis.com/gcm/send"; > > $fields = array( > 'registration_ids' => $registrationIDs, > 'collapse_key' => 'abcdef', > 'data' => array('title' => $title, > 'alert' => $abstract, > 'body' => $abstract, > 'payload' => $payload, > 'badge' => intval($badge), > 'sound' => 'default' > ) > ); > > $headers = array('Authorization: key=' . $apiKey, 'Content-Type: application/json'); > > $ch = curl_init(); > > curl_setopt($ch, CURLOPT_URL, $url); > curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); > curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); > curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); > curl_setopt($ch, CURLOPT_POST, true); > curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields)); > > $result = curl_exec($ch); > > curl_close($ch); > > echo $result; > > ?> but, on the other side, i can't get any sound to play when the message arrives on the device. Any toughs welcome :-) Best, Le 30 mars 2013 ? 19:11, John Craig a ?crit : > I've added iOS and Android push notifications to a stack I've been working on. When sending notifications to my android device, the message displayed when the notification arrives is 'Notification received'. Does anyone know how to change (if possible) this message to something more meaningful - I've not found this so far in google's docs. > > TIA > > John. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From skip at magicgate.com Sat Mar 30 15:47:16 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 15:47:16 -0400 Subject: Best data import approach In-Reply-To: References: Message-ID: One last item... once again, it comes improperly formatted source data. When the datagrid loads I need to sort it by date and then by time. However, my date and time data looks like this: Mon, Feb 11 TAB 9:59 AM What would be a good approach to convert these two items to a sortable format? SKIP On Sat, Mar 30, 2013 at 3:38 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > I think it will be easier to go back and try to fix the source and how the > data is being entered in to begin with. I realized there was a issue with > one of the fields that allowed the user to enter multiple lines of data > under the "notes" field. If the user hit the RETURN key to type in these > notes, it is throwing everything off. > > SKIP > > > On Sat, Mar 30, 2013 at 3:16 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > >> Thanks.. I had tried that but I was getting some funky data formatting >> coming in. Come to find out that the data in the log file has an >> occasional misplaced CR and LF embedded. >> >> Having said THAT, is there a way to strip out those characters? I know >> exactly how many columns I have in my field and each is separated with a >> tab. So I guess at this point what I am trying to say is there a way to >> clean up the data and still be able to determine a new record (row)? >> >> SKIP >> >> >> On Sat, Mar 30, 2013 at 3:10 PM, stephen barncard < >> stephenREVOLUTION2 at barncard.com> wrote: >> >>> and if the first line contains the names of the individual fields on the >>> first row, you can >>> >>> put the dgText[true] >>> >>> >>> On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner >>> wrote: >>> >>> > set the dgtext of group "yourgroup" to URL >>> ("binfile:/path/to/the/file") >>> > should work. dgtext works directly with tab and cr delimited text, so >>> > should be easy peasy. >>> > >>> > >>> > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < >>> > keith.clarke at clarkeandclarke.co.uk> wrote: >>> > >>> > > Why not just put the file into a variable, set the item delimiters >>> to tab >>> > > and away you go? >>> > > >>> > > Just query the items of the first line to understand your (changing) >>> > > column labels? >>> > > Best, >>> > > Keith.. >>> > > >>> > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < >>> > > skip at magicgate.com> wrote: >>> > > >>> > > > Hello LC's, >>> > > > >>> > > > I have a tab delimited text file(log file) that I need to >>> manipulate >>> > > every >>> > > > once in a while and extract data from it. Is there a good way to >>> read >>> > > this >>> > > > directly into a datagrid and manipulate it from there or I am >>> better >>> > off >>> > > > reading the file, loading it into a sqlite db and THEN manipulate >>> it >>> > from >>> > > > there. >>> > > > >>> > > > The text file I am reading is constantly changing so I can not >>> just do >>> > a >>> > > > one time conversion, I will always have to read from this file. >>> > > > >>> > > > This is for a desktop app, by the way.... >>> > > > >>> > > > Thanks in advance for your input! >>> > > > >>> > > > SKIP >>> > > > _______________________________________________ >>> > > > use-livecode mailing list >>> > > > use-livecode at lists.runrev.com >>> > > > Please visit this url to subscribe, unsubscribe and manage your >>> > > subscription preferences: >>> > > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > >>> > > >>> > > _______________________________________________ >>> > > use-livecode mailing list >>> > > use-livecode at lists.runrev.com >>> > > Please visit this url to subscribe, unsubscribe and manage your >>> > > subscription preferences: >>> > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode 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 richmondmathewson at gmail.com Sat Mar 30 16:31:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Mar 2013 22:31:42 +0200 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> Message-ID: <51574BAE.40902@gmail.com> Thanks chaps, but after some thought I went for a completely different way of doing things and had the stack save a backup RTF document every time the end-user pressed a key on her/his (and I really should apologise that I am not entirely sure how to signal that I should like to include the transgendered community in this statement; I would be most grateful if a transgendered person who may be lurking on the Use-lIst - Hey, come out of the closet into the Livecode sunshine could tell me the T possessive pronoun) keyboard by putting an export to file statement at the end of an on rawKeyDown script. Richmond. > OOPS! > > *In your openStack script:* > put "10" into tSaveInterval -- assuming minutes > send saveMeCheeses to this stack in (tSaveInterval*60) secs > > *In your stack script:* > on saveMeCheeses > -- gather all your text into a variable > put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") > send saveMeCheeses to me in (tSaveInterval*60) secs -- this one will keep > it repeating > end saveMeCheeses > > > On Sun, Mar 24, 2013 at 5:54 PM, Roger Eller wrote: > >> *In your openStack script:* >> put "10" into tSaveInterval -- assuming minutes >> send saveMeCheeses to this stack in (tSaveInterval*60) secs >> >> *In your stack script:* >> on saveMeCheeses >> -- gather all your text into a variable >> put tMyText into URL (file:C:/someplace/really/safe/MyFile.txt") >> send saveMeCheeses to me in saveMeCheeses -- this one will keep it >> repeating >> end saveMeCheeses >> >> ~Roger >> >> >> On Sun, Mar 24, 2013 at 5:17 PM, Richmond wrote: >> >>> Merry LibreOffice allows one to set it so that it autosaves a document >>> at a set time interval in case your computer goes wonky, or LibreOffice >>> crashes. >>> >>> And a jolly good idea that is too (even if they pinched it from >>> Microsoft). >>> >>> Now I would like to have the same sort of feature in my "next thang"; the >>> up-and-coming-and-sweeping-**all-office-suits-before-it >>> 'Richmond-Scrubby-Cupboard' >>> (well, round these parts that's what passes for an office) made, >>> needless to say, entirely in Livecode. >>> >>> Obviously, central to my text entry component "Wobbly Word", >>> there will have to be a field, and any autosave feature will have to save >>> and/or export >>> and/or overwrite a rtf and/or html document at regular intervals. >>> >>> Now what I don't understand is how to have a script working away 'in the >>> background' >>> checking the time and autosaving every 2-3 minutes without it interfering >>> with >>> user-initiated scripts in the foreground or the reverse. >>> >>> Richmond. >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Mar 30 16:34:15 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Mar 2013 13:34:15 -0700 Subject: Autosave from field? In-Reply-To: <51574BAE.40902@gmail.com> References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> Message-ID: just say "LGBT community". Easier. On Sat, Mar 30, 2013 at 1:31 PM, Richmond wrote: > Thanks chaps, but after some thought I went for a completely different way > of doing things > and had the stack save a backup RTF document every time the end-user > pressed a key on her/his > > (and I really should apologise that I am not entirely sure how to signal > that I should like to include the transgendered community in this > statement; I would be most grateful if a transgendered person who may be > lurking on the Use-lIst - Hey, come out of the closet into the Livecode > sunshine could tell me the T possessive pronoun) > > keyboard by putting an export to file statement at the end of an on > rawKeyDown script. > > Richmond. > > OOPS! >> >> *In your openStack script:* >> put "10" into tSaveInterval -- assuming minutes >> send saveMeCheeses to this stack in (tSaveInterval*60) secs >> >> *In your stack script:* >> on saveMeCheeses >> -- gather all your text into a variable >> put tMyText into URL (file:C:/someplace/really/**safe/MyFile.txt") >> send saveMeCheeses to me in (tSaveInterval*60) secs -- this one will >> keep >> it repeating >> end saveMeCheeses >> >> >> On Sun, Mar 24, 2013 at 5:54 PM, Roger Eller > >**wrote: >> >> *In your openStack script:* >>> put "10" into tSaveInterval -- assuming minutes >>> send saveMeCheeses to this stack in (tSaveInterval*60) secs >>> >>> *In your stack script:* >>> on saveMeCheeses >>> -- gather all your text into a variable >>> put tMyText into URL (file:C:/someplace/really/**safe/MyFile.txt") >>> send saveMeCheeses to me in saveMeCheeses -- this one will keep it >>> repeating >>> end saveMeCheeses >>> >>> ~Roger >>> >>> >>> On Sun, Mar 24, 2013 at 5:17 PM, Richmond * >>> *wrote: >>> >>> Merry LibreOffice allows one to set it so that it autosaves a document >>>> at a set time interval in case your computer goes wonky, or LibreOffice >>>> crashes. >>>> >>>> And a jolly good idea that is too (even if they pinched it from >>>> Microsoft). >>>> >>>> Now I would like to have the same sort of feature in my "next thang"; >>>> the >>>> up-and-coming-and-sweeping-****all-office-suits-before-it >>>> 'Richmond-Scrubby-Cupboard' >>>> (well, round these parts that's what passes for an office) made, >>>> needless to say, entirely in Livecode. >>>> >>>> Obviously, central to my text entry component "Wobbly Word", >>>> there will have to be a field, and any autosave feature will have to >>>> save >>>> and/or export >>>> and/or overwrite a rtf and/or html document at regular intervals. >>>> >>>> Now what I don't understand is how to have a script working away 'in the >>>> background' >>>> checking the time and autosaving every 2-3 minutes without it >>>> interfering >>>> with >>>> user-initiated scripts in the foreground or the reverse. >>>> >>>> Richmond. >>>> >>>> ______________________________****_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> > >>>> >>>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode 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 lcsql.com Sat Mar 30 16:37:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Mar 2013 13:37:51 -0700 Subject: Best data import approach In-Reply-To: References: Message-ID: Skip, Alex Tweedly has a great handler for importing csv files that deals with many of the gnarly issues. Hopefully he'll see this and supply it for you. Pete lcSQL Software On Sat, Mar 30, 2013 at 12:38 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > I think it will be easier to go back and try to fix the source and how the > data is being entered in to begin with. I realized there was a issue with > one of the fields that allowed the user to enter multiple lines of data > under the "notes" field. If the user hit the RETURN key to type in these > notes, it is throwing everything off. > > SKIP > > > On Sat, Mar 30, 2013 at 3:16 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Thanks.. I had tried that but I was getting some funky data formatting > > coming in. Come to find out that the data in the log file has an > > occasional misplaced CR and LF embedded. > > > > Having said THAT, is there a way to strip out those characters? I know > > exactly how many columns I have in my field and each is separated with a > > tab. So I guess at this point what I am trying to say is there a way to > > clean up the data and still be able to determine a new record (row)? > > > > SKIP > > > > > > On Sat, Mar 30, 2013 at 3:10 PM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > >> and if the first line contains the names of the individual fields on the > >> first row, you can > >> > >> put the dgText[true] > >> > >> > >> On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner > wrote: > >> > >> > set the dgtext of group "yourgroup" to URL > ("binfile:/path/to/the/file") > >> > should work. dgtext works directly with tab and cr delimited text, so > >> > should be easy peasy. > >> > > >> > > >> > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < > >> > keith.clarke at clarkeandclarke.co.uk> wrote: > >> > > >> > > Why not just put the file into a variable, set the item delimiters > to > >> tab > >> > > and away you go? > >> > > > >> > > Just query the items of the first line to understand your (changing) > >> > > column labels? > >> > > Best, > >> > > Keith.. > >> > > > >> > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < > >> > > skip at magicgate.com> wrote: > >> > > > >> > > > Hello LC's, > >> > > > > >> > > > I have a tab delimited text file(log file) that I need to > manipulate > >> > > every > >> > > > once in a while and extract data from it. Is there a good way to > >> read > >> > > this > >> > > > directly into a datagrid and manipulate it from there or I am > better > >> > off > >> > > > reading the file, loading it into a sqlite db and THEN manipulate > it > >> > from > >> > > > there. > >> > > > > >> > > > The text file I am reading is constantly changing so I can not > just > >> do > >> > a > >> > > > one time conversion, I will always have to read from this file. > >> > > > > >> > > > This is for a desktop app, by the way.... > >> > > > > >> > > > Thanks in advance for your input! > >> > > > > >> > > > SKIP > >> > > > _______________________________________________ > >> > > > use-livecode mailing list > >> > > > use-livecode at lists.runrev.com > >> > > > Please visit this url to subscribe, unsubscribe and manage your > >> > > subscription preferences: > >> > > > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > >> > > > >> > > _______________________________________________ > >> > > use-livecode mailing list > >> > > use-livecode at lists.runrev.com > >> > > Please visit this url to subscribe, unsubscribe and manage your > >> > > subscription preferences: > >> > > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode 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 skip at magicgate.com Sat Mar 30 16:51:02 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 16:51:02 -0400 Subject: Best data import approach In-Reply-To: References: Message-ID: Excellent... Thank you Pete... Alex, would you be so kind to share? SKIP On Sat, Mar 30, 2013 at 4:37 PM, Peter Haworth wrote: > Skip, > Alex Tweedly has a great handler for importing csv files that deals with > many of the gnarly issues. Hopefully he'll see this and supply it for you. > Pete > lcSQL Software > > > On Sat, Mar 30, 2013 at 12:38 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > I think it will be easier to go back and try to fix the source and how > the > > data is being entered in to begin with. I realized there was a issue > with > > one of the fields that allowed the user to enter multiple lines of data > > under the "notes" field. If the user hit the RETURN key to type in these > > notes, it is throwing everything off. > > > > SKIP > > > > > > On Sat, Mar 30, 2013 at 3:16 PM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Thanks.. I had tried that but I was getting some funky data formatting > > > coming in. Come to find out that the data in the log file has an > > > occasional misplaced CR and LF embedded. > > > > > > Having said THAT, is there a way to strip out those characters? I know > > > exactly how many columns I have in my field and each is separated with > a > > > tab. So I guess at this point what I am trying to say is there a way > to > > > clean up the data and still be able to determine a new record (row)? > > > > > > SKIP > > > > > > > > > On Sat, Mar 30, 2013 at 3:10 PM, stephen barncard < > > > stephenREVOLUTION2 at barncard.com> wrote: > > > > > >> and if the first line contains the names of the individual fields on > the > > >> first row, you can > > >> > > >> put the dgText[true] > > >> > > >> > > >> On Sat, Mar 30, 2013 at 12:03 PM, Mike Bonner > > wrote: > > >> > > >> > set the dgtext of group "yourgroup" to URL > > ("binfile:/path/to/the/file") > > >> > should work. dgtext works directly with tab and cr delimited text, > so > > >> > should be easy peasy. > > >> > > > >> > > > >> > On Sat, Mar 30, 2013 at 12:04 PM, Keith Clarke < > > >> > keith.clarke at clarkeandclarke.co.uk> wrote: > > >> > > > >> > > Why not just put the file into a variable, set the item delimiters > > to > > >> tab > > >> > > and away you go? > > >> > > > > >> > > Just query the items of the first line to understand your > (changing) > > >> > > column labels? > > >> > > Best, > > >> > > Keith.. > > >> > > > > >> > > On 30 Mar 2013, at 17:54, Magicgate Software - Skip Kimpel < > > >> > > skip at magicgate.com> wrote: > > >> > > > > >> > > > Hello LC's, > > >> > > > > > >> > > > I have a tab delimited text file(log file) that I need to > > manipulate > > >> > > every > > >> > > > once in a while and extract data from it. Is there a good way > to > > >> read > > >> > > this > > >> > > > directly into a datagrid and manipulate it from there or I am > > better > > >> > off > > >> > > > reading the file, loading it into a sqlite db and THEN > manipulate > > it > > >> > from > > >> > > > there. > > >> > > > > > >> > > > The text file I am reading is constantly changing so I can not > > just > > >> do > > >> > a > > >> > > > one time conversion, I will always have to read from this file. > > >> > > > > > >> > > > This is for a desktop app, by the way.... > > >> > > > > > >> > > > Thanks in advance for your input! > > >> > > > > > >> > > > SKIP > > >> > > > _______________________________________________ > > >> > > > use-livecode mailing list > > >> > > > use-livecode at lists.runrev.com > > >> > > > Please visit this url to subscribe, unsubscribe and manage your > > >> > > subscription preferences: > > >> > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > >> > > > > >> > > _______________________________________________ > > >> > > use-livecode mailing list > > >> > > use-livecode at lists.runrev.com > > >> > > Please visit this url to subscribe, unsubscribe and manage your > > >> > > subscription preferences: > > >> > > http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > >> > _______________________________________________ > > >> > use-livecode mailing list > > >> > use-livecode 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 > From alex at tweedly.net Sat Mar 30 17:42:20 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Mar 2013 21:42:20 +0000 Subject: Best data import approach In-Reply-To: References: Message-ID: <51575C3C.2020309@tweedly.net> Of course. You can find it best in Richard's excellent article about the evils of CSV format, at http://www.fourthworld.com/embassy/articles//csv/-/must/-/die/.html It does deal with many of the vagaries, but won't do anything about records with different number of fields (I think that was what you mentioned earlier in the email thread), though it will (AFAIR) deal with embedded CRs if they are within a quoted string. BTW - there is the opportunity for a slightly faster method which avoids the array step - but the difference would only be significant for VERY large data sets, so I've not had the incentive to finalize and test it thoroughly. -- Alex. On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: > Excellent... Thank you Pete... > > Alex, would you be so kind to share? > > SKIP > From jacque at hyperactivesw.com Sat Mar 30 17:46:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Mar 2013 16:46:23 -0500 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> Message-ID: <51575D2F.6020208@hyperactivesw.com> On 3/30/13 3:34 PM, stephen barncard wrote: > just say "LGBT community". Easier. I just use "their" and ignore the plurality. It isn't grammatically correct, but it's pretty common and includes everybody. "When the user presses a key on their keyboard..." Or don't use a pronoun at all: "When the user presses a key on the keyboard..." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Sat Mar 30 17:51:47 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 17:51:47 -0400 Subject: Best data import approach In-Reply-To: <51575C3C.2020309@tweedly.net> References: <51575C3C.2020309@tweedly.net> Message-ID: Thank you! .... http://www.fourthworld.com/embassy/articles/csv-must-die.html On Sat, Mar 30, 2013 at 5:42 PM, Alex Tweedly wrote: > Of course. You can find it best in Richard's excellent article about the > evils of CSV format, at > > http://www.fourthworld.com/**embassy/articles//csv/-/must/-**/die/.html > > It does deal with many of the vagaries, but won't do anything about > records with different number of fields (I think that was what you > mentioned earlier in the email thread), though it will (AFAIR) deal with > embedded CRs if they are within a quoted string. > > BTW - there is the opportunity for a slightly faster method which avoids > the array step - but the difference would only be significant for VERY > large data sets, so I've not had the incentive to finalize and test it > thoroughly. > > -- Alex. > > > > On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: > >> Excellent... Thank you Pete... >> >> Alex, would you be so kind to share? >> >> SKIP >> >> > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From john at splash21.com Sat Mar 30 18:46:38 2013 From: john at splash21.com (John Craig) Date: Sat, 30 Mar 2013 22:46:38 +0000 Subject: Android push notifications In-Reply-To: <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> Message-ID: <51576B4E.8060008@splash21.com> Thanks, Pierre. The 'title' and 'body' keys in the 'data' payload section did the trick. I'm not getting any badge or sound (yet) - still looking into it. Here's a LiveCode version for anyone interested (and a little json encoder) on mouseUp # devices to send to (up to 1000) put "" into tTokenA[1] # data element of payload put "New updates available" into tDataA["title"] put "There are 3 new updates..." into tDataA["body"] put 3 into tDataA["badge"] put "default" into tDataA["sound"] put "100" into tDataA["score"] put "35" into tDataA["time"] # build payload put tDataA into tPayloadA["data"] put tTokenA into tPayloadA["registration_ids"] put "3" into tPayloadA["badge_value"] put "SplashCloud" into tPayloadA["collapse_key"] jsonEncode tPayloadA, tPayload # headers put "Content-Type: application/json" & LF into tHeaders put "Authorization: key=" & LF after tHeaders set the HTTPHeaders to tHeaders # had a couple of errors that were resolved by setting/resetting this flag :/ #libUrlSetSSLVerification true # send the notification post tPayload to url "https://android.googleapis.com/gcm/send" put it into tResponse put the result into tResult put the seconds & LF & tResponse & LF & LF & tResult end mouseUp # encode array in JSON format command jsonEncode @pArray, @pJson, pDeep if pDeep = empty then put empty into pJson put the keys of pArray into tKeys repeat for each key tKey in pArray if tKey is not an integer then put true into tTextKeys exit repeat end if end repeat if tTextKeys then put "{" into tOpen put "}" into tClose else put "[" into tOpen put "]" into tClose end if put tOpen after pJson put 0 into tIndex repeat for each line tKey in tKeys add 1 to tIndex if tIndex > 1 then put comma after pJson if tTextKeys then put quote & tKey & quote & colon after pJson put pArray[tKey] into tVal if tVal is an array then jsonEncode tVal, pJson, true else if tVal is a number or tVal is a boolean then put tVal after pJson else if tVal = empty then put "null" after pJson else replace quote with "\" in tVal replace "\" with "\\" in tVal replace "/" with "\/" in tVal replace numToChar(8) with "\b" in tVal replace numToChar(9) with "\t" in tVal replace numToChar(10) with "\n" in tVal replace numToChar(12) with "\f" in tVal replace numToChar(13) with "\r" in tVal repeat for each item tCode in "0,1,2,3,4,5,6,7,11,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31" replace numToChar(tCode) with "\u" & format("%04X", tCode) in tVal end repeat put quote & tVal & quote after pJson end if end repeat put tClose after pJson end jsonEncode On 30/03/2013 19:45, Pierre Sahores wrote: > This script works ok in about displaying what's needed instead of "Notification received" ($abstract) : > >> > >> $registrationIDs = Array(###devices###); >> $title = "###title###"; >> $abstract = "###abstract###"; >> $payload = "###payload###"; >> $badge = "###badge###"; >> $apiKey = "###authent###"; >> $url = "https://android.googleapis.com/gcm/send"; >> >> $fields = array( >> 'registration_ids' => $registrationIDs, >> 'collapse_key' => 'abcdef', >> 'data' => array('title' => $title, >> 'alert' => $abstract, >> 'body' => $abstract, >> 'payload' => $payload, >> 'badge' => intval($badge), >> 'sound' => 'default' >> ) >> ); >> >> $headers = array('Authorization: key=' . $apiKey, 'Content-Type: application/json'); >> >> $ch = curl_init(); >> >> curl_setopt($ch, CURLOPT_URL, $url); >> curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); >> curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); >> curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); >> curl_setopt($ch, CURLOPT_POST, true); >> curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields)); >> >> $result = curl_exec($ch); >> >> curl_close($ch); >> >> echo $result; >> >> ?> > but, on the other side, i can't get any sound to play when the message arrives on the device. Any toughs welcome :-) > > Best, > > Le 30 mars 2013 ? 19:11, John Craig a ?crit : > >> I've added iOS and Android push notifications to a stack I've been working on. When sending notifications to my android device, the message displayed when the notification arrives is 'Notification received'. Does anyone know how to change (if possible) this message to something more meaningful - I've not found this so far in google's docs. >> >> TIA >> >> John. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Mar 30 18:50:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Mar 2013 17:50:24 -0500 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> Message-ID: <51576C30.9030408@hyperactivesw.com> On 3/30/13 5:54 AM, David Bovill wrote: > Tried everything I can think of call, send, value, even the > executioncontexts - there is simply no way you can code this in the script > of the background (or the groups behavior). makes no difference if it is > just a shared group or a background. It comes down to the target always > referencing the current card instead of the card you are actively targeting > in the script (as in grp 1 of card 3) - that is except of course there is > no shared group on the current card in which case is does what yo would > expect and the target actually targets the "grp 1 of card 3" > > Since everything uses this there is no way for a handler to know it was > called using the form "put the card_Number of grp 1 of card 3" rather than > "put the card_Number of grp 1 of card 2" - and so no way for it to return > the text of the group on that card or the hilite of a button on that card - > none, zero. Sounds like an enhancement request to me. Since there's a focus right now on supporting custom controls, your timing is probably good. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Sat Mar 30 18:52:14 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 18:52:14 -0400 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: Back to my sorting issue with date and time, quite honestly, the log file is already sorted.... I just need to have the DataGrid display it as it was read into the system with out trying to do additional sorting. Is there a way to sort, for instance, by some itemID number that the DataGrid assigns to it? SKIP On Sat, Mar 30, 2013 at 5:51 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Thank you! .... > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > > > > On Sat, Mar 30, 2013 at 5:42 PM, Alex Tweedly wrote: > >> Of course. You can find it best in Richard's excellent article about the >> evils of CSV format, at >> >> http://www.fourthworld.com/**embassy/articles//csv/-/must/-**/die/.html >> >> It does deal with many of the vagaries, but won't do anything about >> records with different number of fields (I think that was what you >> mentioned earlier in the email thread), though it will (AFAIR) deal with >> embedded CRs if they are within a quoted string. >> >> BTW - there is the opportunity for a slightly faster method which avoids >> the array step - but the difference would only be significant for VERY >> large data sets, so I've not had the incentive to finalize and test it >> thoroughly. >> >> -- Alex. >> >> >> >> On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: >> >>> Excellent... Thank you Pete... >>> >>> Alex, would you be so kind to share? >>> >>> SKIP >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From pete at lcsql.com Sat Mar 30 20:06:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Mar 2013 17:06:10 -0700 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: Datagrids assign a unique dgIndex which stays constant for each line after they're sorted but I don't recall any automated way to sort by it. Maybe you could just add a column to the input after you read it from your file with an incrementing number in it so it would end up as a column in the datagrid (hidden if you prefer it that way). Pete lcSQL Software On Sat, Mar 30, 2013 at 3:52 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Back to my sorting issue with date and time, quite honestly, the log file > is already sorted.... I just need to have the DataGrid display it as it was > read into the system with out trying to do additional sorting. Is there a > way to sort, for instance, by some itemID number that the DataGrid assigns > to it? > > SKIP > > > On Sat, Mar 30, 2013 at 5:51 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Thank you! .... > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > > > > > > > > > On Sat, Mar 30, 2013 at 5:42 PM, Alex Tweedly wrote: > > > >> Of course. You can find it best in Richard's excellent article about the > >> evils of CSV format, at > >> > >> http://www.fourthworld.com/**embassy/articles//csv/-/must/-**/die/.html > > >> > >> It does deal with many of the vagaries, but won't do anything about > >> records with different number of fields (I think that was what you > >> mentioned earlier in the email thread), though it will (AFAIR) deal with > >> embedded CRs if they are within a quoted string. > >> > >> BTW - there is the opportunity for a slightly faster method which avoids > >> the array step - but the difference would only be significant for VERY > >> large data sets, so I've not had the incentive to finalize and test it > >> thoroughly. > >> > >> -- Alex. > >> > >> > >> > >> On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: > >> > >>> Excellent... Thank you Pete... > >>> > >>> Alex, would you be so kind to share? > >>> > >>> SKIP > >>> > >>> > >> ______________________________**_________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Sat Mar 30 20:40:28 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 20:40:28 -0400 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: So the dgIndex is assigned after it is read in and sorted? I am using the simple technique of: > put "C:\Users\Skip\Desktop\myLog.log" into it > put url ("file:" & it) into theData > set the dgText of group "MyGrid" to theData Looks like I might need to approach this thing differently if I want to read it in line by line and assign a number to it, right? SKIP On Sat, Mar 30, 2013 at 8:06 PM, Peter Haworth wrote: > Datagrids assign a unique dgIndex which stays constant for each line after > they're sorted but I don't recall any automated way to sort by it. Maybe > you could just add a column to the input after you read it from your file > with an incrementing number in it so it would end up as a column in the > datagrid (hidden if you prefer it that way). > > Pete > lcSQL Software > > > On Sat, Mar 30, 2013 at 3:52 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Back to my sorting issue with date and time, quite honestly, the log file > > is already sorted.... I just need to have the DataGrid display it as it > was > > read into the system with out trying to do additional sorting. Is there > a > > way to sort, for instance, by some itemID number that the DataGrid > assigns > > to it? > > > > SKIP > > > > > > On Sat, Mar 30, 2013 at 5:51 PM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Thank you! .... > > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > > > > > > > > > > > > > > On Sat, Mar 30, 2013 at 5:42 PM, Alex Tweedly > wrote: > > > > > >> Of course. You can find it best in Richard's excellent article about > the > > >> evils of CSV format, at > > >> > > >> > http://www.fourthworld.com/**embassy/articles//csv/-/must/-**/die/.html > > > > >> > > >> It does deal with many of the vagaries, but won't do anything about > > >> records with different number of fields (I think that was what you > > >> mentioned earlier in the email thread), though it will (AFAIR) deal > with > > >> embedded CRs if they are within a quoted string. > > >> > > >> BTW - there is the opportunity for a slightly faster method which > avoids > > >> the array step - but the difference would only be significant for VERY > > >> large data sets, so I've not had the incentive to finalize and test it > > >> thoroughly. > > >> > > >> -- Alex. > > >> > > >> > > >> > > >> On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: > > >> > > >>> Excellent... Thank you Pete... > > >>> > > >>> Alex, would you be so kind to share? > > >>> > > >>> SKIP > > >>> > > >>> > > >> ______________________________**_________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/**mailman/listinfo/use-livecode< > > http://lists.runrev.com/mailman/listinfo/use-livecode> > > >> > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Mar 30 20:47:24 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 30 Mar 2013 18:47:24 -0600 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: You don't want it sorted? It should be popped into the datagrid in the order that the lines appear. If there is unwanted sorting going on you could try do do this after the data is imported.. *set* the dgProp["sort by column"] of *group* "DataGrid 1" to empty More info here: http://lessons.runrev.com/s/lessons/m/datagrid/l/9148-how-do-i-disable-column-sorting From skip at magicgate.com Sat Mar 30 20:54:34 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 20:54:34 -0400 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: Mike, For sure, I don't want it sorted and as of right now. I have been using that line that you just sent this whole time but it still is being sorted when it comes into the grid. At what point should I be calling that? I have tried before and after the "set the dgText of group...." Is there something else that would be overriding the sorting order? In the inspector it actually forces me to choose at least one column to sort by. I just want it in the order that is written in the log file I am reading. SKIP On Sat, Mar 30, 2013 at 8:47 PM, Mike Bonner wrote: > You don't want it sorted? It should be popped into the datagrid in the > order that the lines appear. If there is unwanted sorting going on you > could try do do this after the data is imported.. > > *set* the dgProp["sort by column"] of *group* "DataGrid 1" to empty > > More info here: > > http://lessons.runrev.com/s/lessons/m/datagrid/l/9148-how-do-i-disable-column-sorting > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Mar 30 21:03:09 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 30 Mar 2013 19:03:09 -0600 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: Hmm. Not sure why its forcing your hand as far as sorting goes in the inspector. Assuming you're defined your column names theres a checkbox down low in the sorting section for each column, and to get no sorting I just make sure theres no check in the box for each column. (which is the same thing that setting the sort to empty should do) Just did a test and shoved some data in, worked as expected with no sorting so something else must be turning on the sort, I just don't know where that would be. On Sat, Mar 30, 2013 at 6:54 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Mike, > > For sure, I don't want it sorted and as of right now. I have been using > that line that you just sent this whole time but it still is being sorted > when it comes into the grid. At what point should I be calling that? I > have tried before and after the "set the dgText of group...." > > Is there something else that would be overriding the sorting order? In the > inspector it actually forces me to choose at least one column to sort by. > I just want it in the order that is written in the log file I am reading. > > SKIP > > > On Sat, Mar 30, 2013 at 8:47 PM, Mike Bonner wrote: > > > You don't want it sorted? It should be popped into the datagrid in the > > order that the lines appear. If there is unwanted sorting going on you > > could try do do this after the data is imported.. > > > > *set* the dgProp["sort by column"] of *group* "DataGrid 1" to empty > > > > More info here: > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/9148-how-do-i-disable-column-sorting > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Sat Mar 30 21:09:48 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 30 Mar 2013 21:09:48 -0400 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: So I found the column that was being "forced" into sorting. I deleted that column and re-created it and voila! Pulling my hair out for something like this drives me crazy! One last thing, is there a way to have it scroll all the way down to the bottom of the data contained within the DataGrid instead of starting at the top? Thanks for your help! On Sat, Mar 30, 2013 at 9:03 PM, Mike Bonner wrote: > Hmm. Not sure why its forcing your hand as far as sorting goes in the > inspector. Assuming you're defined your column names theres a checkbox > down low in the sorting section for each column, and to get no sorting I > just make sure theres no check in the box for each column. (which is the > same thing that setting the sort to empty should do) > > Just did a test and shoved some data in, worked as expected with no sorting > so something else must be turning on the sort, I just don't know where that > would be. > > > On Sat, Mar 30, 2013 at 6:54 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Mike, > > > > For sure, I don't want it sorted and as of right now. I have been using > > that line that you just sent this whole time but it still is being sorted > > when it comes into the grid. At what point should I be calling that? I > > have tried before and after the "set the dgText of group...." > > > > Is there something else that would be overriding the sorting order? In > the > > inspector it actually forces me to choose at least one column to sort by. > > I just want it in the order that is written in the log file I am reading. > > > > SKIP > > > > > > On Sat, Mar 30, 2013 at 8:47 PM, Mike Bonner wrote: > > > > > You don't want it sorted? It should be popped into the datagrid in the > > > order that the lines appear. If there is unwanted sorting going on you > > > could try do do this after the data is imported.. > > > > > > *set* the dgProp["sort by column"] of *group* "DataGrid 1" to empty > > > > > > More info here: > > > > > > > > > http://lessons.runrev.com/s/lessons/m/datagrid/l/9148-how-do-i-disable-column-sorting > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Mar 30 21:28:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Mar 2013 18:28:34 -0700 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: Hi Skip, It's assigned whenever you add data to the datagrid not when it's sorted, but I think it's probably easier to add your own line number to the data after the put and before the set in your script, something like put zero into x repeat for each line L in theData add 1 to x put x & tab before line x of the data end repeat Don't know if your file has column names in the first line; if so, you'd need to put a column name for the line number into line 1. Then just include a column in the datagrid to hold the line number. This all assumes that each time you import this file, you're starting off with an empty datagrid. If not, you'd have to set x to the max of the line number column in the datagrid instead of zero. HTH, Pete lcSQL Software On Sat, Mar 30, 2013 at 5:40 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > So the dgIndex is assigned after it is read in and sorted? I am using the > simple technique of: > > > put "C:\Users\Skip\Desktop\myLog.log" into it > > put url ("file:" & it) into theData > > set the dgText of group "MyGrid" to theData > > Looks like I might need to approach this thing differently if I want to > read it in line by line and assign a number to it, right? > > SKIP > > > > > On Sat, Mar 30, 2013 at 8:06 PM, Peter Haworth wrote: > > > Datagrids assign a unique dgIndex which stays constant for each line > after > > they're sorted but I don't recall any automated way to sort by it. Maybe > > you could just add a column to the input after you read it from your file > > with an incrementing number in it so it would end up as a column in the > > datagrid (hidden if you prefer it that way). > > > > Pete > > lcSQL Software > > > > > > On Sat, Mar 30, 2013 at 3:52 PM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Back to my sorting issue with date and time, quite honestly, the log > file > > > is already sorted.... I just need to have the DataGrid display it as it > > was > > > read into the system with out trying to do additional sorting. Is > there > > a > > > way to sort, for instance, by some itemID number that the DataGrid > > assigns > > > to it? > > > > > > SKIP > > > > > > > > > On Sat, Mar 30, 2013 at 5:51 PM, Magicgate Software - Skip Kimpel < > > > skip at magicgate.com> wrote: > > > > > > > Thank you! .... > > > > http://www.fourthworld.com/embassy/articles/csv-must-die.html > > > > > > > > > > > > > > > > > > > > On Sat, Mar 30, 2013 at 5:42 PM, Alex Tweedly > > wrote: > > > > > > > >> Of course. You can find it best in Richard's excellent article about > > the > > > >> evils of CSV format, at > > > >> > > > >> > > http://www.fourthworld.com/**embassy/articles//csv/-/must/-**/die/.html > > > > > > >> > > > >> It does deal with many of the vagaries, but won't do anything about > > > >> records with different number of fields (I think that was what you > > > >> mentioned earlier in the email thread), though it will (AFAIR) deal > > with > > > >> embedded CRs if they are within a quoted string. > > > >> > > > >> BTW - there is the opportunity for a slightly faster method which > > avoids > > > >> the array step - but the difference would only be significant for > VERY > > > >> large data sets, so I've not had the incentive to finalize and test > it > > > >> thoroughly. > > > >> > > > >> -- Alex. > > > >> > > > >> > > > >> > > > >> On 30/03/2013 20:51, Magicgate Software - Skip Kimpel wrote: > > > >> > > > >>> Excellent... Thank you Pete... > > > >>> > > > >>> Alex, would you be so kind to share? > > > >>> > > > >>> SKIP > > > >>> > > > >>> > > > >> ______________________________**_________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/**mailman/listinfo/use-livecode< > > > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > >> > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Mar 30 22:48:23 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 30 Mar 2013 22:48:23 -0400 Subject: Challenge: how to set the text of a field In-Reply-To: References: <5155C689.1010701@hyperactivesw.com> <5155E8CA.5010504@hyperactivesw.com> <917BF198-A973-4813-AD2D-73E34EDEFC6C@gmail.com> Message-ID: <9C5B5BE3-3510-41AD-9DEE-5F86DAFD8FEC@gmail.com> if you put a routine in the closefield handler of the field that set a custom property of the group in array form, eg, field_Text[cdNbr], then you can retrieve this at any time from within the group, no matter where it is placed, no? It won't be a setprop/getprop method, but should be pretty straightforward. Maybe I'm not understanding your constraints. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 30, 2013, at 9:19 AM, David Bovill wrote: > Thanks Peter - but no it does not help. Lets take your example, but what we > want to do is give the group a (virtual) custom property that a developer > can call from anywhere in the environment to retrieve the text in the > field. You can't hard code anything like you have " fld "f" of card 2" - as > you have no idea which stack or card a developer will put the group on. > > You want to be able to issue somethign like the following from the message > box, or a button, or handler from any stack in the environment: > > put the field_Text of group "g" of card 2 of stack "Test" > > There is no way to script a handler of any sort in the group that can do > this. You can't even do it with sending, or calling a command. AFAIK it's > that simple - basic, important and can't be done. Or can it :) > > On 30 March 2013 12:45, Peter M. Brigham wrote: > >> Try this: >> >> - create a new stack with a button "test" and a field "f" >> - group them in group "g" >> - set the backgroundbehavior of group "g" to true >> - create 2 new cards -- the group will be placed on all 3 cards >> - put "one" into fld "f" of card 1, "two" into fld "f" of card 2, "three" >> into fld "f" of card 3 >> - create a button "behav" on card 1 >> - set the behavior of group "g" to the long id of btn "behav" of cd 1 >> - set the script of btn "test" to the following: >> >> on mouseUp >> put fld "f" of card 2 >> end mouseUp >> >> Click btn "test" and you get "two" in the messagebox >> >> Does this do what you want? >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> On Mar 30, 2013, at 6:54 AM, David Bovill wrote: >> >>> Tried everything I can think of call, send, value, even the >>> executioncontexts - there is simply no way you can code this in the >> script >>> of the background (or the groups behavior). makes no difference if it is >>> just a shared group or a background. It comes down to the target always >>> referencing the current card instead of the card you are actively >> targeting >>> in the script (as in grp 1 of card 3) - that is except of course there is >>> no shared group on the current card in which case is does what yo would >>> expect and the target actually targets the "grp 1 of card 3" >>> >>> Since everything uses this there is no way for a handler to know it was >>> called using the form "put the card_Number of grp 1 of card 3" rather >> than >>> "put the card_Number of grp 1 of card 2" - and so no way for it to return >>> the text of the group on that card or the hilite of a button on that >> card - >>> none, zero. >>> >>> This makes it impossible to code widgets for shared backgrounds. If I >> want >>> to return some simple text - I can do something like "put the text of the >>> title_Field of grp 1 of card 2" - but if I want to do something complex >>> like return an array with all the data that the group is displaying - no >>> go, no way, not possible. >>> >>> It's enough to abandon the idea of creating such groups and stick instead >>> to a single card paradigm, bringing the data in by creating new groups on >>> the fly. >>> >>> >>> On 29 March 2013 21:07, David Bovill wrote: >>> >>>> OK - lets rename the challenge :) Same problem - but defining it as >>>> follows: >>>> >>>> - Is it possible to create a handler in the behavior of a shared group >>>> that returns the number of the card the shared group is on? >>>> >>>> This is the same problem - it is a problem of finding a reference to the >>>> card a control is on so that you are able to return values of >> properties of >>>> the group such as a hilite or text that can differ from card to card. As >>>> far as I know there is actually no way at all to do this. >>>> >>>> Although I thought parsing the long id works - it does not. So the >>>> following handler does not work. >>>> >>>> getprop card_Number >>>> put the long id of the target into targetObject >>>> repeat >>>> if word 1 of targetObject is "card" then >>>> put the number of targetObject into cardNum >>>> return cardNum >>>> end if >>>> delete word 1 to 4 of of targetObject >>>> if targetObject is empty then return empty -- just in case >>>> end repeat >>>> end card_Number >>>> In fact the behavior of references to shared "background" groups is >> quite >>>> bizarre! Take the following experiment - create a shared background and >>>> place it on 3 cards - add the handler above to the script of the shared >>>> group. It can be the behavior of the group or its script. >>>> >>>> Now given you are on the first card - issue the following from the >> message >>>> box: >>>> >>>> put the card_Number of group 1 of card 3 --> answer is 1 >>>> put the card_Number of group 1 of card 2 --> answer is 1 >>>> put the card_Number of group 1 of card 1 --> answer is 1 >>>> >>>> Now try removing the group from the first card, and do the same again: >>>> >>>> put the card_Number of group 1 of card 3 --> answer is 3 - ie correct! >>>> put the card_Number of group 1 of card 2 --> answer is 2 - ie correct! >>>> put the card_Number of group 1 of card 1 --> well there isn't one so >> you >>>> get an error >>>> >>>> Summary - this is a bug. It also makes it impossible to define some >> basic >>>> and useful behaviors for shared "bakground" groups. >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 30 22:58:29 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 30 Mar 2013 20:58:29 -0600 Subject: Best data import approach In-Reply-To: References: <51575C3C.2020309@tweedly.net> Message-ID: set the dgVscroll of group "yourgroup" to pPercent where pPercent is in the form of a number between 0 and 1. Should be able to scroll it right to the bottom that way. > One last thing, is there a way to have it scroll all the way down to the > bottom of the data contained within the DataGrid instead of starting at the > top? > From billziegler at mac.com Sun Mar 31 00:28:10 2013 From: billziegler at mac.com (William Ziegler) Date: Sun, 31 Mar 2013 00:28:10 -0400 Subject: Using an embedded videoClip in a VideoPlayer Message-ID: Is there any way I can populate a VideoPlayer with a videoClip that has been imported. I need to control its size, position and have it start as a still, play when clicked and end as a still. I also need the clips to be imbedded in the stack for portability. I still use a Player to run the stacks on multiple platforms. Can I export it out, temporarily, bring in back in then delete the exported file? bill From userev at canelasoftware.com Sun Mar 31 00:40:18 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 30 Mar 2013 21:40:18 -0700 Subject: URL handling In-Reply-To: <75699E53-06ED-4FD2-B839-EA844E1213E4@gmail.com> References: <75699E53-06ED-4FD2-B839-EA844E1213E4@gmail.com> Message-ID: On Mar 30, 2013, at 12:28 PM, John Allijn wrote: > Hi, > I'm working on a windows application that relies a lot on database qeuries. Both reading and writing of data. > On the server side I use php scripts. > In my application I use syntax like "Put URL tURL into tResult". > It all works well, but I am the only user on the database. > I am wondering what happens when lots of people (about a thousand) use this app. Will livecode wait until the php script is finished? Should there be some error handling on time-outs? If so, what is the best way to do that? Posting data to a php script is blocking. But, it only takes milliseconds to do the transaction, so it will feel very light. You can have your php script echo data back to you based on success or failure from its point of view. That echo data will be placed into the variable you are putting into. You can then decide what to to based on the contents of that variable. Mark Talluto canelasoftware.com From jallijn at gmail.com Sun Mar 31 02:46:17 2013 From: jallijn at gmail.com (John Allijn) Date: Sun, 31 Mar 2013 08:46:17 +0200 Subject: URL handling In-Reply-To: References: <75699E53-06ED-4FD2-B839-EA844E1213E4@gmail.com> Message-ID: <26F7FE1E-C013-4B61-92AE-7668FE181F28@gmail.com> Ok, Thanks! On Mar 31, 2013, at 6:40, Mark Talluto wrote: > On Mar 30, 2013, at 12:28 PM, John Allijn wrote: > >> Hi, >> I'm working on a windows application that relies a lot on database qeuries. Both reading and writing of data. >> On the server side I use php scripts. >> In my application I use syntax like "Put URL tURL into tResult". >> It all works well, but I am the only user on the database. >> I am wondering what happens when lots of people (about a thousand) use this app. Will livecode wait until the php script is finished? Should there be some error handling on time-outs? If so, what is the best way to do that? > > Posting data to a php script is blocking. But, it only takes milliseconds to do the transaction, so it will feel very light. You can have your php script echo data back to you based on success or failure from its point of view. That echo data will be placed into the variable you are putting into. > > You can then decide what to to based on the contents of that variable. > > Mark Talluto > canelasoftware.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 31 04:28:39 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 11:28:39 +0300 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> Message-ID: <5157F3B7.4070700@gmail.com> On 03/30/2013 10:34 PM, stephen barncard wrote: > just say "LGBT community". Easier. Thanks, but I still need to know the possessive pronoun . . . 'shis' ? > > > On Sat, Mar 30, 2013 at 1:31 PM, Richmond wrote: > >> Thanks chaps, but after some thought I went for a completely different way >> of doing things >> and had the stack save a backup RTF document every time the end-user >> pressed a key on her/his >> >> (and I really should apologise that I am not entirely sure how to signal >> that I should like to include the transgendered community in this >> statement; I would be most grateful if a transgendered person who may be >> lurking on the Use-lIst - Hey, come out of the closet into the Livecode >> sunshine could tell me the T possessive pronoun) >> >> keyboard by putting an export to file statement at the end of an on >> rawKeyDown script. >> >> Richmond. >> >> OOPS! >>> *In your openStack script:* >>> put "10" into tSaveInterval -- assuming minutes >>> send saveMeCheeses to this stack in (tSaveInterval*60) secs >>> >>> *In your stack script:* >>> on saveMeCheeses >>> -- gather all your text into a variable >>> put tMyText into URL (file:C:/someplace/really/**safe/MyFile.txt") >>> send saveMeCheeses to me in (tSaveInterval*60) secs -- this one will >>> keep >>> it repeating >>> end saveMeCheeses >>> >>> >>> On Sun, Mar 24, 2013 at 5:54 PM, Roger Eller >>> **wrote: >>> *In your openStack script:* >>>> put "10" into tSaveInterval -- assuming minutes >>>> send saveMeCheeses to this stack in (tSaveInterval*60) secs >>>> >>>> *In your stack script:* >>>> on saveMeCheeses >>>> -- gather all your text into a variable >>>> put tMyText into URL (file:C:/someplace/really/**safe/MyFile.txt") >>>> send saveMeCheeses to me in saveMeCheeses -- this one will keep it >>>> repeating >>>> end saveMeCheeses >>>> >>>> ~Roger >>>> >>>> >>>> On Sun, Mar 24, 2013 at 5:17 PM, Richmond * >>>> *wrote: >>>> >>>> Merry LibreOffice allows one to set it so that it autosaves a document >>>>> at a set time interval in case your computer goes wonky, or LibreOffice >>>>> crashes. >>>>> >>>>> And a jolly good idea that is too (even if they pinched it from >>>>> Microsoft). >>>>> >>>>> Now I would like to have the same sort of feature in my "next thang"; >>>>> the >>>>> up-and-coming-and-sweeping-****all-office-suits-before-it >>>>> 'Richmond-Scrubby-Cupboard' >>>>> (well, round these parts that's what passes for an office) made, >>>>> needless to say, entirely in Livecode. >>>>> >>>>> Obviously, central to my text entry component "Wobbly Word", >>>>> there will have to be a field, and any autosave feature will have to >>>>> save >>>>> and/or export >>>>> and/or overwrite a rtf and/or html document at regular intervals. >>>>> >>>>> Now what I don't understand is how to have a script working away 'in the >>>>> background' >>>>> checking the time and autosaving every 2-3 minutes without it >>>>> interfering >>>>> with >>>>> user-initiated scripts in the foreground or the reverse. >>>>> >>>>> Richmond. >>>>> >>>>> ______________________________****_________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>>> >>>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Sun Mar 31 05:58:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 12:58:13 +0300 Subject: Font Substitution in Windows and Firefox. Message-ID: <515808B5.3040106@gmail.com> 1. Versions of Windows from Vista onwards pay "merry hell" with non-standard unicode text in fields of Livecode standalones by substituting a Windows native font, even when the non-standard unicode font is installed on the system. 2. Mozilla Firefox does the same with HTML documents exported from Livecode (this does NOT happen with Chrome and Safari). So . . . 1. Do any Windows mages hereabouts know whether it is possible to circumvent this, codewise, in Livecode? 2. Does anybody know how to ensure Firefox does not indulge in font substitution (possibly via the html code in a web-page)? Richmond. From john at splash21.com Sun Mar 31 09:44:02 2013 From: john at splash21.com (John Craig) Date: Sun, 31 Mar 2013 14:44:02 +0100 Subject: Android push notifications In-Reply-To: <51576B4E.8060008@splash21.com> References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> Message-ID: <51583DA2.2060505@splash21.com> Now that I've tested with the pushNotificationReceived message, this update delivers the payload data; # data element of notification put "New updates available" into tDataA["title"] put "There are 3 new updates..." into tDataA["body"] put tDataA["body"] into tDataA["alert"] put 3 into tDataA["badge"] put "default" into tDataA["sound"] put "Payload data" into tDataA["payload"] # build notification put tDataA into tNotificationA["data"] put tTokenA into tNotificationA["registration_ids"] put "SplashCloud" into tNotificationA["collapse_key"] jsonEncode tNotificationA, tNotification # headers put "Content-Type: application/json" & LF into tHeaders put "Authorization: key=" & LF after tHeaders set the HTTPHeaders to tHeaders # had a couple of errors that were resolved by setting/resetting this flag :/ #libUrlSetSSLVerification true # send the notification post tNotification to url "https://android.googleapis.com/gcm/send" put it into tResponse put the result into tResult From richmondmathewson at gmail.com Sun Mar 31 09:54:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 16:54:40 +0300 Subject: thumbColor Message-ID: <51584020.3000006@gmail.com> set the thumbColor of scrollBar "SKROLL" to red does nothing. I wonder why? Richmond. From bonnmike at gmail.com Sun Mar 31 10:00:55 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 31 Mar 2013 08:00:55 -0600 Subject: thumbColor In-Reply-To: <51584020.3000006@gmail.com> References: <51584020.3000006@gmail.com> Message-ID: Because its just a synonym for foreground color. So the text that isn't there to see is red! I'm sure it happened at some point as a "simplification" :) Works great on sliders though. On Sun, Mar 31, 2013 at 7:54 AM, Richmond wrote: > set the thumbColor of scrollBar "SKROLL" to red > > does nothing. > > I wonder why? > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 31 10:34:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 17:34:23 +0300 Subject: Back Arrow Message-ID: <5158496F.7080709@gmail.com> In Unicode textField the back arrow won't send the cursor back (i.e. leftwards) where a character has a subscripted character: that is to say, one character followed by another that is offset to appear below rather than after the preceding one. Is it just me, or what with font substitution in Windows and the back arrow thing, something is not quite right? I tried this: on rawKeyDown RAWK set the useUnicode to true switch RAWK case 65361 set the unicodeText of the selectedText to numToChar(65361) break default pass rawKeyDown end switch end rawKeyDown and on pressing the back arrow a 'q' appears in a daft place in the text . . . very jolly! Richmond. From sc at sahores-conseil.com Sun Mar 31 10:47:32 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 31 Mar 2013 16:47:32 +0200 Subject: Android push notifications In-Reply-To: <51583DA2.2060505@splash21.com> References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> <51583DA2.2060505@splash21.com> Message-ID: Hi John, Does the badge and sound works in using this way ? Thanks and Best Regards, Pierre Le 31 mars 2013 ? 15:44, John Craig a ?crit : > Now that I've tested with the pushNotificationReceived message, this update delivers the payload data; > > # data element of notification > put "New updates available" into tDataA["title"] > put "There are 3 new updates..." into tDataA["body"] > put tDataA["body"] into tDataA["alert"] > put 3 into tDataA["badge"] > put "default" into tDataA["sound"] > put "Payload data" into tDataA["payload"] > > # build notification > put tDataA into tNotificationA["data"] > put tTokenA into tNotificationA["registration_ids"] > put "SplashCloud" into tNotificationA["collapse_key"] > jsonEncode tNotificationA, tNotification > > # headers > put "Content-Type: application/json" & LF into tHeaders > put "Authorization: key=" & LF after tHeaders > set the HTTPHeaders to tHeaders > > # had a couple of errors that were resolved by setting/resetting this flag :/ > #libUrlSetSSLVerification true > > # send the notification > post tNotification to url "https://android.googleapis.com/gcm/send" > put it into tResponse > put the result into tResult > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 st.king42 at ntlworld.com Sun Mar 31 11:16:40 2013 From: st.king42 at ntlworld.com (Stephen King) Date: Sun, 31 Mar 2013 16:16:40 +0100 Subject: Save greyed out with Mac build Message-ID: <33CC4992-557D-4D20-A79D-C324A77F47E5@ntlworld.com> Hi I am sure this is a very simple one?. I normally build only for windows and have an application in Livecode 5 (and previously in 4) that builds to an executable (via splash screen) and saves a datafile to the the user documents folder. This has always worked with no problems. I have recently bought a macbook air running mountain lion. using the same live code file and building for mac, the application runs fine until I try to save. Then the file bane and paths are greyed out and I cannot save. Are there any switches I need to set to allow saving on the mac? Cheers Steve From rjb at robelko.com Sun Mar 31 12:58:28 2013 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 31 Mar 2013 18:58:28 +0200 Subject: Autosave from field? In-Reply-To: <51575D2F.6020208@hyperactivesw.com> References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> <51575D2F.6020208@hyperactivesw.com> Message-ID: On 30.03.2013 at 16:46 Uhr -0500 J. Landman Gay apparently wrote: > >I just use "their" and ignore the plurality. It isn't grammatically >correct, but it's pretty common and includes everybody. > >"When the user presses a key on their keyboard..." > >Or don't use a pronoun at all: > >"When the user presses a key on the keyboard..." > >-- >Jacqueline Landman Gay Actually, it is grammatically correct, at least according to webster people http://www.facebook.com/video/video.php?v=2359037269558 robert From richmondmathewson at gmail.com Sun Mar 31 13:14:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 20:14:44 +0300 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> <51575D2F.6020208@hyperactivesw.com> Message-ID: <51586F04.2070906@gmail.com> On 03/31/2013 07:58 PM, Robert Brenstein wrote: > On 30.03.2013 at 16:46 Uhr -0500 J. Landman Gay apparently wrote: >> >> I just use "their" and ignore the plurality. It isn't grammatically >> correct, but it's pretty common and includes everybody. >> >> "When the user presses a key on their keyboard..." >> >> Or don't use a pronoun at all: >> >> "When the user presses a key on the keyboard..." >> >> -- >> Jacqueline Landman Gay > > Actually, it is grammatically correct, at least according to webster > people > > http://www.facebook.com/video/video.php?v=2359037269558 I'm just in the middle of reading Mencken's "The American Language" for the 3rd time. > > robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 31 15:15:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Mar 2013 14:15:54 -0500 Subject: Back Arrow In-Reply-To: <5158496F.7080709@gmail.com> References: <5158496F.7080709@gmail.com> Message-ID: <51588B6A.5040507@hyperactivesw.com> On 3/31/13 9:34 AM, Richmond wrote: > In Unicode textField the back arrow won't send the cursor back (i.e. > leftwards) where a character > has a subscripted character: that is to say, one character followed by > another that is offset to appear > below rather than after the preceding one. > > Is it just me, or what with font substitution in Windows and the back > arrow thing, something > is not quite right? > > I tried this: > > on rawKeyDown RAWK > set the useUnicode to true > switch RAWK > case 65361 > set the unicodeText of the selectedText to numToChar(65361) > break > default > pass rawKeyDown > end switch > end rawKeyDown > > and on pressing the back arrow a 'q' appears in a daft place in the text > . . . very jolly! Probably because you aren't passing the rawKeyDown after changing the text. That may not fix the display issue but it should work to recognize the arrow key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 31 15:20:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Mar 2013 14:20:30 -0500 Subject: Autosave from field? In-Reply-To: References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> <51575D2F.6020208@hyperactivesw.com> Message-ID: <51588C7E.60101@hyperactivesw.com> On 3/31/13 11:58 AM, Robert Brenstein wrote: > On 30.03.2013 at 16:46 Uhr -0500 J. Landman Gay apparently wrote: >> >> I just use "their" and ignore the plurality. It isn't grammatically >> correct, but it's pretty common and includes everybody. ... > Actually, it is grammatically correct, at least according to webster people I'm vindicated! :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Mar 31 16:07:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 31 Mar 2013 23:07:20 +0300 Subject: Blocking COPY ? Message-ID: <51589778.8070101@gmail.com> I really am getting tired of continually commenting out 25 copy commands in 25 objects for Demo versions of my stuff, and wonder if there is not a way to block the copy command globally with a single stack script rather like this: on copy don't end copy ---------------- I am aware one can do this: on copyKey answer "nice try, chum" pass copyKey end copyKey although, on Macintosh it does not stop command-C working! and the answer dialog doesn't appear! Richmond. From lc at pbh.on-rev.com Sun Mar 31 16:26:27 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Sun, 31 Mar 2013 13:26:27 -0700 Subject: Blocking COPY ? In-Reply-To: <51589778.8070101@gmail.com> References: <51589778.8070101@gmail.com> Message-ID: Richmond, This works for Cmd+C & Cmd+X if you add a menubar to Mac OS X? --The following menuPick handler was generated by the Menu Builder. on menuPick pWhich switch pWhich case "Cut" answer "nice try, chum" break case "Copy" answer "nice try, chum" break case "Paste" --Insert script for Paste menu item here break case "Clear" --Insert script for Clear menu item here break case "Preferences" --Insert script for Preferences menu item here break end switch end menuPick Paul On 2013-03-31, at 1:07 PM, Richmond wrote: > I really am getting tired of continually commenting out 25 copy commands in 25 objects > for Demo versions of my stuff, and wonder if there is not a way to block the copy command > globally with a single stack script rather like this: > > on copy > don't > end copy > > ---------------- > > I am aware one can do this: > > on copyKey > answer "nice try, chum" > pass copyKey > end copyKey > > although, on Macintosh it does not stop command-C working! and the answer dialog doesn't appear! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Sun Mar 31 16:29:12 2013 From: john at splash21.com (John Craig) Date: Sun, 31 Mar 2013 21:29:12 +0100 Subject: Android push notifications In-Reply-To: References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> <51583DA2.2060505@splash21.com> Message-ID: <51589C98.8010606@splash21.com> I've not managed to get a badge or sound for android push notifications. Looking through the GCM developer docs, I haven't even found any reference to them yet, so I'm wondering if they are even possible using the GCM API alone. On 31/03/2013 15:47, Pierre Sahores wrote: > Hi John, > > Does the badge and sound works in using this way ? > > Thanks and Best Regards, > > Pierre > > Le 31 mars 2013 ? 15:44, John Craig a ?crit : > > From jacque at hyperactivesw.com Sun Mar 31 17:14:40 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Mar 2013 16:14:40 -0500 Subject: Blocking COPY ? In-Reply-To: <51589778.8070101@gmail.com> References: <51589778.8070101@gmail.com> Message-ID: <5158A740.5060105@hyperactivesw.com> On 3/31/13 3:07 PM, Richmond wrote: > > I am aware one can do this: > > on copyKey > answer "nice try, chum" > pass copyKey > end copyKey > > although, on Macintosh it does not stop command-C working! and the > answer dialog doesn't appear! > It should work in a standalone or if you suspend the IDE. The IDE traps and uses it during development. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 31 17:16:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 31 Mar 2013 16:16:22 -0500 Subject: Save greyed out with Mac build In-Reply-To: <33CC4992-557D-4D20-A79D-C324A77F47E5@ntlworld.com> References: <33CC4992-557D-4D20-A79D-C324A77F47E5@ntlworld.com> Message-ID: <5158A7A6.7060400@hyperactivesw.com> On 3/31/13 10:16 AM, Stephen King wrote: > I have recently bought a macbook air running mountain lion. using the > same live code file and building for mac, the application runs fine > until I try to save. Then the file bane and paths are greyed out and > I cannot save. > > Are there any switches I need to set to allow saving on the mac? What save commands are you using? It's likely script-related, can you post the segment of code that does the saving? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sun Mar 31 18:07:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 31 Mar 2013 15:07:00 -0700 Subject: Blocking COPY ? In-Reply-To: <51589778.8070101@gmail.com> References: <51589778.8070101@gmail.com> Message-ID: On Sun, Mar 31, 2013 at 1:07 PM, Richmond wrote: > although, on Macintosh it does not stop command-C working! and the answer > dialog doesn't appear! > > On mac, having added my own menus, cmd-C doesn't seem to work, anyway. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Mar 31 18:14:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 31 Mar 2013 15:14:06 -0700 Subject: Autosave from field? In-Reply-To: <51575D2F.6020208@hyperactivesw.com> References: <514F6D59.7060004@gmail.com> <51574BAE.40902@gmail.com> <51575D2F.6020208@hyperactivesw.com> Message-ID: On Sat, Mar 30, 2013 at 2:46 PM, J. Landman Gay wrote: > I just use "their" and ignore the plurality. It isn't grammatically > correct, but it's pretty common and includes everybody. > In English, unlike the word "her," the word "his" does not imply gender on its own when used for a unknown person. As the same word is used for known male and unknown gender, there just isn't a word that informs you (without relying on other context) that the unspecified person is male. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bdrunrev at gmail.com Sun Mar 31 18:58:13 2013 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 31 Mar 2013 23:58:13 +0100 Subject: Android push notifications In-Reply-To: <51589C98.8010606@splash21.com> References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> <51583DA2.2060505@splash21.com> <51589C98.8010606@splash21.com> Message-ID: There is some information in RQCC for bug #10154 I have not seen more detailed information than that anywhere else. Bernard On Sun, Mar 31, 2013 at 9:29 PM, John Craig wrote: > I've not managed to get a badge or sound for android push notifications. > Looking through the GCM developer docs, I haven't even found any reference > to them yet, so I'm wondering if they are even possible using the GCM API > alone. > > > > On 31/03/2013 15:47, Pierre Sahores wrote: > >> Hi John, >> >> Does the badge and sound works in using this way ? >> >> Thanks and Best Regards, >> >> Pierre >> >> Le 31 mars 2013 ? 15:44, John Craig a ?crit : >> >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Sun Mar 31 19:08:58 2013 From: john at splash21.com (John Craig) Date: Mon, 01 Apr 2013 00:08:58 +0100 Subject: Android push notifications In-Reply-To: References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> <51583DA2.2060505@splash21.com> <51589C98.8010606@splash21.com> Message-ID: <5158C20A.5080500@splash21.com> Thanks, Bernard. Using play_sound=true, I get a sound with the notification on android. The elusive badge doesn't seem to appear anywhere on my device. John. On 31/03/2013 23:58, Bernard Devlin wrote: > There is some information in RQCC for bug #10154 > > I have not seen more detailed information than that anywhere else. > > Bernard > > > On Sun, Mar 31, 2013 at 9:29 PM, John Craig wrote: > >> I've not managed to get a badge or sound for android push notifications. >> Looking through the GCM developer docs, I haven't even found any reference >> to them yet, so I'm wondering if they are even possible using the GCM API >> alone. >> >> >> >> On 31/03/2013 15:47, Pierre Sahores wrote: >> >>> Hi John, >>> >>> Does the badge and sound works in using this way ? >>> >>> Thanks and Best Regards, >>> >>> Pierre >>> >>> Le 31 mars 2013 ? 15:44, John Craig a ?crit : >>> >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Sun Mar 31 20:21:16 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 1 Apr 2013 02:21:16 +0200 Subject: Android push notifications In-Reply-To: <5158C20A.5080500@splash21.com> References: <51572ADC.7080405@splash21.com> <82C43E5E-4449-46C7-877C-F13AD93F27DB@sahores-conseil.com> <51576B4E.8060008@splash21.com> <51583DA2.2060505@splash21.com> <51589C98.8010606@splash21.com> <5158C20A.5080500@splash21.com> Message-ID: <227988DF-2201-4375-96C4-8AE5DF7BE89B@sahores-conseil.com> Thanks Bernard and John. It does the job there too ;-) Le 1 avr. 2013 ? 01:08, John Craig a ?crit : > play_sound=true -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From userev at canelasoftware.com Sun Mar 31 23:15:29 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 31 Mar 2013 20:15:29 -0700 Subject: Blocking COPY ? In-Reply-To: <51589778.8070101@gmail.com> References: <51589778.8070101@gmail.com> Message-ID: On Mar 31, 2013, at 1:07 PM, Richmond wrote: > I really am getting tired of continually commenting out 25 copy commands in 25 objects > for Demo versions of my stuff, and wonder if there is not a way to block the copy command > globally with a single stack script rather like this: Out of curiosity, have you considered allowing your demo to work fully? Best regards, Mark Talluto canelasoftware.com